openjre-14 from branch g0hl1n/jdk14 in honister, autoreconf fails
Dear Community,
last year I got great help and support to make the openjre-14 compile in my yocto installation. There was a patch announced which was required for openjre-8 which I found out also worked to make openjre14 finish. It was prepared in the g0hl1n/jdk14 branch.
See here:
https://lists.openembedded.org/g/openembedded-devel/topic/81416935#90186
Now I updated to honister and was facing the work needed for the new override syntax and I really wanted to prepare this and commit a nice looking patch this time to get this integrated (last year I forgot to keep track or to do so).
While the new override syntax was not overly problematic, the autoreconf again is not happy, may be it was updated with honister.
The Problem is, I have not a good Idea and knowledge on how to deal with this m4/auto* stuff. Does somebody have an educated gues, what's going on here?
| AUTOV is 1.16 | NOTE: Executing ACLOCAL="aclocal --system-acdir=/home/konsti/yocto/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openjdk-14/14.0.1-r0/recipe-sysroot/usr/share/aclocal/ --automake-acdir=/home/konsti/yocto/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openjdk-14/14.0.1-r0/recipe-sysroot-native/usr/share/aclocal-1.16" autoreconf -Wcross --verbose --install --force --exclude=autopoint --exclude=gtkdocize -I /home/konsti/yocto/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openjdk-14/14.0.1-r0/jdk14u-jdk-14.0.1-ga/make/autoconf/ -I /home/konsti/yocto/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openjdk-14/14.0.1-r0/jdk14u-jdk-14.0.1-ga/make/autoconf/build-aux/ -I /home/konsti/yocto/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openjdk-14/14.0.1-r0/recipe-sysroot-native/usr/share/aclocal/ | autoreconf: export WARNINGS=cross,no-obsolete | autoreconf: Entering directory '.' | autoreconf: configure.ac: not using Gettext | autoreconf: running: aclocal --system-acdir=/home/konsti/yocto/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openjdk-14/14.0.1-r0/recipe-sysroot/usr/share/aclocal/ --automake-acdir=/home/konsti/yocto/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openjdk-14/14.0.1-r0/recipe-sysroot-native/usr/share/aclocal-1.16 -I /home/konsti/yocto/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openjdk-14/14.0.1-r0/jdk14u-jdk-14.0.1-ga/make/autoconf/ -I /home/konsti/yocto/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openjdk-14/14.0.1-r0/jdk14u-jdk-14.0.1-ga/make/autoconf/build-aux/ -I /home/konsti/yocto/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openjdk-14/14.0.1-r0/recipe-sysroot-native/usr/share/aclocal/ --force | basics.m4:52: warning: underquoted definition of $1 | basics.m4:52: run info Automake 'Extending aclocal' | basics.m4:52: or see https://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal | Use of uninitialized value $1 in quotemeta at (eval 14) line 497. | autoreconf: error: aclocal failed with exit status: 2 | ERROR: autoreconf execution failed. | WARNING: exit code 1 from a shell command.
ERROR: Task (/home/konsti/yocto/meta-insidem2m/recipes-core/openjre/openjdk-14_14.0.1.bb:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1616 tasks of which 1609 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/konsti/yocto/meta-insidem2m/recipes-core/openjre/openjdk-14_14.0.1.bb:do_configure
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
There is a file build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openjdk-14/14.0.1-r0/jdk14u-jdk-14.0.1-ga/make/autoconf/basics.m4 looking like this:
[...]
10
9 # First remove it from the list of overridden variables, so we can test 8 # for unknown variables in the end. 7 CONFIGURE_OVERRIDDEN_VARIABLES="$try_remove_var"
6
5 tool_override=[$]$1
4 AC_MSG_NOTICE([User supplied override $1="$tool_override"])
3
2 # Check if we try to supply an empty value
1 if test "x$tool_override" = x; then
497 AC_MSG_CHECKING([for $1])
1 AC_MSG_RESULT([disabled])
2 else
3 # Split up override in command part and argument part
4 tool_and_args=($tool_override)
5 [ tool_command=${tool_and_args[0]} ]
6 [ unset 'tool_and_args[0]' ]
7 [ tool_args=${tool_and_args[@]} ] 8
9 # Check if the provided tool contains a complete path.
10 tool_basename="${tool_command##*/}"
[...]
Kind Regards
Konstantin
Signature · 14 lines
INSIDE M2M GmbH Konstantin Kletschke Berenbosteler Straße 76 B 30823 Garbsen Telefon: +49 (0) 5137 90950136 Mobil: +49 (0) 151 15256238 Fax: +49 (0) 5137 9095010 [email protected] http://www.inside-m2m.de Geschäftsführung: Michael Emmert, Ingo Haase, Dr. Fred Könemann, Derek Uhlig HRB: 111204, AG Hannover