Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: "Mike Looijmans" <mike.looijmans@topic.nl>
To: openembedded-devel@lists.openembedded.org
Cc: Richard Leitner <richard.leitner@skidata.com>
Subject: Re: [oe] [meta-java] openjre8 fails to compile on aarch64
Date: Wed, 24 Mar 2021 09:43:25 +0100	[thread overview]
Message-ID: <f638d77e-cc2f-4e36-edde-d64e615f4719@topic.nl> (raw)
In-Reply-To: <166F36B0213D2F47.651@lists.openembedded.org>

Sent a patch that works around this issue.

Then I get the exact same failure as in gatesgarth, the "unrecognized 
command line option ‘-fmacro-prefix-map" bug.



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: mike.looijmans@topicproducts.com
W: www.topic.nl

Please consider the environment before printing this e-mail
On 24-03-2021 08:28, Mike Looijmans via lists.openembedded.org wrote:
> 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: mike.looijmans@topicproducts.com
> 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 <tromey@redhat.com>
>> |        and Alexandre Duret-Lutz <adl@gnu.org>.
>> | 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 <tromey@redhat.com>
>> |        and Alexandre Duret-Lutz <adl@gnu.org>.
>> | 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: mike.looijmans@topicproducts.com
>> W: www.topic.nl
>>
>> Please consider the environment before printing this e-mail
>>
>>
>>
>
>
> 
>

-- 
Mike Looijmans


      parent reply	other threads:[~2021-03-24  8:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1b153bce-a66a-45ee-a5c6-963ea6fb1c82.949ef384-8293-46b8-903f-40a477c056ae.75f5ae13-2f0a-42dd-b164-bf1c3f2c0c91@emailsignatures365.codetwo.com>
     [not found] ` <1b153bce-a66a-45ee-a5c6-963ea6fb1c82.0d2bd5fa-15cc-4b27-b94e-83614f9e5b38.74969f47-fd5f-43b1-b5f3-843bc6e03141@emailsignatures365.codetwo.com>
2021-03-22  9:43   ` [meta-java] openjre8 fails to compile on aarch64 Mike Looijmans
2021-03-22 11:53     ` [oe] " Richard Leitner
2021-03-22 12:15       ` Mike Looijmans
2021-03-22 12:36         ` Richard Leitner
2021-03-22 14:52           ` Mike Looijmans
     [not found]           ` <166EB1C4D79F83DA.5508@lists.openembedded.org>
2021-03-22 15:04             ` Mike Looijmans
     [not found]             ` <166EB26D9B0785E4.5508@lists.openembedded.org>
2021-03-22 15:36               ` Mike Looijmans
     [not found]               ` <166EB42E11D37A69.5508@lists.openembedded.org>
2021-03-22 15:45                 ` Mike Looijmans
     [not found]   ` <166EA0EA5639ABCD.32074@lists.openembedded.org>
2021-03-23 15:09     ` Mike Looijmans
     [not found]     ` <166F014747987FB1.18754@lists.openembedded.org>
2021-03-24  7:28       ` Mike Looijmans
     [not found]       ` <166F36B0213D2F47.651@lists.openembedded.org>
2021-03-24  8:43         ` Mike Looijmans [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f638d77e-cc2f-4e36-edde-d64e615f4719@topic.nl \
    --to=mike.looijmans@topic.nl \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=richard.leitner@skidata.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox