summaryrefslogtreecommitdiffstats
path: root/recipes-core/jamvm
Commit message (Collapse)AuthorAgeFilesLines
* jamvm: Disable inliningMarek Belisko2019-12-271-1/+1
| | | | | | | | | | | | | | | | This will fix crashes seen when build openjdk-8: ERROR: jaxp1.3-native-1.4.01-r0 do_compile: Function failed: do_compile (log file is located at /home/jenkins/my_build/tmp/work/x86_64-linux/jaxp1.3-native/1.4.01-r0/temp/log.do_compile.28894) ERROR: Logfile of failure stored in: /home/jenkins/my_build/tmp/work/x86_64-linux/jaxp1.3-native/1.4.01-r0/temp/log.do_compile.28894 Log data follows: | DEBUG: Executing shell function do_compile | Illegal instruction (core dumped) | WARNING: exit code 132 from a shell command. | ERROR: Function failed: do_compile (log file is located at /home/jenkins/my_build/tmp/work/x86_64-linux/jaxp1.3-native/1.4.01-r0/temp/log.do_compile.28894) ERROR: Task (virtual:native:/home/jenkins/meta-java/recipes-core/xml-commons/jaxp1.3_1.4.01.bb:do_compile) failed with exit code '1' Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* recipes: rename distro_features_check to features_checkAlex Kiernan2019-12-271-1/+1
| | | | | | | Avoid warning due to the class rename in OE-Core. Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* jamvm: Fix binary name for javacRicardo Ribalda Delgado2019-07-091-1/+4
| | | | | | | | | | | | ecj-initial-native is not a dependency, and even if we add it, we get a compilation error. Fixes: | /bin/bash: /workdir/build/tmp/work/dbfp4-poky-linux/jamvm/2.0.0-devel+gitAUTOINC+6cef41d859-r0/recipe-sysroot-native/usr/bin/ecj-initial: No such file or directory | Makefile:663: recipe for target 'classes.zip' failed Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* jamvm: Do not build for aarch64 targetsRicardo Ribalda Delgado2019-07-091-0/+1
| | | | | | | | | | | Avoids: | configure: error: aarch64-poky-linux-gnu not supported | NOTE: The following config.log files may provide further information. | NOTE: /workdir/build/tmp/work/aarch64-poky-linux/jamvm/2.0.0-devel+gitAUTOINC+6cef41d859-r0/build/config.log | ERROR: configure failed Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* set SUMMARY instead of DESCRIPTIONAndré Draszik2018-06-191-1/+1
| | | | | | | | | Short descriptions should go into SUMMARY (DESCRIPTION will get the same value if not set.) Signed-off-by: André Draszik <andre.draszik@jci.com> Tested-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* jamvm: refresh patchesMaxin B. John2018-04-093-21/+47
| | | | | | | | | | | | | | | | | | | | | | Fixes this: Some of the context lines in patches were ignored. This can lead to incorrectly applied patches. The context lines in the patches can be updated with devtool: devtool modify <recipe> devtool finish --force-patch-refresh <recipe> <layer_path> Then the updated patches and the source tree (in devtool's workspace) should be reviewed to make sure the patches apply in the correct place and don't introduce duplicate lines (which can, and does happen when some of the context is ignored). Further information: http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450 Details: patching file src/Makefile.am Hunk #1 succeeded at 23 with fuzz 1. Signed-off-by: Maxin B. John <maxin.john@intel.com>
* jamvm: avoid checking x11 distro feature for native buildMing Liu2018-01-092-5/+2
| | | | | | | | | x11 is not a mandatory distro feature for building jamvm-native, so avoid checking it for native build, or else it would lead parsing errors. Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* meta: drop deprecated virtclass-nativeMing Liu2018-01-091-7/+7
| | | | | | | Replaces them with class-native. Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* jamvm: add missing dependenciesAdrian Calianu2017-03-031-2/+2
| | | | | | | | | Fix build issues according to latest poky changes where all dependencies must be installed into recipe work folder. Signed-off-by: Adrian Calianu <adrian.calianu@enea.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
* jamvm-git uprev to 2.0.0Amy Fong2016-01-041-2/+2
| | | | | Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
* Missing inheritance and dependencies in some java packagesAmy Fong2016-01-041-1/+1
| | | | | | | | | | | | | | icedtea7-native, openjdk-7, and jamvm-native requires pkg-config to configure without running into an error similar to 7554: syntax error near unexpected token `NSS,' 7554: `PKG_CHECK_MODULES(NSS, nss, NSS_FOUND=yes, NSS_FOUND=no)' classpath-native and jamvm-native both needs to depend on java-initial-native Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
* jamvm.inc: jamvm recipe cleanupAmy Fong2016-01-041-5/+0
| | | | | | | | | | | | jamvm.inc's SRC_URI isn't used anymore, all jamvm bb recipes have been defining their own. In a rare instance, a build failed because it was using the SRC_URI defined from jamvm.inc instead (jamvm_git.bb), this cleanup should prevent this oddity from occuring. Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
* Revert "meta-java: rely on well known bootstrap-path"Jackie Huang2016-01-041-2/+2
| | | | | | | | This reverts commit 04d5d0bf414c05ca59618d77f17ff9898aa1c566. Detail reason is in the following commit. Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
* meta-java: rely on well known bootstrap-pathJens Rehsack2015-12-081-2/+2
| | | | | | | | | | | | Instead of potential circular depending virtual/javac-native (even this recipe provides such a useable java-native), rely on well known path via cacao-native to build up to icedtea7-native in reliable manner. virtual/javac-native should be used by parts not belonging to the bootstrap phase. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Maxin B. John <maxin.john@intel.com>
* Avoid parse time errors due to dependency on x11, for distros without x11Jens Rehsack2015-10-292-3/+5
| | | | | | | | | | | | | | | | | | | | | BitBake raises some errors when processing recipes that depend on x11 for distros that don't have x11 in DISTRO_FEATURES. To work around that issue, REQUIRED_DISTRO_FEATURES = "x11" (from distro_features_check.bbclass) has been set for the following recipes: * cacao (_class-target) * classpath (_class-target) * jamvm (_class-target) * openjdk-7-release That makes BitBake skip those recipes during the cache generation (they'd still be parsed, but ignored). This patch improves the idea from Mario Domenech Goulart <mario@ossystems.com.br> Signed-off-by: Jens Rehsack <sno@netbsd.org> Acked-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Revert "Don't depend on a hardcoded compiler"Otavio Salvador2015-08-261-1/+1
| | | | | | | | | | This reverts commit 15ed9662e26ed4ac8d843fb9d2335a49a9c03088. The change has break external builds causing build failures. The change here needs to be revisited to avoid the breakages and than re-applied. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Avoid parse time errors due to dependency on x11, for distros without x11Mario Domenech Goulart2015-08-181-1/+3
| | | | | | | | | | | | | | | | | | | BitBake raises some errors when processing recipes that depend on x11 for distros that don't have x11 in DISTRO_FEATURES. To work around that issue, REQUIRED_DISTRO_FEATURES = "x11" (from distro_features_check.bbclass) has been set for the following recipes: * cacao * classpath * jamvm * openjdk-6-release * openjdk-7-release That makes BitBake skip those recipes during the cache generation (they'd still be parsed, but ignored). Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Don't depend on a hardcoded compilerMario Domenech Goulart2015-08-181-1/+1
| | | | | | | | | | | | | The recipes below depended on a hardcoded native compile (ecj-initial-native). Since we may use another native compiler to build them, we set the dependency in virtual/javac-native instead. * cacao * classpath-native * jamvm Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* cacao-initial-native, jamvm-initial-native: provide virtual/java-initial-nativeMario Domenech Goulart2015-03-311-1/+1
| | | | | | | | | Since bd9c6023, virtual/java-initial is provided by cacao-initial-native and jamvm-initial-native. For consistency, this commit makes them provide virtual/java-initial-native instead. Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* initials: silence "populate_sysroot manifest not found" warningsMagnus Olsson2015-03-112-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | A number of recipes in meta-java use autotools.bbclass for building; internally it uses the sstate-control populate_sysroot manifests to locate and copy aslocals for configure dependencies as part of the do_configure step. The manifest path differs depending on if it's a native package or not so autotools.bbclass looks at the package name to determine if its native or not (it's native if it ends with "-native"). The warnings are emitted because a few (native) recipes in meta-java (such as cacao-initial, classpath-initial and more) are incorrectly being classified as non-native by autotools.bbclass, which makes it look for the manifest in the wrong place and finally gives up with the warning: WARNING: /home/oe/tmp-glibc/sstate-control/manifest-mymachine-libecj-bootstrap.populate_sysroot not found This happens for cacao-initial, classpath-initial, ecj-initial, libecj-boostrap, jamvm-initial and jikes-initial since they are all native and rely on autotools. This patch renames the recipes so they end with -native, e.g ecj-initial-native. It also updates the recipes so they DEPEND on the corresponding new name. This helps autotools.bbclass to properly classify the recipes are native and silence the warnings. Signed-off-by: Magnus Olsson <magnus@minimum.se> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* jamvm: port to new update-alternativesMerten Sach2014-11-231-2/+2
|
* jamvm: update git url to sourceforge while berlios is goneHenning Heinold2014-04-161-1/+1
|
* jamvm: update git version to ebd11bde0a97b57f0d18938c6b65468d3c932719Henning Heinold2014-04-162-33/+1
| | | | * remove annotations.patch, because it was fixed upstream
* jamvm: add inherit pkgconfigHenning Heinold2014-04-161-1/+1
|
* jamvm/java: allow spaces in argumentsRiku Voipio2013-10-011-2/+1
| | | | | | | | | | | | | Current IFS mangling blows up on the face: | configure:2341: javac -classpath .: Test.java | Invalid maximum heap size: -Xmx1024m-cp/srv/oe/b Simpler command line expansion works just as easy. * fixed placeholder path by Henning Heinold Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
* jamvm-native: set default heap to 1024M via cflagsHenning Heinold2013-09-291-0/+3
|
* jamvm-native: separate bootclasspath out into shell scriptHenning Heinold2013-09-292-1/+14
| | | | | | * instead of hardcode BCP and LD_LIBRARY_PATH into serval files use a shell script and set them there * this allow us again to use other vms for java-native
* jamvm: update to git revision ac22c9948434e528ece451642b4ebde40953ee7eHenning Heinold2013-09-292-3/+34
| | | | * fix gnuclasspath annotations
* java-library.bbclass: Export BOOTCLASSPATH and LD_LIBRARY_PATHKhem Raj2013-09-291-0/+2
| | | | | | | They are helpful in rebuilding from shared state since jamvm is not so relocatable. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* icedtea: Make shared state friendlyKhem Raj2013-09-292-2/+2
| | | | | | | | | | | | | | | | | icedtea-native encodes absolute build time classpaths which wont work in sstate however at same time we can override it with env variables like BOOTCLASSPATH and LD_LIBRARY_PATH to reflect current build environment. Secondly, exclude ICEDTEA_PARALLEL_MAKE from shared state signatures, it can alter signatures if PARALLEL_MAKE value between producer and consumer of sstate is not matching. Now that icedtea7-native is shared state safe, remove the shared state invalidation on jamvm-native that was needed for icedtea7-native to build Signed-off-by: Khem Raj <raj.khem@gmail.com>
* jamvm-initial: Disable shared stateKhem Raj2013-03-141-1/+4
| | | | | | | | | | | shared state does not work for jamvm since it hardcodes the staging paths into binaries it uses packageconfig so lets inherit relevant class Signed-off-by: Khem Raj <raj.khem@gmail.com>
* jamvm: sstate doesnt work for jamvm-nativeKhem Raj2013-03-141-0/+3
| | | | | | | | | | | | | | | | | | jamvm uses hardcoded values for classpath which then gets into the jamvm-native binary now if you unpack the shared state into a different tree it will not find the right classes and fail icedtea7-native-2.1.3-r1.0/fake-jdk/bin/javah exhibits Classpath bug 39408... configure: error: The Java compiler /evobuilds2/buildbot/slaves/slave/kraj/build/yocto/daily/tmp-eglibc/sysroots/x86_64-linux/usr/bin/javac failed For more details see http://old.nabble.com/Re:-Problems-with-JamVM-(I-am-a-beginner)please-help-me-out!-p17404599.html Signed-off-by: Khem Raj <raj.khem@gmail.com>
* jamvm-initial: rename patches directory for newer bitbakeHenning Heinold2013-01-242-0/+0
|
* recipes: Fix license strings to match common licensesKhem Raj2012-11-221-1/+1
| | | | | | | | | | | Fixes warnings like WARNING: bcel-native: No generic license file exists for: AL2.0 in any provider and so on Signed-off-by: Khem Raj <raj.khem@gmail.com>
* jamvm: update git versionHenning Heinold2012-10-181-2/+2
|
* jamvm: update git version to 2fdfc86c4c52c14668bcb87fec8cd8ba87e24fc3Henning Heinold2012-07-191-2/+2
|
* jamvm: work around min heap size greater than max errorJan Luebbe2012-05-252-1/+17
| | | | | | | | | | On system with large amounts of RAM (such as 96GB), the default initial heap size is larger than the max heap size specified in some build commands. Set min_heap to the max_heap value in those cases instead. Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
* classpath-initial: fix installation of tools.zip fileOtavio Salvador2012-04-042-0/+4
| | | | | | | | | | This fixes an unpredicability of sysroot tools.zip version as classpath-initial and classpath-native were installing the tools.zip at same path. We also bump PR of affected recipes to force them to rebuild. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* jamvm: silence dev-so QA warningsKoen Kooi2012-01-071-0/+1
| | | | | | | * fix was sent in by Xerxes Rånby too Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
* jamvm: fix OEMAKE typo and apply for non-native builds as wellKoen Kooi2012-01-071-3/+3
| | | | | | | * fix was sent in by Xerxes Rånby too Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
* jamvm-initial: fix typo in EXTRA_OEMAKEHenning Heinold2012-01-061-3/+3
| | | | | | * thanks Yauhen Kharuzhy for spotting it Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
* jamvm-initial: do not overwerite do_compile use EXTRA_OEMAKEHenning Heinold2012-01-061-6/+4
| | | | Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
* jamvm: do not use the glibj.zip from host systemHenning Heinold2012-01-061-1/+3
| | | | | | * was spotted by Xerxes Rånby Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
* jamvm git: use proper PVKoen Kooi2011-12-011-1/+1
| | | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
* meta-java: initial commitHenning Heinold2011-11-268-0/+339
* taken over mostly stuff from oe classic * cleaned up recipes * added license checksums * bump icedtea6-native to 1.8.11 * use jamvm from git as native