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.

SDK Linux Automotive 3.00.00.03 Source Build Error / Ubuntu-16.04

I'm hitting a build error on Ubuntu 16.04, can someone help?

zeus@zeus-HP-Z220-SFF-Workstation:~/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers$ ./build-core-sdk.sh dra7xx-evm
SUCCESS: GCC Linaro tool chain path has been set correctly
SUCCESS: CCS path has been set correctly
In which directory do you want to place the downloads for the Yocto build ?(if this directory does not exist it will be created)
Ensure that complete path is provided.
[ /home/zeus/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/downloads ]
[PSDKLA]>
[PSDKLA]> Current Directory is /home/zeus/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers
[PSDKLA]> PATH is /home/zeus/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
[PSDKLA]> Building on zeus-HP-Z220-SFF-Workstation running Linux zeus-HP-Z220-SFF-Workstation 4.4.0-22-generic #39-Ubuntu SMP Thu May 5 16:53:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
[PSDKLA]> Starting Yocto build at Mon Aug 15 11:06:26 PDT 2016
[PSDKLA]>
[PSDKLA]> ./oe-layertool-setup.sh -f configs/psdkla/processor-sdk-linux-automotive-03.00.00.03.txt
/home/zeus/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers


cloning repo bitbake

Fetching origin
Switched to branch '1.30'
Your branch is up-to-date with 'origin/1.30'.
Already up-to-date.
Note: checking out '25859009b710cb35ac8f9ee9eb3a7305f9e13402'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 2585900... fetch2: Safer check for BB_ORIGENV datastore


cloning repo meta-glsdk

Fetching origin
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
Already up-to-date.
Note: checking out 'fa59a61ec4ff277c2a6b4a884841f35f17431319'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at fa59a61... gstreamer1.0-plugins-ducati: Include bug fixes for memory leak


cloning repo meta-arago

Fetching origin
Previous HEAD position was 674d98f... Revert "gstreamer1.0: Switch to GST 1.6.3"
Switched to branch 'krogoth'
Your branch is up-to-date with 'origin/krogoth'.
Already up-to-date.
Note: checking out '674d98f4997efa2e60f7ce39e6d7f908eaacb999'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 674d98f... Revert "gstreamer1.0: Switch to GST 1.6.3"


cloning repo meta-qt5

Fetching origin
Previous HEAD position was d715f2c... replace base_contains by bb.utils.contains
Switched to branch 'krogoth'
Your branch is up-to-date with 'origin/krogoth'.
Already up-to-date.
Note: checking out 'd715f2c1d340fa38f8a9860acc73de5e14a38b75'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at d715f2c... replace base_contains by bb.utils.contains


cloning repo meta-openembedded

Fetching origin
Switched to branch 'krogoth'
Your branch is up-to-date with 'origin/krogoth'.
Already up-to-date.
Note: checking out '247b1267bbe95719cd4877d2d3cfbaf2a2f4865a'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 247b126... Revert "leptonica: add PACAKGECONFIG for openjpeg"


cloning repo meta-ti

Fetching origin
Previous HEAD position was a00cd08... linux-ti-staging: add 2 new DRA7 RevC LCD DTBs
Switched to branch 'krogoth'
Your branch is up-to-date with 'origin/krogoth'.
Already up-to-date.
Note: checking out 'a00cd08b1173400b0afbeaf8891f8fb9c1861ac0'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at a00cd08... linux-ti-staging: add 2 new DRA7 RevC LCD DTBs


cloning repo meta-linaro

Fetching origin
Switched to branch 'krogoth'
Your branch is up-to-date with 'origin/krogoth'.
Already up-to-date.
Note: checking out '85faf6c6824597e7fd9e2d35fc9d8da2e9f90bc7'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 85faf6c... optee-os: update to 2.1.0 release


cloning repo oe-core

Fetching origin
Previous HEAD position was dd33005... build-appliance-image: Update to krogoth head revision
Switched to branch 'krogoth'
Your branch is up-to-date with 'origin/krogoth'.
Already up-to-date.
Note: checking out 'dd330056ace289c8a9c5d77b6bb6e860b9f0913e'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at dd33005... build-appliance-image: Update to krogoth head revision


################################################################################
The bblayers.conf configuration file has been created for you with some
default values.  Please verify the contents of your conf/bblayers.conf
file for correctness.

NOTE: Any additional entries to this file will be lost if the ./oe-layertool-setup.sh
      script is run again.  To add entries permanently to this file
      please add them to the config file used and rerun the
      ./oe-layertool-setup.sh script.



################################################################################
The local.conf configuration file has been created for you with some
default values.  Please verify the contents of your conf/local.conf
file for correctness.

By default the number of threads used by the build is set to the number
of CPUs found on your system.

NOTE: You will probably want to change the default MACHINE setting in the
      local.conf file to the machine you are trying to build.

WARNING: Found existing /home/zeus/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/build/conf/local.conf
Saving a backup to /home/zeus/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/build/conf/local.conf.bak


################################################################################
A setenv file has been created for you in the conf directory.  Please verify
The contents of this file.  Once you have verified the contents please source
this file to configure your environment for building:

    . conf/setenv

You can then start building using the bitbake command.  You will likely want
to set the MACHINE option if you have not done so in your local.conf file.

For example:
    MACHINE=xxxxx bitbake <target>

Common targets are:
    core-image-minimal
    core-image-sato
    meta-toolchain
    meta-toolchain-sdk
    adt-installer
    meta-ide-support
[PSDKLA]> cd build
[PSDKLA]> . conf/setenv
[PSDKLA]> cp conf/local.conf conf/local.conf.pristine
[PSDKLA]> MACHINE=dra7xx-evm bitbake tisdk-rootfs-image
NOTE: Started PRServer with DBfile: /home/zeus/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 36027, PID: 10418
NOTE: Your conf/bblayers.conf has been automatically updated.
Loading cache: 100% |###########################################| ETA:  00:00:00
Loaded 2824 entries from dependency cache.
Parsing recipes: 100% |#########################################| ETA:  00:00:00
Parsing of 2231 .bb files complete (2064 cached, 167 parsed). 2823 targets, 447 skipped, 0 masked, 0 errors.
WARNING: No recipes available for:
  /home/zeus/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/sources/meta-arago/meta-arago-distro/recipes-multimedia/libav/libav_9.16.bbappend
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.30.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-16.04"
TARGET_SYS        = "arm-linux-gnueabi"
MACHINE           = "dra7xx-evm"
DISTRO            = "arago"
DISTRO_VERSION    = "2016.07"
TUNE_FEATURES     = "arm armv7ve vfp thumb neon       callconvention-hard       cortexa15"
TARGET_FPU        = "hard"
meta-glsdk        = "HEAD:fa59a61ec4ff277c2a6b4a884841f35f17431319"
meta-arago-distro
meta-arago-extras = "HEAD:674d98f4997efa2e60f7ce39e6d7f908eaacb999"
meta-qt5          = "HEAD:d715f2c1d340fa38f8a9860acc73de5e14a38b75"
meta-networking   
meta-ruby         
meta-python       
meta-oe           = "HEAD:247b1267bbe95719cd4877d2d3cfbaf2a2f4865a"
meta-ti           = "HEAD:a00cd08b1173400b0afbeaf8891f8fb9c1861ac0"
meta-linaro-toolchain = "HEAD:85faf6c6824597e7fd9e2d35fc9d8da2e9f90bc7"
meta              = "HEAD:dd330056ace289c8a9c5d77b6bb6e860b9f0913e"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: libarchive-3.1.2-r0 do_compile: oe_runmake failed
ERROR: libarchive-3.1.2-r0 do_compile: Function failed: do_compile (log file is located at /home/zeus/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-neon-linux-gnueabi/libarchive/3.1.2-r0/temp/log.do_compile.29120)
ERROR: Logfile of failure stored in: /home/zeus/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-neon-linux-gnueabi/libarchive/3.1.2-r0/temp/log.do_compile.29120
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8
| make  all-am
| make[1]: Entering directory '/home/zeus/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-neon-linux-gnueabi/libarchive/3.1.2-r0/build'
| ./arm-linux-gnueabi-libtool  --tag=CC   --mode=link arm-linux-gnueabihf-gcc  -march=armv7ve -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a15 --sysroot=/home/zeus/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/sysroots/dra7xx-evm -Wall -Wformat -Wformat-security  -isystem/home/zeus/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/zeus/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-neon-linux-gnueabi/libarchive/3.1.2-r0=/usr/src/debug/libarchive/3.1.2-r0 -fdebug-prefix-map=/home/zeus/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux= -fdebug-prefix-map=/home/zeus/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/sysroots/dra7xx-evm=  -no-undefined -version-info 14:2:1 -L/home/zeus/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/lib -Wl,-rpath-link,/home/zeus/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/lib -Wl,-O1 -Wl,--hash-style=gnu -o libarchive.la -rpath /usr/lib libarchive/archive_acl.lo libarchive/archive_check_magic.lo libarchive/archive_cmdline.lo libarchive/archive_crypto.lo libarchive/archive_entry.lo libarchive/archive_entry_copy_stat.lo libarchive/archive_entry_link_resolver.lo libarchive/archive_entry_sparse.lo libarchive/archive_entry_stat.lo libarchive/archive_entry_strmode.lo libarchive/archive_entry_xattr.lo libarchive/archive_getdate.lo libarchive/archive_match.lo libarchive/archive_options.lo libarchive/archive_pathmatch.lo libarchive/archive_ppmd7.lo libarchive/archive_rb.lo libarchive/archive_read.lo libarchive/archive_read_append_filter.lo libarchive/archive_read_data_into_fd.lo libarchive/archive_read_disk_entry_from_file.lo libarchive/archive_read_disk_posix.lo libarchive/archive_read_disk_set_standard_lookup.lo libarchive/archive_read_extract.lo libarchive/archive_read_open_fd.lo libarchive/archive_read_open_file.lo libarchive/archive_read_open_filename.lo libarchive/archive_read_open_memory.lo libarchive/archive_read_set_format.lo libarchive/archive_read_set_options.lo libarchive/archive_read_support_filter_all.lo libarchive/archive_read_support_filter_bzip2.lo libarchive/archive_read_support_filter_compress.lo libarchive/archive_read_support_filter_grzip.lo libarchive/archive_read_support_filter_gzip.lo libarchive/archive_read_support_filter_lrzip.lo libarchive/archive_read_support_filter_lzop.lo libarchive/archive_read_support_filter_none.lo libarchive/archive_read_support_filter_program.lo libarchive/archive_read_support_filter_rpm.lo libarchive/archive_read_support_filter_uu.lo libarchive/archive_read_support_filter_xz.lo libarchive/archive_read_support_format_7zip.lo libarchive/archive_read_support_format_all.lo libarchive/archive_read_support_format_ar.lo libarchive/archive_read_support_format_by_code.lo libarchive/archive_read_support_format_cab.lo libarchive/archive_read_support_format_cpio.lo libarchive/archive_read_support_format_empty.lo libarchive/archive_read_support_format_iso9660.lo libarchive/archive_read_support_format_lha.lo libarchive/archive_read_support_format_mtree.lo libarchive/archive_read_support_format_rar.lo libarchive/archive_read_support_format_raw.lo libarchive/archive_read_support_format_tar.lo libarchive/archive_read_support_format_xar.lo libarchive/archive_read_support_format_zip.lo libarchive/archive_string.lo libarchive/archive_string_sprintf.lo libarchive/archive_util.lo libarchive/archive_virtual.lo libarchive/archive_write.lo libarchive/archive_write_disk_acl.lo libarchive/archive_write_disk_posix.lo libarchive/archive_write_disk_set_standard_lookup.lo libarchive/archive_write_open_fd.lo libarchive/archive_write_open_file.lo libarchive/archive_write_open_filename.lo libarchive/archive_write_open_memory.lo libarchive/archive_write_add_filter.lo libarchive/archive_write_add_filter_b64encode.lo libarchive/archive_write_add_filter_by_name.lo libarchive/archive_write_add_filter_bzip2.lo libarchive/archive_write_add_filter_compress.lo libarchive/archive_write_add_filter_grzip.lo libarchive/archive_write_add_filter_gzip.lo libarchive/archive_write_add_filter_lrzip.lo libarchive/archive_write_add_filter_lzop.lo libarchive/archive_write_add_filter_none.lo libarchive/archive_write_add_filter_program.lo libarchive/archive_write_add_filter_uuencode.lo libarchive/archive_write_add_filter_xz.lo libarchive/archive_write_set_format.lo libarchive/archive_write_set_format_7zip.lo libarchive/archive_write_set_format_ar.lo libarchive/archive_write_set_format_by_name.lo libarchive/archive_write_set_format_cpio.lo libarchive/archive_write_set_format_cpio_newc.lo libarchive/archive_write_set_format_iso9660.lo libarchive/archive_write_set_format_mtree.lo libarchive/archive_write_set_format_pax.lo libarchive/archive_write_set_format_shar.lo libarchive/archive_write_set_format_ustar.lo libarchive/archive_write_set_format_v7tar.lo libarchive/archive_write_set_format_gnutar.lo libarchive/archive_write_set_format_xar.lo libarchive/archive_write_set_format_zip.lo libarchive/archive_write_set_options.lo libarchive/filter_fork_posix.lo   -lattr -lbz2 -lz  -lxml2
| arm-linux-gnueabi-libtool:   error: 'libarchive/archive_write_set_format_shar.lo' is not a valid libtool object
| Makefile:2844: recipe for target 'libarchive.la' failed
| make[1]: *** [libarchive.la] Error 1
| make[1]: Leaving directory '/home/zeus/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-neon-linux-gnueabi/libarchive/3.1.2-r0/build'
| Makefile:2474: recipe for target 'all' failed
| make: *** [all] Error 2
| WARNING: /home/zeus/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-neon-linux-gnueabi/libarchive/3.1.2-r0/temp/run.do_compile.29120:1 exit 1 from 'exit 1'
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (log file is located at /home/zeus/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-neon-linux-gnueabi/libarchive/3.1.2-r0/temp/log.do_compile.29120)
ERROR: Task 791 (/home/zeus/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/sources/oe-core/meta/recipes-extended/libarchive/libarchive_3.1.2.bb, do_compile) failed with exit code '1'