Build of ustr with musl toolchain

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

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

SLOCLanguage
19,289 ansic
1,162 sh
875 makefile
778 perl
22,104 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: ustr 1.0.4-4 (Wed Apr 5 00:45:53 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# Compiling: auto configuration test: 64bit
# Compiling: auto configuration test: vsnprintf
# Creating ustr-import
# Creating ustr-conf.h
# Creating ustr-conf-debug.h
# ./autoconf_64b: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# ./autoconf_64b: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# ./autoconf_64b: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# ./autoconf_vsnprintf: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# ./autoconf_vsnprintf: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# ./autoconf_vsnprintf: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# Compiling for A DBG lib: ustr-b-dbg-code.c
# Compiling for A DBG lib: ustr-cmp-dbg-code.c
# Compiling for A DBG lib: ustr-fmt-dbg-code.c
# Compiling for A DBG lib: ustr-io-dbg-code.c
# In file included from ustr-io-dbg-code.c:11:
# ./ustr-main.h:204:34: error: expected value in expression
# #if USTR_CONF_HAVE_64bit_SIZE_MAX
# ^
# ./ustr-main.hIn file included from :327ustr-cmp-dbg-code.c::3411::
# ./ustr-main.herror:: 204expected value in expression:
# 34: error: expected value in expression
# #if USTR_CONF_HAVE_64bit_SIZE_MAX
# ^
# #if USTR_CONF_HAVE_64bit_SIZE_MAX
# ^
# ./ustr-main.h:327:34: error: expected value in expression
# #if USTR_CONF_HAVE_64bit_SIZE_MAX
# ^
# In file included from ustr-fmt-dbg-code.c:11:
# ./ustr-main.h:204:34: error: expected value in expression
# #if USTR_CONF_HAVE_64bit_SIZE_MAX
# ^
# ./ustr-main.h:327:34: error: expected value in expression
# #if USTR_CONF_HAVE_64bit_SIZE_MAX
# ^
# ./ustr-main.h:865:34: error: expected value in expression
# #if USTR_CONF_HAVE_64bit_SIZE_MAX
# ^
# ./ustr-main.h:865:34: error: expected value in expression
# #if USTR_CONF_HAVE_64bit_SIZE_MAX
# ^
# ./ustr-main.h:865:34: error: expected value in expression
# #if USTR_CONF_HAVE_64bit_SIZE_MAX
# ^
# In file included from ustr-io-dbg-code.c:20:
# In file included from ./ustr-io.h:71:
# ./ustr-io-code.h:14:15: warning: nonnull parameter 'ps1' will evaluate to 'true' on first encounter [-Wpointer-bool-conversion]
# USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1) && fp);
# ^~~ ~~
# ./ustr-main.h:52:40: note: expanded from macro 'USTR_ASSERT'
# # define USTR_ASSERT(x) assert(x)
# ^
# /sysroot/include/assert.h:8:28: note: expanded from macro 'assert'
# #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
# ^
# In file included from ustr-io-dbg-code.c:20:
# In file included from ./ustr-io.h:71:
# ./ustr-io-code.h:14:56: warning: nonnull parameter 'fp' will evaluate to 'true' on first encounter [-Wpointer-bool-conversion]
# USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1) && fp);
# ~~ ^~
# ./ustr-main.h:52:40: note: expanded from macro 'USTR_ASSERT'
# # define USTR_ASSERT(x) assert(x)
# ^
# /sysroot/include/assert.h:8:28: note: expanded from macro 'assert'
# #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
# ^
# In file included from ustr-cmp-dbg-code.c:20:
# ./ustr-cmp.h:164:40: warning: nonnull parameter 'buf' will evaluate to 'true' on first encounter [-Wpointer-bool-conversion]
# USTR_ASSERT(ustr_assert_valid(s1) && buf);
# ~~ ^~~
# ./ustr-main.h:52:40: note: expanded from macro 'USTR_ASSERT'
# # define USTR_ASSERT(x) assert(x)
# ^
# /sysroot/include/assert.h:8:28: note: expanded from macro 'assert'
# #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
# ^
# In file included from ustr-io-dbg-code.c:20:
# In file included from ./ustr-io.h:71:
# ./ustr-io-code.h:126:15: warning: nonnull parameter 'ps1' will evaluate to 'true' on first encounter [-Wpointer-bool-conversion]
# USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1) && fp);
# ^~~ ~~
# ./ustr-main.h:52:40: note: expanded from macro 'USTR_ASSERT'
# # define USTR_ASSERT(x) assert(x)
# ^
# /sysroot/include/assert.h:8:28: note: expanded from macro 'assert'
# In file included from ustr-cmp-dbg-code.c#define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0))):
# 20 ^:
#
# ./ustr-cmp.h:179:40: warningIn file included from : ustr-io-dbg-code.cnonnull parameter 'buf' will evaluate to 'true' on first encounter [-Wpointer-bool-conversion]:
# 20:
# In file included from ./ustr-io.h:71:
# ./ustr-io-code.h:126:56: warning: nonnull parameter 'fp' will evaluate to 'true' on first encounter [-Wpointer-bool-conversion]
# USTR_ASSERT(ustr_assert_valid(s1) && buf);
# ~~ ^~~
# ./ustr-main.h USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1) && fp);
# : ~~ ^~52
# :40: note: ./ustr-main.hexpanded from macro 'USTR_ASSERT':
# 52:40: note: expanded from macro 'USTR_ASSERT'
# # define USTR_ASSERT(x) assert(x)
# ^
# # define USTR_ASSERT(x) assert(x)
# ^
# /sysroot/include/assert.h:/sysroot/include/assert.h8::828::28 :note : noteexpanded from macro 'assert':
# expanded from macro 'assert'
# #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
# #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0))) ^
#
# ^
# In file included from ustr-fmt-dbg-code.c:20:
# In file included from ./ustr-fmt.h:96:
# ./ustr-fmt-internal.h:28:39: error: expected value in expression
# # if USTR_CONF_HAVE_RETARDED_VSNPRINTF
# ^
# In file included from ustr-cmp-dbg-code.c:20:
# ./ustr-cmp.h:192:40: warning: nonnull parameter 'buf' will evaluate to 'true' on first encounter [-Wpointer-bool-conversion]
# USTR_ASSERT(ustr_assert_valid(s1) && buf);
# ~~ ^~~
# ./ustr-main.h:52:40: note: expanded from macro 'USTR_ASSERT'
# In file included from ustr-fmt-dbg-code.c:20:
# In file included from ./ustr-fmt.h:# define USTR_ASSERT(x) assert(x)100
# :
# ^./ustr-fmt-code.h
# :9:39: /sysroot/include/assert.herror:: 8expected value in expression:
# 28: note: expanded from macro 'assert'
# # if USTR_CONF_HAVE_RETARDED_VSNPRINTF
# ^
# #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
# ^
# ./ustr-fmt-code.h:65:15: warning: nonnull parameter 'ps1' will evaluate to 'true' on first encounter [-Wpointer-bool-conversion]
# USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1));
# ^~~ ~~
# ./ustr-main.h:52:40: noteIn file included from : expanded from macro 'USTR_ASSERT'ustr-io-dbg-code.c
# :20:
# In file included from ./ustr-io.h:71:
# ./ustr-io-code.h:187:15: warning# define USTR_ASSERT(x) assert(x):
# nonnull parameter 'ps1' will evaluate to 'true' on first encounter [-Wpointer-bool-conversion] ^
#
# /sysroot/include/assert.h:8:28: note: expanded from macro 'assert'
# USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1) && fp);
# ^~~ ~~
# In file included from ustr-cmp-dbg-code.c:20:
# ./ustr-main.hIn file included from :./ustr-cmp.h52::20740:
# :#define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))./ustr-cmp-code.h
# note: ^: 15
# expanded from macro 'USTR_ASSERT':
# 40: warning: nonnull parameter 'buf' will evaluate to 'true' on first encounter [-Wpointer-bool-conversion]
# # define USTR_ASSERT(x) assert(x)
# ^
# /sysroot/include/assert.h: USTR_ASSERT(ustr_assert_valid(s1) && buf);8
# : ~~ ^~~28
# : note: expanded from macro 'assert'
# ./ustr-main.h:52:40: note: expanded from macro 'USTR_ASSERT'
# #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
# ^
# # define USTR_ASSERT(x) assert(x)
# ^
# In file included from /sysroot/include/assert.hustr-io-dbg-code.c::820::
# 28In file included from :./ustr-io.h :note71: :
# expanded from macro 'assert'./ustr-io-code.h
# :187:56: warning: nonnull parameter 'fp' will evaluate to 'true' on first encounter [-Wpointer-bool-conversion]
# #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0))) USTR_ASSERT(ps1 && ustrp__assert_valid(!!p, *ps1) && fp);
#
# ~~ ^~ ^
#
# ./ustr-main.h:52:40: note: expanded from macro 'USTR_ASSERT'
# # define USTR_ASSERT(x) assert(x)
# ^
# /sysroot/include/assert.h:8:28: note: expanded from macro 'assert'
# #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
# ^
# In file included from ustr-cmp-dbg-code.c:20:
# In file included from ./ustr-cmp.h:207:
# ./ustr-cmp-code.h:85:40: warning: nonnull parameter 'buf' will evaluate to 'true' on first encounter [-Wpointer-bool-conversion]
# USTR_ASSERT(ustr_assert_valid(s1) && buf);
# ~~ ^~~
# ./ustr-main.h:52:40: note: expanded from macro 'USTR_ASSERT'
# # define USTR_ASSERT(x) assert(x)
# ^
# /sysroot/include/assert.h:8:28: note: expanded from macro 'assert'
# #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
# ^
# In file included from ustr-cmp-dbg-code.c:20:
# In file included from ./ustr-cmp.h:6207 warning:
# s./ustr-cmp-code.h and :3125 error:s40 generated.
# : warning: nonnull parameter 'buf' will evaluate to 'true' on first encounter [-Wpointer-bool-conversion]
# USTR_ASSERT(ustr_assert_valid(s1) && buf);
# ~~ ^~~
# ./ustr-main.h:52:40: note: expanded from macro 'USTR_ASSERT'
# # define USTR_ASSERT(x) assert(x)
# ^
# /sysroot/include/assert.h:8:28: note: expanded from macro 'assert'
# #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
# ^
# In file included from ustr-cmp-dbg-code.c:20:
# In file included from ./ustr-cmp.h:207:
# ./ustr-cmp-code.h:139:40: warning: nonnull parameter 'buf' will evaluate to 'true' on first encounter [-Wpointer-bool-conversion]
# USTR_ASSERT(ustr_assert_valid(s1) && buf);
# ~~ ^~~
# ./ustr-main.h:52:40: note: expanded from macro 'USTR_ASSERT'
# # define USTR_ASSERT(x) assert(x)
# ^
# /sysroot/include/assert.h:8:28: note: expanded from macro 'assert'
# #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
# ^
# 1 warning and 5 errors generated.
# make: *** [Makefile:521: ustr-io-code-a-dbg.o] Error 1
# make: *** Waiting for unfinished jobs....
# make: *** [Makefile:521: ustr-fmt-code-a-dbg.o] Error 1
# 7 warnings and 3 errors generated.
# make: *** [Makefile:521: ustr-cmp-code-a-dbg.o] Error 1
# In file included from ustr-b-dbg-code.c:11:
# ./ustr-main.h:204:34: error: expected value in expression
# #if USTR_CONF_HAVE_64bit_SIZE_MAX
# ^
# ./ustr-main.h:327:34: error: expected value in expression
# #if USTR_CONF_HAVE_64bit_SIZE_MAX
# ^
# ./ustr-main.h:865:34: error: expected value in expression
# #if USTR_CONF_HAVE_64bit_SIZE_MAX
# ^
# 3 errors generated.
# make: *** [Makefile:521: ustr-b-code-a-dbg.o] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...