aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2024-02-05Add compatability with GCC 12.xkirkstoneEvgeny Sagatov
Fixes build for kas 4.2 and Yocto Project 4.3.2 Signed-off-by: Evgeny Sagatov <sagatov@ya.ru> Backport from 8c0c9f13cb89008f080fded0ca435f388e97bd7b Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2024-01-17classpath: inherit pkgconfigZoltán Böszörményi
It fixes this error: | checking for pkg-config... no | *** The pkg-config script could not be found. Make sure it is | *** in your path, or set the PKG_CONFIG environment variable | *** to the full path to pkg-config. | *** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config. | configure: error: Library requirements (gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. | NOTE: The following config.log files may provide further information. | NOTE: .../work/core2-64-oe-linux/classpath/0.99-r3/build/config.log | ERROR: configure failed Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2023-09-01Remove checksumCameron Miller
(cherry picked from commit 37f14a397aa553d50ea450eaa614b5760e5d56d9)
2023-09-01Switch to use git SRCREVCameron Miller
(cherry picked from commit 7fcb6fdace27e25551f84ef4fe730b712a4a5fd0)
2023-09-01Update rhino download linkCameron Miller
(cherry picked from commit e2e9adb228447f52008b98a80a787cf637d968be)
2023-06-10xerces-j: update SRC_URITim Orling
The archive URL has changed slightly, add missing /source/. https://archive.apache.org/dist/xerces/j/source/ Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-12-12conf: layer: add free(1) to HOSTTOOLS_NONFATAL for icedtea7-nativeAhmad Fatoum
icedtea7-native build uses free -m (from the procfs suite of tools) to determine memory bound during compile. This always fails for us, because free is not passed through from the host environment. This results in a few warnings in the logs: /bin/sh: line 1: free: command not found [..snip..]/Sanity-Settings.gmk:195: WARNING: MB_OF_MEMORY should not be empty [Sanity-Settings.gmk] But otherwise this is handled gracefully. Problems arise when building icedtea7-native on hosts with more modest RAM sizes: Build process will consume so much RAM that the OOM killer is invoked. Let us avoid this by passing through free from the host environment. We use HOSTTOOLS_NONFATAL instead of HOSTTOOLS as to not break currently working setups that have enough RAM but lack free(1). This needs to be done globally due to the way HOSTTOOLS_NONFATAL is evaluated, we thus stick it into the layer.conf. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Richard Leitner <richard.leitner@skidata.com> (cherry picked from commit 79df369e89ed72ebdfe84a4a520ed590751ae5d9)
2022-02-28jaxme: drop broken packageRichard Leitner
This package is broken for ages now, so drop it. If somebody needs it in a current release please send a patch adding a function version of it. Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2022-02-28commons-jxpath: drop broken packageRichard Leitner
This package is broken for ages now, so drop it. If somebody needs it in a current release please send a patch adding a function version of it. Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2022-02-28commons-configuration: drop broken packageRichard Leitner
This package is broken for ages now, so drop it. If somebody needs it in a current release please send a patch adding a function version of it. Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2022-02-28commons-configuration: update variable namesJeremy A. Puhlman
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2022-02-28commons-jxpath: update variable namesJeremy A. Puhlman
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2022-02-28xerces-j: update variable namesJeremy A. Puhlman
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2022-02-28jaxme: update variable namesJeremy A. Puhlman
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2022-02-28Switch compat to kirkstoneJeremy A. Puhlman
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2021-11-18jdepend: Set protocol=https and branch=masterJacob Kroon
Fixes: WARNING: jdepend-native-2.9.1-r0 do_fetch: URL: git://github.com/clarkware/jdepend uses git protocol which is no longer supported by github. Please change to ;protocol=https in the url. WARNING: jdepend-native-2.9.1-r0 do_fetch: URL: git://github.com/clarkware/jdepend does not set any branch parameter. The future default branch used by tools and repositories is uncertain and we will therefore soon require this is set in all git urls. Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2021-11-18cacao: Set git branchJacob Kroon
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2021-11-17README: mention contributing via GitLab MRsRichard Leitner
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2021-11-17openjdk-build-helper: Use python raw string for regex patternDouglas Royds
See https://docs.python.org/3/library/re.html Invalid escape sequences in Python’s usage of the backslash in string literals now generate a DeprecationWarning, and in the future this will become a SyntaxError. The solution is to use Python’s raw string notation for regular expression patterns; backslashes are not handled in any special way in a string literal prefixed with 'r'. Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2021-11-17icedtea7-native: -Wno-error=format-overflow for all gcc >= 9Douglas Royds
Using oe.utils.less_or_equal() in the reverse sense here, such that we *don't* add the warning exclusion for gcc <= 8. Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2021-11-17README: remove Maxin John from MaintainersRichard Leitner
As messages to the given e-mail address of Maxin John (maxin.john@intel.com) are undeliverable remove the entry from the README file. Maxin, if you read this and still want to help maintaining meta-java please drop me a line! It would be great to have you back on board. Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2021-11-17openjdk-build-helper: fix arm64 buildJerome Brunet
When trying to build for an arm64 machine, such as qemuarm64, parsing of the recipes fails with the following messages: WARNING: /meta-java/recipes-core/openjdk/openjdk-7_99b00-2.6.5.bb: Exception during build_dependencies for LLVM_CONFIGURE_ARCH WARNING: /meta-java/recipes-core/openjdk/openjdk-7_99b00-2.6.5.bb: Error during finalise of /meta-java/recipes-core/openjdk/openjdk-7_99b00-2.6.5.bb ERROR: ExpansionError during parsing /meta-java/recipes-core/openjdk/openjdk-7_99b00-2.6.5.bb Traceback (most recent call last): File "Var <LLVM_CONFIGURE_ARCH>", line 1, in <module> File "/meta-java/classes/openjdk-build-helper.bbclass", line 86, in openjdk_build_helper_get_llvm_configure_arch(d=<bb.data_smart.DataSmart object at 0x7f08fed017c0>): else: > if 'shark' in d.getVar('PACKAGECONFIG').split(): bb.warn("%s does not support %s in Shark builds yet" % (d.getVar('PN'), arch) ); bb.data_smart.ExpansionError: Failure expanding variable LLVM_CONFIGURE_ARCH, expression was ${@openjdk_build_helper_get_llvm_configure_arch(d)} which triggered exception AttributeError: 'NoneType' object has no attribute 'split' Using 'bb.utils.contains' solves the problem. Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2021-11-17jikes: Avoid append override together with += operatorJacob Kroon
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2021-11-17jamvm: Set git branchJacob Kroon
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2021-09-22junit/xom: Fix task dependency typoJacob Kroon
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2021-09-22openjdk7: Use bb.parse.vars_from_file()Jacob Kroon
bb.parse.BBHandler.vars_from_file() was removed in: https://git.openembedded.org/bitbake/commit/?id=aaa5292ef96ea27f505bc5c5a4b1eb4f497ed061 Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2021-08-24xerces-j: Whitelisted CVE-2018-2799Saloni Jain
Whitelisted below CVE: CVE-2018-2799: CVE only applies to some Oracle Java SE and Red Hat Enterprise Linux versions which is already fixed with updates and the issue is closed. Link: https://access.redhat.com/security/cve/CVE-2018-2799 Link: https://bugzilla.redhat.com/show_bug.cgi?id=1567542 Signed-off-by: Saloni Jain <jainsaloni0918@gmail.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2021-08-11layer.conf: Update to new honister release nameAJ Bagwell
Signed-off-by: AJ Bagwell <anthony.bagwell@hivehome.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2021-08-11all: manual fixes for new override syntaxAJ Bagwell
Signed-off-by: AJ Bagwell <anthony.bagwell@hivehome.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2021-08-11all: run convert-overrides (0.9.3) script to convert to new override formatAJ Bagwell
Signed-off-by: AJ Bagwell <anthony.bagwell@hivehome.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2021-04-27openjdk-8: Workaround TOPDIR not getting expanded in configure.acMike Looijmans
Somehow the TOPDIR environment doesn't get expanded in configure.ac. Suspecting a clash with OE's internal TOPDIR variable, I tried replacing it with JDKTOPDIR but that resulted in the same error. | autoreconf: configure.ac: creating directory $TOPDIR/common/autoconf/build-aux | autoreconf: error: cannot create $TOPDIR/common/autoconf/build-aux: No such file or directory The workaround implemented here is to replace $TOPDIR in the file by its assigned value ${S}. This makes the error go away and the native build succeed. Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2021-04-27layer.conf: Mark as compatible with hardknottAnthony Bagwell
Signed-off-by: AJ Bagwell <anthony.bagwell@hivehome.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2021-03-22ecj: exclude BB_NUMBER_THREADS from sstate hashWes Lindauer
The sstate-cache for libecj-bootstrap is not shareable across multiple machines because the parallelisation configuration of Bitbake is being embedded into the sstate hash of libecj-bootstrap. Exclude BB_NUMBER_THREADS from the do_compile sstate hashing to avoid this issue. Commit message adapted from a5257d41f32812bc9426183cc8d2b6f07617b0d5. Signed-off-by: Wes Lindauer <wesley.lindauer@gmail.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2021-02-21oeqa: runtime: java: Add package check for javaWes Lindauer
Before testing whether java exists, check to see if one of the java packages is installed on the target. Otherwise, the test will fail. Signed-off-by: Wes Lindauer <wesley.lindauer@gmail.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2021-02-21classpath-native and friends: inherit native lastDouglas Royds
Fixes QA Issue: classpath-native: native/nativesdk class is not inherited last Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2021-02-18openjdk-8-cross.inc: exclude BB_NUMBER_THREADS from sstate hashMichael Ho
The sstate-cache for openjre is not shareable across multiple machines because the parallelisation configuration of Bitbake is being embedded into the sstate hash of openjre. Exclude BB_NUMBER_THREADS from the do_install sstate hashing to avoid this issue. Signed-off-by: Michael Ho <Michael.Ho@bmw.de> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2020-11-09openjdk-8: fix changed upstream checksumsRichard Leitner
The upstream archives and therefore their checksums for 8u272 have changed. This is caused by a new "jdk8u275-b00" tag which was added on the same revision as our "jdk8u272-ga" tag. Therefore the .hg_archival.txt file changed. This patch adds the new upstream checksums. Reported-by: Chencheng Zhang <chencheng@wittra.se> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2020-11-03layer.conf: Mark as compatible with gatesgarthGeoff Parker
Signed-off-by: Geoff Parker <geoffrey.parker@arthrex.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2020-11-03icedtea-7: add fix for deprecated sys/sysctl.h includeRichard Leitner
As glibc deprecated sys/sysctl.h we use linux/sysctl.h for now. Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2020-10-22openjdk-8: update to latest ga version 272Richard Leitner
For aarch32 we need to fall back to b09 as there is no ga tag available yet. Patch related changes: * 0011, 0012 & 0013 were changed to valid git patches Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2020-10-22openjdk-8-native: Don't warn for stripped libfreetype.so.6Jonatan Pålsson
Mimic the approach used in openjdk-8-cross.inc and add INSANE_SKIP for "already-skipped" to avoid the following warning: WARNING: openjdk-8-native-252-r0 do_populate_sysroot: File '..snip../libfreetype.so.6' from openjdk-8-native was already stripped, this will prevent future debugging! Signed-off-by: Jonatan Pålsson <jonatan.p@gmail.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2020-10-22openjdk-8-common: fix soundless evaluationRichard Leitner
If only alsa and not pulseaudio was in PACKAGECONFIG soundless was configured. This is incorrect for obvious reasons, therefore set soundless only if alsa and pulseaudio isn't set. Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2020-10-22openjre-8: add ALTERNATIVE for "keytool"Richard Leitner
As we have ALTERNATIVEs for java and javac we should also provide one for the keytool. Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2020-10-22openjdk-8: add ALTERNATIVE for "keytool"Richard Leitner
As we have ALTERNATIVEs for java and javac we should also provide one for the keytool. Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2020-08-24openjdk-8: update to latest ga version 265Richard Leitner
Patch related changes: * The hotspot patch 1004 was mainlined in changeset 3a3803a0c789 [1] and is therfore dropped. * The jdk patch 2010 was mainlined in changeset c4418d567028 [2] and is therefore dropped. * Rename hotspot/aarch64 patches to start with number 1401. * Rename hotspot/aarch32 patches to start with number 1201. * Merge aarch32-hotspot-fix-shark-build-pt2.patch and openjdk8-fix-shark-build-pt2.patch to hotspot patch 1013 as they were the same. [1] https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/3a3803a0c789 [2] https://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/c4418d567028 Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2020-08-24cacao: update to latest git versionRichard Leitner
As the cacao-staging mercurial repository was removed update the recipe to use the git repository instead. Furthermore update to the latest revision. Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2020-08-20openjdk-8: add a glibc 2.32 compatibility patchAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2020-08-20openjdk-8: refresh patchesRichard Leitner
Refresh all openjdk8 patches as a preparation for the upcoming update. Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2020-07-02icedtea7-native: set ALT_CUPS_HEADERS_PATH to stagingJeremy Puhlman
ALT_CUPS_HEADERS_PATH eventually gets added to some links as -I/usr/include If you are using the buildtools-extended-tarball, the limits.h from the system gets included first then later the limits.h from the buildtools tarball gets added again, but is missing glibc definitions, if the system glibc is much older(centos7). This leads to: In file included from /usr/include/limits.h:124, from /usr/include/sys/param.h:26, from ../../../src/solaris/javavm/export/jvm_md.h:35, from ../../../src/share/javavm/export/jvm.h:32, from ../../../src/solaris/native/sun/awt/awt.h:33, from ../../../src/solaris/native/sun/awt/awt_p.h:75, from ../../../src/solaris/native/sun/awt/awt_MToolkit.c:26: /build/buildtools/sysroots/x86_64-montavistasdk-linux/usr/include/limits.h:145:17: error: missing binary operator before token "(" 145 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2020-07-02icedtea7-native: set unique download file namesVyacheslav Yurkov
Add package names to download file names. This allows to avoid name collisions in case PREMIRRORS are used and all source archives reside in the same directory. Fixed mixed indentation. Signed-off-by: Vyacheslav Yurkov <Vyacheslav.Yurkov@bruker.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>