Build of chrootuid with musl toolchain

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

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

SLOCLanguage
52 ansic
12 makefile
64 total

The process tree of the build process is here.

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: chrootuid 1.3-6 (Tue Apr 4 23:04:39 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# clang -O -o chrootuid chrootuid.c
# chrootuid.c:2:1: warning: '/*' within block comment [-Wcomment]
# /* NAME
# ^
# chrootuid.c:3:1: warning: '/*' within block comment [-Wcomment]
# /* chrootuid 1
# ^
# chrootuid.c:4:1: warning: '/*' within block comment [-Wcomment]
# /* SUMMARY
# ^
# chrootuid.c:5:1: warning: '/*' within block comment [-Wcomment]
# /* run command in restricted environment
# ^
# chrootuid.c:6:1: warning: '/*' within block comment [-Wcomment]
# /* SYNOPSIS
# ^
# chrootuid.c:7:1: warning: '/*' within block comment [-Wcomment]
# /* \fBchrootuid\fR \fInewroot newuser command\fR...
# ^
# chrootuid.c:8:1: warning: '/*' within block comment [-Wcomment]
# /* DESCRIPTION
# ^
# chrootuid.c:9:1: warning: '/*' within block comment [-Wcomment]
# /* The \fBchrootuid\fR command sets up a restricted environment for
# ^
# chrootuid.c:10:1: warning: '/*' within block comment [-Wcomment]
# /* executing \fIcommand\fR. Access to the file system is restricted to
# ^
# chrootuid.c:11:1: warning: '/*' within block comment [-Wcomment]
# /* the \fInewroot\fR subtree; privileges are restricted to those of
# ^
# chrootuid.c:12:1: warning: '/*' within block comment [-Wcomment]
# /* the \fInewuser\fR account (which must be a known account in the
# ^
# chrootuid.c:13:1: warning: '/*' within block comment [-Wcomment]
# /* unrestricted environment).
# ^
# chrootuid.c:14:1: warning: '/*' within block comment [-Wcomment]
# /* The initial working directory is changed to \fInewroot\fR.
# ^
# chrootuid.c:15:1: warning: '/*' within block comment [-Wcomment]
# /*
# ^
# chrootuid.c:16:1: warning: '/*' within block comment [-Wcomment]
# /* \fBchrootuid\fR combines chroot(8) and su(1) into one program, so
# ^
# chrootuid.c:17:1: warning: '/*' within block comment [-Wcomment]
# /* that there is no need to have commands such as /usr/bin/su
# ^
# chrootuid.c:18:1: warning: '/*' within block comment [-Wcomment]
# /* in the restricted environment.
# ^
# chrootuid.c:19:1: warning: '/*' within block comment [-Wcomment]
# /*
# ^
# chrootuid.c:20:1: warning: '/*' within block comment [-Wcomment]
# /* Only the superuser can use the \fBchrootuid\fR command.
# ^
# chrootuid.c:21:1: warning: '/*' within block comment [-Wcomment]
# /* DIAGNOSTICS
# ^
# chrootuid.c:22:1: warning: '/*' within block comment [-Wcomment]
# /* The exit status is 1 when \fBchrootuid\fR has a problem, otherwise
# ^
# chrootuid.c:23:1: warning: '/*' within block comment [-Wcomment]
# /* the exit status is the exit status of \fIcommand\fR.
# ^
# chrootuid.c:24:1: warning: '/*' within block comment [-Wcomment]
# /* SEE ALSO
# ^
# chrootuid.c:25:1: warning: '/*' within block comment [-Wcomment]
# /* chroot(8), su(1)
# ^
# chrootuid.c:26:1: warning: '/*' within block comment [-Wcomment]
# /* DIAGNOSTICS
# ^
# chrootuid.c:27:1: warning: '/*' within block comment [-Wcomment]
# /* Problems are reported to the syslog daemon.
# ^
# chrootuid.c:28:1: warning: '/*' within block comment [-Wcomment]
# /* AUTHOR(S)
# ^
# chrootuid.c:29:1: warning: '/*' within block comment [-Wcomment]
# /* Wietse Venema
# ^
# chrootuid.c:30:1: warning: '/*' within block comment [-Wcomment]
# /* Eindhoven University of Technology
# ^
# chrootuid.c:31:1: warning: '/*' within block comment [-Wcomment]
# /* Department of Mathematics and Computer Science
# ^
# chrootuid.c:32:1: warning: '/*' within block comment [-Wcomment]
# /* Den Dolech 2, P.O. Box 513, 5600 MB Eindhoven, The Netherlands
# ^
# chrootuid.c:33:1: warning: '/*' within block comment [-Wcomment]
# /*
# ^
# chrootuid.c:34:1: warning: '/*' within block comment [-Wcomment]
# /* IBM T.J. Watson Research
# ^
# chrootuid.c:35:1: warning: '/*' within block comment [-Wcomment]
# /* P.O. Box 704
# ^
# chrootuid.c:36:1: warning: '/*' within block comment [-Wcomment]
# /* Yorktown Heights, NY 10598, USA
# ^
# chrootuid.c:37:1: warning: '/*' within block comment [-Wcomment]
# /* CREATION DATE
# ^
# chrootuid.c:38:1: warning: '/*' within block comment [-Wcomment]
# /* Tue Oct 13 11:37:29 MET 1992
# ^
# chrootuid.c:39:1: warning: '/*' within block comment [-Wcomment]
# /* LAST MODIFICATION
# ^
# chrootuid.c:40:1: warning: '/*' within block comment [-Wcomment]
# /* Wed Jul 25 11:25:08 EDT 2001
# ^
# chrootuid.c:41:1: warning: '/*' within block comment [-Wcomment]
# /* VERSION/RELEASE
# ^
# chrootuid.c:42:1: warning: '/*' within block comment [-Wcomment]
# /* 1.3
# ^
# chrootuid.c:43:1: warning: '/*' within block comment [-Wcomment]
# /*--*/
# ^
# 42 warnings generated.
# ==> Entering fakeroot environment...
# ==> Starting package()...
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "chrootuid"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: chrootuid 1.3-6 (Tue Apr 4 23:04:40 UTC 2017)

CMD: pacman --query --file chrootuid-1.3-6-x86_64.pkg.tar.xz
# chrootuid 1.3-6

Creating hybrid package for 'chrootuid'

Trying to find vanilla package 'chrootuid'...

CMD: pacman --query --file /mirror/chrootuid-1.3-6.pkg.tar.xz
# chrootuid 1.3-6

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/bin/chrootuid
# /usr/share/man/man1/chrootuid.1.gz
# /usr/share/licenses/chrootuid/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 chrootuid.pkg.tar.xz .PKGINFO
# .PKGINFO

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

Attempting to access local repository, attempt 1

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