Build of zita-resampler with musl toolchain

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

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

SLOCLanguage
1,509 cpp
72 makefile
1,581 total

The process tree of the build process is here.

Several sub-process invocations were improper; see the process tree for details. Summary:

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: zita-resampler 1.3.0-5 (Wed Apr 5 01:50:44 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# clang++ -Wall -fPIC -O2 -ffast-math -march=native -I. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -c -o resampler.o resampler.cc
# clang++ -Wall -fPIC -O2 -ffast-math -march=native -I. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -c -o vresampler.o vresampler.cc
# clang++ -Wall -fPIC -O2 -ffast-math -march=native -I. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -c -o resampler-table.o resampler-table.cc
# In file included from resampler.cc:25:
# ./zita-resampler/resampler.h:72:26: warning: private field '_dummy' is not used [-Wunused-private-field]
# void *_dummy [8];
# ^
# In file included from vresampler.cc:25:
# ./zita-resampler/vresampler.h:79:26: warning: private field '_dummy' is not used [-Wunused-private-field]
# void *_dummy [8];
# ^
# 1 warning generated.
# 1 warning generated.
# g++ -shared -Wl,-soname,libzita-resampler.so.1 -o libzita-resampler.so.1.3.0 resampler.o vresampler.o resampler-table.o
# clang++ -I../libs -O3 -ffast-math -Wall -march=native -MMD -MP -DVERSION=\"0.4.0\" -c -o zresample.o zresample.cc
# clang++ -I../libs -O3 -ffast-math -Wall -march=native -MMD -MP -DVERSION=\"0.4.0\" -c -o audiofile.o audiofile.cc
# clang++ -I../libs -O3 -ffast-math -Wall -march=native -MMD -MP -DVERSION=\"0.4.0\" -c -o dither.o dither.cc
# clang++ -I../libs -O3 -ffast-math -Wall -march=native -MMD -MP -DVERSION=\"0.4.0\" -c -o zretune.o zretune.cc
# In file included from audiofile.cc:23:
# ./audiofile.h:27:10: fatal error: 'sndfile.h' file not found
# #include
# ^
# 1 error generated.
# make: *** [: audiofile.o] Error 1
# make: *** Waiting for unfinished jobs....
# In file included from zretune.cc:27:
# ./audiofile.h:27:10: fatal error: 'sndfile.h' file not found
# #include
# ^
# 1 error generated.
# make: *** [: zretune.o] Error 1
# In file included from zresample.cc:27:
# ./audiofile.h:27:10: fatal error: 'sndfile.h' file not found
# #include
# ^
# 1 error generated.
# make: *** [: zresample.o] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...