Build of glyr with musl toolchain

The build took 00h 01m 09s and was NOT successful.

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

SLOCLanguage
13,516 ansic
1,052 python
75 ruby
14,643 total

The process tree of the build process is here.

List of Errors

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: glyr 1.0.8-1 (Wed Apr 5 02:14:11 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
# -- Found PkgConfig: /usr/sbin/pkg-config (found version "0.29.1")
# -- Building Target: release
# -- Found CURL: /usr/lib64/libcurl.so (found version "7.49.1")
# -- Checking for modules 'glib-2.0>=2.10;gthread-2.0'
# -- Found glib-2.0, version 2.48.1
# -- Found gthread-2.0, version 2.48.1
# -- Checking for module 'sqlite3'
# -- Found sqlite3, version 3.13.0
# -- Configuring done
# -- Generating done
# -- Build files have been written to: /tmp/glyr/src/glyr-1.0.8
# Scanning dependencies of target glyr
# [ 3%] Building C object lib/CMakeFiles/glyr.dir/glyr.c.o
# [ 3%] Building C object lib/CMakeFiles/glyr.dir/core.c.o
# [ 3%] Building C object lib/CMakeFiles/glyr.dir/misc.c.o
# [ 4%] Building C object lib/CMakeFiles/glyr.dir/cache_intern.c.o
# /tmp/glyr/src/glyr-1.0.8/lib/core.c:22:10: fatal error: 'curl/multi.h' file not found
# #include
# ^
# In file included from /tmp/glyr/src/glyr-1.0.8/lib/misc.c:21:
# In file included from In file included from /tmp/glyr/src/glyr-1.0.8/lib/stringlib.h/tmp/glyr/src/glyr-1.0.8/lib/cache_intern.c::2420:
# :
# /tmp/glyr/src/glyr-1.0.8/lib/types.hIn file included from :/tmp/glyr/src/glyr-1.0.8/lib/core.h41::2410:
# :/tmp/glyr/src/glyr-1.0.8/lib/types.h :fatal error41: :'sqlite3.h' file not found10
# : fatal error: 'sqlite3.h' file not found
# #include
# ^
# #include
# ^
# 1 error generated.
# make[2]: *** [lib/CMakeFiles/glyr.dir/build.make:111: lib/CMakeFiles/glyr.dir/misc.c.o] Error 1
# make[2]: *** Waiting for unfinished jobs....
# In file included from /tmp/glyr/src/glyr-1.0.8/lib/glyr.c:24:
# In file included from /tmp/glyr/src/glyr-1.0.8/lib/glyr.h:35:
# /tmp/glyr/src/glyr-1.0.8/lib/types.h:41:10: fatal error: 'sqlite3.h' file not found
# #include
# ^
# 1 error generated.
# make[2]: *** [lib/CMakeFiles/glyr.dir/build.make:135: lib/CMakeFiles/glyr.dir/cache_intern.c.o] Error 1
# 1 error generated.
# make[2]: *** [lib/CMakeFiles/glyr.dir/build.make:87: lib/CMakeFiles/glyr.dir/core.c.o] Error 1
# 1 error generated.
# make[2]: *** [lib/CMakeFiles/glyr.dir/build.make:63: lib/CMakeFiles/glyr.dir/glyr.c.o] Error 1
# make[1]: *** [CMakeFiles/Makefile2:150: lib/CMakeFiles/glyr.dir/all] Error 2
# make: *** [Makefile:128: all] Error 2
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing Cmake output

CMD: Cmake output '/tmp/glyr/src/glyr-1.0.8/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/glyr/src/glyr-1.0.8/CMakeFiles/3.5.2/CompilerIdC/a.out"
#
# Determining if the C compiler works passed with the following output:
# Change Dir: /tmp/glyr/src/glyr-1.0.8/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_83b51/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_83b51.dir/build.make CMakeFiles/cmTC_83b51.dir/build
# make[1]: Entering directory '/tmp/glyr/src/glyr-1.0.8/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_83b51.dir/testCCompiler.c.o
# /sysroot/bin/clang -o CMakeFiles/cmTC_83b51.dir/testCCompiler.c.o -c /tmp/glyr/src/glyr-1.0.8/CMakeFiles/CMakeTmp/testCCompiler.c
# Linking C executable cmTC_83b51
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_83b51.dir/link.txt --verbose=1
# /sysroot/bin/clang CMakeFiles/cmTC_83b51.dir/testCCompiler.c.o -o cmTC_83b51 -rdynamic
# make[1]: Leaving directory '/tmp/glyr/src/glyr-1.0.8/CMakeFiles/CMakeTmp'
#
#
# Detecting C compiler ABI info compiled with the following output:
# Change Dir: /tmp/glyr/src/glyr-1.0.8/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_305fa/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_305fa.dir/build.make CMakeFiles/cmTC_305fa.dir/build
# make[1]: Entering directory '/tmp/glyr/src/glyr-1.0.8/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_305fa.dir/CMakeCCompilerABI.c.o
# /sysroot/bin/clang -o CMakeFiles/cmTC_305fa.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.5/Modules/CMakeCCompilerABI.c
# Linking C executable cmTC_305fa
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_305fa.dir/link.txt --verbose=1
# /sysroot/bin/clang -v CMakeFiles/cmTC_305fa.dir/CMakeCCompilerABI.c.o -o cmTC_305fa -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_305fa /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_305fa.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/glyr/src/glyr-1.0.8/CMakeFiles/CMakeTmp'
#
#
# Parsed C implicit link information from above output:
# link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)]
# ignore line: [Change Dir: /tmp/glyr/src/glyr-1.0.8/CMakeFiles/CMakeTmp]
# ignore line: []
# ignore line: [Run Build Command:"/usr/sbin/make" "cmTC_305fa/fast"]
# ignore line: [/usr/sbin/make -f CMakeFiles/cmTC_305fa.dir/build.make CMakeFiles/cmTC_305fa.dir/build]
# ignore line: [make[1]: Entering directory '/tmp/glyr/src/glyr-1.0.8/CMakeFiles/CMakeTmp']
# ignore line: [Building C object CMakeFiles/cmTC_305fa.dir/CMakeCCompilerABI.c.o]
# ignore line: [/sysroot/bin/clang -o CMakeFiles/cmTC_305fa.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.5/Modules/CMakeCCompilerABI.c]
# ignore line: [Linking C executable cmTC_305fa]
# ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_305fa.dir/link.txt --verbose=1]
# ignore line: [/sysroot/bin/clang -v CMakeFiles/cmTC_305fa.dir/CMakeCCompilerABI.c.o -o cmTC_305fa -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_305fa /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_305fa.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_305fa] ==> 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_305fa.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/glyr/src/glyr-1.0.8/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_969e6/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_969e6.dir/build.make CMakeFiles/cmTC_969e6.dir/build
# make[1]: Entering directory '/tmp/glyr/src/glyr-1.0.8/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_969e6.dir/feature_tests.c.o
# /sysroot/bin/clang -std=c11 -o CMakeFiles/cmTC_969e6.dir/feature_tests.c.o -c /tmp/glyr/src/glyr-1.0.8/CMakeFiles/feature_tests.c
# Linking C executable cmTC_969e6
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_969e6.dir/link.txt --verbose=1
# /sysroot/bin/clang CMakeFiles/cmTC_969e6.dir/feature_tests.c.o -o cmTC_969e6 -rdynamic
# make[1]: Leaving directory '/tmp/glyr/src/glyr-1.0.8/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/glyr/src/glyr-1.0.8/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_f42b8/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_f42b8.dir/build.make CMakeFiles/cmTC_f42b8.dir/build
# make[1]: Entering directory '/tmp/glyr/src/glyr-1.0.8/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_f42b8.dir/feature_tests.c.o
# /sysroot/bin/clang -std=c99 -o CMakeFiles/cmTC_f42b8.dir/feature_tests.c.o -c /tmp/glyr/src/glyr-1.0.8/CMakeFiles/feature_tests.c
# Linking C executable cmTC_f42b8
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f42b8.dir/link.txt --verbose=1
# /sysroot/bin/clang CMakeFiles/cmTC_f42b8.dir/feature_tests.c.o -o cmTC_f42b8 -rdynamic
# make[1]: Leaving directory '/tmp/glyr/src/glyr-1.0.8/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/glyr/src/glyr-1.0.8/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_b44a3/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_b44a3.dir/build.make CMakeFiles/cmTC_b44a3.dir/build
# make[1]: Entering directory '/tmp/glyr/src/glyr-1.0.8/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_b44a3.dir/feature_tests.c.o
# /sysroot/bin/clang -std=c90 -o CMakeFiles/cmTC_b44a3.dir/feature_tests.c.o -c /tmp/glyr/src/glyr-1.0.8/CMakeFiles/feature_tests.c
# Linking C executable cmTC_b44a3
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b44a3.dir/link.txt --verbose=1
# /sysroot/bin/clang CMakeFiles/cmTC_b44a3.dir/feature_tests.c.o -o cmTC_b44a3 -rdynamic
# make[1]: Leaving directory '/tmp/glyr/src/glyr-1.0.8/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