Build of unarj with musl toolchain

The build took 00h 00m 59s and was SUCCESSFUL.

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

SLOCLanguage
2,157 ansic
13 makefile
2,170 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: unarj 2.63a-4 (Wed Apr 5 00:23:59 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# gcc -O2 -Wall -ansi -pedantic -DUNIX -c -o unarj.o unarj.c
# gcc -O2 -Wall -ansi -pedantic -DUNIX -c -o decode.o decode.c
# gcc -O2 -Wall -ansi -pedantic -DUNIX -c -o environ.o environ.c
# environ.c:499:5: warning: expression result unused [-Wunused-value]
# (char *) name;
# ^ ~~~~
# environ.c:618:12: warning: implicit declaration of function 'utime' [-Wimplicit-function-declaration]
# return utime(name, &tb);
# ^
# environ.c:608:5: warning: expression result unused [-Wunused-value]
# (char *) name;
# ^ ~~~~
# environ.c:609:5: warning: expression result unused [-Wunused-value]
# (uint) attribute;
# ^ ~~~~~~~~~
# environ.c:610:5: warning: expression result unused [-Wunused-value]
# (uint) host;
# ^ ~~~~
# unarj.c:699:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(M_ENCRYPT);
# ^~~~~~~~~
# unarj.c:780:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(M_DIFFHOST);
# ^~~~~~~~~~
# unarj.c:796:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(M_CRCOK);
# ^~~~~~~
# unarj.c:799:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(M_CRCERROR);
# ^~~~~~~~~~
# unarj.c:825:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(M_CRCOK);
# ^~~~~~~
# unarj.c:828:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(M_CRCERROR);
# ^~~~~~~~~~
# unarj.c:975:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(M_USAGE[i]);
# ^~~~~~~~~~
# unarj.c:990:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(M_VERSION);
# ^~~~~~~~~
# 5 warnings generated.
# 8 warnings generated.
# gcc -O2 -Wall -ansi -pedantic -DUNIX -o unarj unarj.o decode.o environ.o
# clang-3.8: warning: argument unused during compilation: '-ansi'
# strip unarj
# ==> Entering fakeroot environment...
# ==> Starting package()...
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "unarj"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: unarj 2.63a-4 (Wed Apr 5 00:24:04 UTC 2017)

CMD: pacman --query --file unarj-2.63a-4-x86_64.pkg.tar.xz
# unarj 2.63a-4

Creating hybrid package for 'unarj'

Trying to find vanilla package 'unarj'...

CMD: pacman --query --file /mirror/unarj-2.63a-4.pkg.tar.xz
# unarj 2.63a-4

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/bin/unarj
# /usr/share/licenses/unarj/LICENSE

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

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

Attempting to access local repository, attempt 1

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