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.

PROCESSOR-SDK-AM335X: Bitbake error

Part Number: PROCESSOR-SDK-AM335X


Hello,

I am trying to build OS and getting error when bitbake compiles intltool-native. Please check the log below:

Build Configuration:

BB_VERSION        = "1.32.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-18.04"
TARGET_SYS        = "arm-linux-gnueabi"
MACHINE           = "XXXX"
DISTRO            = "arago"
DISTRO_VERSION    = "2017.06"
TUNE_FEATURES     = "arm armv7a vfp thumb neon       callconvention-hard"
TARGET_FPU        = "hard"
meta-processor-sdk = "HEAD:2b7f7b00654eb3faaea7c66271ebe508b9ffc019"
meta-arago-distro  
meta-arago-extras = "HEAD:8f49ed67d0627a04ac72fd388fda7756273ba2d7"
meta-browser      = "HEAD:08576b03af624b65ad949c410d84c11c7d1f2e39"
meta-openamp      = "HEAD:8a214032bfb7e8124bc1485c70c69f7d60abb819"
meta-qt5          = "HEAD:2c9f0e4eb0e9097f6f872ec1e1d81768a8ab5f1b"
meta-networking    
meta-ruby          
meta-python        
meta-oe            
meta-gnome        = "HEAD:fe5c83312de11e80b85680ef237f8acb04b4b26e"
meta-ti           = "HEAD:a18d57af8384ced25996739bb66d197c69efb77b"
meta-linaro-toolchain  
meta-optee        = "HEAD:49b0f32d7e955f250b0022d1b2f403f45a2c2d9c"
meta              = "HEAD:e3911133ee9aad7cc3ae89faea80a097f6614fab"
meta-XXXX = "XXXX:d66683146e2967995aba8877ff2f5ada8efe3edd"
meta-java         = "master:65bd3d6eaa6ae4e06f1c04efb493f448cf6d619b"

Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:04
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: intltool-native-0.51.0-r0 do_configure: autoreconf execution failed.
ERROR: intltool-native-0.51.0-r0 do_configure: Function failed: do_configure (log file is located at /media/dmaisuria/Storage/rayBuild/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/int
ltool-native/0.51.0-r0/temp/log.do_configure.23231)
ERROR: Logfile of failure stored in: /media/dmaisuria/Storage/rayBuild/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/intltool-native/0.51.0-r0/temp/log.do_configure.23231
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: ['texinfo-dummy-native', 'do_populate_sysroot']
| DEBUG:   considering dependency: ['autoconf-native', 'do_populate_sysroot']
| DEBUG: Considering setscene task: ['m4-native', 'do_populate_sysroot']
| DEBUG:   considering dependency: ['autoconf-native', 'do_populate_sysroot']
| DEBUG: Considering setscene task: ['xz-native', 'do_populate_sysroot']
| DEBUG:   considering dependency: ['libxml-parser-perl-native', 'do_populate_sysroot']
| DEBUG: Considering setscene task: ['pigz-native', 'do_populate_sysroot']
| DEBUG:   considering dependency: ['libxml-parser-perl-native', 'do_populate_sysroot']
| DEBUG: Considering setscene task: ['expat-native', 'do_populate_sysroot']
| DEBUG:   considering dependency: ['libxml-parser-perl-native', 'do_populate_sysroot']
| DEBUG: Considering setscene task: ['perl-native', 'do_populate_sysroot']
| DEBUG:   considering dependency: ['libxml-parser-perl-native', 'do_populate_sysroot']
| DEBUG: Considering setscene task: ['gettext-minimal-native', 'do_populate_sysroot']
| DEBUG:   considering dependency: ['xz-native', 'do_populate_sysroot']
| DEBUG: Considering setscene task: ['zlib-native', 'do_populate_sysroot']
| DEBUG:   considering dependency: ['pigz-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=/media/dmaisuria/Storage/rayBuild/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/intltool-native/0.51.0-r0/aclocal-copy/ --automake-acd
ir=/media/dmaisuria/Storage/rayBuild/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/share/aclocal-1.16" autoreconf --verbose --install --force --exclude=autopoint -I /media/dmai
suria/Storage/rayBuild/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/intltool-native/0.51.0-r0/intltool-0.51.0/
| ERROR: autoreconf execution failed.
| automake (GNU automake) 1.16.1
| Copyright (C) 2018 Free Software Foundation, Inc.
| License GPLv2+: GNU GPL version 2 or later <gnu.org/.../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: Entering directory `.'
| autoreconf: configure.ac: not using Gettext
| autoreconf: running: aclocal --system-acdir=/media/dmaisuria/Storage/rayBuild/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/intltool-native/0.51.0-r0/aclocal-copy/ --automake-acdir=/
media/dmaisuria/Storage/rayBuild/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/share/aclocal-1.16 -I /media/dmaisuria/Storage/rayBuild/tisdk/build/arago-tmp-external-linaro-too
lchain/work/x86_64-linux/intltool-native/0.51.0-r0/intltool-0.51.0/ --force
| Dumper.c: loadable library and perl binaries are mismatched (got handshake key 0xdb00080, needed 0xde00080)
| aclocal: error: echo failed with exit status: 1
| autoreconf: aclocal failed with exit status: 1
| WARNING: /media/dmaisuria/Storage/rayBuild/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/intltool-native/0.51.0-r0/temp/run.do_configure.23231:1 exit 1 from 'exit 1'
| ERROR: Function failed: do_configure (log file is located at /media/dmaisuria/Storage/rayBuild/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/intltool-native/0.51.0-r0/temp/log.do_con
figure.23231)
ERROR: Task (virtual:native:/media/dmaisuria/Storage/rayBuild/tisdk/sources/oe-core/meta/recipes-devtools/intltool/intltool_0.51.0.bb:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 776 tasks of which 766 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
 virtual:native:/media/dmaisuria/Storage/rayBuild/tisdk/sources/oe-core/meta/recipes-devtools/intltool/intltool_0.51.0.bb:do_configure
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

I recently upgraded my OS from Ubuntu 16.04 to 18.04.

Any help would be greatly appreciated.

Thanks,

Divyeshkumar

  • Hello Divyeshkumar,

    Please, run this command to fix this issue and make sure that you are doing clean build and the default terminal shell has no changed back to dash after the system upgrade.

    $ MACHINE=am335x-evm bitbake intltool-native -c cleanall

    Best regards,
    Kemal

  • Hi Kemal,

    Thanks for your response. Unfortunately cleanall above did not fix the issue. You asked me to do a clean build. Did you mean,

    $ MACHINE=am335x-evm bitbake XXXX-base-image -c cleanall 

    Thanks,

    Divyeshkumar

  • I mean sanity cleaning, like deleting everything and starting from scratch.

  • OK I have renamed current tisdk directory and cloning new tisdk and starting the build from scratch. I'll update you.

    Thanks,

    Divyeshkumar

  • Kemal,

    I faced same issue again, check below:

    Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:04
    NOTE: Executing SetScene Tasks
    NOTE: Executing RunQueue Tasks
    WARNING: ncurses-native-6.0+20160625-r0 do_fetch: Failed to fetch URL git://anonscm.debian.org/collab-maint/ncurses.git, attempting MIRRORS if available
    WARNING: bzip2-native-1.0.6-r5 do_fetch: Failed to fetch URL www.bzip.org/.../bzip2-1.0.6.tar.gz, attempting MIRRORS if available
    WARNING: db-native-6.0.35-r1 do_fetch: Failed to fetch URL distfiles.gentoo.org/.../db-6.0.35.tar.gz, attempting MIRRORS if available
    WARNING: popt-native-1.16-r3 do_fetch: Failed to fetch URL rpm5.org/.../popt-1.16.tar.gz, attempting MIRRORS if available
    WARNING: rpm-native-5.4.16-r0 do_fetch: Failed to fetch URL www.rpm5.org/.../rpm-5.4.15-0.20140824.src.rpm;name=srpm;extract=rpm-5.4.15.tar.gz, attempting MIRRORS if available
    WARNING: libpcre-native-8.39-r0 do_fetch: Failed to fetch URL ftp.csx.cam.ac.uk/.../pcre-8.39.tar.bz2, attempting MIRRORS if available
    WARNING: byacc-native-20160606-r0 do_fetch: Failed to fetch URL invisible-island.net/.../byacc-20160606.tgz, attempting MIRRORS if available
    WARNING: libpng-native-1.6.24-r0 do_fetch: Failed to fetch URL distfiles.gentoo.org/.../libpng-1.6.24.tar.xz, attempting MIRRORS if available
    WARNING: shadow-native-4.2.1-r0 do_fetch: Failed to fetch URL pkg-shadow.alioth.debian.org/.../shadow-4.2.1.tar.xz, attempting MIRRORS if available
    ERROR: intltool-native-0.51.0-r0 do_configure: autoreconf execution failed.
    ERROR: intltool-native-0.51.0-r0 do_configure: Function failed: do_configure (log file is located at /media/dmaisuria/Storage/rayBuild/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/int
    ltool-native/0.51.0-r0/temp/log.do_configure.25679)
    ERROR: Logfile of failure stored in: /media/dmaisuria/Storage/rayBuild/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/intltool-native/0.51.0-r0/temp/log.do_configure.25679
    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: ['texinfo-dummy-native', 'do_populate_sysroot']
    | DEBUG:   considering dependency: ['autoconf-native', 'do_populate_sysroot']
    | DEBUG: Considering setscene task: ['m4-native', 'do_populate_sysroot']
    | DEBUG:   considering dependency: ['autoconf-native', 'do_populate_sysroot']
    | DEBUG: Considering setscene task: ['perl-native', 'do_populate_sysroot']
    | DEBUG:   considering dependency: ['libxml-parser-perl-native', 'do_populate_sysroot']
    | DEBUG: Considering setscene task: ['expat-native', 'do_populate_sysroot']
    | DEBUG:   considering dependency: ['libxml-parser-perl-native', 'do_populate_sysroot']
    | DEBUG: Considering setscene task: ['pigz-native', 'do_populate_sysroot']
    | DEBUG:   considering dependency: ['libxml-parser-perl-native', 'do_populate_sysroot']
    | DEBUG: Considering setscene task: ['xz-native', 'do_populate_sysroot']
    | DEBUG:   considering dependency: ['libxml-parser-perl-native', 'do_populate_sysroot']
    | DEBUG: Considering setscene task: ['zlib-native', 'do_populate_sysroot']
    | DEBUG:   considering dependency: ['pigz-native', 'do_populate_sysroot']
    | DEBUG: Considering setscene task: ['gettext-minimal-native', 'do_populate_sysroot']
    | DEBUG:   considering dependency: ['xz-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=/media/dmaisuria/Storage/rayBuild/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/intltool-native/0.51.0-r0/aclocal-copy/ --automake-acd
    ir=/media/dmaisuria/Storage/rayBuild/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/share/aclocal-1.16" autoreconf --verbose --install --force --exclude=autopoint -I /media/dmai
    suria/Storage/rayBuild/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/intltool-native/0.51.0-r0/intltool-0.51.0/
    | ERROR: autoreconf execution failed.
    | automake (GNU automake) 1.16.1
    | Copyright (C) 2018 Free Software Foundation, Inc.
    | License GPLv2+: GNU GPL version 2 or later <gnu.org/.../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: Entering directory `.'
    | autoreconf: configure.ac: not using Gettext
    | autoreconf: running: aclocal --system-acdir=/media/dmaisuria/Storage/rayBuild/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/intltool-native/0.51.0-r0/aclocal-copy/ --automake-acdir=/
    media/dmaisuria/Storage/rayBuild/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/share/aclocal-1.16 -I /media/dmaisuria/Storage/rayBuild/tisdk/build/arago-tmp-external-linaro-too
    lchain/work/x86_64-linux/intltool-native/0.51.0-r0/intltool-0.51.0/ --force
    | Dumper.c: loadable library and perl binaries are mismatched (got handshake key 0xdb00080, needed 0xde00080)
    | aclocal: error: echo failed with exit status: 1
    | autoreconf: aclocal failed with exit status: 1
    | ERROR: Function failed: do_configure (log file is located at /media/dmaisuria/Storage/rayBuild/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/intltool-native/0.51.0-r0/temp/log.do_con
    figure.25679)
    ERROR: Task (virtual:native:/media/dmaisuria/Storage/rayBuild/tisdk/sources/oe-core/meta/recipes-devtools/intltool/intltool_0.51.0.bb:do_configure) failed with exit code '1'

    Thanks,

    Divyeshkumar

  • Please, change the line from CACHED_CONFIGUREVARS += "ac_cv_path_PERL='${PERL}'" to CACHED_CONFIGUREVARS += "ac_cv_path_PERL=${USRBINPATH}/perl" in <tisdk>/sources/oe-core/meta/recipes-devtools/automake/automake_1.16.1.bb file to fix this issue.

  • Hi Kemal,

    Thanks for the update. That seems to be fixing the issue I was having. However, this raised another question of why do I need to do this changes in my custom layer when I run the build on Ubuntu 18.04. I use processor-sdk-04.01.00.06 and we're going to have a release soon hence I am not planning to go to current SDK version. I was expecting the build to complete without any changes on Ubuntu 18.04. Also, this does not have anything to do with me upgrading my Desktop OS from 16.04 to 18.04, as I tried to build the OS on a factory installed Ubuntu 18.04 machine and it gave me same error.

    Thanks,

    Divyeshkumar

  • Divyeshkumar M said:
    I use processor-sdk-04.01.00.06


    The automake version in processor-sdk-04.01.00.06 is 1.15 not 1.16.1 as in your configuration. The processor-sdk-04.01.00.06 is designed to work with 1.15 not 1.16.1, so that please downgrade.


    Divyeshkumar M said:
    I was expecting the build to complete without any changes on Ubuntu 18.04.

    processor-sdk-04.01.00.06 is old config and in this time the Ubuntu 18.04 was not released, so that the processor-sdk-04.01.00.06 cannot predict what changes will be made on Ubuntu 18.04 and work on it. Please, use the recommended Ubuntu 16.04 or Ubuntu 14.04 to build processor-sdk-04.01.00.06 or upgrade to the latest Processor SKD config if you want to build on Ubuntu 18.04 with no issues.

  • Hello Divyeshkumar,

    If you are done with this thread, please close it by clicking on "This resolved my issue" button.

    Best regards,
    Kemal

  • Sure Kemal. Thank you for your help.

    Thanks,

    Divyeshkumar