Build of libreplaygain with musl toolchain

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

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

SLOCLanguage
790 ansic
790 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: libreplaygain 475-2 (Tue Apr 4 23:48:54 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# -- The C compiler identification is Clang 3.8.1
# -- Check for working C compiler: /sysroot/bin/clang
# -- Check for working C compiler: /sysroot/bin/clang -- works
# -- Detecting C compiler ABI info
# -- Detecting C compiler ABI info - done
# -- Detecting C compile features
# -- Detecting C compile features - done
# -- Configuring done
# -- Generating done
# -- Build files have been written to: /tmp/libreplaygain/src/build
# Scanning dependencies of target replaygain-static
# Scanning dependencies of target replaygain-shared
# [ 25%] Building C object src/CMakeFiles/replaygain-static.dir/gain_analysis.o
# [ 50%] Building C object src/CMakeFiles/replaygain-shared.dir/gain_analysis.o
# [ 75%] Linking C shared library libreplaygain.so
# [100%] Linking C static library libreplaygain.a
# [100%] Built target replaygain-shared
# [100%] Built target replaygain-static
# ==> Entering fakeroot environment...
# ==> Starting package()...
# [100%] Built target replaygain-shared
# [100%] Built target replaygain-static
# Install the project...
# -- Install configuration: "Release"
# -- Installing: /tmp/libreplaygain/pkg/libreplaygain/usr/lib/libreplaygain.a
# -- Installing: /tmp/libreplaygain/pkg/libreplaygain/usr/lib/libreplaygain.so.1.0.0
# -- Installing: /tmp/libreplaygain/pkg/libreplaygain/usr/lib/libreplaygain.so.1
# -- Installing: /tmp/libreplaygain/pkg/libreplaygain/usr/lib/libreplaygain.so
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "libreplaygain"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: libreplaygain 475-2 (Tue Apr 4 23:48:57 UTC 2017)

CMD: pacman --query --file libreplaygain-475-2-x86_64.pkg.tar.xz
# libreplaygain 475-2

Creating hybrid package for 'libreplaygain'

Trying to find vanilla package 'libreplaygain'...

CMD: pacman --query --file /mirror/libreplaygain-475-2.pkg.tar.xz
# libreplaygain 475-2

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/lib/libreplaygain.so.1.0.0
# /usr/lib/libreplaygain.so.1
# /usr/lib/libreplaygain.so
# /usr/include/replaygain/gain_analysis.h
# /sysroot/usr/lib/libreplaygain.a
# /sysroot/usr/lib/libreplaygain.so.1.0.0
# /sysroot/usr/lib/libreplaygain.so.1
# /sysroot/usr/lib/libreplaygain.so
# /sysroot/usr/include/replaygain/gain_analysis.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 libreplaygain.pkg.tar.xz .PKGINFO
# .PKGINFO

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

Attempting to access local repository, attempt 1

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

Printing Cmake output

CMD: Cmake output '/tmp/libreplaygain/src/build/CMakeFiles/CMakeOutput.log'
# The system is: Linux - 4.10.6-1-ARCH - x86_64
# Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
# Compiler: /sysroot/bin/clang
# Build flags:
# Id flags:
#
# The output was:
# 0
#
#
# Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
#
# The C compiler identification is Clang, found in "/tmp/libreplaygain/src/build/CMakeFiles/3.5.2/CompilerIdC/a.out"
#
# Determining if the C compiler works passed with the following output:
# Change Dir: /tmp/libreplaygain/src/build/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_81510/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_81510.dir/build.make CMakeFiles/cmTC_81510.dir/build
# make[1]: Entering directory '/tmp/libreplaygain/src/build/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_81510.dir/testCCompiler.c.o
# /sysroot/bin/clang -o CMakeFiles/cmTC_81510.dir/testCCompiler.c.o -c /tmp/libreplaygain/src/build/CMakeFiles/CMakeTmp/testCCompiler.c
# Linking C executable cmTC_81510
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_81510.dir/link.txt --verbose=1
# /sysroot/bin/clang CMakeFiles/cmTC_81510.dir/testCCompiler.c.o -o cmTC_81510 -rdynamic
# make[1]: Leaving directory '/tmp/libreplaygain/src/build/CMakeFiles/CMakeTmp'
#
#
# Detecting C compiler ABI info compiled with the following output:
# Change Dir: /tmp/libreplaygain/src/build/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_f2cc8/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_f2cc8.dir/build.make CMakeFiles/cmTC_f2cc8.dir/build
# make[1]: Entering directory '/tmp/libreplaygain/src/build/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_f2cc8.dir/CMakeCCompilerABI.c.o
# /sysroot/bin/clang -o CMakeFiles/cmTC_f2cc8.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.5/Modules/CMakeCCompilerABI.c
# Linking C executable cmTC_f2cc8
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f2cc8.dir/link.txt --verbose=1
# /sysroot/bin/clang -v CMakeFiles/cmTC_f2cc8.dir/CMakeCCompilerABI.c.o -o cmTC_f2cc8 -rdynamic
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /sysroot/bin
# "/sysroot/bin/ld" --sysroot=/sysroot -export-dynamic --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_f2cc8 /sysroot/bin/../lib/crt1.o /sysroot/bin/../lib/crti.o /sysroot/bin/../lib/clang/3.8.1/crtbegin.o -L/sysroot/bin/../lib -L/sysroot/lib CMakeFiles/cmTC_f2cc8.dir/CMakeCCompilerABI.c.o /sysroot/bin/../lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a -lc /sysroot/bin/../lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a /sysroot/bin/../lib/clang/3.8.1/crtend.o /sysroot/bin/../lib/crtn.o
# make[1]: Leaving directory '/tmp/libreplaygain/src/build/CMakeFiles/CMakeTmp'
#
#
# Parsed C implicit link information from above output:
# link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)]
# ignore line: [Change Dir: /tmp/libreplaygain/src/build/CMakeFiles/CMakeTmp]
# ignore line: []
# ignore line: [Run Build Command:"/usr/sbin/make" "cmTC_f2cc8/fast"]
# ignore line: [/usr/sbin/make -f CMakeFiles/cmTC_f2cc8.dir/build.make CMakeFiles/cmTC_f2cc8.dir/build]
# ignore line: [make[1]: Entering directory '/tmp/libreplaygain/src/build/CMakeFiles/CMakeTmp']
# ignore line: [Building C object CMakeFiles/cmTC_f2cc8.dir/CMakeCCompilerABI.c.o]
# ignore line: [/sysroot/bin/clang -o CMakeFiles/cmTC_f2cc8.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.5/Modules/CMakeCCompilerABI.c]
# ignore line: [Linking C executable cmTC_f2cc8]
# ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f2cc8.dir/link.txt --verbose=1]
# ignore line: [/sysroot/bin/clang -v CMakeFiles/cmTC_f2cc8.dir/CMakeCCompilerABI.c.o -o cmTC_f2cc8 -rdynamic ]
# ignore line: [clang version 3.8.1 ]
# ignore line: [Target: x86_64-unknown-linux-gnu]
# ignore line: [Thread model: posix]
# ignore line: [InstalledDir: /sysroot/bin]
# link line: [ "/sysroot/bin/ld" --sysroot=/sysroot -export-dynamic --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_f2cc8 /sysroot/bin/../lib/crt1.o /sysroot/bin/../lib/crti.o /sysroot/bin/../lib/clang/3.8.1/crtbegin.o -L/sysroot/bin/../lib -L/sysroot/lib CMakeFiles/cmTC_f2cc8.dir/CMakeCCompilerABI.c.o /sysroot/bin/../lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a -lc /sysroot/bin/../lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a /sysroot/bin/../lib/clang/3.8.1/crtend.o /sysroot/bin/../lib/crtn.o]
# arg [/sysroot/bin/ld] ==> ignore
# arg [--sysroot=/sysroot] ==> ignore
# arg [-export-dynamic] ==> ignore
# arg [--eh-frame-hdr] ==> ignore
# arg [-m] ==> ignore
# arg [elf_x86_64] ==> ignore
# arg [-dynamic-linker] ==> ignore
# arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
# arg [-o] ==> ignore
# arg [cmTC_f2cc8] ==> ignore
# arg [/sysroot/bin/../lib/crt1.o] ==> ignore
# arg [/sysroot/bin/../lib/crti.o] ==> ignore
# arg [/sysroot/bin/../lib/clang/3.8.1/crtbegin.o] ==> ignore
# arg [-L/sysroot/bin/../lib] ==> dir [/sysroot/bin/../lib]
# arg [-L/sysroot/lib] ==> dir [/sysroot/lib]
# arg [CMakeFiles/cmTC_f2cc8.dir/CMakeCCompilerABI.c.o] ==> ignore
# arg [/sysroot/bin/../lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a] ==> lib [/sysroot/bin/../lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a]
# arg [-lc] ==> lib [c]
# arg [/sysroot/bin/../lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a] ==> lib [/sysroot/bin/../lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a]
# arg [/sysroot/bin/../lib/clang/3.8.1/crtend.o] ==> ignore
# arg [/sysroot/bin/../lib/crtn.o] ==> ignore
# collapse lib [/sysroot/bin/../lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a] ==> [/sysroot/lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a]
# collapse lib [/sysroot/bin/../lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a] ==> [/sysroot/lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a]
# collapse library dir [/sysroot/bin/../lib] ==> [/sysroot/lib]
# collapse library dir [/sysroot/lib] ==> [/sysroot/lib]
# implicit libs: [/sysroot/lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a;c;/sysroot/lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a]
# implicit dirs: [/sysroot/lib]
# implicit fwks: []
#
#
#
#
# Detecting C [-std=c11] compiler features compiled with the following output:
# Change Dir: /tmp/libreplaygain/src/build/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_d53b9/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_d53b9.dir/build.make CMakeFiles/cmTC_d53b9.dir/build
# make[1]: Entering directory '/tmp/libreplaygain/src/build/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_d53b9.dir/feature_tests.c.o
# /sysroot/bin/clang -std=c11 -o CMakeFiles/cmTC_d53b9.dir/feature_tests.c.o -c /tmp/libreplaygain/src/build/CMakeFiles/feature_tests.c
# Linking C executable cmTC_d53b9
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d53b9.dir/link.txt --verbose=1
# /sysroot/bin/clang CMakeFiles/cmTC_d53b9.dir/feature_tests.c.o -o cmTC_d53b9 -rdynamic
# make[1]: Leaving directory '/tmp/libreplaygain/src/build/CMakeFiles/CMakeTmp'
#
#
# Feature record: C_FEATURE:1c_function_prototypes
# Feature record: C_FEATURE:1c_restrict
# Feature record: C_FEATURE:1c_static_assert
# Feature record: C_FEATURE:1c_variadic_macros
#
#
# Detecting C [-std=c99] compiler features compiled with the following output:
# Change Dir: /tmp/libreplaygain/src/build/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_90296/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_90296.dir/build.make CMakeFiles/cmTC_90296.dir/build
# make[1]: Entering directory '/tmp/libreplaygain/src/build/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_90296.dir/feature_tests.c.o
# /sysroot/bin/clang -std=c99 -o CMakeFiles/cmTC_90296.dir/feature_tests.c.o -c /tmp/libreplaygain/src/build/CMakeFiles/feature_tests.c
# Linking C executable cmTC_90296
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_90296.dir/link.txt --verbose=1
# /sysroot/bin/clang CMakeFiles/cmTC_90296.dir/feature_tests.c.o -o cmTC_90296 -rdynamic
# make[1]: Leaving directory '/tmp/libreplaygain/src/build/CMakeFiles/CMakeTmp'
#
#
# Feature record: C_FEATURE:1c_function_prototypes
# Feature record: C_FEATURE:1c_restrict
# Feature record: C_FEATURE:0c_static_assert
# Feature record: C_FEATURE:1c_variadic_macros
#
#
# Detecting C [-std=c90] compiler features compiled with the following output:
# Change Dir: /tmp/libreplaygain/src/build/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_ebcc8/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_ebcc8.dir/build.make CMakeFiles/cmTC_ebcc8.dir/build
# make[1]: Entering directory '/tmp/libreplaygain/src/build/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_ebcc8.dir/feature_tests.c.o
# /sysroot/bin/clang -std=c90 -o CMakeFiles/cmTC_ebcc8.dir/feature_tests.c.o -c /tmp/libreplaygain/src/build/CMakeFiles/feature_tests.c
# Linking C executable cmTC_ebcc8
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ebcc8.dir/link.txt --verbose=1
# /sysroot/bin/clang CMakeFiles/cmTC_ebcc8.dir/feature_tests.c.o -o cmTC_ebcc8 -rdynamic
# make[1]: Leaving directory '/tmp/libreplaygain/src/build/CMakeFiles/CMakeTmp'
#
#
# Feature record: C_FEATURE:1c_function_prototypes
# Feature record: C_FEATURE:0c_restrict
# Feature record: C_FEATURE:0c_static_assert
# Feature record: C_FEATURE:0c_variadic_macros