Build of uboot-tools with clang_glibc toolchain

The build took 00h 01m 52s and was SUCCESSFUL.

The program in this build is written in the following languages, according to sloccount:

SLOCLanguage
1,180,467 ansic
31,811 asm
8,830 python
8,014 perl
6,413 makefile
2,453 sh
1,829 cpp
604 yacc
363 lex
28 tcl
14 sed
6 awk
1,240,832 total

The process tree of the build process is here.

Several sub-process invocations were improper; see the process tree for details. Summary:

Log

To avoid scrolling, you may jump to the last line of the invocation of makepkg that was used to build this package.

Removed vanilla repositories from pacman.conf and added:
# [tuscan]
# Server = file:///var/cache/pacman/pkg/

CMD: pacman -Syy --noconfirm
# :: Synchronizing package databases...
# downloading tuscan.db...

Copied permanent toolchain into container-local sysroot
# /toolchain_root/sysroot --> /sysroot/sysroot
# /toolchain_root/lib --> /sysroot/lib
# /toolchain_root/sbin --> /sysroot/sbin
# /toolchain_root/lib64 --> /sysroot/lib64
# /toolchain_root/etc --> /sysroot/etc
# /toolchain_root/share --> /sysroot/share
# /toolchain_root/bin --> /sysroot/bin
# /toolchain_root/var --> /sysroot/var
# /toolchain_root/usr --> /sysroot/usr
# /toolchain_root/glibc-build --> /sysroot/glibc-build
# /toolchain_root/x86_64-pc-linux-gnu --> /sysroot/x86_64-pc-linux-gnu
# /toolchain_root/include --> /sysroot/include
# /toolchain_root/libexec --> /sysroot/libexec

CMD: sudo -u tuscan PATH=/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=clang CXX=clang++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: uboot-tools 2016.03-1 (Thu Apr 13 16:52:23 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# HOSTCC scripts/basic/fixdep
# HOSTCC scripts/kconfig/conf.o
# SHIPPED scripts/kconfig/zconf.tab.c
# SHIPPED scripts/kconfig/zconf.lex.c
# SHIPPED scripts/kconfig/zconf.hash.c
# HOSTCC scripts/kconfig/zconf.tab.o
# HOSTLD scripts/kconfig/conf
# *** Default configuration is based on 'sandbox_defconfig'
# #
# # configuration written to .config
# #
# scripts/kconfig/conf --silentoldconfig Kconfig
# CHK include/config.h
# UPD include/config.h
# GEN include/autoconf.mk
# GEN include/autoconf.mk.dep
# make: sdl-config: Command not found
# make: sdl-config: Command not found
# make: sdl-config: Command not found
# LD tools/env/built-in.o
# HOSTCC tools/env/aes.o
# HOSTCC tools/env/crc32.o
# HOSTCC tools/env/ctype.o
# HOSTCC tools/env/env_attr.o
# HOSTCC tools/env/env_flags.o
# HOSTCC tools/env/fw_env.o
# HOSTCC tools/env/linux_string.o
# AR tools/env/lib.a
# HOSTCC tools/env/fw_env_main.o
# HOSTLD tools/env/fw_printenv
# STRIP tools/env/fw_printenv
# make: sdl-config: Command not found
# CHK include/config/uboot.release
# UPD include/config/uboot.release
# make: sdl-config: Command not found
# CHK include/generated/version_autogenerated.h
# UPD include/generated/version_autogenerated.h
# make: sdl-config: Command not found
# CHK include/generated/timestamp_autogenerated.h
# UPD include/generated/timestamp_autogenerated.h
# make: sdl-config: Command not found
# CC lib/asm-offsets.s
# CHK include/generated/generic-asm-offsets.h
# UPD include/generated/generic-asm-offsets.h
# make: sdl-config: Command not found
# HOSTCC tools/easylogo/easylogo
# HOSTCC tools/gdb/gdbsend.o
# HOSTCC tools/gdb/error.o
# HOSTCC tools/gdb/remote.o
# HOSTCC tools/gdb/serial.o
# HOSTLD tools/gdb/gdbsend
# HOSTCC tools/gdb/gdbcont.o
# HOSTLD tools/gdb/gdbcont
# HOSTCC tools/bmp_logo
# HOSTCC tools/gen_eth_addr
# HOSTCC tools/img2srec
# HOSTCC tools/xway-swap-bytes
# HOSTCC tools/mkenvimage.o
# HOSTCC tools/os_support.o
# WRAP tools/lib/crc32.c
# HOSTCC tools/lib/crc32.o
# HOSTLD tools/mkenvimage
# HOSTCC tools/aisimage.o
# HOSTCC tools/atmelimage.o
# WRAP tools/common/image-sig.c
# HOSTCC tools/common/image-sig.o
# WRAP tools/common/bootm.c
# HOSTCC tools/common/bootm.o
# HOSTCC tools/default_image.o
# WRAP tools/lib/fdtdec_common.c
# HOSTCC tools/lib/fdtdec_common.o
# WRAP tools/lib/fdtdec.c
# HOSTCC tools/lib/fdtdec.o
# HOSTCC tools/fit_common.o
# HOSTCC tools/fit_image.o
# HOSTCC tools/gpimage.o
# HOSTCC tools/gpimage-common.o
# WRAP tools/common/image-fit.c
# HOSTCC tools/common/image-fit.o
# HOSTCC tools/image-host.o
# WRAP tools/common/image.c
# HOSTCC tools/common/image.o
# HOSTCC tools/imagetool.o
# HOSTCC tools/imximage.o
# HOSTCC tools/kwbimage.o
# WRAP tools/lib/md5.c
# HOSTCC tools/lib/md5.o
# HOSTCC tools/lpc32xximage.o
# HOSTCC tools/mxsimage.o
# HOSTCC tools/omapimage.o
# HOSTCC tools/pblimage.o
# HOSTCC tools/pbl_crc32.o
# WRAP tools/lib/rc4.c
# HOSTCC tools/lib/rc4.o
# HOSTCC tools/rkcommon.o
# HOSTCC tools/rkimage.o
# HOSTCC tools/rksd.o
# HOSTCC tools/rkspi.o
# HOSTCC tools/socfpgaimage.o
# WRAP tools/lib/sha1.c
# HOSTCC tools/lib/sha1.o
# WRAP tools/lib/sha256.c
# HOSTCC tools/lib/sha256.o
# WRAP tools/common/hash.c
# HOSTCC tools/common/hash.o
# HOSTCC tools/ublimage.o
# HOSTCC tools/zynqimage.o
# WRAP tools/lib/libfdt/fdt.c
# HOSTCC tools/lib/libfdt/fdt.o
# WRAP tools/lib/libfdt/fdt_ro.c
# HOSTCC tools/lib/libfdt/fdt_ro.o
# WRAP tools/lib/libfdt/fdt_rw.c
# HOSTCC tools/lib/libfdt/fdt_rw.o
# WRAP tools/lib/libfdt/fdt_strerror.c
# HOSTCC tools/lib/libfdt/fdt_strerror.o
# WRAP tools/lib/libfdt/fdt_wip.c
# HOSTCC tools/lib/libfdt/fdt_wip.o
# WRAP tools/lib/libfdt/fdt_region.c
# HOSTCC tools/lib/libfdt/fdt_region.o
# WRAP tools/lib/rsa/rsa-sign.c
# HOSTCC tools/lib/rsa/rsa-sign.o
# WRAP tools/lib/rsa/rsa-verify.c
# HOSTCC tools/lib/rsa/rsa-verify.o
# WRAP tools/lib/rsa/rsa-checksum.c
# HOSTCC tools/lib/rsa/rsa-checksum.o
# WRAP tools/lib/rsa/rsa-mod-exp.c
# HOSTCC tools/lib/rsa/rsa-mod-exp.o
# HOSTCC tools/dumpimage.o
# HOSTLD tools/dumpimage
# HOSTCC tools/mkimage.o
# HOSTLD tools/mkimage
# HOSTCC tools/fit_info.o
# HOSTLD tools/fit_info
# HOSTCC tools/fit_check_sign.o
# HOSTLD tools/fit_check_sign
# HOSTCC tools/ncb
# HOSTCC tools/ubsha1.o
# HOSTLD tools/ubsha1
# HOSTCC tools/proftool
# HOSTCC tools/fdtgrep.o
# HOSTLD tools/fdtgrep
# tools/bmp_logo --gen-info ./tools/logos/denx.bmp > include/bmp_logo.h
# tools/bmp_logo --gen-data ./tools/logos/denx.bmp > include/bmp_logo_data.h
# ==> Entering fakeroot environment...
# ==> Starting package()...
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "uboot-tools"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: uboot-tools 2016.03-1 (Thu Apr 13 16:53:04 UTC 2017)

CMD: pacman --query --file uboot-tools-2016.03-1-x86_64.pkg.tar.xz
# uboot-tools 2016.03-1

Creating hybrid package for 'uboot-tools'

Trying to find vanilla package 'uboot-tools'...

CMD: pacman --query --file /mirror/uboot-tools-2016.03-1.pkg.tar.xz
# uboot-tools 2016.03-1

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /usr/bin/mkimage
# /usr/bin/img2srec
# /usr/bin/fw_printenv
# /usr/bin/ncb
# /usr/bin/dumpimage
# /usr/bin/netconsole
# /usr/bin/mkenvimage
# /usr/bin/jtagconsole
# /usr/bin/fw_setenv
# /usr/share/man/man1/mkimage.1.gz

Generating .MTREE

CMD: bsdtar -czf .MTREE --format=mtree --options=!all,use-set,type,uid,mode,time,size,md5,sha256,link .PKGINFO .BUILDINFO usr

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO .BUILDINFO usr .MTREE

CMD: xz -c -z

Successfully ran bsdtar -cf - .PKGINFO .BUILDINFO usr .MTREE | xz -c -z

CMD: bsdtar -tqf uboot-tools.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/uboot-tools.pkg.tar.xz

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/uboot-tools.pkg.tar.xz
# ==> Extracting database to a temporary location...
# ==> Extracting database to a temporary location...
# ==> Adding package '/var/cache/pacman/pkg/uboot-tools.pkg.tar.xz'
# -> Computing checksums...
# -> Creating 'desc' db entry...
# -> Creating 'files' db entry...
# ==> Creating updated database file '/var/cache/pacman/pkg/tuscan.db.tar'