Build of lpsolve with musl toolchain

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

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

SLOCLanguage
51,100 ansic
672 yacc
51,772 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: lpsolve 5.5.2.3-1 (Wed Apr 5 01:52:44 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# + :
# + src='../lp_MDO.c ../shared/commonlib.c ../shared/mmio.c ../shared/myblas.c ../ini.c ../fortify.c ../colamd/colamd.c ../lp_rlp.c ../lp_crash.c ../bfp/bfp_LUSOL/lp_LUSOL.c ../bfp/bfp_LUSOL/LUSOL/lusol.c ../lp_Hash.c ../lp_lib.c ../lp_wlp.c ../lp_matrix.c ../lp_mipbb.c ../lp_MPS.c ../lp_params.c ../lp_presolve.c ../lp_price.c ../lp_pricePSE.c ../lp_report.c ../lp_scale.c ../lp_simplex.c ../lp_SOS.c ../lp_utils.c ../yacc_read.c'
# + c=cc
# + echo '#include '
# + echo '#include '
# + echo 'main(){printf("ux%d", (int) (sizeof(void *)*8));}'
# + cc /tmp/platform.c -o /tmp/platform
# /tmp/platform.c:3:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# main(){printf("ux%d", (int) (sizeof(void *)*8));}
# ^
# 1 warning generated.
# ++ /tmp/platform
# /tmp/platform: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# + PLATFORM=
# + rm /tmp/platform /tmp/platform.c
# + mkdir bin bin/
# + echo '#include '
# + echo '#include '
# + echo '#include '
# + echo 'main(){isnan(0);}'
# + cc /tmp/isnan.c -o /tmp/isnan
# + '[' 0 = 0 ']'
# + NOISNAN=
# + rm /tmp/isnan.c /tmp/isnan
# + def=
# + so=
# + '[' '' = SCO_UNIX ']'
# + dl=-ldl
# + so=y
# + opts=-O3
# + cc -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd -O3 -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine ../lp_MDO.c ../shared/commonlib.c ../shared/mmio.c ../shared/myblas.c ../ini.c ../fortify.c ../colamd/colamd.c ../lp_rlp.c ../lp_crash.c ../bfp/bfp_LUSOL/lp_LUSOL.c ../bfp/bfp_LUSOL/LUSOL/lusol.c ../lp_Hash.c ../lp_lib.c ../lp_wlp.c ../lp_matrix.c ../lp_mipbb.c ../lp_MPS.c ../lp_params.c ../lp_presolve.c ../lp_price.c ../lp_pricePSE.c ../lp_report.c ../lp_scale.c ../lp_simplex.c ../lp_SOS.c ../lp_utils.c ../yacc_read.c
# clang-3.8: warning: argument unused during compilation: '-s'
# ../lp_lib.c:1254:26: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
# if((lp->objfromvalue == NULL) /* || (lp->objtillvalue == NULL) */) {
# ~~~~~~~~~~~~~~~~~^~~~~~~
# ../lp_lib.c:1254:26: note: remove extraneous parentheses around the comparison to silence this warning
# if((lp->objfromvalue == NULL) /* || (lp->objtillvalue == NULL) */) {
# ~ ^ ~
# ../lp_lib.c:1254:26: note: use '=' to turn this equality comparison into an assignment
# if((lp->objfromvalue == NULL) /* || (lp->objtillvalue == NULL) */) {
# ^~
# =
# ../lp_lib.c:1260:28: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
# if((lp->objfromvalue == NULL) /* || (lp->objtillvalue == NULL) */)
# ~~~~~~~~~~~~~~~~~^~~~~~~
# ../lp_lib.c:1260:28: note: remove extraneous parentheses around the comparison to silence this warning
# if((lp->objfromvalue == NULL) /* || (lp->objtillvalue == NULL) */)
# ~ ^ ~
# ../lp_lib.c:1260:28: note: use '=' to turn this equality comparison into an assignment
# if((lp->objfromvalue == NULL) /* || (lp->objtillvalue == NULL) */)
# ^~
# =
# 2 warnings generated.
# ../lp_mipbb.c:527:26: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
# else if((BB->vartype == BB_INT)) {
# ~~~~~~~~~~~~^~~~~~~~~
# ../lp_mipbb.c:527:26: note: remove extraneous parentheses around the comparison to silence this warning
# else if((BB->vartype == BB_INT)) {
# ~ ^ ~
# ../lp_mipbb.c:527:26: note: use '=' to turn this equality comparison into an assignment
# else if((BB->vartype == BB_INT)) {
# ^~
# =
# 1 warning generated.
# ++ echo ../lp_MDO.c ../shared/commonlib.c ../shared/mmio.c ../shared/myblas.c ../ini.c ../fortify.c ../colamd/colamd.c ../lp_rlp.c ../lp_crash.c ../bfp/bfp_LUSOL/lp_LUSOL.c ../bfp/bfp_LUSOL/LUSOL/lusol.c ../lp_Hash.c ../lp_lib.c ../lp_wlp.c ../lp_matrix.c ../lp_mipbb.c ../lp_MPS.c ../lp_params.c ../lp_presolve.c ../lp_price.c ../lp_pricePSE.c ../lp_report.c ../lp_scale.c ../lp_simplex.c ../lp_SOS.c ../lp_utils.c ../yacc_read.c
# ++ sed 's/[.]c/.o/g'
# ++ sed 's/[^ ]*\///g'
# + ar rv bin//liblpsolve55.a lp_MDO.o commonlib.o mmio.o myblas.o ini.o fortify.o colamd.o lp_rlp.o lp_crash.o lp_LUSOL.o lusol.o lp_Hash.o lp_lib.o lp_wlp.o lp_matrix.o lp_mipbb.o lp_MPS.o lp_params.o lp_presolve.o lp_price.o lp_pricePSE.o lp_report.o lp_scale.o lp_simplex.o lp_SOS.o lp_utils.o yacc_read.o
# /r: creating bin//liblpsolve55.a
# a - lp_MDO.o
# a - commonlib.o
# a - mmio.o
# a - myblas.o
# a - ini.o
# a - fortify.o
# a - colamd.o
# a - lp_rlp.o
# a - lp_crash.o
# a - lp_LUSOL.o
# a - lusol.o
# a - lp_Hash.o
# a - lp_lib.o
# a - lp_wlp.o
# a - lp_matrix.o
# a - lp_mipbb.o
# a - lp_MPS.o
# a - lp_params.o
# a - lp_presolve.o
# a - lp_price.o
# a - lp_pricePSE.o
# a - lp_report.o
# a - lp_scale.o
# a - lp_simplex.o
# a - lp_SOS.o
# a - lp_utils.o
# a - yacc_read.o
# + ranlib bin//liblpsolve55.a
# + '[' y '!=' '' ']'
# + cc -fpic -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd -I. -O3 -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine ../lp_MDO.c ../shared/commonlib.c ../shared/mmio.c ../shared/myblas.c ../ini.c ../fortify.c ../colamd/colamd.c ../lp_rlp.c ../lp_crash.c ../bfp/bfp_LUSOL/lp_LUSOL.c ../bfp/bfp_LUSOL/LUSOL/lusol.c ../lp_Hash.c ../lp_lib.c ../lp_wlp.c ../lp_matrix.c ../lp_mipbb.c ../lp_MPS.c ../lp_params.c ../lp_presolve.c ../lp_price.c ../lp_pricePSE.c ../lp_report.c ../lp_scale.c ../lp_simplex.c ../lp_SOS.c ../lp_utils.c ../yacc_read.c
# clang-3.8: warning: argument unused during compilation: '-s'
# ../lp_lib.c:1254:26: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
# if((lp->objfromvalue == NULL) /* || (lp->objtillvalue == NULL) */) {
# ~~~~~~~~~~~~~~~~~^~~~~~~
# ../lp_lib.c:1254:26: note: remove extraneous parentheses around the comparison to silence this warning
# if((lp->objfromvalue == NULL) /* || (lp->objtillvalue == NULL) */) {
# ~ ^ ~
# ../lp_lib.c:1254:26: note: use '=' to turn this equality comparison into an assignment
# if((lp->objfromvalue == NULL) /* || (lp->objtillvalue == NULL) */) {
# ^~
# =
# ../lp_lib.c:1260:28: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
# if((lp->objfromvalue == NULL) /* || (lp->objtillvalue == NULL) */)
# ~~~~~~~~~~~~~~~~~^~~~~~~
# ../lp_lib.c:1260:28: note: remove extraneous parentheses around the comparison to silence this warning
# if((lp->objfromvalue == NULL) /* || (lp->objtillvalue == NULL) */)
# ~ ^ ~
# ../lp_lib.c:1260:28: note: use '=' to turn this equality comparison into an assignment
# if((lp->objfromvalue == NULL) /* || (lp->objtillvalue == NULL) */)
# ^~
# =
# 2 warnings generated.
# ../lp_mipbb.c:527:26: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
# else if((BB->vartype == BB_INT)) {
# ~~~~~~~~~~~~^~~~~~~~~
# ../lp_mipbb.c:527:26: note: remove extraneous parentheses around the comparison to silence this warning
# else if((BB->vartype == BB_INT)) {
# ~ ^ ~
# ../lp_mipbb.c:527:26: note: use '=' to turn this equality comparison into an assignment
# else if((BB->vartype == BB_INT)) {
# ^~
# =
# 1 warning generated.
# ++ echo ../lp_MDO.c ../shared/commonlib.c ../shared/mmio.c ../shared/myblas.c ../ini.c ../fortify.c ../colamd/colamd.c ../lp_rlp.c ../lp_crash.c ../bfp/bfp_LUSOL/lp_LUSOL.c ../bfp/bfp_LUSOL/LUSOL/lusol.c ../lp_Hash.c ../lp_lib.c ../lp_wlp.c ../lp_matrix.c ../lp_mipbb.c ../lp_MPS.c ../lp_params.c ../lp_presolve.c ../lp_price.c ../lp_pricePSE.c ../lp_report.c ../lp_scale.c ../lp_simplex.c ../lp_SOS.c ../lp_utils.c ../yacc_read.c
# ++ sed 's/[.]c/.o/g'
# ++ sed 's/[^ ]*\///g'
# + cc -shared -Wl,-Bsymbolic -Wl,-soname,liblpsolve55.so -o bin//liblpsolve55.so lp_MDO.o commonlib.o mmio.o myblas.o ini.o fortify.o colamd.o lp_rlp.o lp_crash.o lp_LUSOL.o lusol.o lp_Hash.o lp_lib.o lp_wlp.o lp_matrix.o lp_mipbb.o lp_MPS.o lp_params.o lp_presolve.o lp_price.o lp_pricePSE.o lp_report.o lp_scale.o lp_simplex.o lp_SOS.o lp_utils.o yacc_read.o -lc -lm -ldl
# + rm colamd.o commonlib.o fortify.o ini.o lp_Hash.o lp_LUSOL.o lp_MDO.o lp_MPS.o lp_SOS.o lp_crash.o lp_lib.o lp_matrix.o lp_mipbb.o lp_params.o lp_presolve.o lp_price.o lp_pricePSE.o lp_report.o lp_rlp.o lp_scale.o lp_simplex.o lp_utils.o lp_wlp.o lusol.o mmio.o myblas.o yacc_read.o
# + :
# + src='../lp_MDO.c ../shared/commonlib.c ../colamd/colamd.c ../shared/mmio.c ../shared/myblas.c ../ini.c ../fortify.c ../lp_rlp.c ../lp_crash.c ../bfp/bfp_LUSOL/lp_LUSOL.c ../bfp/bfp_LUSOL/LUSOL/lusol.c ../lp_Hash.c ../lp_lib.c ../lp_wlp.c ../lp_matrix.c ../lp_mipbb.c ../lp_MPS.c ../lp_params.c ../lp_presolve.c ../lp_price.c ../lp_pricePSE.c ../lp_report.c ../lp_scale.c ../lp_simplex.c lp_solve.c ../lp_SOS.c ../lp_utils.c ../yacc_read.c'
# + c=cc
# + echo '#include '
# + echo '#include '
# + echo 'main(){printf("ux%d", (int) (sizeof(void *)*8));}'
# + cc /tmp/platform.c -o /tmp/platform
# /tmp/platform.c:3:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# main(){printf("ux%d", (int) (sizeof(void *)*8));}
# ^
# 1 warning generated.
# ++ /tmp/platform
# /tmp/platform: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# + PLATFORM=
# + rm /tmp/platform /tmp/platform.c
# + mkdir bin bin/
# + math=-lm
# + echo '#include '
# + echo '#include '
# + echo '#include '
# + echo 'main(){isnan(0);}'
# + cc /tmp/isnan.c -o /tmp/isnan -lm
# + '[' 0 = 0 ']'
# + NOISNAN=
# + rm /tmp/isnan.c /tmp/isnan
# + opts=-O3
# + def=
# + '[' '' = SCO_UNIX ']'
# + dl=-ldl
# + cc -I.. -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd -I../shared -O3 -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine ../lp_MDO.c ../shared/commonlib.c ../colamd/colamd.c ../shared/mmio.c ../shared/myblas.c ../ini.c ../fortify.c ../lp_rlp.c ../lp_crash.c ../bfp/bfp_LUSOL/lp_LUSOL.c ../bfp/bfp_LUSOL/LUSOL/lusol.c ../lp_Hash.c ../lp_lib.c ../lp_wlp.c ../lp_matrix.c ../lp_mipbb.c ../lp_MPS.c ../lp_params.c ../lp_presolve.c ../lp_price.c ../lp_pricePSE.c ../lp_report.c ../lp_scale.c ../lp_simplex.c lp_solve.c ../lp_SOS.c ../lp_utils.c ../yacc_read.c -o bin//lp_solve -lm -ldl
# ../lp_lib.c:1254:26: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
# if((lp->objfromvalue == NULL) /* || (lp->objtillvalue == NULL) */) {
# ~~~~~~~~~~~~~~~~~^~~~~~~
# ../lp_lib.c:1254:26: note: remove extraneous parentheses around the comparison to silence this warning
# if((lp->objfromvalue == NULL) /* || (lp->objtillvalue == NULL) */) {
# ~ ^ ~
# ../lp_lib.c:1254:26: note: use '=' to turn this equality comparison into an assignment
# if((lp->objfromvalue == NULL) /* || (lp->objtillvalue == NULL) */) {
# ^~
# =
# ../lp_lib.c:1260:28: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
# if((lp->objfromvalue == NULL) /* || (lp->objtillvalue == NULL) */)
# ~~~~~~~~~~~~~~~~~^~~~~~~
# ../lp_lib.c:1260:28: note: remove extraneous parentheses around the comparison to silence this warning
# if((lp->objfromvalue == NULL) /* || (lp->objtillvalue == NULL) */)
# ~ ^ ~
# ../lp_lib.c:1260:28: note: use '=' to turn this equality comparison into an assignment
# if((lp->objfromvalue == NULL) /* || (lp->objtillvalue == NULL) */)
# ^~
# =
# 2 warnings generated.
# ../lp_mipbb.c:527:26: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
# else if((BB->vartype == BB_INT)) {
# ~~~~~~~~~~~~^~~~~~~~~
# ../lp_mipbb.c:527:26: note: remove extraneous parentheses around the comparison to silence this warning
# else if((BB->vartype == BB_INT)) {
# ~ ^ ~
# ../lp_mipbb.c:527:26: note: use '=' to turn this equality comparison into an assignment
# else if((BB->vartype == BB_INT)) {
# ^~
# =
# 1 warning generated.
# ==> Entering fakeroot environment...
# ==> Starting package()...
# install: cannot stat 'lp_solve/bin/ux*/lp_solve': No such file or directory
# ==> ERROR: A failure occurred in package().
# Aborting...