summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* icedtea7-native: -Wno-error=format-overflow for all gcc >= 9Douglas Royds2021-11-171-2/+1
| | | | | | | | 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>
* README: remove Maxin John from MaintainersRichard Leitner2021-11-171-1/+0
| | | | | | | | | | | 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>
* openjdk-build-helper: fix arm64 buildJerome Brunet2021-11-171-1/+1
| | | | | | | | | | | | | | | | | | | | | 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>
* jikes: Avoid append override together with += operatorJacob Kroon2021-11-171-1/+1
| | | | | Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* jamvm: Set git branchJacob Kroon2021-11-171-1/+1
| | | | | Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* junit/xom: Fix task dependency typoJacob Kroon2021-09-222-3/+3
| | | | | Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* openjdk7: Use bb.parse.vars_from_file()Jacob Kroon2021-09-221-1/+1
| | | | | | | | 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>
* xerces-j: Whitelisted CVE-2018-2799Saloni Jain2021-08-241-0/+6
| | | | | | | | | | | | | 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>
* layer.conf: Update to new honister release nameAJ Bagwell2021-08-111-1/+1
| | | | | Signed-off-by: AJ Bagwell <anthony.bagwell@hivehome.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* all: manual fixes for new override syntaxAJ Bagwell2021-08-115-8/+9
| | | | | Signed-off-by: AJ Bagwell <anthony.bagwell@hivehome.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* all: run convert-overrides (0.9.3) script to convert to new override formatAJ Bagwell2021-08-1158-298/+298
| | | | | Signed-off-by: AJ Bagwell <anthony.bagwell@hivehome.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* openjdk-8: Workaround TOPDIR not getting expanded in configure.acMike Looijmans2021-04-271-0/+1
| | | | | | | | | | | | | | | 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>
* layer.conf: Mark as compatible with hardknottAnthony Bagwell2021-04-271-1/+1
| | | | | Signed-off-by: AJ Bagwell <anthony.bagwell@hivehome.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* ecj: exclude BB_NUMBER_THREADS from sstate hashWes Lindauer2021-03-221-0/+1
| | | | | | | | | | | | | | 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>
* oeqa: runtime: java: Add package check for javaWes Lindauer2021-02-211-0/+1
| | | | | | | | 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>
* classpath-native and friends: inherit native lastDouglas Royds2021-02-216-7/+8
| | | | | | | 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>
* openjdk-8-cross.inc: exclude BB_NUMBER_THREADS from sstate hashMichael Ho2021-02-181-0/+2
| | | | | | | | | | | | 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>
* openjdk-8: fix changed upstream checksumsRichard Leitner2020-11-091-8/+8
| | | | | | | | | | | | 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>
* layer.conf: Mark as compatible with gatesgarthGeoff Parker2020-11-031-1/+1
| | | | | Signed-off-by: Geoff Parker <geoffrey.parker@arthrex.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* icedtea-7: add fix for deprecated sys/sysctl.h includeRichard Leitner2020-11-032-0/+24
| | | | | | As glibc deprecated sys/sysctl.h we use linux/sysctl.h for now. Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* openjdk-8: update to latest ga version 272Richard Leitner2020-10-2242-124/+167
| | | | | | | | | | 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>
* openjdk-8-native: Don't warn for stripped libfreetype.so.6Jonatan Pålsson2020-10-221-0/+3
| | | | | | | | | | 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>
* openjdk-8-common: fix soundless evaluationRichard Leitner2020-10-221-4/+1
| | | | | | | | 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>
* openjre-8: add ALTERNATIVE for "keytool"Richard Leitner2020-10-221-2/+6
| | | | | | | 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>
* openjdk-8: add ALTERNATIVE for "keytool"Richard Leitner2020-10-221-1/+4
| | | | | | | 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>
* openjdk-8: update to latest ga version 265Richard Leitner2020-08-2448-451/+268
| | | | | | | | | | | | | | | | | | 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>
* cacao: update to latest git versionRichard Leitner2020-08-243-25/+41
| | | | | | | | 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>
* openjdk-8: add a glibc 2.32 compatibility patchAlexander Kanavin2020-08-202-0/+40
| | | | | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* openjdk-8: refresh patchesRichard Leitner2020-08-2015-57/+76
| | | | | | Refresh all openjdk8 patches as a preparation for the upcoming update. Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* icedtea7-native: set ALT_CUPS_HEADERS_PATH to stagingJeremy Puhlman2020-07-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* icedtea7-native: set unique download file namesVyacheslav Yurkov2020-07-022-41/+46
| | | | | | | | | 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>
* jlex: set unique file name for downloadVyacheslav Yurkov2020-07-021-2/+5
| | | | | Signed-off-by: Vyacheslav Yurkov <Vyacheslav.Yurkov@bruker.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* openjdk-8-native: Build cups-native when using cups packageconfigFabio Berton2020-06-101-1/+1
| | | | | Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* openjdk-8-native: Add libxtst-native to x11 packageconfigFabio Berton2020-06-101-1/+1
| | | | | | | libxtst-native it's needed to build openjdk-8-native. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* WORKDIR and ARCHIVER_WORKDIR supportRobert Berger2020-06-101-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | do_unpack_extract_submodules was called via postfuncs[do_unpack]. This breaks the build when the archiver.bbclass is used in a way where do_unpack_and_patch is called by it. In this mode the archiver class modifies WORKDIR, S, B,... and those modifications are lost via postfuncs. In order to pick up WORKDIR, S, B,... (potentially modified by archiver.bbclass) do_patch_prepend is used instead of pre/postfuncs and calls do_unpack_extract_submodules now. Without this patch the build will break when you add this to local.conf: INHERIT += "archiver" ARCHIVER_MODE[src] = "original" ARCHIVER_MODE[diff] = "1" ARCHIVER_MODE[dumpdata] = "1" ARCHIVER_MODE[recipe] = "1" COPYLEFT_LICENSE_INCLUDE = "GPL* LGPL*" Signed-off-by: Robert Berger <robert.berger@ReliableEmbeddedSystems.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* icedtea7-native: host gcc-9, extra CFLAGS neededRobert Berger2020-05-091-0/+5
| | | | | Signed-off-by: Robert Berger <robert.berger@ReliableEmbeddedSystems.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* openjdk-8: remove -WerrorRichard Leitner2020-05-064-13/+227
| | | | | | | | Add patches to remove Werror from the build process. Therefore we also drop the "-Wno-*" exceptions. Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Tested-by: Jacob Kroon <jacob.kroon@gmail.com>
* openjdk-8: require GCC >= v6Richard Leitner2020-05-062-15/+9
| | | | | | | | | As nobody should use older versions of GCC anymore this patch drops all version dependent workarounds and requiers host gcc >=6 for building openjdk-8. Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Tested-by: Jacob Kroon <jacob.kroon@gmail.com>
* openjdk-8: Fix building with GCC 10Jacob Kroon2020-05-011-0/+4
| | | | | Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* icedtea7-native: Fix building with GCC 10Jacob Kroon2020-05-011-0/+3
| | | | | Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* openjdk-build-helper: Fix decoding GCC major versionJacob Kroon2020-05-011-1/+1
| | | | | | | | GCC in Fedora 32 is up to version 10, so return the whole word instead of the first letter. Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* openjdk-8: update to latest ga version 252Richard Leitner2020-05-016-50/+26
| | | | | | | This patch also drops the md5 checksums as sha256 checksums are sufficient. Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Tested-by: Jacob Kroon <jacob.kroon@gmail.com>
* docs: UPDATING: pipe curl calls to "head"Richard Leitner2020-04-281-2/+2
| | | | Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* layer.conf: Mark as compatible with dunfellJacob Kroon2020-04-091-1/+1
| | | | | Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* openjdk-8: Don't set TOPDIR bitbake variableJacob Kroon2020-02-101-1/+4
| | | | | | | | | It is used to set the default sstate cache location. Just export it to the environment. Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> [richard.leitner@skidata.com: adapted commit message] Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* openjdk-8: update to latest ga version 242Richard Leitner2020-01-2870-4018/+1390
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As OpenJDK-8 is now tagging "ga" versions in addition to the "build" version the recipes are adapted to use those "ga" versions. All existing patches got re-applied and renamed. For better handling Hotspot patches now start at patch number 1001 and jdk patches at 2001. Furthermore architecture dependent patches are prefixed with the architecture they apply on. Following patches/hunks were completely dropped: - 0002-hotspot-fix-compilation-with-security-flags-enabled.patch got backported to hotspot jdk8u https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/c40a28e54185 - 0011-hotspot-backport-patch-to-fix-misuses-of-strncpy-str.patch ostream.cpp:112 got fixed in hotspot jdk8u https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/f3108e56b502 - 0014-hotspot-zero-fix-undefined-behaviour-gcc-v8-fix.patch got backported to hotspot jdk8u https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/ca4663e58916 - 0018-hotspot-Fix-debug-build-after-8062808-Turn-on-the-Wr.patch fixed in hotspot jdk8u https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/32bc598624bd - 0020-Enable-HotSpot-builds-on-5.x-Linux-kernels.patch fixed in hotspot jdk8u https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/5af8ec63c21c - openjdk8-add-missing-linker-flags.patch fixed in hotspot jdk8u https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/f175513c2c3a - openjdk8-fix-shark-stdc++11.patch fixed in hotspot jdk8u - openjdk8-fix-libpng-neon-build.patch fixed in jdk https://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/5d57817931e1 - aarch64-hotspot-fix-undefined-behaviour-gcc-v8-fix.patch got backported to hotspot jdk8u Following patches were newly added: - 0011-autoconf-fix-CC-with-arguments-detection.patch needed because of jdk8u commit "8038340: Cleanup and fix sysroot and devkit handling on Linux and Solaris" - 0012-autoconf-NativeCompilation-remove-sysroot.patch needed because of jdk8u commit "8038340: Cleanup and fix sysroot and devkit handling on Linux and Solaris" Additionally add UPDATING.md which describes the openjdk8 update process for this layer and update8checksums.sh, a script that updates the openjdk8 source archive checksums in the corresponding .inc files. Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* icedtea7-native: inherit python nativeKraag Gorim2020-01-271-0/+1
| | | | | | | | | icedtea7-native relys on python to enable building it. Therefor it should inherit python instead of assuming python being part of HOSTTOOLS. Signed-off-by: Kraag Gorim <kraaggorim@gmail.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* java-library: inherit python nativeKraag Gorim2020-01-271-0/+1
| | | | | | | | Several components make use of python in their build process. To not rely on python being part of the HOSTTOOLS python should be inherited. Signed-off-by: Kraag Gorim <kraaggorim@gmail.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* openjdk-7: add patch to fix xattr include pathRichard Leitner2020-01-213-0/+25
| | | | | | | | As attr dropped the <attr/xattr.h> header use <sys/xattr.h> instead. http://git.savannah.nongnu.org/cgit/attr.git/commit/include?id=7921157890d07858d092f4003ca4c6bae9fd2c38 Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* icedtea7-native: add patch to fix xattr include pathRichard Leitner2020-01-213-0/+25
| | | | | | | | As attr dropped the <attr/xattr.h> header use <sys/xattr.h> instead. http://git.savannah.nongnu.org/cgit/attr.git/commit/include?id=7921157890d07858d092f4003ca4c6bae9fd2c38 Signed-off-by: Richard Leitner <richard.leitner@skidata.com>