Build of pyalpm 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
1,919 ansic
1,099 python
3,018 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: pyalpm 0.8-1 (Wed Apr 5 01:13:40 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# running build
# running build_py
# creating build
# creating build/lib.linux-x86_64-3.5
# creating build/lib.linux-x86_64-3.5/pycman
# copying pycman/action_deptest.py -> build/lib.linux-x86_64-3.5/pycman
# copying pycman/action_remove.py -> build/lib.linux-x86_64-3.5/pycman
# copying pycman/transaction.py -> build/lib.linux-x86_64-3.5/pycman
# copying pycman/__init__.py -> build/lib.linux-x86_64-3.5/pycman
# copying pycman/pkginfo.py -> build/lib.linux-x86_64-3.5/pycman
# copying pycman/action_sync.py -> build/lib.linux-x86_64-3.5/pycman
# copying pycman/action_database.py -> build/lib.linux-x86_64-3.5/pycman
# copying pycman/config.py -> build/lib.linux-x86_64-3.5/pycman
# copying pycman/action_upgrade.py -> build/lib.linux-x86_64-3.5/pycman
# copying pycman/action_query.py -> build/lib.linux-x86_64-3.5/pycman
# copying pycman/action_version.py -> build/lib.linux-x86_64-3.5/pycman
# running build_ext
# building 'pyalpm' extension
# creating build/temp.linux-x86_64-3.5
# creating build/temp.linux-x86_64-3.5/src
# clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python3.5m -c src/pyalpm.c -o build/temp.linux-x86_64-3.5/src/pyalpm.o -Wall -Wextra -Wconversion -Wno-unused-parameter -Wno-unused-function -Wno-format -Wdeclaration-after-statement -ansi -D_FILE_OFFSET_BITS=64 -DVERSION="0.8"
# In file included from src/pyalpm.c:21:
# src/pyalpm.h:23:10: fatal error: 'alpm.h' file not found
# #include
# ^
# 1 error generated.
# error: command 'clang' failed with exit status 1
# ==> ERROR: A failure occurred in build().
# Aborting...