Build of opencl-headers with musl toolchain

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

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

SLOCLanguage
16,754 cpp
2,684 ansic
19,438 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: opencl-headers 2:2.1.20151224-1 (Wed Apr 5 01:13:37 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Entering fakeroot environment...
# ==> Starting package()...
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "opencl-headers"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: opencl-headers 2:2.1.20151224-1 (Wed Apr 5 01:13:41 UTC 2017)

CMD: pacman --query --file opencl-headers-2:2.1.20151224-1-any.pkg.tar.xz
# opencl-headers 2:2.1.20151224-1

Creating hybrid package for 'opencl-headers'

Trying to find vanilla package 'opencl-headers'...

CMD: pacman --query --file /mirror/pyopencl-headers-1:2016.1-1.pkg.tar.xz
# pyopencl-headers 1:2016.1-1

CMD: pacman --query --file /mirror/opencl-headers-2:2.1.20151224-1.pkg.tar.xz
# opencl-headers 2:2.1.20151224-1

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/include/CL/cl.h
# /usr/include/CL/cl.hpp
# /usr/include/CL/cl2.hpp
# /usr/include/CL/cl_egl.h
# /usr/include/CL/cl_ext.h
# /usr/include/CL/cl_gl.h
# /usr/include/CL/cl_gl_ext.h
# /usr/include/CL/cl_platform.h
# /usr/include/CL/opencl.h
# /usr/share/licenses/opencl-headers/LICENSE
# /sysroot/usr/include/CL/cl.h
# /sysroot/usr/include/CL/cl.hpp
# /sysroot/usr/include/CL/cl2.hpp
# /sysroot/usr/include/CL/cl_egl.h
# /sysroot/usr/include/CL/cl_ext.h
# /sysroot/usr/include/CL/cl_gl.h
# /sysroot/usr/include/CL/cl_gl_ext.h
# /sysroot/usr/include/CL/cl_platform.h
# /sysroot/usr/include/CL/opencl.h

Generating .MTREE

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

Tar-ing up files

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

CMD: xz -c -z

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

CMD: bsdtar -tqf opencl-headers.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/opencl-headers.pkg.tar.xz

Attempting to access local repository, attempt 1

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

Attempting to access local repository, attempt 2

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