Build of coin-or-csdp with android 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
6,875 ansic
66 makefile
6,941 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...

Copied permanent toolchain into container-local sysroot
# /toolchain_root/arm-linux-androideabi --> /sysroot/arm-linux-androideabi
# /toolchain_root/COPYING3.LIB --> /sysroot/COPYING3.LIB
# /toolchain_root/sysroot --> /sysroot/sysroot
# /toolchain_root/COPYING.RUNTIME --> /sysroot/COPYING.RUNTIME
# /toolchain_root/lib --> /sysroot/lib
# /toolchain_root/SOURCES --> /sysroot/SOURCES
# /toolchain_root/lib64 --> /sysroot/lib64
# /toolchain_root/share --> /sysroot/share
# /toolchain_root/bin --> /sysroot/bin
# /toolchain_root/COPYING --> /sysroot/COPYING
# /toolchain_root/COPYING3 --> /sysroot/COPYING3
# /toolchain_root/COPYING.LIB --> /sysroot/COPYING.LIB
# /toolchain_root/include --> /sysroot/include
# /toolchain_root/libexec --> /sysroot/libexec

CMD: sudo -u tuscan PATH=/sysroot/bin:/sysroot/libexec/gcc/arm-linux-androideabi/4.8:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=arm-linux-androideabi-gcc CXX=arm-linux-androideabi-g++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: coin-or-csdp 6.1.1-1 (Tue Apr 4 19:37:18 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'
# arm-linux-androideabi-gcc -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o readprob.o readprob.c
# arm-linux-androideabi-gcc -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o sdp.o sdp.c
# sdp.c: In function 'sdp':
# sdp.c:753:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
# #pragma omp parallel for schedule(dynamic,64) default(none) shared(O,ldam,k,workvec8) private(i,j)
# ^
# sdp.c:798:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
# #pragma omp parallel for schedule(dynamic,64) private(i,j) shared(O,k,ldam)
# ^
# sdp.c:147:7: warning: variable 'lastimprove' set but not used [-Wunused-but-set-variable]
# int lastimprove=0;
# ^
# sdp.c:136:10: warning: variable 'newdobj' set but not used [-Wunused-but-set-variable]
# double newdobj;
# ^
# sdp.c:135:10: warning: variable 'newpobj' set but not used [-Wunused-but-set-variable]
# double newpobj;
# ^
# sdp.c:134:10: warning: variable 'oldmaxrelinfeas' set but not used [-Wunused-but-set-variable]
# double oldmaxrelinfeas=1.0e100;
# ^
# sdp.c:117:10: warning: variable 'oldmu' set but not used [-Wunused-but-set-variable]
# double oldmu;
# ^
# arm-linux-androideabi-gcc -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o op_o.o op_o.c
# op_o.c: In function 'op_o':
# op_o.c:126:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
# #pragma omp parallel for schedule(dynamic,64) default(none) shared(O,ldam,k) private(j,i)
# ^
# op_o.c:138:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
# #pragma omp parallel for schedule(dynamic,64) default(none) shared(k,constraints,byblocks,Zi,X,O,work1, work2, work, ldam) private(j, ii, jj, blocksize, p, q, r, s, ptri, ptrj, blocknum, contrib, Ziblk, Xblk, workblk, work2blk, enti, entj, scale1, scale2, thread_num)
# ^
# op_o.c:434:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
# #pragma omp parallel for schedule(dynamic,64) default(none) shared(O,ldam,k) private(j,i)
# ^
# arm-linux-androideabi-gcc -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o psd_feas.o psd_feas.c
# arm-linux-androideabi-gcc -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o op_a.o op_a.c
# op_a.c: In function 'op_a':
# op_a.c:25:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
# #pragma omp parallel for schedule(dynamic,64) default(none) private(i,contrib,ptr,blk,nume,vec,j,p,mat,ent,q) shared(k,constraints,result,X)
# ^
# arm-linux-androideabi-gcc -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o op_at.o op_at.c
# arm-linux-androideabi-gcc -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o Fnorm.o Fnorm.c
# arm-linux-androideabi-gcc -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o calc_pobj.o calc_pobj.c
# arm-linux-androideabi-gcc -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o calc_dobj.o calc_dobj.c
# arm-linux-androideabi-gcc -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o trace_prod.o trace_prod.c
# arm-linux-androideabi-gcc -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o zero_mat.o zero_mat.c
# zero_mat.c: In function 'zero_mat':
# zero_mat.c:34:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
# #pragma omp parallel for schedule(dynamic,64) default(none) shared(A,blk) private(j,i)
# ^
# arm-linux-androideabi-gcc -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o mat_mult.o mat_mult.c
# arm-linux-androideabi-gcc -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o sym_mat.o sym_mat.c
# arm-linux-androideabi-gcc -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o copy_mat.o copy_mat.c
# copy_mat.c: In function 'copy_mat':
# copy_mat.c:29:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
# #pragma omp parallel for schedule(dynamic,64) private(i,j) shared(p,q)
# ^
# arm-linux-androideabi-gcc -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o addscaledmat.o addscaledmat.c
# addscaledmat.c: In function 'addscaledmat':
# addscaledmat.c:32:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
# #pragma omp parallel for schedule(dynamic,64) default(none) private(i,j) shared(A,B,C,scale,blk)
# ^
# arm-linux-androideabi-gcc -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o user_exit.o user_exit.c
# arm-linux-androideabi-gcc -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o make_i.o make_i.c
# make_i.c: In function 'make_i':
# make_i.c:26:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
# #pragma omp parallel for schedule(dynamic,64) default(none) private(i,j) shared(blk,p,A)
# ^
# arm-linux-androideabi-gcc -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o allocmat.o allocmat.c
# arm-linux-androideabi-gcc -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o initsoln.o initsoln.c
# arm-linux-androideabi-gcc -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o initparams.o initparams.c
# arm-linux-androideabi-gcc -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o add_mat.o add_mat.c
# arm-linux-androideabi-gcc -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o writesol.o writesol.c
# arm-linux-androideabi-gcc -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o readsol.o readsol.c
# arm-linux-androideabi-gcc -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o easysdp.o easysdp.c
# easysdp.c: In function 'easy_sdp':
# easysdp.c:63:7: warning: variable 'blk' set but not used [-Wunused-but-set-variable]
# int blk;
# ^
# arm-linux-androideabi-gcc -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o writeprob.o writeprob.c
# arm-linux-androideabi-gcc -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o solvesys.o solvesys.c
# arm-linux-androideabi-gcc -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o makefill.o makefill.c
# arm-linux-androideabi-gcc -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o mat_multsp.o mat_multsp.c
# mat_multsp.c: In function 'mat_multspb':
# mat_multsp.c:170:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
# #pragma omp parallel for schedule(dynamic,64) default(none) private(i,j) shared(blk,C,scale2)
# ^
# 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: In function 'mat_multspa':
# mat_multsp.c:408:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
# #pragma omp parallel for default(none) schedule(dynamic,64) private(i,j) shared(blk,C,scale2)
# ^
# 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;
# ^
# mat_multsp.c: In function 'mat_multspc':
# mat_multsp.c:592:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
# #pragma omp parallel for schedule(dynamic,64) default(none) private(i,ii,p,q,temp) shared(ptr,A,B,C,blk,blksize,scale1)
# ^
# mat_multsp.c:633:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
# #pragma omp parallel for default(none) schedule(dynamic,64) private(i,j) shared(blk,C,scale2)
# ^
# arm-linux-androideabi-gcc -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o norms.o norms.c
# arm-linux-androideabi-gcc -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o linesearch.o linesearch.c
# arm-linux-androideabi-gcc -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o matvec.o matvec.c
# arm-linux-androideabi-gcc -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o chol.o chol.c
# chol.c: In function 'chol_inv':
# chol.c:163:10: warning: variable 'scale' set but not used [-Wunused-but-set-variable]
# double scale;
# ^
# arm-linux-androideabi-gcc -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o qreig.o qreig.c
# arm-linux-androideabi-gcc -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o tweakgap.o tweakgap.c
# arm-linux-androideabi-gcc -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o freeprob.o freeprob.c
# arm-linux-androideabi-gcc -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o packed.o packed.c
# packed.c: In function 'store_packed':
# packed.c:32:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
# #pragma omp parallel for schedule(dynamic,64) private(i,j) shared(p,q,n)
# ^
# packed.c: In function 'store_unpacked':
# packed.c:67:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
# #pragma omp parallel for schedule(dynamic,64) private(i,j) shared(p,q,n)
# ^
# packed.c: In function 'triu':
# packed.c:199:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
# #pragma omp parallel for schedule(dynamic,64) private(i,j) shared(A,n)
# ^
# arm-linux-androideabi-gcc -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'
# arm-linux-androideabi-gcc -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include -c -o csdp.o csdp.c
# arm-linux-androideabi-gcc -O3 -ansi -Wall -DNOSHORTS -DUSEGETTIME -I../include csdp.o -L../lib -lsdp -llapack -lblas -lgfortran -lm -o csdp
# /sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -llapack
# /sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lblas
# /sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/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_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_inv: error: undefined reference to 'dtrtri_'
# collect2: error: ld returned 1 exit status
# 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...