Age | Commit message (Collapse) | Author |
|
As the JVM postinst scripts fail during rootfs creation we postpone them
to the target using the "pkg_postinst_ontarget_" function. Failing the
build at failing postinst scripts was intentionally introduced by
oe-core.
Furthermore remove the no longer needed $D prefixes from those postinst
scripts.
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
|
|
As openjdk-7-common was the only consumer of openjdk-postinst.inc move
it's content and remove openjdk-postinst.inc.
Now all files in recipes-core/openjdk are named correctly according to
their versions again.
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
|
|
Move the OpenJDK-7 specific parts from openjdk-common.inc to
openjdk-7-common.inc.
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
|
|
As the openjdk_build_helper now provides the ARCH translation function
use those and drop the local ones.
Furthermore remove the duplicated LLVM_CONFIGURE_ARCH export.
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
|
|
The code moved is not relevant to anything using java, just for
compiling java itself. It doesn't make sense to have here.
Move it into openjdk-build-helper
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
|
|
bb.data.getVar was removed, need to use the modern mechanism.
Signed-off-by: Cody P Schafer <dev@codyps.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Simplifies duplicated implementation across multiple recipes that all
inherited from java.bbclass.
Previously implementation was not flexible in supporting other make
job-limiting flags (like -l for load) that are typically passed in
through PARALLEL_MAKE. (OpenJDK doesn't know about these other flags
that might have gotten tagged on after the value for -j.)
Signed-off-by: Kyle Russell <bkylerussell@gmail.com>
Signed-off-by: Maxin B. John <maxin.john@intel.com>
|
|
Pass "--enable-downloading=no" to IcedTea's make. This ensures
IcedTea uses the versions and checksums we defined in the openjdk-7-jre
recipe for its "sub-modules".
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Maxin B. John <maxin.john@intel.com>
|
|
Previously if PARALLEL_MAKE changed, so did the task signature
for do_configure. Use vardepsvalue so that the signature remains
constant.
Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Maxin B. John <maxin.john@intel.com>
|
|
The error in do_configure is like:
openjdk.tar.bz2: FAILED
/usr/bin/sha256sum: WARNING: 1 of 1 computed checksum did NOT match
That's because the URIs and checksums do not match the ones defined
in Makefile.am, then the configure will fail the test and download
again from ICEDTEA_DROP_URL.
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Fails with an error message /usr/bin/unzip not found.
Additionally, icedtea7 enables you to specify an unzip to use by setting
the variable UNZIP, this results in an error because unzip uses UNZIP
to specify options, hence you'll end up with unzip trying to unzip unzip.
Note: Same issue applies to openjdk
Signed-off-by: Amy Fong <amy.fong@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
|
|
openjdk depends on attr, this can result in a configure
failure if the dependency is missing.
checking for sys/epoll.h... (cached) yes
checking attr/xattr.h usability... no
checking attr/xattr.h presence... no
checking for attr/xattr.h... no
configure: error: Could not find required system headers;
install the appropriate files from glibc-headers,
libc6-dev and/or libattr-devel, libattr1-dev or use
--disable-compile-against-syscalls if necessary.
Configure failed. The contents of all config.log files follows to aid debugging
Signed-off-by: Amy Fong <amy.fong@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
|
|
The jdk package was missing tools like javac and tools.jar. Adding
jvm to the packaging pulls in the tool set.
Signed-off-by: Paul Barrette <paul.barrette@windriver.com>
Signed-off-by: Amy Fong <amy.fong@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
|
|
libfreetype.so.6 is copied from STAGING_LIBDIR and
binaries/libraries in sysroot are already stripped
since the following commit in oe-core:
"30f3774 staging: Strip files in sysroot"
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Change the indentation for all openjdk recipes to 4 spaces.
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Due to the fact we will always support only one OpenJDK 7 version the
openjdk-7-release-*.inc is not needed. Therefore remove this file and
split it content to openjdk-7_*.bb and openjdk-7-common.inc.
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Since Shark is utterly broken and cacao and jamvm are terrible slow compared
to zero, it's pointless to support them for targets with limited resources
unless there is active maintainership taken by responsible person.
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Since Yocto Project has a reasonable definition of supported build hosts, we
shouldn't restrict to e.g. pre 4.x kernels as icedtea7 expects.
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
I realized one small issue last days: the dependency of openjdk-*-demos on java2-vm, which is
provided by the current recipe (eg. openjdk-7) causes bitbake scan for alternatives (eg. java2-vm
provided by openjdk-6) without any need.
I would recommend to remove such a generic dependency:
* openjdk-6-demos require openjdk-6-jre, period.
* openjdk-7-demos require openjdk-7-jre, period.
* openjdk-8-demos require openjdk-8-jre, period.
There is no sense in satisfying openjdk-8-demos with openjdk-6-jre (even if it might be possible).
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Increment the PR of openjdk-7-common.inc due to the previous changes.
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Use the PN variable instead of the hardcoded "openjdk-7-jre" string.
Furthermore fix the indentation of its content.
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
The "--disable-pulse-java" configuration is no longer available in
IcedTea 2.6.1, therefore move it to the 2.5.4 (75b13) version only.
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
PCSC default value was changed to true and SCTP was added during the 2.6.0
IcedTea release so disable them both explicitely in openjdk-7-common.inc
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Due to problems when using native rmic, I switched to using icedtea7.
Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
-jre binaries such as keytool, policytool and more requires libjli.so
so ensure there's a RDEPEND that provides it.
Same goes for openjdk-7-java (java binary FILERDEPENDS libjli.so).
Both of these already DEPENDS -common, so the build was not broken before
but this patch will also silence the QA file-rdeps issue.
Signed-off-by: Magnus Olsson <magnus@minimum.se>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
use ${B} to specify the build directory, thus keep working for
daisy and older versions as well as for dizzy and newer.
Signed-off-by: Max Krummenacher <max.oss.09@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
* the current icedtea7 seems to have some issues when compiling
on recent linux distribution
* switch back to icedtea6-native to have a reliable state
for building openjdk7
|
|
Fixes errors like below when building jamvm as additional VM
ERROR: QA Issue: non debug package contains .debug directory:
openjdk-7-common path
/work/ppce500v2-poky-linux-gnuspe/openjdk-7-jre/03b21-2.1.7-r6.0/packages-split/openjdk-7-common/usr/lib/jvm/java-7-openjdk/jre/lib/ppc/client/.debug/libjvm.so
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Function failed: do_package_qa
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
we hit below errors
ERROR: The function get_jdk_arch defined in openjdk-7-common.inc was
already declared in openjdk-6-common.inc.
BitBake has a global python function namespace so shared functions
should be declared in a common include file
rather than being duplicated, or if the functions are different, please
use different function names.
ERROR: The function get_llvm_configure_arch defined in
openjdk-7-common.inc was already declared in openjdk-6-c
ommon.inc. BitBake has a global python function namespace so shared
functions should be declared in a common in
clude file rather than being duplicated, or if the functions are
different, please use different function names
This patch fixes the above
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Sometimes we have meta-java in bblayers but one of the CPUs e.g. mips64
which does not support openjdk errors out on parsing. Thats not OK if
say the image thats being generated does not use java at all. So its
ok to warn and inform about it clearly but it should not be error.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
* native libararies located in the archdir search for libjvm.so
in the archdir directory so make a link to satisfy the search
|
|
* bump INC_PR of openjdk-6-common.inc
* when both are going to be installed use jdk-7 as default
|
|
update-alternatives class
* bump INC_PR
|
|
|
|
* bump PR
|
|
|
|
* libxp is gone
|
|
The branches differed to much and I wanted to
keep openjdk-6.
We will loose some history, but
I think that is not a great problem
Thanks to khem for working on the recipes too.
|