Build of coin-or-csdp with musl toolchain

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

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

SLOCLanguage
6,875 ansic
66 makefile
6,941 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: coin-or-csdp 6.1.1-1 (Tue Apr 4 23:03:41 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# cd lib; make libsdp.a
# make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
# make[1]: Entering directory '/tmp/coin-or-csdp/src/Csdp-6.1.1/lib'
# clang -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o readprob.o readprob.c
# clang -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o sdp.o sdp.c
# clang -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o op_o.o op_o.c
# clang -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o psd_feas.o psd_feas.c
# clang -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o op_a.o op_a.c
# clang -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o op_at.o op_at.c
# clang -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o Fnorm.o Fnorm.c
# clang -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o calc_pobj.o calc_pobj.c
# clang -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o calc_dobj.o calc_dobj.c
# clang -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o trace_prod.o trace_prod.c
# clang -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o zero_mat.o zero_mat.c
# clang -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o mat_mult.o mat_mult.c
# clang -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o sym_mat.o sym_mat.c
# clang -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o copy_mat.o copy_mat.c
# clang -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o addscaledmat.o addscaledmat.c
# clang -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o user_exit.o user_exit.c
# clang -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o make_i.o make_i.c
# clang -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o allocmat.o allocmat.c
# clang -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o initsoln.o initsoln.c
# clang -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o initparams.o initparams.c
# clang -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o add_mat.o add_mat.c
# clang -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o writesol.o writesol.c
# clang -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o readsol.o readsol.c
# clang -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o easysdp.o easysdp.c
# clang -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o writeprob.o writeprob.c
# clang -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o solvesys.o solvesys.c
# clang -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o makefill.o makefill.c
# clang -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o mat_multsp.o mat_multsp.c
# mat_multsp.c:56:7: warning: unused variable 'thread_num' [-Wunused-variable]
# int thread_num;
# ^
# mat_multsp.c:55:7: warning: unused variable 'total_threads' [-Wunused-variable]
# int total_threads;
# ^
# mat_multsp.c:293:7: warning: unused variable 'thread_num' [-Wunused-variable]
# int thread_num;
# ^
# mat_multsp.c:292:7: warning: unused variable 'total_threads' [-Wunused-variable]
# int total_threads;
# ^
# 4 warnings generated.
# clang -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o norms.o norms.c
# clang -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o linesearch.o linesearch.c
# clang -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o matvec.o matvec.c
# clang -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o chol.o chol.c
# clang -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o qreig.o qreig.c
# clang -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o tweakgap.o tweakgap.c
# clang -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o freeprob.o freeprob.c
# clang -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o packed.o packed.c
# clang -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o sortentries.o sortentries.c
# ar cr libsdp.a readprob.o sdp.o op_o.o psd_feas.o op_a.o op_at.o Fnorm.o calc_pobj.o calc_dobj.o trace_prod.o zero_mat.o mat_mult.o sym_mat.o copy_mat.o addscaledmat.o user_exit.o make_i.o allocmat.o initsoln.o initparams.o add_mat.o writesol.o readsol.o easysdp.o writeprob.o solvesys.o makefill.o mat_multsp.o norms.o linesearch.o matvec.o chol.o qreig.o tweakgap.o freeprob.o packed.o sortentries.o
# make[1]: Leaving directory '/tmp/coin-or-csdp/src/Csdp-6.1.1/lib'
# cd solver; make csdp
# make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
# make[1]: Entering directory '/tmp/coin-or-csdp/src/Csdp-6.1.1/solver'
# clang -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o csdp.o csdp.c
# clang -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include csdp.o -L../lib -lsdp -llapack -lblas -lgfortran -lm -o csdp
# clang-3.8: warning: argument unused during compilation: '-ansi'
# /sysroot/bin/ld: error: cannot find -llapack
# /sysroot/bin/ld: error: cannot find -lblas
# /sysroot/bin/ld: error: cannot find -lgfortran
# ../lib/libsdp.a(sdp.o):sdp.c:function sdp: error: undefined reference to 'dpotrf_'
# ../lib/libsdp.a(calc_dobj.o):calc_dobj.c:function calc_dobj: error: undefined reference to 'ddot_'
# ../lib/libsdp.a(mat_mult.o):mat_mult.c:function mat_mult: error: undefined reference to 'dgemm_'
# ../lib/libsdp.a(mat_mult.o):mat_mult.c:function mat_mult: error: undefined reference to 'dgemm_'
# ../lib/libsdp.a(mat_mult.o):mat_mult.c:function mat_mult_raw: error: undefined reference to 'dgemm_'
# ../lib/libsdp.a(solvesys.o):solvesys.c:function solvesys: error: undefined reference to 'dpotrs_'
# ../lib/libsdp.a(norms.o):norms.c:function norm2: error: undefined reference to 'dnrm2_'
# ../lib/libsdp.a(norms.o):norms.c:function norm1: error: undefined reference to 'dasum_'
# ../lib/libsdp.a(norms.o):norms.c:function norminf: error: undefined reference to 'idamax_'
# ../lib/libsdp.a(linesearch.o):linesearch.c:function linesearch: error: undefined reference to 'dgemv_'
# ../lib/libsdp.a(linesearch.o):linesearch.c:function linesearch: error: undefined reference to 'dgemv_'
# ../lib/libsdp.a(linesearch.o):linesearch.c:function linesearch: error: undefined reference to 'dgemv_'
# ../lib/libsdp.a(linesearch.o):linesearch.c:function linesearch: error: undefined reference to 'dgemv_'
# ../lib/libsdp.a(chol.o):chol.c:function chol_blk: error: undefined reference to 'dpotrf_'
# ../lib/libsdp.a(chol.o):chol.c:function chol: error: undefined reference to 'dpotrf_'
# ../lib/libsdp.a(chol.o):chol.c:function chol_inv: error: undefined reference to 'dtrtri_'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# make[1]: *** [Makefile:126: csdp] Error 1
# make[1]: Leaving directory '/tmp/coin-or-csdp/src/Csdp-6.1.1/solver'
# make: *** [Makefile:12: all] Error 2
# ==> ERROR: A failure occurred in build().
# Aborting...