Build of lcab with musl toolchain

The build took 00h 01m 03s 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...

There were existing files in /sysroot, using those
# /sysroot/lib
# /sysroot/share
# /sysroot/bin
# /sysroot/include
# /sysroot/libexec

CMD: sudo -u tuscan PATH=/sysroot/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 (Tue Apr 4 22:59:09 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);
# ^~~~~~~~
# /sysroot/include/string.h:31:31: note: passing argument to parameter here
# char *strcpy (char *__restrict, const char *__restrict);
# ^
# 1 warning generated.
# gcc -ggdb3 -Wall -pipe -c -o checksum.o checksum.c
# gcc -ggdb3 -Wall -pipe -c -o cwrite.o cwrite.c
# gcc -ggdb3 -Wall -pipe -c -o main.o main.c
# main.c:86:7: warning: expression result unused [-Wunused-value]
# else *tmp++;
# ^~~~~~
# 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;
# ^~~~~~~~
# /sysroot/include/string.h:52:28: note: passing argument to parameter here
# size_t strlen (const char *);
# ^
# 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) );
# ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 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 ) );
# ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 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.
# 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 (Tue Apr 4 22:59:09 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'