Been digging into this, something weird is going on with the TOPDIR environment.

recipes-core/openjdk/openjdk-8-common.inc:
do_configure_prepend () {
    export TOPDIR=${S}
}

So TOPDIR should be set okay, but in the logging one can see that the autoconf tools do not expand it.

Bluntly adding the following line:
    mkdir $TOPDIR/common/autoconf/build-aux

Errors out with an error that this path already exists.

So it's something askew in the shell environment handling, but I cannot figure out what is going on here.




Met vriendelijke groet / kind regards,

Mike Looijmans
System Expert


TOPIC Embedded Products B.V.
Materiaalweg 4, 5681 RJ Best
The Netherlands

T: +31 (0) 499 33 69 69
E: [email protected]
W: www.topic.nl

Please consider the environment before printing this e-mail
On 23-03-2021 16:09, Mike Looijmans via lists.openembedded.org wrote:
In a desperate attempt to get openjre-8 to build, I just went to the current master, and that failed to build with lots of warnings about "inherit native". I noticed that those were fixed in master-next, so I switched to that instead. Still fails to build after a looooong time. (I replaced some private path details with '...')

These are the GIT hashes are reported by OE.

meta                 = "HEAD:69f8f3e21324223c8e68a34db156e4472acfba6d"
meta-oe
meta-python
meta-multimedia
meta-networking      = "HEAD:589aa162cead42acdd7e8dbd7c0243b95e341f19"
meta-java            = "HEAD:db9a58bb71fffdb74eb9850978a643a98ff13323"
meta-qt5             = "HEAD:324843cb1a2feb5f5c7b0064ca33edaa605cb749"
meta-raspberrypi     = "HEAD:a3cda589508a9b56ea803cdd31e870481fc27132"
meta-swupdate        = "HEAD:065aafa41cff44985170b9ff6170ff9f87007b7f"


Log data follows:
| 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 python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['virtual:native:/home/.../oe-core/meta/recipes-support/libxslt/libxslt_1.1.34.bb:do_populate_sysroot', 'virtual:native:/home/.../oe-core/meta/recipes-connectivity/openssl/openssl_1.1.1j.bb:do_populate_sysroot', 'virtual:native:/home/.../oe-core/meta/recipes-core/glib-2.0/glib-2.0_2.66.7.bb:do_populate_sysroot', '/home/.../oe-core/meta/recipes-devtools/libtool/libtool-native_2.4.6.bb:do_populate_sysroot', 'virtual:native:/home/.../oe-core/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_populate_sysroot', 'virtual:native:/home/.../oe-core/meta/recipes-graphics/fontconfig/fontconfig_2.13.1.bb:do_populate_sysroot', 'virtual:native:/home/.../oe-core/meta/recipes-graphics/jpeg/libjpeg-turbo_2.0.6.bb:do_populate_sysroot', 'virtual:native:/home/.../meta-oe/meta-oe/recipes-devtools/giflib/giflib_5.1.4.bb:do_populate_sysroot', 'virtual:native:/home/.../oe-core/meta/recipes-support/ca-certificates/ca-certificates_20210119.bb:do_populate_sysroot', '/home/.../meta-java/recipes-core/icedtea/icedtea7-native_2.1.3.bb:do_populate_sysroot', '/home/.../meta-java/recipes-core/ant/ant-native_1.8.1.bb:do_populate_sysroot', '/home/.../oe-core/meta/recipes-core/gettext/gettext-minimal-native_0.21.bb:do_populate_sysroot', '/home/.../oe-core/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_populate_sysroot', 'virtual:native:/home/.../oe-core/meta/recipes-multimedia/libpng/libpng_1.6.37.bb:do_populate_sysroot', 'virtual:native:/home/.../oe-core/meta/recipes-devtools/make/make_4.3.bb:do_populate_sysroot', 'virtual:native:/home/.../oe-core/meta/recipes-core/zlib/zlib_1.2.11.bb:do_populate_sysroot', 'virtual:native:/home/.../oe-core/meta/recipes-devtools/automake/automake_1.16.2.bb:do_populate_sysroot', 'virtual:native:/home/.../oe-core/meta/recipes-devtools/autoconf/autoconf_2.71.bb:do_populate_sysroot', 'virtual:native:/home/.../oe-core/meta/recipes-graphics/freetype/freetype_2.10.4.bb:do_populate_sysroot', 'virtual:native:/home/.../oe-core/meta/recipes-extended/unzip/unzip_6.0.bb:do_populate_sysroot', 'virtual:native:/home/.../oe-core/meta/recipes-extended/zip/zip_3.0.bb:do_populate_sysroot', 'virtual:native:/home/.../oe-core/meta/recipes-core/coreutils/coreutils_8.32.bb:do_populate_sysroot', 'virtual:native:/home/.../oe-core/meta/recipes-support/attr/attr_2.4.48.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['libxslt-native', 'openssl-native', 'glib-2.0-native', 'libtool-native', 'pkgconfig-native', 'fontconfig-native', 'libjpeg-turbo-native', 'giflib-native', 'ca-certificates-native', 'icedtea7-native', 'ant-native', 'gettext-minimal-native', 'quilt-native', 'libpng-native', 'make-native', 'zlib-native', 'automake-native', 'autoconf-native', 'freetype-native', 'unzip-native', 'zip-native', 'coreutils-native', 'attr-native', 'libxml2-native', 'ninja-native', 'xz-native', 'gettext-native', 'util-linux-native', 'gtk-doc-native', 'libpcre-native', 'libffi-native', 'meson-native', 'python3-native', 'texinfo-dummy-native', 'expat-native', 'gperf-native', 'cmake-native', 'rhino-native', 'xorgproto-native', 'classpath-native', 'ecj-bootstrap-native', 'jamvm-native', 'libxt-native', 'libxrender-native', 'libxext-native', 'libx11-native', 'bcel-native', 'xerces-j-native', 'gnujaf-native', 'commons-logging-native', 'log4j1.2-native', 'oro-native', 'bsf-native', 'fastjar-native', 'jdepend-native', 'regexp-native', 'xml-commons-resolver1.1-native', 'gnumail-native', 'xalan-j-native', 'commons-net-native', 'junit-native', 'antlr-native', 'jsch-native', 'm4-native', 'gnu-config-native', 're2c-native', 'libcap-ng-native', 'ncurses-native', 'libpcre2-native', 'python3-setuptools-native', 'readline-native', 'sqlite3-native', 'gdbm-native', 'libtirpc-native', 'libnsl2-native', 'bzip2-native', 'curl-native', 'libecj-bootstrap-native', 'util-macros-native', 'libxdmcp-native', 'libxcb-native', 'libsm-native', 'xtrans-native', 'jaxp1.3-native', 'logkit-native', 'servlet2.3-native', 'jacl-native', 'inetlib-native', 'cup-native', 'jlex-native', 'jzlib-native', 'xcb-proto-native', 'libpthread-stubs-native', 'libxau-native', 'libice-native', 'avalon-framework-api-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_configure
| automake (GNU automake) 1.16.2
| Copyright (C) 2020 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 <[email protected]>
|        and Alexandre Duret-Lutz <[email protected]>.
| AUTOV is 1.16
| NOTE: Executing ACLOCAL="aclocal --system-acdir=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/share/aclocal/ --automake-acdir=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/share/aclocal-1.16" autoreconf -Wcross --verbose --install --force --exclude=autopoint --exclude=gtkdocize -I /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/ -I /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/build-aux/
| autoreconf: export WARNINGS=cross,no-obsolete
| autoreconf: Entering directory '.'
| autoreconf: configure.ac: not using Gettext
| autoreconf: running: aclocal --system-acdir=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/share/aclocal/ --automake-acdir=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/share/aclocal-1.16 -I /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/ -I /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/build-aux/ --force
| autoreconf: configure.ac: tracing
| autoreconf: configure.ac: creating directory $TOPDIR/common/autoconf/build-aux | autoreconf: error: cannot create $TOPDIR/common/autoconf/build-aux: No such file or directory
| autoreconf: configure.ac: not using Libtool
| autoreconf: configure.ac: not using Intltool
| autoreconf: configure.ac: not using Gtkdoc
| autoreconf: running: /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/bin/autoconf --include=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/ --include=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/build-aux/ --force | autoreconf: running: /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/bin/autoheader --include=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/ --include=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/build-aux/ --force
| autoreconf: configure.ac: not using Automake
| Error in tempfile() using template $TOPDIR/common/autoconf/build-aux/XXXXXXXXXX: Parent directory ($TOPDIR/common/autoconf/build-aux/) does not exist at /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/bin/autoreconf line 411.
| ERROR: autoreconf execution failed.
| WARNING: /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646:284 exit 1 from 'exit 1'
| WARNING: Backtrace (BB generated script):
|     #1: bbfatal_log, /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646, line 284 |     #2: die, /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646, line 274 |     #3: autotools_do_configure, /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646, line 236 |     #4: do_configure, /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646, line 160 |     #5: main, /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646, line 298 | ERROR: Execution of '/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646' failed with exit code 1:
| automake (GNU automake) 1.16.2
| Copyright (C) 2020 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 <[email protected]>
|        and Alexandre Duret-Lutz <[email protected]>.
| AUTOV is 1.16
| autoreconf: export WARNINGS=cross,no-obsolete
| autoreconf: Entering directory '.'
| autoreconf: configure.ac: not using Gettext
| autoreconf: running: aclocal --system-acdir=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/share/aclocal/ --automake-acdir=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/share/aclocal-1.16 -I /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/ -I /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/build-aux/ --force
| autoreconf: configure.ac: tracing
| autoreconf: configure.ac: creating directory $TOPDIR/common/autoconf/build-aux | autoreconf: error: cannot create $TOPDIR/common/autoconf/build-aux: No such file or directory
| autoreconf: configure.ac: not using Libtool
| autoreconf: configure.ac: not using Intltool
| autoreconf: configure.ac: not using Gtkdoc
| autoreconf: running: /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/bin/autoconf --include=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/ --include=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/build-aux/ --force | autoreconf: running: /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/bin/autoheader --include=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/ --include=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/build-aux/ --force
| autoreconf: configure.ac: not using Automake
| Error in tempfile() using template $TOPDIR/common/autoconf/build-aux/XXXXXXXXXX: Parent directory ($TOPDIR/common/autoconf/build-aux/) does not exist at /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/bin/autoreconf line 411. | WARNING: /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646:284 exit 1 from 'exit 1'
| WARNING: Backtrace (BB generated script):
|     #1: bbfatal_log, /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646, line 284 |     #2: die, /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646, line 274 |     #3: autotools_do_configure, /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646, line 236 |     #4: do_configure, /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646, line 160 |     #5: main, /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646, line 298
|
| Backtrace (metadata-relative locations):
|     #1: bbfatal_log, /home/.../oe-core/meta/classes/logging.bbclass, line 72
|     #2: die, /home/.../oe-core/meta/classes/base.bbclass, line 56
|     #3: autotools_do_configure, /home/.../oe-core/meta/classes/autotools.bbclass, line 224
|     #4: do_configure, autogenerated, line 6
ERROR: Task (/home/.../meta-java/recipes-core/openjdk/openjdk-8-native_272.bb:do_configure) failed with exit code '1' NOTE: Tasks Summary: Attempted 4517 tasks of which 4312 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/.../meta-java/recipes-core/openjdk/openjdk-8-native_272.bb:do_configure





Met vriendelijke groet / kind regards,

Mike Looijmans
System Expert


TOPIC Embedded Products B.V.
Materiaalweg 4, 5681 RJ Best
The Netherlands

T: +31 (0) 499 33 69 69
E: [email protected]
W: www.topic.nl

Please consider the environment before printing this e-mail




--
Mike Looijmans

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#90288): 
https://lists.openembedded.org/g/openembedded-devel/message/90288
Mute This Topic: https://lists.openembedded.org/mt/81520404/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to