Build of alsa-firmware with musl toolchain

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

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

SLOCLanguage
132,826 ansic
8,213 sh
7,419 makefile
267 asm
148,725 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: alsa-firmware 1.0.29-1 (Tue Apr 4 23:25:29 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# checking for x86_64-unknown-linux-gcc... clang
# checking whether the C compiler works... yes
# checking for C compiler default output file name... a.out
# checking for suffix of executables...
# checking whether we are cross compiling... yes
# checking for suffix of object files... o
# checking whether we are using the GNU C compiler... yes
# checking whether clang accepts -g... yes
# checking for clang option to accept ISO C89... none needed
# checking for a BSD-compatible install... /usr/bin/install -c
# checking whether ln -s works... yes
# checking how to run the C preprocessor... clang -E
# checking for grep that handles long lines and -e... /usr/sbin/grep
# checking for egrep... /usr/sbin/grep -E
# checking for ANSI C header files... yes
# checking whether build environment is sane... yes
# checking for x86_64-unknown-linux-strip... no
# checking for strip... strip
# configure: WARNING: using cross tools not prefixed with host triplet
# checking for a thread-safe mkdir -p... /usr/sbin/mkdir -p
# checking for gawk... gawk
# checking whether make sets $(MAKE)... yes
# checking for style of include used by make... GNU
# checking dependency style of clang... gcc3
# checking for as31... no
# checking firmware installation directory... /usr/lib/firmware
# checking that generated files are newer than configure... done
# configure: creating ./config.status
# config.status: creating Makefile
# config.status: creating hdsploader/Makefile
# config.status: creating mixartloader/Makefile
# config.status: creating usx2yloader/Makefile
# config.status: creating vxloader/Makefile
# config.status: creating pcxhrloader/Makefile
# config.status: creating echoaudio/Makefile
# config.status: creating emu/Makefile
# config.status: creating asihpi/Makefile
# config.status: creating korg1212/Makefile
# config.status: creating maestro3/Makefile
# config.status: creating multisound/Makefile
# config.status: creating sb16/Makefile
# config.status: creating wavefront/Makefile
# config.status: creating ymfpci/Makefile
# config.status: creating aica/Makefile
# config.status: creating ca0132/Makefile
# config.status: creating cs46xx/Makefile
# config.status: executing depfiles commands
# Making all in hdsploader
# make[1]: Entering directory '/tmp/alsa-firmware/src/alsa-firmware-1.0.29/hdsploader'
# clang -DPACKAGE_NAME=\"alsa-firmware\" -DPACKAGE_TARNAME=\"alsa-firmware\" -DPACKAGE_VERSION=\"1.0.29\" -DPACKAGE_STRING=\"alsa-firmware\ 1.0.29\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DPACKAGE=\"alsa-firmware\" -DVERSION=\"1.0.29\" -I. -MT tobin.o -MD -MP -MF .deps/tobin.Tpo -c -o tobin.o tobin.c
# In file included from tobin.c:6:
# ./digiface_firmware.dat:2:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
# static u_int32_t digiface_firmware[24413] = {
# ^~~~~~~~~
# uint32_t
# /sysroot/include/bits/alltypes.h:172:25: note: 'uint32_t' declared here
# typedef unsigned int uint32_t;
# ^
# In file included from tobin.c:7:
# ./digiface_firmware_rev11.dat:2:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
# static u_int32_t digiface_firmware_rev11[24413] = {
# ^~~~~~~~~
# uint32_t
# /sysroot/include/bits/alltypes.h:172:25: note: 'uint32_t' declared here
# typedef unsigned int uint32_t;
# ^
# In file included from tobin.c:8:
# ./multiface_firmware.dat:2:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
# static u_int32_t multiface_firmware[24413] = {
# ^~~~~~~~~
# uint32_t
# /sysroot/include/bits/alltypes.h:172:25: note: 'uint32_t' declared here
# typedef unsigned int uint32_t;
# ^
# In file included from tobin.c:9:
# ./multiface_firmware_rev11.dat:2:8: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
# static u_int32_t multiface_firmware_rev11[24413] = {
# ^~~~~~~~~
# uint32_t
# /sysroot/include/bits/alltypes.h:172:25: note: 'uint32_t' declared here
# typedef unsigned int uint32_t;
# ^
# tobin.c:11:20: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
# int write_bin_file(u_int32_t *array, const char *filename)
# ^~~~~~~~~
# uint32_t
# /sysroot/include/bits/alltypes.h:172:25: note: 'uint32_t' declared here
# typedef unsigned int uint32_t;
# ^
# 5 errors generated.
# make[1]: *** [Makefile:279: tobin.o] Error 1
# make[1]: Leaving directory '/tmp/alsa-firmware/src/alsa-firmware-1.0.29/hdsploader'
# make: *** [Makefile:269: all-recursive] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/alsa-firmware/src/alsa-firmware-1.0.29/config.log'
# This file contains any messages produced by compilers while
# running configure, to aid debugging if configure makes a mistake.
#
# It was created by alsa-firmware configure 1.0.29, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure --host=x86_64-unknown-linux --prefix=/usr --with-hotplug-dir=/usr/lib/firmware
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 2e123bd321dc
# uname -m = x86_64
# uname -r = 4.10.6-1-ARCH
# uname -s = Linux
# uname -v = #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017
#
# /usr/bin/uname -p = unknown
# /bin/uname -X = unknown
#
# /bin/arch = unknown
# /usr/bin/arch -k = unknown
# /usr/convex/getsysinfo = unknown
# /usr/bin/hostinfo = unknown
# /bin/machine = unknown
# /usr/bin/oslevel = unknown
# /bin/universe = unknown
#
# PATH: /sysroot/bin
# PATH: /usr/local/sbin
# PATH: /usr/local/bin
# PATH: /usr/sbin
# PATH: /usr/bin
# PATH: /sbin
# PATH: /bin
#
#
# ## ----------- ##
# ## Core tests. ##
# ## ----------- ##
#
# configure:1891: checking for x86_64-unknown-linux-gcc
# configure:1918: result: clang
# configure:2187: checking for C compiler version
# configure:2196: clang --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:2207: $? = 0
# configure:2196: clang -v >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# Found candidate GCC installation: //../lib/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Selected GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Candidate multilib: .;@m64
# Selected multilib: .;@m64
# configure:2207: $? = 0
# configure:2196: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:2207: $? = 1
# configure:2196: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:2207: $? = 1
# configure:2227: checking whether the C compiler works
# configure:2249: clang conftest.c >&5
# configure:2253: $? = 0
# configure:2301: result: yes
# configure:2304: checking for C compiler default output file name
# configure:2306: result: a.out
# configure:2312: checking for suffix of executables
# configure:2319: clang -o conftest conftest.c >&5
# configure:2323: $? = 0
# configure:2345: result:
# configure:2367: checking whether we are cross compiling
# configure:2375: clang -o conftest conftest.c >&5
# configure:2379: $? = 0
# configure:2386: ./conftest
# ./conftest: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# configure:2390: $? = 127
# configure:2405: result: yes
# configure:2410: checking for suffix of object files
# configure:2432: clang -c conftest.c >&5
# configure:2436: $? = 0
# configure:2457: result: o
# configure:2461: checking whether we are using the GNU C compiler
# configure:2480: clang -c conftest.c >&5
# configure:2480: $? = 0
# configure:2489: result: yes
# configure:2498: checking whether clang accepts -g
# configure:2518: clang -c -g conftest.c >&5
# configure:2518: $? = 0
# configure:2559: result: yes
# configure:2576: checking for clang option to accept ISO C89
# configure:2639: clang -c conftest.c >&5
# configure:2639: $? = 0
# configure:2652: result: none needed
# configure:2715: checking for a BSD-compatible install
# configure:2783: result: /usr/bin/install -c
# configure:2794: checking whether ln -s works
# configure:2798: result: yes
# configure:2811: checking how to run the C preprocessor
# configure:2842: clang -E conftest.c
# configure:2842: $? = 0
# configure:2856: clang -E conftest.c
# conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:2856: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "alsa-firmware"
# | #define PACKAGE_TARNAME "alsa-firmware"
# | #define PACKAGE_VERSION "1.0.29"
# | #define PACKAGE_STRING "alsa-firmware 1.0.29"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | /* end confdefs.h. */
# | #include
# configure:2881: result: clang -E
# configure:2901: clang -E conftest.c
# configure:2901: $? = 0
# configure:2915: clang -E conftest.c
# conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:2915: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "alsa-firmware"
# | #define PACKAGE_TARNAME "alsa-firmware"
# | #define PACKAGE_VERSION "1.0.29"
# | #define PACKAGE_STRING "alsa-firmware 1.0.29"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | /* end confdefs.h. */
# | #include
# configure:2944: checking for grep that handles long lines and -e
# configure:3002: result: /usr/sbin/grep
# configure:3007: checking for egrep
# configure:3069: result: /usr/sbin/grep -E
# configure:3074: checking for ANSI C header files
# configure:3094: clang -c conftest.c >&5
# configure:3094: $? = 0
# configure:3178: result: yes
# configure:3188: checking whether build environment is sane
# configure:3243: result: yes
# configure:3302: checking for x86_64-unknown-linux-strip
# configure:3332: result: no
# configure:3342: checking for strip
# configure:3358: found /sysroot/bin/strip
# configure:3369: result: strip
# configure:3381: WARNING: using cross tools not prefixed with host triplet
# configure:3394: checking for a thread-safe mkdir -p
# configure:3433: result: /usr/sbin/mkdir -p
# configure:3440: checking for gawk
# configure:3456: found /usr/sbin/gawk
# configure:3467: result: gawk
# configure:3478: checking whether make sets $(MAKE)
# configure:3500: result: yes
# configure:3530: checking for style of include used by make
# configure:3558: result: GNU
# configure:3650: checking dependency style of clang
# configure:3761: result: gcc3
# configure:3806: checking for as31
# configure:3839: result: no
# configure:3879: checking firmware installation directory
# configure:3903: result: /usr/lib/firmware
# configure:4053: checking that generated files are newer than configure
# configure:4059: result: done
# configure:4094: creating ./config.status
#
# ## ---------------------- ##
# ## Running config.status. ##
# ## ---------------------- ##
#
# This file was extended by alsa-firmware config.status 1.0.29, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# CONFIG_FILES =
# CONFIG_HEADERS =
# CONFIG_LINKS =
# CONFIG_COMMANDS =
# $ ./config.status
#
# on 2e123bd321dc
#
# config.status:798: creating Makefile
# config.status:798: creating hdsploader/Makefile
# config.status:798: creating mixartloader/Makefile
# config.status:798: creating usx2yloader/Makefile
# config.status:798: creating vxloader/Makefile
# config.status:798: creating pcxhrloader/Makefile
# config.status:798: creating echoaudio/Makefile
# config.status:798: creating emu/Makefile
# config.status:798: creating asihpi/Makefile
# config.status:798: creating korg1212/Makefile
# config.status:798: creating maestro3/Makefile
# config.status:798: creating multisound/Makefile
# config.status:798: creating sb16/Makefile
# config.status:798: creating wavefront/Makefile
# config.status:798: creating ymfpci/Makefile
# config.status:798: creating aica/Makefile
# config.status:798: creating ca0132/Makefile
# config.status:798: creating cs46xx/Makefile
# config.status:970: executing depfiles commands
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_c_compiler_gnu=yes
# ac_cv_env_CC_set=set
# ac_cv_env_CC_value=clang
# ac_cv_env_CFLAGS_set=set
# ac_cv_env_CFLAGS_value=
# ac_cv_env_CPPFLAGS_set=set
# ac_cv_env_CPPFLAGS_value=
# ac_cv_env_CPP_set=
# ac_cv_env_CPP_value=
# ac_cv_env_LDFLAGS_set=set
# ac_cv_env_LDFLAGS_value=
# ac_cv_env_LIBS_set=
# ac_cv_env_LIBS_value=
# ac_cv_env_build_alias_set=
# ac_cv_env_build_alias_value=
# ac_cv_env_host_alias_set=set
# ac_cv_env_host_alias_value=x86_64-unknown-linux
# ac_cv_env_target_alias_set=
# ac_cv_env_target_alias_value=
# ac_cv_header_stdc=yes
# ac_cv_objext=o
# ac_cv_path_EGREP='/usr/sbin/grep -E'
# ac_cv_path_GREP=/usr/sbin/grep
# ac_cv_path_install='/usr/bin/install -c'
# ac_cv_path_mkdir=/usr/sbin/mkdir
# ac_cv_prog_AWK=gawk
# ac_cv_prog_CC=clang
# ac_cv_prog_CPP='clang -E'
# ac_cv_prog_ac_ct_STRIP=strip
# ac_cv_prog_cc_c89=
# ac_cv_prog_cc_g=yes
# ac_cv_prog_make_make_set=yes
# am_cv_CC_dependencies_compiler_type=gcc3
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# ACLOCAL='${SHELL} /tmp/alsa-firmware/src/alsa-firmware-1.0.29/missing --run aclocal-1.12'
# AMDEPBACKSLASH='\'
# AMDEP_FALSE='#'
# AMDEP_TRUE=''
# AMTAR='$${TAR-tar}'
# AS31=''
# AS31_FLAGS='-Fhex'
# AUTOCONF='${SHELL} /tmp/alsa-firmware/src/alsa-firmware-1.0.29/missing --run autoconf'
# AUTOHEADER='${SHELL} /tmp/alsa-firmware/src/alsa-firmware-1.0.29/missing --run autoheader'
# AUTOMAKE='${SHELL} /tmp/alsa-firmware/src/alsa-firmware-1.0.29/missing --run automake-1.12'
# AWK='gawk'
# BUILD_FW_FALSE=''
# BUILD_FW_TRUE='#'
# CC='clang'
# CCDEPMODE='depmode=gcc3'
# CFLAGS=''
# CPP='clang -E'
# CPPFLAGS=''
# CYGPATH_W='echo'
# DEFS='-DPACKAGE_NAME=\"alsa-firmware\" -DPACKAGE_TARNAME=\"alsa-firmware\" -DPACKAGE_VERSION=\"1.0.29\" -DPACKAGE_STRING=\"alsa-firmware\ 1.0.29\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DPACKAGE=\"alsa-firmware\" -DVERSION=\"1.0.29\"'
# DEPDIR='.deps'
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP='/usr/sbin/grep -E'
# EXEEXT=''
# GREP='/usr/sbin/grep'
# HOTPLUGFWDIR='/usr/lib/firmware'
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
# LDFLAGS=''
# LIBOBJS=''
# LIBS=''
# LN_S='ln -s'
# LTLIBOBJS=''
# MAKEINFO='${SHELL} /tmp/alsa-firmware/src/alsa-firmware-1.0.29/missing --run makeinfo'
# MKDIR_P='/usr/sbin/mkdir -p'
# OBJEXT='o'
# PACKAGE='alsa-firmware'
# PACKAGE_BUGREPORT=''
# PACKAGE_NAME='alsa-firmware'
# PACKAGE_STRING='alsa-firmware 1.0.29'
# PACKAGE_TARNAME='alsa-firmware'
# PACKAGE_URL=''
# PACKAGE_VERSION='1.0.29'
# PATH_SEPARATOR=':'
# SET_MAKE=''
# SHELL='/bin/sh'
# STRIP='strip'
# USE_HOTPLUG_FALSE='#'
# USE_HOTPLUG_TRUE=''
# USE_LOADER_FALSE='#'
# USE_LOADER_TRUE=''
# VERSION='1.0.29'
# ac_ct_CC=''
# am__EXEEXT_FALSE=''
# am__EXEEXT_TRUE='#'
# am__fastdepCC_FALSE='#'
# am__fastdepCC_TRUE=''
# am__include='include'
# am__isrc=''
# am__leading_dot='.'
# am__nodep='_no'
# am__quote=''
# am__tar='$${TAR-tar} chof - "$$tardir"'
# am__untar='$${TAR-tar} xf -'
# bindir='${exec_prefix}/bin'
# build_alias=''
# datadir='${datarootdir}'
# datarootdir='${prefix}/share'
# docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
# dvidir='${docdir}'
# exec_prefix='${prefix}'
# host_alias='x86_64-unknown-linux'
# htmldir='${docdir}'
# includedir='${prefix}/include'
# infodir='${datarootdir}/info'
# install_sh='${SHELL} /tmp/alsa-firmware/src/alsa-firmware-1.0.29/install-sh'
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localedir='${datarootdir}/locale'
# localstatedir='${prefix}/var'
# mandir='${datarootdir}/man'
# mkdir_p='$(MKDIR_P)'
# oldincludedir='/usr/include'
# pdfdir='${docdir}'
# prefix='/usr'
# program_transform_name='s,x,x,'
# psdir='${docdir}'
# sbindir='${exec_prefix}/sbin'
# sharedstatedir='${prefix}/com'
# sysconfdir='${prefix}/etc'
# target_alias=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# /* confdefs.h */
# #define PACKAGE_NAME "alsa-firmware"
# #define PACKAGE_TARNAME "alsa-firmware"
# #define PACKAGE_VERSION "1.0.29"
# #define PACKAGE_STRING "alsa-firmware 1.0.29"
# #define PACKAGE_BUGREPORT ""
# #define PACKAGE_URL ""
# #define STDC_HEADERS 1
# #define PACKAGE "alsa-firmware"
# #define VERSION "1.0.29"
#
# configure: exit 0