AnsweredAssumed Answered

Building imx6 bsp with yocto on ubuntu 14.04

Question asked by Yigitbasi on Nov 13, 2017

I am trying to build the current snapshot of git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-morty on Ubuntu 14.04.5 with all latest updates.

It is giving the following error

 

Build Configuration:
BB_VERSION = "1.32.0"
BUILD_SYS = "i686-linux"
NATIVELSBSTRING = "Ubuntu-14.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "imx6ulevk"
DISTRO = "fsl-imx-wayland"
DISTRO_VERSION = "4.9.11-1.0.0"
TUNE_FEATURES = "arm armv7ve vfp neon callconvention-hard cortexa7"
TARGET_FPU = "hard"
meta
meta-poky = "HEAD:78890ea22750804e3e9113e76f7ca3d7234c8342"
meta-oe
meta-multimedia = "HEAD:fe5c83312de11e80b85680ef237f8acb04b4b26e"
meta-freescale = "HEAD:a398b50b7fc084a9e68cc3000c218d5028522a25"
meta-freescale-3rdparty = "HEAD:68314612e236cab1da82d72a0da62635a3523f84"
meta-freescale-distro = "HEAD:cd5c7a2539f40004f74126e9fdf08254fd9a6390"
meta-bsp
meta-sdk = "HEAD:daba3340ecd8b358e0c6c415baeee0fcae95c525"
meta-browser = "HEAD:10f6e3778d823ee1be106c126216c6f941088fbf"
meta-gnome
meta-networking
meta-python
meta-filesystems = "HEAD:fe5c83312de11e80b85680ef237f8acb04b4b26e"
meta-qt5 = "HEAD:ff073f04109900fc07bf81e2f1df63c626caf342"

Initialising tasks: 100% |##################################################################| Time: 0:00:19
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 /home/user/repo/fsl-release-bsp/imx6ulevk_x11_build/tmp/work/i686-linux/intltool-native/0.51.0-r0/temp/log.do_configure.8118)
ERROR: Logfile of failure stored in: /home/user/repo/fsl-release-bsp/imx6ulevk_x11_build/tmp/work/i686-linux/intltool-native/0.51.0-r0/temp/log.do_configure.8118
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: ['perl-native', 'do_populate_sysroot']
| DEBUG: considering dependency: ['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: ['expat-native', 'do_populate_sysroot']
| DEBUG: considering dependency: ['libxml-parser-perl-native', 'do_populate_sysroot']
| DEBUG: Considering setscene task: ['m4-native', 'do_populate_sysroot']
| DEBUG: considering dependency: ['m4-native', 'do_populate_sysroot']
| DEBUG: considering dependency: ['autoconf-native', 'do_populate_sysroot']
| DEBUG: Considering setscene task: ['texinfo-dummy-native', 'do_populate_sysroot']
| DEBUG: considering dependency: ['texinfo-dummy-native', 'do_populate_sysroot']
| DEBUG: considering dependency: ['autoconf-native', 'do_populate_sysroot']
| DEBUG: Considering setscene task: ['gettext-minimal-native', 'do_populate_sysroot']
| DEBUG: considering dependency: ['gettext-native', 'do_populate_sysroot']
| DEBUG: Considering setscene task: ['xz-native', 'do_populate_sysroot']
| DEBUG: considering dependency: ['perl-native', 'do_populate_sysroot']
| DEBUG: Considering setscene task: ['db-native', 'do_populate_sysroot']
| DEBUG: considering dependency: ['perl-native', 'do_populate_sysroot']
| DEBUG: Considering setscene task: ['gdbm-native', 'do_populate_sysroot']
| DEBUG: considering dependency: ['perl-native', 'do_populate_sysroot']
| DEBUG: Considering setscene task: ['zlib-native', 'do_populate_sysroot']
| DEBUG: considering dependency: ['perl-native', 'do_populate_sysroot']
| DEBUG: Considering setscene task: ['pigz-native', 'do_populate_sysroot']
| DEBUG: considering dependency: ['expat-native', 'do_populate_sysroot']
| DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common', 'common-linux', 'common-glibc', 'i686-linux', 'common']
| DEBUG: Python function autotools_copy_aclocals finished
| DEBUG: Executing shell function do_configure
| NOTE: Executing ACLOCAL="aclocal --system-acdir=/home/user/repo/fsl-release-bsp/imx6ulevk_x11_build/tmp/work/i686-linux/intltool-native/0.51.0-r0/aclocal-copy/ --automake-acdir=/home/user/repo/fsl-release-bsp/imx6ulevk_x11_build/tmp/sysroots/i686-linux/usr/share/aclocal-1.15" autoreconf --verbose --install --force --exclude=autopoint -I /home/user/repo/fsl-release-bsp/imx6ulevk_x11_build/tmp/work/i686-linux/intltool-native/0.51.0-r0/intltool-0.51.0/
| ERROR: autoreconf execution failed.
| automake (GNU automake) 1.15.1
| Copyright (C) 2017 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.15
| autoreconf: Entering directory `.'
| autoreconf: configure.ac: not using Gettext
| autoreconf: running: aclocal --system-acdir=/home/user/repo/fsl-release-bsp/imx6ulevk_x11_build/tmp/work/i686-linux/intltool-native/0.51.0-r0/aclocal-copy/ --automake-acdir=/home/user/repo/fsl-release-bsp/imx6ulevk_x11_build/tmp/sysroots/i686-linux/usr/share/aclocal-1.15 -I /home/user/repo/fsl-release-bsp/imx6ulevk_x11_build/tmp/work/i686-linux/intltool-native/0.51.0-r0/intltool-0.51.0/ --force
| /usr/bin/perl: symbol lookup error: /home/user/repo/fsl-release-bsp/imx6ulevk_x11_build/tmp/sysroots/i686-linux/usr/lib/perl-native/perl/5.24.1/auto/Data/Dumper/Dumper.so: undefined symbol: Perl_xs_handshake
| aclocal: error: echo failed with exit status: 127
| autoreconf: aclocal failed with exit status: 127
| ERROR: Function failed: do_configure (log file is located at /home/user/repo/fsl-release-bsp/imx6ulevk_x11_build/tmp/work/i686-linux/intltool-native/0.51.0-r0/temp/log.do_configure.8118)
ERROR: Task (virtual:native:/home/user/repo/fsl-release-bsp/sources/poky/meta/recipes-devtools/intltool/intltool_0.51.0.bb:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 779 tasks of which 0 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
virtual:native:/home/user/repo/fsl-release-bsp/sources/poky/meta/recipes-devtools/intltool/intltool_0.51.0.bb:do_configure

 

I have local perl install with the following version

perl -v

This is perl 5, version 18, subversion 2 (v5.18.2) built for i686-linux-gnu-thread-multi-64int

 

The bb file for dev-tools perl is 5.22.1 

I also tried 5.24.1 perl from openembedded repository and both give the same error.

Outcomes