Build of wavegain with musl toolchain

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

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

SLOCLanguage
4,453 ansic
4,453 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: wavegain 1.3.1-2 (Wed Apr 5 01:50:22 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# audio.c:664:31: warning: passing 'char [8]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# opt->gain_scale = READ_D64(buf_double);
# ^~~~~~~~~~
# audio.c:189:35: note: passing argument to parameter 'cptr' here
# double read_d64_le(unsigned char *cptr)
# ^
# 1 warning generated.
# main.c:199:22: warning: expression which evaluates to zero treated as a null pointer constant of type 'const char *' [-Wnon-literal-null-conversion]
# file->filename = '\0';
# ^~~~
# 1 warning generated.
# misc.c:42:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# fprintf(stderr, strerror(err_num));
# ^~~~~~~~~~~~~~~~~
# 1 warning generated.
# wavegain.c:524:36: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration]
# srand(time(NULL) ^ getpid());
# ^
# 1 warning generated.
# ==> Entering fakeroot environment...
# ==> Starting package()...
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "wavegain"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: wavegain 1.3.1-2 (Wed Apr 5 01:50:25 UTC 2017)

CMD: pacman --query --file wavegain-1.3.1-2-x86_64.pkg.tar.xz
# wavegain 1.3.1-2

Creating hybrid package for 'wavegain'

Trying to find vanilla package 'wavegain'...

CMD: pacman --query --file /mirror/wavegain-1.3.1-2.pkg.tar.xz
# wavegain 1.3.1-2

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

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 wavegain.pkg.tar.xz .PKGINFO
# .PKGINFO

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

Attempting to access local repository, attempt 1

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