Build of bbswitch with musl toolchain

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

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

SLOCLanguage
413 ansic
24 makefile
437 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: bbswitch 0.8-50 (Tue Apr 4 23:09:33 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# make -C /lib/modules/4.6.3-1-ARCH/build M="$(pwd)" modules
# make[1]: Entering directory '/usr/lib/modules/4.6.3-1-ARCH/build'
# CC [M] /tmp/bbswitch/src/bbswitch-0.8/bbswitch.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# /tmp/bbswitch/src/bbswitch-0.8/bbswitch.c:508:1: warning: unused function '__inittest' [-Wunused-function]
# module_init(bbswitch_init);
# ^
# include/linux/module.h:128:27: note: expanded from macro 'module_init'
# static inline initcall_t __inittest(void) \
# ^
# /tmp/bbswitch/src/bbswitch-0.8/bbswitch.c:509:1: warning: unused function '__exittest' [-Wunused-function]
# module_exit(bbswitch_exit);
# ^
# include/linux/module.h:134:27: note: expanded from macro 'module_exit'
# static inline exitcall_t __exittest(void) \
# ^
# 2 warnings generated.
# Building modules, stage 2.
# MODPOST 1 modules
# WARNING: "mcount" [/tmp/bbswitch/src/bbswitch-0.8/bbswitch.ko] undefined!
# CC /tmp/bbswitch/src/bbswitch-0.8/bbswitch.mod.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# LD [M] /tmp/bbswitch/src/bbswitch-0.8/bbswitch.ko
# make[1]: Leaving directory '/usr/lib/modules/4.6.3-1-ARCH/build'
# ==> Entering fakeroot environment...
# ==> Starting package_bbswitch()...
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "bbswitch"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Adding install file...
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Starting package_bbswitch-dkms()...
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "bbswitch-dkms"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: bbswitch 0.8-50 (Tue Apr 4 23:09:39 UTC 2017)

CMD: pacman --query --file bbswitch-0.8-50-x86_64.pkg.tar.xz
# bbswitch 0.8-50

Creating hybrid package for 'bbswitch'

Trying to find vanilla package 'bbswitch'...

CMD: pacman --query --file /mirror/bbswitch-lts-0.8-21.pkg.tar.xz
# bbswitch-lts 0.8-21

CMD: pacman --query --file /mirror/bbswitch-dkms-0.8-50.pkg.tar.xz
# bbswitch-dkms 0.8-50

CMD: pacman --query --file /mirror/bbswitch-0.8-50.pkg.tar.xz
# bbswitch 0.8-50

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.INSTALL
# /.MTREE
# /usr/lib/modules/extramodules-4.6-ARCH/bbswitch.ko.gz
# /sysroot/usr/lib/modules/extramodules-4.6-ARCH/bbswitch.ko.gz

Generating .MTREE

CMD: bsdtar -czf .MTREE --format=mtree --options=!all,use-set,type,uid,mode,time,size,md5,sha256,link .PKGINFO .BUILDINFO .INSTALL usr sysroot

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO .BUILDINFO .INSTALL usr sysroot .MTREE

CMD: xz -c -z

Successfully ran bsdtar -cf - .PKGINFO .BUILDINFO .INSTALL usr sysroot .MTREE | xz -c -z

CMD: bsdtar -tqf bbswitch.pkg.tar.xz .PKGINFO
# .PKGINFO

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

CMD: pacman --query --file bbswitch-dkms-0.8-50-x86_64.pkg.tar.xz
# bbswitch-dkms 0.8-50

Creating hybrid package for 'bbswitch-dkms'

Trying to find vanilla package 'bbswitch-dkms'...

CMD: pacman --query --file /mirror/bbswitch-dkms-0.8-50.pkg.tar.xz
# bbswitch-dkms 0.8-50

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /usr/src/bbswitch-0.8/dkms.conf
# /usr/src/bbswitch-0.8/bbswitch.c
# /usr/src/bbswitch-0.8/Makefile

Generating .MTREE

CMD: bsdtar -czf .MTREE --format=mtree --options=!all,use-set,type,uid,mode,time,size,md5,sha256,link .PKGINFO .BUILDINFO usr

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO .BUILDINFO usr .MTREE

CMD: xz -c -z

Successfully ran bsdtar -cf - .PKGINFO .BUILDINFO usr .MTREE | xz -c -z

CMD: bsdtar -tqf bbswitch-dkms.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/bbswitch-dkms.pkg.tar.xz

Attempting to access local repository, attempt 1

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

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/bbswitch-dkms.pkg.tar.xz
# ==> ERROR: Failed to acquire lockfile: /var/cache/pacman/pkg/tuscan.db.tar.lck.
# ==> ERROR: Held by process 722

Attempting to access local repository, attempt 2

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