meta-java: rely on well known bootstrap-path
PATCH 2/4 meta-java: rely on well known bootstrap-path
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.
--- classes/java-bootstrap-components.bbclass | 7 +++++++ classes/java-library.bbclass | 3 ++- recipes-core/ant/ant-native_1.8.1.bb | 2 +- recipes-core/cacao/cacao_1.6.1.bb | 4 +++- recipes-core/classpath/classpath.inc | 4 ++-- recipes-core/classpathx/gnujaf_1.1.1.bb | 2 +- recipes-core/classpathx/gnumail_1.1.2.bb | 2 +- recipes-core/classpathx/inetlib_1.1.1.bb | 2 +- recipes-core/ecj/ecj-bootstrap-native.bb | 2 +- recipes-core/ecj/libecj-bootstrap.inc | 2 +- recipes-core/icedtea/icedtea7-native.inc | 2 +- recipes-core/jacl/jacl_1.4.1.bb | 2 +- recipes-core/jakarta-commons/commons-logging_1.1.1.bb | 2 ++ recipes-core/jakarta-commons/commons-net_1.4.1.bb | 2 ++ recipes-core/jakarta-libs/avalon-framework-api_4.3.bb | 2 +- recipes-core/jakarta-libs/bsf_2.4.0.bb | 2 +- recipes-core/jakarta-libs/log4j1.2_1.2.17.bb | 2 +- recipes-core/jakarta-libs/logkit_1.2.2.bb | 2 +- recipes-core/jakarta-libs/oro_2.0.8.bb | 2 +- recipes-core/jakarta-libs/poi_3.0.bb | 2 +- recipes-core/jakarta-libs/regexp_1.5.bb | 2 +- recipes-core/jamvm/jamvm.inc | 4 ++-- recipes-core/jcraft/jsch_0.1.40.bb | 2 +- recipes-core/jcraft/jzlib_1.0.7.bb | 2 +- recipes-core/jdepend/jdepend_2.9.1.bb | 2 +- recipes-core/jlex/jlex_1.2.6.bb | 2 +- recipes-core/junit/junit4_4.3.1.bb | 4 +--- recipes-core/junit/junit_3.8.2.bb | 2 +- recipes-core/rhino/rhino_1.7r4.bb | 2 +- recipes-core/servlet-api/servlet2.3_4.1.37.bb | 4 +--- recipes-core/servlet-api/servlet2.4_5.5.26.bb | 2 -- recipes-core/xalan-j/xalan-j_2.7.1.bb | 2 +- recipes-core/xerces-j/xerces-j_2.11.0.bb | 6 +++--- recipes-core/xml-commons/jaxp1.3_1.4.01.bb | 4 +--- recipes-core/xml-commons/xml-commons-resolver1.1_1.2.bb | 6 +++--- recipes-core/xml-commons/xpp2_2.1.10.bb | 2 -- recipes-core/xml-commons/xpp3_1.1.3.4.O.bb | 2 -- 37 files changed, 51 insertions(+), 49 deletions(-) create mode 100644 classes/java-bootstrap-components.bbclass
classes/java-bootstrap-components.bbclass new file +7 -0
@@ -0,0 +1,7 @@ +# This is to be used by recipes which rely on java-library.bbclass +# infrastructure and their a *-native recipe are parts of the bootstrap +# process +# + +DEPENDS_prepend_class-native = " ecj-bootstrap-native " +DEPENDS_prepend_class-target = " virtual/javac-native "
classes/java-library.bbclass +2 -1
@@ -35,7 +35,8 @@ def java_package_name(d): JPN ?= "${@java_package_name(d)}" -DEPENDS_prepend = "virtual/javac-native fastjar-native " +DEPENDS_prepend = " fastjar-native " +DEPENDS_prepend_class-target = " virtual/javac-native " PACKAGES += "${JPN}"
recipes-core/ant/ant-native_1.8.1.bb +1 -1
@@ -11,7 +11,7 @@ SRC_URI = "http://archive.apache.org/dist/ant/source/apache-ant-${PV}-src.tar.gz S = "${WORKDIR}/apache-ant-${PV}" -inherit java-library java-native +inherit java-library java-native java-bootstrap-components DEPENDS = " \ jsch-native bsf-native xalan-j-native xerces-j-native \
recipes-core/cacao/cacao_1.6.1.bb +3 -1
@@ -7,7 +7,9 @@ SECTION = "interpreters" DEPENDS_class-native = "zlib-native libtool-native ecj-initial-native fastjar-native classpath-native bdwgc-native" PROVIDES_class-native = "virtual/java-native" -DEPENDS = "zlib libtool classpath virtual/javac-native bdwgc" +DEPENDS_class-target = " virtual/javac-native " + +DEPENDS = "zlib libtool classpath bdwgc" RPROVIDES_${PN} = "java2-runtime" SRC_URI = "http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PV}/cacao-${PV}.tar.xz \
recipes-core/classpath/classpath.inc +2 -2
@@ -7,9 +7,9 @@ LICENSE = "Classpath" PBN = "classpath" -inherit autotools java gettext +inherit autotools java gettext java-bootstrap-components -DEPENDS = "virtual/javac-native fastjar-native zip-native gmp antlr-native gtk+ gconf libxtst file" +DEPENDS = " fastjar-native zip-native gmp antlr-native gtk+ gconf libxtst file" RPROVIDES_${PN} = ""
recipes-core/classpathx/gnujaf_1.1.1.bb +1 -1
@@ -10,7 +10,7 @@ SRC_URI = "http://ftp.gnu.org/gnu/classpathx/activation-${PV}.tar.gz \ file://MimeType-symbols-fix.patch \ " -inherit java-library +inherit java-library java-bootstrap-components S = "${WORKDIR}/activation-${PV}"
recipes-core/classpathx/gnumail_1.1.2.bb +1 -1
@@ -8,7 +8,7 @@ SRC_URI = "http://ftp.gnu.org/gnu/classpathx/mail-${PV}.tar.gz \ file://datadir_java.patch \ " -inherit java-library autotools +inherit java-library java-bootstrap-components autotools S = "${WORKDIR}/mail-${PV}"
recipes-core/classpathx/inetlib_1.1.1.bb +1 -1
@@ -9,7 +9,7 @@ SRC_URI = "http://ftp.gnu.org/gnu/classpath/${BP}.tar.gz \ file://datadir_java.patch \ " -inherit java-library autotools +inherit java-library java-bootstrap-components autotools JPN = "libgnuinet-java"
recipes-core/ecj/ecj-bootstrap-native.bb +1 -1
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d " PR = "r1" -DEPENDS = "libecj-bootstrap-native virtual/java-native" +DEPENDS = "libecj-bootstrap-native cacao-native" PROVIDES = "virtual/javac-native"
recipes-core/ecj/libecj-bootstrap.inc +1 -1
@@ -5,7 +5,7 @@ HOMEPAGE = "http://www.eclipse.org/" LICENSE = "EPL-1.0" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/EPL-1.0;md5=57f8d5e2b3e98ac6e088986c12bf94e6" -DEPENDS = "fastjar-native jikes-initial-native virtual/java-initial-native" +DEPENDS = "fastjar-native jikes-initial-native cacao-initial-native" INC_PR = "r5"
recipes-core/icedtea/icedtea7-native.inc +1 -1
@@ -3,7 +3,7 @@ HOMEPAGE = "http://icedtea.classpath.org" LICENSE = "GPL-2.0-with-classpath-exception" INC_PR = "r1" -DEPENDS = "virtual/javac-native virtual/java-native classpath-native \ +DEPENDS = "fastjar-native cacao-native classpath-native \ rhino-native ant-native libxslt-native attr-native \ giflib-native jpeg-native libpng-native \ glib-2.0-native freetype-native zlib-native \
recipes-core/jacl/jacl_1.4.1.bb +1 -1
@@ -10,7 +10,7 @@ HOMEPAGE = "http://sourceforge.net/projects/tcljava" SRC_URI = "http://downloads.sourceforge.net/tcljava/jacl${PV}.tar.gz" -inherit java-library +inherit java-library java-bootstrap-components S = "${WORKDIR}/jacl${PV}"
recipes-core/jakarta-commons/commons-logging_1.1.1.bb +2 -0
@@ -1,5 +1,7 @@ require jakarta-commons.inc +inherit java-bootstrap-components + PR = "${INC_PR}.1" DESCRIPTION = "Java Internet protocol suite library"
recipes-core/jakarta-commons/commons-net_1.4.1.bb +2 -0
@@ -1,5 +1,7 @@ require jakarta-commons.inc +inherit java-bootstrap-components + PR = "${INC_PR}.1" DESCRIPTION = "Java Internet protocol suite library"
recipes-core/jakarta-libs/avalon-framework-api_4.3.bb +1 -1
@@ -9,7 +9,7 @@ SRC_URI = " \ http://archive.apache.org/dist/avalon/logkit/source/logkit-1.2.2-src.tar.gz;name=logkit \ " -inherit java-library +inherit java-library java-bootstrap-components do_compile() { mkdir -p build
recipes-core/jakarta-libs/bsf_2.4.0.bb +1 -1
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b1e01b26bacfc2232046c90a330332b3" SRC_URI = "http://archive.apache.org/dist/jakarta/bsf/source/bsf-src-${PV}.tar.gz" -inherit java-library +inherit java-library java-bootstrap-components DEPENDS = "jacl commons-logging rhino xalan-j bcel" DEPENDS_virtclass-native = "jacl-native commons-logging-native rhino-native xalan-j-native bcel-native"
recipes-core/jakarta-libs/log4j1.2_1.2.17.bb +1 -1
@@ -7,7 +7,7 @@ PR = "r2" SRC_URI = "http://archive.apache.org/dist/logging/log4j/${PV}/log4j-${PV}.tar.gz" -inherit java-library +inherit java-library java-bootstrap-components DEPENDS = "gnumail gnujaf" DEPENDS_virtclass-native = "gnumail-native gnujaf-native"
recipes-core/jakarta-libs/logkit_1.2.2.bb +1 -1
@@ -6,7 +6,7 @@ PR = "r1" SRC_URI = "http://archive.apache.org/dist/avalon/logkit/source/${BP}-src.tar.gz" -inherit java-library +inherit java-library java-bootstrap-components S = "${WORKDIR}/${BP}-dev"
recipes-core/jakarta-libs/oro_2.0.8.bb +1 -1
@@ -6,7 +6,7 @@ PR = "r1" SRC_URI = "http://archive.apache.org/dist/jakarta/oro/source/jakarta-${BP}.tar.gz" -inherit java-library +inherit java-library java-bootstrap-components S = "${WORKDIR}/jakarta-${BP}"
recipes-core/jakarta-libs/poi_3.0.bb +1 -1
@@ -9,7 +9,7 @@ S = "${WORKDIR}/${BPN}-3.0-rc4" inherit java-library -DEPENDS = "fastjar-native commons-collections3 commons-logging commons-lang commons-beanutils log4j1.2 xalan-j" +DEPENDS = "commons-collections3 commons-logging commons-lang commons-beanutils log4j1.2 xalan-j" do_compile() { mkdir -p build
recipes-core/jakarta-libs/regexp_1.5.bb +1 -1
@@ -6,7 +6,7 @@ PR = "r1" SRC_URI = "http://archive.apache.org/dist/jakarta/regexp/source/jakarta-${BP}.tar.gz" -inherit java-library +inherit java-library java-bootstrap-components S = "${WORKDIR}/jakarta-${BP}"
recipes-core/jamvm/jamvm.inc +2 -2
@@ -3,7 +3,7 @@ HOMEPAGE = "http://jamvm.sourceforge.net/" LICENSE = "GPL-2.0" LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" -DEPENDS = "zlib classpath virtual/javac-native libffi" +DEPENDS = "zlib classpath libffi" DEPENDS_virtclass-native = "zlib-native classpath-native ecj-initial-native libffi-native" RDEPENDS_${PN} = "classpath"
@@ -21,7 +21,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/jamvm/jamvm-${PV}.tar.gz \ " -inherit java autotools update-alternatives pkgconfig +inherit java autotools update-alternatives pkgconfig java-bootstrap-components # This uses 32 bit arm, so force the instruction set to arm, not thumb ARM_INSTRUCTION_SET = "arm"
recipes-core/jcraft/jsch_0.1.40.bb +1 -1
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=55e3b6a0987ccd0c34530f3df2d206ae" SRC_URI = "${SOURCEFORGE_MIRROR}/jsch/jsch-${PV}.zip" -inherit java-library +inherit java-library java-bootstrap-components DEPENDS = "jzlib" DEPENDS_virtclass-native = "jzlib-native"
recipes-core/jcraft/jzlib_1.0.7.bb +1 -1
@@ -6,7 +6,7 @@ HOMEPAGE = "http://www.jcraft.com/jzlib" SRC_URI = "http://www.jcraft.com/jzlib/jzlib-${PV}.tar.gz" -inherit java-library +inherit java-library java-bootstrap-components do_compile() { mkdir -p build
recipes-core/jdepend/jdepend_2.9.1.bb +1 -1
@@ -8,7 +8,7 @@ HOMEPAGE = "http://clarkware.com/software/JDepend.html" SRC_URI = "http://www.clarkware.com/software/jdepend-${PV}.zip" -inherit java-library +inherit java-library java-bootstrap-components do_compile() { mkdir -p build
recipes-core/jlex/jlex_1.2.6.bb +1 -1
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d RDEPENDS_${PN} = "java2-runtime" RDEPENDS_${PN}_virtclass-native = "" -inherit java-library +inherit java-library java-bootstrap-components SRC_URI = "http://www.cs.princeton.edu/~appel/modern/java/JLex/Archive/${PV}/Main.java \ file://jlex \
recipes-core/junit/junit4_4.3.1.bb +1 -3
@@ -8,9 +8,7 @@ SRC_URI = "http://downloads.sourceforge.net/junit/junit-${PV}-src.jar" S = "${WORKDIR}" -inherit java-library - -DEPENDS = "fastjar-native" +inherit java-library java-bootstrap-components do_compile() { mkdir -p build
recipes-core/junit/junit_3.8.2.bb +1 -1
@@ -11,7 +11,7 @@ S = "${WORKDIR}/junit${PV}" DEPENDS += "unzip-native" -inherit java-library +inherit java-library java-bootstrap-components do_unpackpost() { mkdir -p src
recipes-core/rhino/rhino_1.7r4.bb +1 -1
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=8e2372bdbf22c99279ae4599a13cc458" BBCLASSEXTEND = "native" -inherit java-library +inherit java-library java-bootstrap-components SRC_URI = "\ https://github.com/downloads/mozilla/rhino/rhino1_7R4.zip \
recipes-core/servlet-api/servlet2.3_4.1.37.bb +1 -3
@@ -6,12 +6,10 @@ PR = "r1" SRC_URI = "http://archive.apache.org/dist/tomcat/tomcat-4/v${PV}/src/apache-tomcat-${PV}-src.tar.gz" -inherit java-library +inherit java-library java-bootstrap-components S = "${WORKDIR}/apache-tomcat-${PV}-src/servletapi" -DEPENDS = "fastjar-native" - # Value of implementation.revision in build.xml IMPL_REVISION = "1"
recipes-core/servlet-api/servlet2.4_5.5.26.bb +0 -2
@@ -9,8 +9,6 @@ S = "${WORKDIR}/apache-tomcat-${PV}-src/servletapi/jsr154" inherit java-library -DEPENDS = "fastjar-native" - # Value of implementation.revision in build.xml IMPL_REVISION = "1"
recipes-core/xalan-j/xalan-j_2.7.1.bb +1 -1
@@ -21,7 +21,7 @@ SRC_URI = "\ S = "${WORKDIR}/${BPN}_2_7_1" -inherit java-library +inherit java-library java-bootstrap-components JPN = "libxalan2-java"
recipes-core/xerces-j/xerces-j_2.11.0.bb +3 -3
@@ -16,12 +16,12 @@ SRC_URI = "http://archive.apache.org/dist/xerces/j/Xerces-J-src.${PV}.tar.gz" S = "${WORKDIR}/xerces-2_11_0" -inherit java-library +inherit java-library java-bootstrap-components JPN = "libxerces2-java" -DEPENDS = "fastjar-native jaxp1.3 xml-commons-resolver1.1" -DEPENDS_virtclass-native = "fastjar-native jaxp1.3-native xml-commons-resolver1.1-native" +DEPENDS = "jaxp1.3 xml-commons-resolver1.1" +DEPENDS_virtclass-native = "jaxp1.3-native xml-commons-resolver1.1-native" RDEPENDS_${PN} = "libjaxp1.3-java libxml-commons-resolver1.1-java" RDEPENDS_${PN}_virtclass-native = ""
recipes-core/xml-commons/jaxp1.3_1.4.01.bb +1 -3
@@ -11,9 +11,7 @@ LIC_FILES_CHKSUM = " \ SRC_URI = "http://archive.apache.org/dist/xml/commons/source/xml-commons-external-${PV}-src.tar.gz;subdir=${BPN}-${PV}" -inherit java-library - -DEPENDS = "fastjar-native" +inherit java-library java-bootstrap-components JARFILENAME = "jaxp-1.3.jar" ALTJARFILENAMES = "xml-apis.jar"
recipes-core/xml-commons/xml-commons-resolver1.1_1.2.bb +3 -3
@@ -6,12 +6,12 @@ LIC_FILES_CHKSUM = "file://LICENSE.resolver.txt;md5=d229da563da18fe5d58cd95a6467 SRC_URI = "http://archive.apache.org/dist/xml/commons/xml-commons-resolver-${PV}.tar.gz" -inherit java-library +inherit java-library java-bootstrap-components S = "${WORKDIR}/xml-commons-resolver-${PV}" -DEPENDS = "fastjar-native jaxp1.3" -DEPENDS_virtclass-native = "fastjar-native jaxp1.3-native" +DEPENDS = "jaxp1.3" +DEPENDS_virtclass-native = "jaxp1.3-native" do_unpackpost() { find src -exec \
recipes-core/xml-commons/xpp2_2.1.10.bb +0 -2
@@ -9,8 +9,6 @@ S = "${WORKDIR}/PullParser${PV}" inherit java-library -DEPENDS = "fastjar-native virtual/javac-native" - do_compile() { if [ -d build-oe ]; then rm -rf build-oe
recipes-core/xml-commons/xpp3_1.1.3.4.O.bb +0 -2
@@ -8,8 +8,6 @@ SRC_URI = "http://www.extreme.indiana.edu/dist/java-repository/xpp3/distribution inherit java-library -DEPENDS = "fastjar-native virtual/javac-native" - PACKAGES = "libxpp3-xpath-java ${JPN}" do_compile() {
Signature · 5 lines
1.9.1 -- Jens Rehsack - [email protected]
Quoted 8 lines · Jens Rehsack
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 <[email protected]>
Hi Jens,
I get following error during the OpenJDK 7u91 build for a CortexA9 target with VFP & X11.
Currently I have no time to dig deeper into the problem. Sorry for that! Maybe you can take a look at it?
ERROR: Function failed: do_configure (log file is located at /build/myTarget/tmp/work/x86_64-linux/cacao-native/1.6.1-r0/temp/log.do_configure.8290)
ERROR: Logfile of failure stored in:
/build/myTarget/tmp/work/x86_64-linux/cacao-native/1.6.1-r0/temp/log.do_configure.8290 Log data follows:
| DEBUG: Executing python function sysroot_cleansstate | DEBUG: Python function sysroot_cleansstate finished | DEBUG: Executing shell function autotools_preconfigure | DEBUG: Shell function autotools_preconfigure finished | DEBUG: Executing python function autotools_copy_aclocals | DEBUG: Python function autotools_copy_aclocals finished | DEBUG: Executing shell function do_configure | libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `.'. | libtoolize: copying file `./config.guess' | libtoolize: copying file `./config.sub' | libtoolize: copying file `./install-sh' | libtoolize: copying file `./ltmain.sh' | libtoolize: putting macros in `m4'. | libtoolize: copying file `m4/libtool.m4' | libtoolize: You should add the contents of `m4/libtool.m4' to
`aclocal.m4'.
| libtoolize: copying file `m4/ltoptions.m4'
| libtoolize: You should add the contents of m4/ltoptions.m4' to aclocal.m4'.
| libtoolize: copying file `m4/ltsugar.m4'
| libtoolize: You should add the contents of m4/ltsugar.m4' to aclocal.m4'.
| libtoolize: copying file `m4/ltversion.m4' | libtoolize: copying file `m4/lt~obsolete.m4' | libtoolize: You should add the contents of `m4/lt~obsolete.m4' to
`aclocal.m4'.
| libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
| libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
| rm: cannot remove 'src/mm/boehm-gc/ltmain.sh': No such file or directory | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_configure (log file is located at
/build/myTarget/tmp/work/x86_64-linux/cacao-native/1.6.1-r0/temp/log.do_configure.8290)
ERROR: Task 693 (virtual:native:/opt/yocto/poky/meta-java/recipes-core/cacao/cacao_1.6.1.bb, do_configure) failed with exit code '1'
best regards,
Richard L
Quoted 65 lines
Am 29.10.2015 um 10:42 schrieb Richard Leitner <[email protected]>:
Quoted 8 lines · Jens Rehsack
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 <[email protected]>Hi Jens,
I get following error during the OpenJDK 7u91 build for a CortexA9 target with VFP & X11.
Currently I have no time to dig deeper into the problem. Sorry for that! Maybe you can take a look at it?ERROR: Function failed:
do_configure(log file is located at /build/myTarget/tmp/work/x86_64-linux/cacao-native/1.6.1-r0/temp/log.do_configure.8290)
ERROR: Logfile of failure stored in:
/build/myTarget/tmp/work/x86_64-linux/cacao-native/1.6.1-r0/temp/log.do_configure.8290 Log data follows:| DEBUG: Executing python function sysroot_cleansstate | DEBUG: Python function sysroot_cleansstate finished | DEBUG: Executing shell function autotools_preconfigure | DEBUG: Shell function autotools_preconfigure finished | DEBUG: Executing python function autotools_copy_aclocals | DEBUG: Python function autotools_copy_aclocals finished | DEBUG: Executing shell function do_configure | libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `.'. | libtoolize: copying file `./config.guess' | libtoolize: copying file `./config.sub' | libtoolize: copying file `./install-sh' | libtoolize: copying file `./ltmain.sh' | libtoolize: putting macros in `m4'. | libtoolize: copying file `m4/libtool.m4' | libtoolize: You should add the contents of `m4/libtool.m4' to`aclocal.m4'.
| libtoolize: copying file `m4/ltoptions.m4'
| libtoolize: You should add the contents ofm4/ltoptions.m4' toaclocal.m4'.
| libtoolize: copying file `m4/ltsugar.m4'
| libtoolize: You should add the contents ofm4/ltsugar.m4' toaclocal.m4'.| libtoolize: copying file `m4/ltversion.m4' | libtoolize: copying file `m4/lt~obsolete.m4' | libtoolize: You should add the contents of `m4/lt~obsolete.m4' to`aclocal.m4'.
| libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
| libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.| rm: cannot remove 'src/mm/boehm-gc/ltmain.sh': No such file or directory | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_configure (log file is located at/build/myTarget/tmp/work/x86_64-linux/cacao-native/1.6.1-r0/temp/log.do_configure.8290)
ERROR: Task 693 (virtual:native:/opt/yocto/poky/meta-java/recipes-core/cacao/cacao_1.6.1.bb,do_configure) failed with exit code '1'
Quoted 3 lines
best regards,
Richard L
--
Hi Richard,
please run a bitbake -c cleansstate on cacao-native and use patch 3/4, too. I tried to avoid such situations for people by wiping out relics from former builds on successful passing.
Cheers
Signature · 1 line
Jens Rehsack - [email protected]
Quoted 72 lines
Am 29.10.2015 um 12:26 schrieb Jens Rehsack <[email protected]>:
Quoted 65 lines
Am 29.10.2015 um 10:42 schrieb Richard Leitner <[email protected]>:
Quoted 8 lines · Jens Rehsack
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 <[email protected]>Hi Jens,
I get following error during the OpenJDK 7u91 build for a CortexA9 target with VFP & X11.
Currently I have no time to dig deeper into the problem. Sorry for that! Maybe you can take a look at it?ERROR: Function failed:
do_configure(log file is located at /build/myTarget/tmp/work/x86_64-linux/cacao-native/1.6.1-r0/temp/log.do_configure.8290)
ERROR: Logfile of failure stored in:
/build/myTarget/tmp/work/x86_64-linux/cacao-native/1.6.1-r0/temp/log.do_configure.8290 Log data follows:| DEBUG: Executing python function sysroot_cleansstate | DEBUG: Python function sysroot_cleansstate finished | DEBUG: Executing shell function autotools_preconfigure | DEBUG: Shell function autotools_preconfigure finished | DEBUG: Executing python function autotools_copy_aclocals | DEBUG: Python function autotools_copy_aclocals finished | DEBUG: Executing shell function do_configure | libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `.'. | libtoolize: copying file `./config.guess' | libtoolize: copying file `./config.sub' | libtoolize: copying file `./install-sh' | libtoolize: copying file `./ltmain.sh' | libtoolize: putting macros in `m4'. | libtoolize: copying file `m4/libtool.m4' | libtoolize: You should add the contents of `m4/libtool.m4' to`aclocal.m4'.
| libtoolize: copying file `m4/ltoptions.m4'
| libtoolize: You should add the contents ofm4/ltoptions.m4' toaclocal.m4'.
| libtoolize: copying file `m4/ltsugar.m4'
| libtoolize: You should add the contents ofm4/ltsugar.m4' toaclocal.m4'.| libtoolize: copying file `m4/ltversion.m4' | libtoolize: copying file `m4/lt~obsolete.m4' | libtoolize: You should add the contents of `m4/lt~obsolete.m4' to`aclocal.m4'.
| libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
| libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.| rm: cannot remove 'src/mm/boehm-gc/ltmain.sh': No such file or directory | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_configure (log file is located at/build/myTarget/tmp/work/x86_64-linux/cacao-native/1.6.1-r0/temp/log.do_configure.8290)
ERROR: Task 693 (virtual:native:/opt/yocto/poky/meta-java/recipes-core/cacao/cacao_1.6.1.bb,do_configure) failed with exit code '1'Quoted 3 lines
best regards,
Richard L
--
Quoted 5 lines
Hi Richard,
please run a bitbake -c cleansstate on cacao-native and use patch 3/4, too. I tried to avoid such situations for people by wiping out relics from former builds on successful passing.
Richard,
any success doing a clean build of cacao-native?
Cheers
Signature · 1 line
Jens Rehsack - [email protected]