Build of delegate with musl toolchain

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

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

SLOCLanguage
248,357 ansic
1,922 makefile
988 sh
37 csh
251,304 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: delegate 9.9.13-3 (Wed Apr 5 02:13:35 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# sh link-libs.sh
# clang -DMKMKMK -DDEFCC=\"clang\" -I../gen -I../include -Wno-narrowing -Llib mkmkmk.c -o mkmkmk.exe
# In file included from mkmkmk.c:1:
# ./maker/mkmake.c:237:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# else
# ^
# ./maker/mkmake.c:246:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# else
# ^
# ./maker/mkmake.c:365:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if( fp = fopen(path,"r+") ){
# ~~~^~~~~~~~~~~~~~~~~~
# ./maker/mkmake.c:365:10: note: place parentheses around the assignment to silence this warning
# if( fp = fopen(path,"r+") ){
# ^
# ( )
# ./maker/mkmake.c:365:10: note: use '==' to turn this assignment into an equality comparison
# if( fp = fopen(path,"r+") ){
# ^
# ==
# ./maker/mkmake.c:424:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if( err = fopen("mkmake.err","a") ){
# ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
# ./maker/mkmake.c:424:10: note: place parentheses around the assignment to silence this warning
# if( err = fopen("mkmake.err","a") ){
# ^
# ( )
# ./maker/mkmake.c:424:10: note: use '==' to turn this assignment into an equality comparison
# if( err = fopen("mkmake.err","a") ){
# ^
# ==
# ./maker/mkmake.c:604:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if( fp = fopen(CONF,"w") ){
# ~~~^~~~~~~~~~~~~~~~~
# ./maker/mkmake.c:604:9: note: place parentheses around the assignment to silence this warning
# if( fp = fopen(CONF,"w") ){
# ^
# ( )
# ./maker/mkmake.c:604:9: note: use '==' to turn this assignment into an equality comparison
# if( fp = fopen(CONF,"w") ){
# ^
# ==
# ./maker/mkmake.c:725:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if( dp = strchr(a1+3,')') ){
# ~~~^~~~~~~~~~~~~~~~~~
# ./maker/mkmake.c:725:12: note: place parentheses around the assignment to silence this warning
# if( dp = strchr(a1+3,')') ){
# ^
# ( )
# ./maker/mkmake.c:725:12: note: use '==' to turn this assignment into an equality comparison
# if( dp = strchr(a1+3,')') ){
# ^
# ==
# ./maker/mkmake.c:789:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if( env = getenv("MAKEFLAGS") ) *env = 0;
# ~~~~^~~~~~~~~~~~~~~~~~~~~
# ./maker/mkmake.c:789:11: note: place parentheses around the assignment to silence this warning
# if( env = getenv("MAKEFLAGS") ) *env = 0;
# ^
# ( )
# ./maker/mkmake.c:789:11: note: use '==' to turn this assignment into an equality comparison
# if( env = getenv("MAKEFLAGS") ) *env = 0;
# ^
# ==
# ./maker/mkmake.c:790:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if( env = getenv("MFLAGS") ) *env = 0;
# ~~~~^~~~~~~~~~~~~~~~~~
# ./maker/mkmake.c:790:11: note: place parentheses around the assignment to silence this warning
# if( env = getenv("MFLAGS") ) *env = 0;
# ^
# ( )
# ./maker/mkmake.c:790:11: note: use '==' to turn this assignment into an equality comparison
# if( env = getenv("MFLAGS") ) *env = 0;
# ^
# ==
# ./maker/mkmake.c:1052:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if( fp = fopen(file,"r") ){
# ~~~^~~~~~~~~~~~~~~~~
# ./maker/mkmake.c:1052:10: note: place parentheses around the assignment to silence this warning
# if( fp = fopen(file,"r") ){
# ^
# ( )
# ./maker/mkmake.c:1052:10: note: use '==' to turn this assignment into an equality comparison
# if( fp = fopen(file,"r") ){
# ^
# ==
# ./maker/mkmake.c:1157:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if( dp = strpbrk(ans,"\r\n") )
# ~~~^~~~~~~~~~~~~~~~~~~~~
# ./maker/mkmake.c:1157:10: note: place parentheses around the assignment to silence this warning
# if( dp = strpbrk(ans,"\r\n") )
# ^
# ( )
# ./maker/mkmake.c:1157:10: note: use '==' to turn this assignment into an equality comparison
# if( dp = strpbrk(ans,"\r\n") )
# ^
# ==
# ./maker/mkmake.c:1168:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if( dp = strpbrk(ans,"\r\n") )
# ~~~^~~~~~~~~~~~~~~~~~~~~
# ./maker/mkmake.c:1168:10: note: place parentheses around the assignment to silence this warning
# if( dp = strpbrk(ans,"\r\n") )
# ^
# ( )
# ./maker/mkmake.c:1168:10: note: use '==' to turn this assignment into an equality comparison
# if( dp = strpbrk(ans,"\r\n") )
# ^
# ==
# ./maker/mkmake.c:1195:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if( conf = fopen(CONF,"a") ){
# ~~~~~^~~~~~~~~~~~~~~~~
# ./maker/mkmake.c:1195:12: note: place parentheses around the assignment to silence this warning
# if( conf = fopen(CONF,"a") ){
# ^
# ( )
# ./maker/mkmake.c:1195:12: note: use '==' to turn this assignment into an equality comparison
# if( conf = fopen(CONF,"a") ){
# ^
# ==
# ./maker/mkmake.c:1201:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if( okfp = fopen(MAKEFILE_OK,"w") ){
# ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
# ./maker/mkmake.c:1201:11: note: place parentheses around the assignment to silence this warning
# if( okfp = fopen(MAKEFILE_OK,"w") ){
# ^
# ( )
# ./maker/mkmake.c:1201:11: note: use '==' to turn this assignment into an equality comparison
# if( okfp = fopen(MAKEFILE_OK,"w") ){
# ^
# ==
# ./maker/mkmake.c:1357:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if( rcode = EXECVPR(nav[0],nav) ){
# ~~~~~~^~~~~~~~~~~~~~~~~~~~~
# ./maker/mkmake.c:1357:12: note: place parentheses around the assignment to silence this warning
# if( rcode = EXECVPR(nav[0],nav) ){
# ^
# ( )
# ./maker/mkmake.c:1357:12: note: use '==' to turn this assignment into an equality comparison
# if( rcode = EXECVPR(nav[0],nav) ){
# ^
# ==
# ./maker/mkmake.c:1405:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if( dp = strrchr(src,'/') ){
# ~~~^~~~~~~~~~~~~~~~~~
# ./maker/mkmake.c:1405:10: note: place parentheses around the assignment to silence this warning
# if( dp = strrchr(src,'/') ){
# ^
# ( )
# ./maker/mkmake.c:1405:10: note: use '==' to turn this assignment into an equality comparison
# if( dp = strrchr(src,'/') ){
# ^
# ==
# ./maker/mkmake.c:1449:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# while( rcc = fread(buf,1,sizeof(buf),ifp) )
# ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# ./maker/mkmake.c:1449:14: note: place parentheses around the assignment to silence this warning
# while( rcc = fread(buf,1,sizeof(buf),ifp) )
# ^
# ( )
# ./maker/mkmake.c:1449:14: note: use '==' to turn this assignment into an equality comparison
# while( rcc = fread(buf,1,sizeof(buf),ifp) )
# ^
# ==
# ./maker/mkmake.c:1474:11: warning: '&&' within '||' [-Wlogical-op-parentheses]
# if( ln1 && ln1 <= lnc
# ~~~~^~~~~~~~~~~~~
# ./maker/mkmake.c:1474:11: note: place parentheses around the '&&' expression to silence this warning
# if( ln1 && ln1 <= lnc
# ^
# ( )
# ./maker/mkmake.c:1475:11: warning: '&&' within '||' [-Wlogical-op-parentheses]
# || ls1 && strncmp(line,ls1,strlen(ls1)) == 0 )
# ~~ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# ./maker/mkmake.c:1475:11: note: place parentheses around the '&&' expression to silence this warning
# || ls1 && strncmp(line,ls1,strlen(ls1)) == 0 )
# ^
# ( )
# ./maker/mkmake.c:1539:11: warning: '&&' within '||' [-Wlogical-op-parentheses]
# if( ln2 && ln2 <= lnc
# ~~~~^~~~~~~~~~~~~
# ./maker/mkmake.c:1539:11: note: place parentheses around the '&&' expression to silence this warning
# if( ln2 && ln2 <= lnc
# ^
# ( )
# ./maker/mkmake.c:1540:11: warning: '&&' within '||' [-Wlogical-op-parentheses]
# || ls2 && strncmp(line,ls2,strlen(ls2)) == 0 ){
# ~~ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# ./maker/mkmake.c:1540:11: note: place parentheses around the '&&' expression to silence this warning
# || ls2 && strncmp(line,ls2,strlen(ls2)) == 0 ){
# ^
# ( )
# ./maker/mkmake.c:1558:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# for( ep = wp; ec = *ep; ep++ ){
# ~~~^~~~~
# ./maker/mkmake.c:1558:19: note: place parentheses around the assignment to silence this warning
# for( ep = wp; ec = *ep; ep++ ){
# ^
# ( )
# ./maker/mkmake.c:1558:19: note: use '==' to turn this assignment into an equality comparison
# for( ep = wp; ec = *ep; ep++ ){
# ^
# ==
# ./maker/mkmake.c:1589:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if( pe = getenv("PATH") )
# ~~~^~~~~~~~~~~~~~~~
# ./maker/mkmake.c:1589:9: note: place parentheses around the assignment to silence this warning
# if( pe = getenv("PATH") )
# ^
# ( )
# ./maker/mkmake.c:1589:9: note: use '==' to turn this assignment into an equality comparison
# if( pe = getenv("PATH") )
# ^
# ==
# ./maker/mkmake.c:1595:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if( np = (char*)strchr(dir+1,':') )
# ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
# ./maker/mkmake.c:1595:10: note: place parentheses around the assignment to silence this warning
# if( np = (char*)strchr(dir+1,':') )
# ^
# ( )
# ./maker/mkmake.c:1595:10: note: use '==' to turn this assignment into an equality comparison
# if( np = (char*)strchr(dir+1,':') )
# ^
# ==
# ./maker/mkmake.c:1599:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if( fp = fopen(path,"r") ){
# ~~~^~~~~~~~~~~~~~~~~
# ./maker/mkmake.c:1599:10: note: place parentheses around the assignment to silence this warning
# if( fp = fopen(path,"r") ){
# ^
# ( )
# ./maker/mkmake.c:1599:10: note: use '==' to turn this assignment into an equality comparison
# if( fp = fopen(path,"r") ){
# ^
# ==
# ./maker/mkmake.c:1716:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if( dp = (char*)strrchr(file,'.') )
# ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
# ./maker/mkmake.c:1716:9: note: place parentheses around the assignment to silence this warning
# if( dp = (char*)strrchr(file,'.') )
# ^
# ( )
# ./maker/mkmake.c:1716:9: note: use '==' to turn this assignment into an equality comparison
# if( dp = (char*)strrchr(file,'.') )
# ^
# ==
# ./maker/mkmake.c:1742:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# for( si = 0; src1 = srcv[si]; si++ )
# ~~~~~^~~~~~~~~~
# ./maker/mkmake.c:1742:20: note: place parentheses around the assignment to silence this warning
# for( si = 0; src1 = srcv[si]; si++ )
# ^
# ( )
# ./maker/mkmake.c:1742:20: note: use '==' to turn this assignment into an equality comparison
# for( si = 0; src1 = srcv[si]; si++ )
# ^
# ==
# ./maker/mkmake.c:1769:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if( fp = fopen(manifest,"r") ){
# ~~~^~~~~~~~~~~~~~~~~~~~~
# ./maker/mkmake.c:1769:9: note: place parentheses around the assignment to silence this warning
# if( fp = fopen(manifest,"r") ){
# ^
# ( )
# ./maker/mkmake.c:1769:9: note: use '==' to turn this assignment into an equality comparison
# if( fp = fopen(manifest,"r") ){
# ^
# ==
# ./maker/mkmake.c:1797:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if( fp = fopen(manifest,"w") ){
# ~~~^~~~~~~~~~~~~~~~~~~~~
# ./maker/mkmake.c:1797:9: note: place parentheses around the assignment to silence this warning
# if( fp = fopen(manifest,"w") ){
# ^
# ( )
# ./maker/mkmake.c:1797:9: note: use '==' to turn this assignment into an equality comparison
# if( fp = fopen(manifest,"w") ){
# ^
# ==
# ./maker/mkmake.c:1850:15: warning: '&&' within '||' [-Wlogical-op-parentheses]
# if( CPP != 0 && sym[0] == '_'
# ~~~~~~~~~^~~~~~~~~~~~~~~~
# ./maker/mkmake.c:1850:15: note: place parentheses around the '&&' expression to silence this warning
# if( CPP != 0 && sym[0] == '_'
# ^
# ( )
# ./maker/mkmake.c:1922:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if( sfp = fopen(substlist,"r") ){
# ~~~~^~~~~~~~~~~~~~~~~~~~~~
# ./maker/mkmake.c:1922:10: note: place parentheses around the assignment to silence this warning
# if( sfp = fopen(substlist,"r") ){
# ^
# ( )
# ./maker/mkmake.c:1922:10: note: use '==' to turn this assignment into an equality comparison
# if( sfp = fopen(substlist,"r") ){
# ^
# ==
# ./maker/mkmake.c:1930:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if( dp = strpbrk(buf,"\r\n") )
# ~~~^~~~~~~~~~~~~~~~~~~~~
# ./maker/mkmake.c:1930:11: note: place parentheses around the assignment to silence this warning
# if( dp = strpbrk(buf,"\r\n") )
# ^
# ( )
# ./maker/mkmake.c:1930:11: note: use '==' to turn this assignment into an equality comparison
# if( dp = strpbrk(buf,"\r\n") )
# ^
# ==
# ./maker/mkmake.c:1939:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if( sfp = fopen(substlist,"w") ){
# ~~~~^~~~~~~~~~~~~~~~~~~~~~
# ./maker/mkmake.c:1939:11: note: place parentheses around the assignment to silence this warning
# if( sfp = fopen(substlist,"w") ){
# ^
# ( )
# ./maker/mkmake.c:1939:11: note: use '==' to turn this assignment into an equality comparison
# if( sfp = fopen(substlist,"w") ){
# ^
# ==
# ./maker/mkmake.c:2044:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if( rcode = (*func)(file,fv,fcp) )
# ~~~~~~^~~~~~~~~~~~~~~~~~~~~~
# ./maker/mkmake.c:2044:13: note: place parentheses around the assignment to silence this warning
# if( rcode = (*func)(file,fv,fcp) )
# ^
# ( )
# ./maker/mkmake.c:2044:13: note: use '==' to turn this assignment into an equality comparison
# if( rcode = (*func)(file,fv,fcp) )
# ^
# ==
# ./maker/mkmake.c:2404:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if( fp = fopen(HOSTNAME_FILE,"r") ){
# ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
# ./maker/mkmake.c:2404:10: note: place parentheses around the assignment to silence this warning
# if( fp = fopen(HOSTNAME_FILE,"r") ){
# ^
# ( )
# ./maker/mkmake.c:2404:10: note: use '==' to turn this assignment into an equality comparison
# if( fp = fopen(HOSTNAME_FILE,"r") ){
# ^
# ==
# ./maker/mkmake.c:2412:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if( fp = popen(HOSTNAME_COM,"r") ){
# ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
# ./maker/mkmake.c:2412:10: note: place parentheses around the assignment to silence this warning
# if( fp = popen(HOSTNAME_COM,"r") ){
# ^
# ( )
# ./maker/mkmake.c:2412:10: note: use '==' to turn this assignment into an equality comparison
# if( fp = popen(HOSTNAME_COM,"r") ){
# ^
# ==
# In file included from mkmkmk.c:1:
# In file included from ./maker/mkmake.c:2468:
# ./maker/../rary/cksum.c:60:23: warning: expression result unused [-Wunused-value]
# for( li = 0; li < 4; li ){
# ^~
# ./maker/../rary/cksum.c:107:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if( fp = fopen(file,"r") ){
# ~~~^~~~~~~~~~~~~~~~~
# ./maker/../rary/cksum.c:107:9: note: place parentheses around the assignment to silence this warning
# if( fp = fopen(file,"r") ){
# ^
# ( )
# ./maker/../rary/cksum.c:107:9: note: use '==' to turn this assignment into an equality comparison
# if( fp = fopen(file,"r") ){
# ^
# ==
# ./maker/../rary/cksum.c:115:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if( sum = fopen(sumfile,"w") ){
# ~~~~^~~~~~~~~~~~~~~~~~~~
# ./maker/../rary/cksum.c:115:11: note: place parentheses around the assignment to silence this warning
# if( sum = fopen(sumfile,"w") ){
# ^
# ( )
# ./maker/../rary/cksum.c:115:11: note: use '==' to turn this assignment into an equality comparison
# if( sum = fopen(sumfile,"w") ){
# ^
# ==
# ./maker/../rary/cksum.c:142:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# for( ci = 0; ch = line[ci]; ci++ ){
# ~~~^~~~~~~~~~
# ./maker/../rary/cksum.c:142:20: note: place parentheses around the assignment to silence this warning
# for( ci = 0; ch = line[ci]; ci++ ){
# ^
# ( )
# ./maker/../rary/cksum.c:142:20: note: use '==' to turn this assignment into an equality comparison
# for( ci = 0; ch = line[ci]; ci++ ){
# ^
# ==
# ./maker/../rary/cksum.c:207:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if( fp = fopen(file,"r") ){
# ~~~^~~~~~~~~~~~~~~~~
# ./maker/../rary/cksum.c:207:12: note: place parentheses around the assignment to silence this warning
# if( fp = fopen(file,"r") ){
# ^
# ( )
# ./maker/../rary/cksum.c:207:12: note: use '==' to turn this assignment into an equality comparison
# if( fp = fopen(file,"r") ){
# ^
# ==
# ./maker/../rary/cksum.c:263:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if( fp = fopen(av[ai],"r") ){
# ~~~^~~~~~~~~~~~~~~~~~~
# ./maker/../rary/cksum.c:263:11: note: place parentheses around the assignment to silence this warning
# if( fp = fopen(av[ai],"r") ){
# ^
# ( )
# ./maker/../rary/cksum.c:263:11: note: use '==' to turn this assignment into an equality comparison
# if( fp = fopen(av[ai],"r") ){
# ^
# ==
# ./maker/../rary/cksum.c:265:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if( dp = strpbrk(line,"\r\n") )
# ~~~^~~~~~~~~~~~~~~~~~~~~~
# ./maker/../rary/cksum.c:265:13: note: place parentheses around the assignment to silence this warning
# if( dp = strpbrk(line,"\r\n") )
# ^
# ( )
# ./maker/../rary/cksum.c:265:13: note: use '==' to turn this assignment into an equality comparison
# if( dp = strpbrk(line,"\r\n") )
# ^
# ==
# 42 warnings generated.
# "./mkmkmk.exe" -mkmkmk "clang" -I../gen -I../include -Wno-narrowing -Llib maker/mkmake.c -o mkmake.exe
# ./mkmkmk.exe: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# make: [Makefile:117: mkmake.exe] Error 127 (ignored)
# rm srcsign.o
# rm: cannot remove 'srcsign.o': No such file or directory
# make: [Makefile:75: all] Error 1 (ignored)
# sh make-init.sh
# /bin/sh: ./mkmake.exe: No such file or directory
# make: *** [Makefile:77: all] Error 127
# ==> ERROR: A failure occurred in build().
# Aborting...