[yocto] help with meta-java

Shockley, Timothy timothy.shockley at intel.com
Mon Nov 11 14:38:52 PST 2019


I have a first pass at porting the patch files for openjdk-8-native and openjre-8 but I'm having trouble in the do_configure task. autoreconf is not happy because Java build is wanting to have $TOPDIR/common/autoconf/build-aux directory available. Wondering if there's something obvious I've overlooked or done incorrectly? 


---- log.do_configure ---

DEBUG: Executing shell function autotools_preconfigure
DEBUG: Shell function autotools_preconfigure finished
DEBUG: Executing python function autotools_aclocals
DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
DEBUG: Python function autotools_aclocals finished
DEBUG: Executing shell function do_configure
automake (GNU automake) 1.16.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <https://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey <tromey at redhat.com>
       and Alexandre Duret-Lutz <adl at gnu.org>.
AUTOV is 1.16
NOTE: Executing ACLOCAL="aclocal --system-acdir=/home/tshockley/encinitas-bsp/build/tmp/work/x86_64-linux/openjdk-8-native/232b09-r0/recipe-sysroot-native/usr/share/aclocal/ --automake-acdir=/home/tshockley/encinitas-bsp/build/tmp/work/x86_64-linux/openjdk-8-native/232b09-r0/recipe-sysroot-native/usr/share/aclocal-1.16" autoreconf -Wcross --verbose --install --force --exclude=autopoint -I /home/tshockley/encinitas-bsp/build/tmp/work/x86_64-linux/openjdk-8-native/232b09-r0/jdk8u-6b9f309807a2/common/autoconf/ -I /home/tshockley/encinitas-bsp/build/tmp/work/x86_64-linux/openjdk-8-native/232b09-r0/jdk8u-6b9f309807a2/common/autoconf/build-aux/
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --system-acdir=/home/tshockley/encinitas-bsp/build/tmp/work/x86_64-linux/openjdk-8-native/232b09-r0/recipe-sysroot-native/usr/share/aclocal/ --automake-acdir=/home/tshockley/encinitas-bsp/build/tmp/work/x86_64-linux/openjdk-8-native/232b09-r0/recipe-sysroot-native/usr/share/aclocal-1.16 -I /home/tshockley/encinitas-bsp/build/tmp/work/x86_64-linux/openjdk-8-native/232b09-r0/jdk8u-6b9f309807a2/common/autoconf/ -I /home/tshockley/encinitas-bsp/build/tmp/work/x86_64-linux/openjdk-8-native/232b09-r0/jdk8u-6b9f309807a2/common/autoconf/build-aux/ --force
autoreconf: configure.ac: tracing
autoreconf: configure.ac: creating directory $TOPDIR/common/autoconf/build-aux
autoreconf: cannot create $TOPDIR/common/autoconf/build-aux: No such file or directory
autoreconf: configure.ac: not using Libtool
autoreconf: running: /home/tshockley/encinitas-bsp/build/tmp/work/x86_64-linux/openjdk-8-native/232b09-r0/recipe-sysroot-native/usr/bin/autoconf --include=/home/tshockley/encinitas-bsp/build/tmp/work/x86_64-linux/openjdk-8-native/232b09-r0/jdk8u-6b9f309807a2/common/autoconf/ --include=/home/tshockley/encinitas-bsp/build/tmp/work/x86_64-linux/openjdk-8-native/232b09-r0/jdk8u-6b9f309807a2/common/autoconf/build-aux/ --force
autoreconf: running: /home/tshockley/encinitas-bsp/build/tmp/work/x86_64-linux/openjdk-8-native/232b09-r0/recipe-sysroot-native/usr/bin/autoheader --include=/home/tshockley/encinitas-bsp/build/tmp/work/x86_64-linux/openjdk-8-native/232b09-r0/jdk8u-6b9f309807a2/common/autoconf/ --include=/home/tshockley/encinitas-bsp/build/tmp/work/x86_64-linux/openjdk-8-native/232b09-r0/jdk8u-6b9f309807a2/common/autoconf/build-aux/ --force
autoreconf: configure.ac: not using Automake
autoreconf: running: gnu-configize
gnu-configize: cannot create $TOPDIR/common/autoconf/build-aux: No such file or directory
cp: cannot create regular file '/common/autoconf/build-aux/': No such file or directory
gnu-configize: cp failed with exit status: 1
autoreconf: gnu-configize failed with exit status: 1
ERROR: autoreconf execution failed.
WARNING: exit code 1 from a shell command.
ERROR: Execution of '/home/tshockley/encinitas-bsp/build/tmp/work/x86_64-linux/openjdk-8-native/232b09-r0/temp/run.do_configure.9248' failed with exit code 1:


 

-----Original Message-----
From: Richard Leitner <richard.leitner at skidata.com> 
Sent: Tuesday, November 5, 2019 01:26
To: Vincent Prince <vincent.prince.fr at gmail.com>; Shockley, Timothy <timothy.shockley at intel.com>
Cc: yocto at yoctoproject.org; henning at itconsulting-heinold.de; Maxin B. John <maxin.john at intel.com>; Otavio Salvador <otavio at ossystems.com.br>
Subject: Re: [yocto] help with meta-java

Hi,
unfortunately, due to a different focus on my day job in the previous months I didn't had time for doing any work on meta-java.

This will change in the coming weeks and I will start to review and test patches again.

Nonetheless it would be great if one of the other listed maintainers (or somebody else) can support me as there will be significant refactoring, cleanup and update work to be done ;-)

regards;Richard.L




More information about the yocto mailing list