Build of coin-or-csdp with clang_glibc toolchain

The build took 00h 03m 31s and was 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.

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/sysroot --> /sysroot/sysroot
# /toolchain_root/lib --> /sysroot/lib
# /toolchain_root/sbin --> /sysroot/sbin
# /toolchain_root/lib64 --> /sysroot/lib64
# /toolchain_root/etc --> /sysroot/etc
# /toolchain_root/share --> /sysroot/share
# /toolchain_root/bin --> /sysroot/bin
# /toolchain_root/var --> /sysroot/var
# /toolchain_root/usr --> /sysroot/usr
# /toolchain_root/glibc-build --> /sysroot/glibc-build
# /toolchain_root/x86_64-pc-linux-gnu --> /sysroot/x86_64-pc-linux-gnu
# /toolchain_root/include --> /sysroot/include
# /toolchain_root/libexec --> /sysroot/libexec

CMD: sudo -u tuscan PATH=/usr/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 (Thu Apr 13 11:40:25 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# cd lib; make libsdp.a
# 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:55:7: warning: unused variable 'total_threads' [-Wunused-variable]
# int total_threads;
# ^
# mat_multsp.c:56: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:293:7: warning: unused variable 'thread_num' [-Wunused-variable]
# int thread_num;
# ^
# 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]: 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'
# make[1]: Leaving directory '/tmp/coin-or-csdp/src/Csdp-6.1.1/solver'
# cd theta; make all
# make[1]: Entering directory '/tmp/coin-or-csdp/src/Csdp-6.1.1/theta'
# clang -O3 -ansi -Wall -DNOSHORTS -I../include -c -o theta.o theta.c
# clang -O3 -ansi -Wall -DNOSHORTS -I../include theta.o -L../lib -lsdp -llapack -lblas -lgfortran -lm -o theta
# clang-3.8: warning: argument unused during compilation: '-ansi'
# clang -O3 -ansi -Wall -DNOSHORTS -I../include -c -o complement.o complement.c
# clang -O3 -ansi -Wall -DNOSHORTS -I../include complement.o -L../lib -lsdp -llapack -lblas -lgfortran -lm -o complement
# clang-3.8: warning: argument unused during compilation: '-ansi'
# clang -O3 -ansi -Wall -DNOSHORTS -I../include -c -o rand_graph.o rand_graph.c
# rand_graph.c:48:7: warning: variable 'n' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
# if (argc >= 4)
# ^~~~~~~~~
# rand_graph.c:69:19: note: uninitialized use occurs here
# G=(int *)malloc(n*n*sizeof(int));
# ^
# rand_graph.c:48:3: note: remove the 'if' if its condition is always true
# if (argc >= 4)
# ^~~~~~~~~~~~~~
# rand_graph.c:33:8: note: initialize the variable 'n' to silence this warning
# int n;
# ^
# = 0
# 1 warning generated.
# clang -O3 -ansi -Wall -DNOSHORTS -I../include rand_graph.o -L../lib -lsdp -llapack -lblas -lgfortran -lm -o rand_graph
# clang-3.8: warning: argument unused during compilation: '-ansi'
# clang -O3 -ansi -Wall -DNOSHORTS -I../include -c -o graphtoprob.o graphtoprob.c
# clang -O3 -ansi -Wall -DNOSHORTS -I../include graphtoprob.o -L../lib -lsdp -llapack -lblas -lgfortran -lm -o graphtoprob
# clang-3.8: warning: argument unused during compilation: '-ansi'
# make[1]: Leaving directory '/tmp/coin-or-csdp/src/Csdp-6.1.1/theta'
# cd example; make all
# make[1]: Entering directory '/tmp/coin-or-csdp/src/Csdp-6.1.1/example'
# clang -O3 -ansi -Wall -DNOSHORTS -I../include -c -o example.o example.c
# clang -O3 -ansi -Wall -DNOSHORTS -I../include example.o -L../lib -lsdp -llapack -lblas -lgfortran -lm -o example
# clang-3.8: warning: argument unused during compilation: '-ansi'
# make[1]: Leaving directory '/tmp/coin-or-csdp/src/Csdp-6.1.1/example'
# ==> Entering fakeroot environment...
# ==> Starting package()...
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "coin-or-csdp"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: coin-or-csdp 6.1.1-1 (Thu Apr 13 11:40:46 UTC 2017)

CMD: pacman --query --file coin-or-csdp-6.1.1-1-x86_64.pkg.tar.xz
# coin-or-csdp 6.1.1-1

Creating hybrid package for 'coin-or-csdp'

Trying to find vanilla package 'coin-or-csdp'...

CMD: pacman --query --file /mirror/coin-or-csdp-6.1.1-1.pkg.tar.xz
# coin-or-csdp 6.1.1-1

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /usr/bin/csdp
# /usr/bin/theta
# /usr/bin/graphtoprob
# /usr/bin/complement
# /usr/bin/rand_graph
# /usr/share/licenses/csdp/LICENSE

Generating .MTREE

CMD: bsdtar -czf .MTREE --format=mtree --options=!all,use-set,type,uid,mode,time,size,md5,sha256,link .PKGINFO .BUILDINFO usr

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO .BUILDINFO usr .MTREE

CMD: xz -c -z

Successfully ran bsdtar -cf - .PKGINFO .BUILDINFO usr .MTREE | xz -c -z

CMD: bsdtar -tqf coin-or-csdp.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/coin-or-csdp.pkg.tar.xz

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/coin-or-csdp.pkg.tar.xz
# ==> Extracting database to a temporary location...
# ==> Extracting database to a temporary location...
# ==> Adding package '/var/cache/pacman/pkg/coin-or-csdp.pkg.tar.xz'
# -> Computing checksums...
# -> Creating 'desc' db entry...
# -> Creating 'files' db entry...
# ==> Creating updated database file '/var/cache/pacman/pkg/tuscan.db.tar'