Build of hexer with musl toolchain

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

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

SLOCLanguage
11,799 ansic
80 makefile
11,879 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: hexer 0.2.3-1 (Wed Apr 5 00:28:14 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# clang -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64 -DHEXER_VERSION=\"0.2.3\" -c -o buffer.o buffer.c
# clang -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64 -DHEXER_VERSION=\"0.2.3\" -c -o tio.o tio.c
# clang -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64 -DHEXER_VERSION=\"0.2.3\" -c -o edit.o edit.c
# clang -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64 -DHEXER_VERSION=\"0.2.3\" -c -o main.o main.c
# In file included from main.c:68:
# ./hexer.h:59:7: warning: incompatible redeclaration of library function 'alloca' [-Wincompatible-library-redeclaration]
# char *alloca(size_t);
# ^
# ./hexer.h:59:7: note: 'alloca' is a builtin with type 'void *(unsigned long)'
# In file included from main.c:70:
# ./readline.h:49:54: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
# extern char **(*completer)(const char *prefix, const const char *command,
# ^
# edit.c:55:10: fatal error: 'curses.h' file not found
# #include
# ^
# tio.c:73:10: fatal error: 'termio.h' file not found
# #include
# ^
# 2 warnings generated.
# clang -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64 -DHEXER_VERSION=\"0.2.3\" -c -o hexer.o hexer.c
# 1 error generated.
# make: *** [: tio.o] Error 1
# make: *** Waiting for unfinished jobs....
# In file included from hexer.c:64:
# ./hexer.h:59:7: error: conflicting types for '__builtin_alloca'
# char *alloca(size_t);
# ^
# /sysroot/include/alloca.h:14:16: note: expanded from macro 'alloca'
# #define alloca __builtin_alloca
# ^
# ./hexer.h:59:7: note: '__builtin_alloca' is a builtin with type 'void *(unsigned long)'
# /sysroot/include/alloca.h:14:16: note: expanded from macro 'alloca'
# #define alloca __builtin_alloca
# ^
# In file included from hexer.c:67:
# ./readline.h:49:54: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
# extern char **(*completer)(const char *prefix, const const char *command,
# ^
# 1 error generated.
# make: *** [: edit.o] Error 1
# 1 warning and 1 error generated.
# make: *** [: hexer.o] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...