This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
hello,
I want to customize the rootfs, so I try to build the rootfs and SDK, but there is an error happen.
host: ubuntu 18.04
all packages listed at guider incl. 32bit libs were installed.
$ wget https://developer.arm.com/-/media/Files/downloads/gnu-a/8.3-2019.03/binrel/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf.tar.xz
$ tar -Jxvf gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf.tar.xz -C $HOME
$ wget https://developer.arm.com/-/media/Files/downloads/gnu-a/8.3-2019.03/binrel/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu.tar.xz
$ tar -Jxvf gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu.tar.xz -C $HOME
./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-04.03.00.05-config.txt
$ cd build
$ . conf/setenv
$ export TOOLCHAIN_PATH_ARMV7=$HOME/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf
$ export TOOLCHAIN_PATH_ARMV8=$HOME/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu
$ MACHINE=am437x-evm bitbake arago-base-tisdk-image
=====================================
Build Configuration:
BB_VERSION = "1.32.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-18.04"
TARGET_SYS = "arm-linux-gnueabi"
MACHINE = "am437x-evm"
DISTRO = "arago"
DISTRO_VERSION = "2017.12"
TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard"
TARGET_FPU = "hard"
meta-processor-sdk = "HEAD:92db4d8023d88ab59fab2953e7447ec0bd5a6db1"
meta-ros = "HEAD:e2566402ab108a19634354a934788109422cf409"
meta-arago-distro
meta-arago-extras = "HEAD:5b2a44b0c4d989133bc13d59398fd10375d351bb"
meta-browser = "HEAD:26d50665e2f7223c5f4ad7481a8d2431e7cb55fb"
meta-openamp = "HEAD:8a214032bfb7e8124bc1485c70c69f7d60abb819"
meta-qt5 = "HEAD:2c9f0e4eb0e9097f6f872ec1e1d81768a8ab5f1b"
meta-networking
meta-ruby
meta-python
meta-oe
meta-gnome
meta-multimedia = "HEAD:b40116cf457b88a2db14b86fda9627fb34d56ae6"
meta-ti = "HEAD:3dc08477529b31ce887bb22a08201a843ded48f0"
meta-linaro-toolchain
meta-optee = "HEAD:d73e794c7e7ebb1cc5bf495a52a72b26fb118250"
meta = "HEAD:39fd8c129e2bff7f2f1649b7f6e036ccc50fd5d8"
==========================================================
ERROR: libtool-native-2.4.6-r0 do_configure: autoreconf execution failed.
ERROR: libtool-native-2.4.6-r0 do_configure: Function failed: do_configure (log file is located at /home/zjb/AM43x/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/libtool-native/2.4.6-r0/temp/log.do_configure.29389)
ERROR: Logfile of failure stored in: /home/zjb/AM43x/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/libtool-native/2.4.6-r0/temp/log.do_configure.29389
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing python function autotools_copy_aclocals
| DEBUG: Considering setscene task: ['m4-native', 'do_populate_sysroot']
| DEBUG: considering dependency: ['autoconf-native', 'do_populate_sysroot']
| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
| DEBUG: Python function autotools_copy_aclocals finished
| DEBUG: Executing shell function do_configure
| NOTE: Executing ACLOCAL="aclocal --system-acdir=/home/zjb/AM43x/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/libtool-native/2.4.6-r0/aclocal-copy/" autoreconf --verbose --install --force --exclude=libtoolize -I /home/zjb/AM43x/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/m4/ -I /home/zjb/AM43x/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/tests/
| ERROR: autoreconf execution failed.
| automake (GNU automake) 1.15
| Copyright (C) 2014 Free Software Foundation, Inc.
| License GPLv2+: GNU GPL version 2 or later <http://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
| autoreconf: Entering directory `.'
| autoreconf: configure.ac: not using Gettext
| autoreconf: running: aclocal --system-acdir=/home/zjb/AM43x/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/libtool-native/2.4.6-r0/aclocal-copy/ -I /home/zjb/AM43x/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/m4/ -I /home/zjb/AM43x/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/tests/ --force -I m4
| autoreconf: configure.ac: tracing
| autoreconf: running: /home/zjb/AM43x/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/autoconf --include=/home/zjb/AM43x/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/m4/ --include=/home/zjb/AM43x/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/tests/ --force
| autoreconf: running: /home/zjb/AM43x/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/autoheader --include=/home/zjb/AM43x/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/m4/ --include=/home/zjb/AM43x/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/tests/ --force
| autoreconf: running: automake --add-missing --copy --force-missing
| autoreconf: running: gnu-configize
| perl: warning: Setting locale failed.
| perl: warning: Please check that your locale settings:
| LANGUAGE = (unset),
| LC_ALL = "en_US.UTF-8",
| LANG = (unset)
| are supported and installed on your system.
| perl: warning: Falling back to the standard locale ("C").
| Can't locate strict.pm in @INC (you may need to install the strict module) (@INC contains: /home/zjb/AM43x/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/share/autoconf //usr/lib/perl/site_perl/5.22.1 //usr/lib/perl/vendor_perl/5.22.1 //usr/lib/perl/5.22.1 /tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/lib/perl/site_perl/5.22.1/ /tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/lib/perl/site_perl/5.22.1 /tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/lib/perl/vendor_perl/5.22.1/ /tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/lib/perl/vendor_perl/5.22.1 /tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/lib/perl/5.22.1/ /tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/lib/perl/5.22.1 /tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/lib/perl/5.22.1 .) at /home/zjb/AM43x/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/share/autoconf/Autom4te/Channels.pm line 70.
| BEGIN failed--compilation aborted at /home/zjb/AM43x/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/share/autoconf/Autom4te/Channels.pm line 70.
| Compilation failed in require at /home/zjb/AM43x/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/share/autoconf/Autom4te/ChannelDefs.pm line 19.
| BEGIN failed--compilation aborted at /home/zjb/AM43x/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/share/autoconf/Autom4te/ChannelDefs.pm line 19.
| Compilation failed in require at /home/zjb/AM43x/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/gnu-configize line 40.
| BEGIN failed--compilation aborted at /home/zjb/AM43x/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/gnu-configize line 40.
| autoreconf: gnu-configize failed with exit status: 2
| WARNING: /home/zjb/AM43x/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/libtool-native/2.4.6-r0/temp/run.do_configure.29389:1 exit 1 from 'exit 1'
| ERROR: Function failed: do_configure (log file is located at /home/zjb/AM43x/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/libtool-native/2.4.6-r0/temp/log.do_configure.29389)
ERROR: Task (/home/zjb/AM43x/tisdk/sources/oe-core/meta/recipes-devtools/libtool/libtool-native_2.4.6.bb:do_configure) failed with exit code '1'
Hello,
You are attempting to build a very old SDK that is no longer supported, so our ability to help will be limited.
It is likely a toolchain mismatch between the new version you are using here, v8.3 and the one validated against the Processor SDK release v4.03. I would retry the build with the older toolchain, but I can't guarantee that is the problem.
Thanks. I am waiting your answer . I have to use this version as our vendor provided this version, our development is based this version.
Hi,
As I tried to indicate, I can't try this build for you. I recommend you download the appropriate toolchain and try a build of the older SDK since that is what you feel you must use.
My best advice is to replicate the environment that was used to build the older SDK as much as possible to ensure a successful build.
Thanks.