Build of fatsort with musl toolchain

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

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

SLOCLanguage
3,922 makefile
2,600 ansic
6,522 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: fatsort 1.3.365-1 (Wed Apr 5 01:14:40 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (2) perl-locale-gettext-1.07-2 help2man-1.47.3-2
#
# Total Installed Size: 0.33 MiB
#
# :: Proceed with installation? [Y/n]
# checking keyring...
# checking package integrity...
# loading package files...
# checking for file conflicts...
# checking available disk space...
# :: Processing package changes...
# installing perl-locale-gettext...
# installing help2man...
# :: Running post-transaction hooks...
# (1/2) Updating manpage index...
# (2/2) Updating the info directory file...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# make -C src/
# make[1]: Entering directory '/tmp/fatsort/src/fatsort-1.3.365/src'
# gcc -Wall -Wextra -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c fatsort.c -o fatsort.o
# gcc -Wall -Wextra -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c FAT_fs.c -o FAT_fs.o
# gcc -Wall -Wextra -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c fileio.c -o fileio.o
# gcc -Wall -Wextra -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c endianness.c -o endianness.o
# gcc -Wall -Wextra -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c signal.c -o signal.o
# gcc -Wall -Wextra -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c entrylist.c -o entrylist.o
# gcc -Wall -Wextra -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c errors.c -o errors.o
# gcc -Wall -Wextra -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c options.c -o options.o
# gcc -Wall -Wextra -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c clusterchain.c -o clusterchain.o
# gcc -Wall -Wextra -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c sort.c -o sort.o
# gcc -Wall -Wextra -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c misc.c -o misc.o
# gcc -Wall -Wextra -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c natstrcmp.c -o natstrcmp.o
# gcc -Wall -Wextra -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c stringlist.c -o stringlist.o
# gcc -s fatsort.o FAT_fs.o fileio.o endianness.o signal.o entrylist.o errors.o options.o clusterchain.o sort.o misc.o natstrcmp.o stringlist.o -o fatsort
# make[1]: Leaving directory '/tmp/fatsort/src/fatsort-1.3.365/src'
# make -C man/
# make[1]: Entering directory '/tmp/fatsort/src/fatsort-1.3.365/man'
# help2man --name "FAT sorting tool" ../src/fatsort -o fatsort.1 -N
# make[1]: Leaving directory '/tmp/fatsort/src/fatsort-1.3.365/man'
# ==> Entering fakeroot environment...
# ==> Starting package()...
# install -m 0755 -p -D man/fatsort.1 /tmp/fatsort/pkg/fatsort/usr/share/man/man1/fatsort.1
# make -C src/ install
# make[1]: Entering directory '/tmp/fatsort/src/fatsort-1.3.365/src'
# install -m 0755 -p -D fatsort /tmp/fatsort/pkg/fatsort/usr/bin/fatsort
# make[1]: Leaving directory '/tmp/fatsort/src/fatsort-1.3.365/src'
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "fatsort"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: fatsort 1.3.365-1 (Wed Apr 5 01:14:50 UTC 2017)

CMD: pacman --query --file fatsort-1.3.365-1-x86_64.pkg.tar.xz
# fatsort 1.3.365-1

Creating hybrid package for 'fatsort'

Trying to find vanilla package 'fatsort'...

CMD: pacman --query --file /mirror/fatsort-1.3.365-1.pkg.tar.xz
# fatsort 1.3.365-1

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/share/man/man1/fatsort.1.gz
# /usr/bin/fatsort

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

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

Attempting to access local repository, attempt 1

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