[oe] Sorry, 4340f07345392b2c4c2017142cce40e407d219af

Peter Gsellmann pgsellmann at portner-elektronik.at
Tue May 24 10:42:58 UTC 2011


Am Montag 23 Mai 2011, 16:05:50 schrieb Martin Jansa:
> On Mon, May 23, 2011 at 03:55:37PM +0200, Peter Gsellmann wrote:
> > Hi Martin!
> > 
> > The above commit breaks my daily build.
> > By reverting it, i can build again.
> > Error occurs in recipe gnumail which obviously needs some 64bit javac
> > Log is appended
> 
> In this whole *long* log I found only one line interesting:
sorry for being long, but hesitated to cut it.

> | checking if /home/oe/build/tmp/sysroots/x86_64-linux/usr/bin/javac
> works... configure: error: The Java compiler
> /home/oe/build/tmp/sysroots/x86_64-linux/usr/bin/javac failed (see
> config.log, check the CLASSPATH?)
the config.log from bitbake is a short one :-) inserted here:
the config.log from ./configure is long, attached (jump to line 58)

autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I /home/oe/build/tmp/work/x86_64-linux/gnumail-native-1.1.2-r2/mail-1.1.2/m4/ -I /home/oe/build/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11 -I /home/oe/build/tmp/sysroots/x86_64-linux/usr/share/aclocal -I /home/oe/build/tmp/work/x86_64-linux/gnumail-native-1.1.2-r2/mail-1.1.2/m4/ -I /home/oe/build/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11 -I /home/oe/build/tmp/sysroots/x86_64-linux/usr/share/aclocal --force
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /home/oe/build/tmp/sysroots/x86_64-linux/usr/bin/autoconf --include=/home/oe/build/tmp/work/x86_64-linux/gnumail-native-1.1.2-r2/mail-1.1.2/m4/ --include=/home/oe/build/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11 --include=/home/oe/build/tmp/sysroots/x86_64-linux/usr/share/aclocal --force --warnings=cross
autoreconf: configure.ac: not using Autoheader
autoreconf: running: automake --foreign --add-missing --copy --force-missing --warnings=cross
automake: unknown warning category `cross'
autoreconf: running: gnu-configize
autoreconf: Leaving directory `.'
configure: WARNING: unrecognized options: --with-libtool-sysroot, --enable-largefile, --disable-nls, --enable-ipv6
checking for a BSD-compatible install... /home/oe/openembedded/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking if /home/oe/build/tmp/sysroots/x86_64-linux/usr/bin/javac works... configure: error: The Java compiler /home/oe/build/tmp/sysroots/x86_64-linux/usr/bin/javac failed (see config.log, check the CLASSPATH?)

> but whithout this config.log I have no idea what could go wrong, maybe
> java maintainers will enlighten us, but woglinde confirmed that cacao is
> currently known to be broken and that openjdk is right replacement.
in the working setup there is a symlink 
 ./tmp/sysroots/x86_64-linux/usr/bin/javac -> sun-javac
which is absent in the failing setup.

 
> Try to clean all cacao related recipes and you will probably get the
> same error as I did before 4340f07345392b2c4c2017142cce40e407d219af and
> maybe it will succeed to build gnumail without cacao in sysroot and
> proper build of openjdk... but this is all my crystal ball can show
> without config.log..
Usually my daily(=nightly) build is 'from scratch' with empty './tmp' after 'git pull --rebase'
So if cacao is not requested by some other packages it should not appear.
But in the long long file there are 17 lines showing 'cacao' most of them showing recipe 'cacaoh-openjdk-native'


In my local.conf and machine-file i have (for a very long time):
ASSUME_PROVIDED += "virtual/java-native"
ASSUME_PROVIDED += "virtual/javac-native"
PREFERRED_PROVIDER_classpath = "classpath-minimal"
PREFERRED_PROVIDER_virtual/java-initial = "jamvm-initial"
is any of this now wrong?
should i insert specific PREFERRED_PROVIDERS or ASSUME_PROVIDED statements?
Both java (1.6.0_16) and javac (1.6.0_18) are installed here.



Regards,
Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 7309 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20110524/93cdf44e/attachment-0002.bin>


More information about the Openembedded-devel mailing list