Build of lcab with clang_glibc toolchain

The build took 00h 04m 09s and was SUCCESSFUL.

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

SLOCLanguage
815 sh
680 ansic
11 makefile
1,506 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: lcab 1.0b12-5 (Thu Apr 13 11:29:58 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# gcc -ggdb3 -Wall -pipe -c -o cheader.o cheader.c
# gcc -ggdb3 -Wall -pipe -c -o cfolder.o cfolder.c
# gcc -ggdb3 -Wall -pipe -c -o cdata.o cdata.c
# gcc -ggdb3 -Wall -pipe -c -o cfile.o cfile.c
# cfile.c:42:9: warning: passing 'byte [4096]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# strcpy(cf->name, filename);
# ^~~~~~~~
# /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here
# extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
# ^
# 1 warning generated.
# gcc -ggdb3 -Wall -pipe -c -o checksum.o checksum.c
# gcc -ggdb3 -Wall -pipe -c -o cwrite.o cwrite.c
# cwrite.c:70:47: warning: passing 'byte [4096]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# if(!fwrite((char *) &cf->name, strlen(cf->name)+1, 1, fpout)) error=1;
# ^~~~~~~~
# /usr/include/string.h:394:35: note: passing argument to parameter '__s' here
# extern size_t strlen (const char *__s)
# ^
# cwrite.c:84:8: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# tmp = (byte *) calloc( cd->ncbytes, sizeof(byte) );
# ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# cwrite.c:90:23: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# compute_checksum( tmp, cd->ncbytes, 0 ) );
# ^~~
# ./checksum.h:24:33: note: passing argument to parameter 'in' here
# CHECKSUM compute_checksum(byte *in, word ncbytes, CHECKSUM seed);
# ^
# 3 warnings generated.
# gcc -ggdb3 -Wall -pipe -c -o main.o main.c
# main.c:86:7: warning: expression result unused [-Wunused-value]
# else *tmp++;
# ^~~~~~
# main.c:121:8: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# tmp = (byte *) calloc( sizefile( inputfiles[i] ), sizeof( byte ) );
# ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 2 warnings generated.
# gcc -o lcab cheader.o cfolder.o cdata.o cfile.o checksum.o cwrite.o main.o
# ==> Entering fakeroot environment...
# ==> Starting package()...
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "lcab"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: lcab 1.0b12-5 (Thu Apr 13 11:30:00 UTC 2017)

CMD: pacman --query --file lcab-1.0b12-5-x86_64.pkg.tar.xz
# lcab 1.0b12-5

Creating hybrid package for 'lcab'

Trying to find vanilla package 'lcab'...

CMD: pacman --query --file /mirror/lcab-1.0b12-5.pkg.tar.xz
# lcab 1.0b12-5

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/bin/lcab

Generating .MTREE

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

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO usr .MTREE

CMD: xz -c -z

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

CMD: bsdtar -tqf lcab.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/lcab.pkg.tar.xz

Attempting to access local repository, attempt 1

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