Build of dkms with musl toolchain

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

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

SLOCLanguage
4,170 sh
208 makefile
76 perl
64 python
18 ansic
4,536 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: dkms 2.2.0.3+git151023-11 (Wed Apr 5 01:11:57 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Entering fakeroot environment...
# ==> Starting package()...
# mkdir -m 0755 -p /tmp/dkms/pkg/dkms/var/lib/dkms /tmp/dkms/pkg/dkms/usr/bin /tmp/dkms/pkg/dkms/usr/share/man/man8 /tmp/dkms/pkg/dkms/etc/dkms /tmp/dkms/pkg/dkms/usr/share/bash-completion/completions /tmp/dkms/pkg/dkms/usr/share /tmp/dkms/pkg/dkms/usr/lib/dkms
# sed -e "s/\[INSERT_VERSION_HERE\]/2.2.1.0/" dkms > dkms.versioned
# mv -f dkms.versioned dkms
# install -p -m 0755 dkms_common.postinst /tmp/dkms/pkg/dkms/usr/lib/dkms/common.postinst
# install -p -m 0755 dkms /tmp/dkms/pkg/dkms/usr/bin
# install -p -m 0755 dkms_autoinstaller /tmp/dkms/pkg/dkms/usr/lib/dkms
# install -p -m 0644 dkms_framework.conf /tmp/dkms/pkg/dkms/etc/dkms/framework.conf
# install -p -m 0644 dkms_dbversion /tmp/dkms/pkg/dkms/var/lib/dkms
# install -p -m 0644 dkms.bash-completion /tmp/dkms/pkg/dkms/usr/share/bash-completion/completions/dkms
# # install compressed manpage with proper timestamp and permissions
# gzip -c -9 dkms.8 > /tmp/dkms/pkg/dkms/usr/share/man/man8/dkms.8.gz
# chmod 0644 /tmp/dkms/pkg/dkms/usr/share/man/man8/dkms.8.gz
# touch --reference=dkms.8 /tmp/dkms/pkg/dkms/usr/share/man/man8/dkms.8.gz
# mkdir -p -m 0755 /tmp/dkms/pkg/dkms/etc/kernel/prerm.d /tmp/dkms/pkg/dkms/etc/kernel/postinst.d
# install -p -m 0755 kernel_prerm.d_dkms /tmp/dkms/pkg/dkms/etc/kernel/prerm.d/dkms
# install -p -m 0755 kernel_postinst.d_dkms /tmp/dkms/pkg/dkms/etc/kernel/postinst.d/dkms
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "dkms"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Adding install file...
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: dkms 2.2.0.3+git151023-11 (Wed Apr 5 01:12:00 UTC 2017)

CMD: pacman --query --file dkms-2.2.0.3+git151023-11-any.pkg.tar.xz
# dkms 2.2.0.3+git151023-11

Creating hybrid package for 'dkms'

Trying to find vanilla package 'dkms'...

CMD: pacman --query --file /mirror/dkms-2.2.0.3+git151023-11.pkg.tar.xz
# dkms 2.2.0.3+git151023-11

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.INSTALL
# /.MTREE
# /etc/dkms/framework.conf
# /usr/share/libalpm/hooks/70-dkms-install.hook
# /usr/share/libalpm/hooks/70-dkms-remove.hook
# /usr/share/man/man8/dkms.8.gz
# /usr/share/bash-completion/completions/dkms
# /usr/lib/dkms/alpm-hook
# /usr/lib/dkms/common.postinst
# /usr/lib/dkms/dkms_autoinstaller
# /usr/bin/dkms
# /var/lib/dkms/dkms_dbversion
# /sysroot/usr/lib/dkms/alpm-hook
# /sysroot/usr/lib/dkms/common.postinst
# /sysroot/usr/lib/dkms/dkms_autoinstaller

Generating .MTREE

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

Tar-ing up files

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

CMD: xz -c -z

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

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

Created package at path /var/cache/pacman/pkg/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/dkms.pkg.tar.xz
# ==> Extracting database to a temporary location...
# ==> Extracting database to a temporary location...
# ==> Adding package '/var/cache/pacman/pkg/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'