Build of rubiks with clang_glibc toolchain

The build took 00h 01m 48s and was SUCCESSFUL.

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

SLOCLanguage
7,384 cpp
7,349 ansic
284 makefile
15,017 total

The process tree of the build process is here.

Several sub-process invocations were improper; see the process tree for details. Summary:

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: rubiks 20070912-2 (Thu Apr 13 16:10:43 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Entering fakeroot environment...
# ==> Starting package()...
# for dir in dietz/cu2 dietz/mcube dietz/solver dik reid; do \
# (cd ${dir} && make all)\
# done
# make[1]: Entering directory '/tmp/rubiks/src/rubiks-20070912/dietz/cu2'
# g++ -O2 -c cu2.cpp
# g++ -O2 -c main.cpp
# g++ -o cu2 cu2.o main.o
# make[1]: Leaving directory '/tmp/rubiks/src/rubiks-20070912/dietz/cu2'
# make[1]: Entering directory '/tmp/rubiks/src/rubiks-20070912/dietz/mcube'
# g++ -O2 -c mcube.cpp
# mcube.cpp:1966:38: warning: if statement has empty body [-Wempty-body]
# else if (fy == 3 && fz == 3) ;
# ^
# mcube.cpp:1966:38: note: put the semicolon on a separate line to silence this warning
# mcube.cpp:1977:38: warning: if statement has empty body [-Wempty-body]
# else if (fx == 3 && fy == 3) ;
# ^
# mcube.cpp:1977:38: note: put the semicolon on a separate line to silence this warning
# 2 warnings generated.
# g++ -O2 -c main.cpp
# g++ -o mcube mcube.o main.o
# make[1]: Leaving directory '/tmp/rubiks/src/rubiks-20070912/dietz/mcube'
# make[1]: Entering directory '/tmp/rubiks/src/rubiks-20070912/dietz/solver'
# g++ -O2 -c cubex.cpp
# g++ -O2 -c main.cpp
# g++ -o cubex cubex.o main.o
# make[1]: Leaving directory '/tmp/rubiks/src/rubiks-20070912/dietz/solver'
# make[1]: Entering directory '/tmp/rubiks/src/rubiks-20070912/dik'
# clang -O -DLARGE_MEM -DVERBOSE -c -o cube.o cube.c
# cube.c:9:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# main(argc, argv)
# ^
# cube.c:20:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# exit(1);
# ^
# cube.c:20:2: note: include the header or explicitly provide a declaration for 'exit'
# cube.c:23:6: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration]
# if(!strcmp(argv[1], "-t")) {
# ^
# cube.c:23:6: note: include the header or explicitly provide a declaration for 'strcmp'
# cube.c:51:5: warning: implicit declaration of function 'init_phase1' is invalid in C99 [-Wimplicit-function-declaration]
# init_phase1();
# ^
# cube.c:53:5: warning: implicit declaration of function 'init_phase2' is invalid in C99 [-Wimplicit-function-declaration]
# init_phase2();
# ^
# cube.c:64:2: warning: implicit declaration of function 'set_cube' is invalid in C99 [-Wimplicit-function-declaration]
# set_cube();
# ^
# cube.c:68:17: warning: implicit declaration of function 'init_phase1_cube' is invalid in C99 [-Wimplicit-function-declaration]
# do_phase1 = init_phase1_cube();
# ^
# cube.c:75:6: warning: implicit declaration of function 'phase1' is invalid in C99 [-Wimplicit-function-declaration]
# phase1(i++);
# ^
# cube.c:81:2: warning: implicit declaration of function 'perm_cube' is invalid in C99 [-Wimplicit-function-declaration]
# perm_cube();
# ^
# cube.c:82:14: warning: implicit declaration of function 'init_phase2_cube' is invalid in C99 [-Wimplicit-function-declaration]
# do_phase2 = init_phase2_cube();
# ^
# cube.c:90:3: warning: implicit declaration of function 'phase2' is invalid in C99 [-Wimplicit-function-declaration]
# phase2(i++, -1, -1);
# ^
# 11 warnings generated.
# clang -O -DLARGE_MEM -DVERBOSE -c -o phase1.o phase1.c
# phase1.c:55:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# exit(1);
# ^
# phase1.c:55:2: note: include the header or explicitly provide a declaration for 'exit'
# phase1.c:190:2: warning: implicit declaration of function 'perm_cube' is invalid in C99 [-Wimplicit-function-declaration]
# perm_cube();
# ^
# phase1.c:191:14: warning: implicit declaration of function 'init_phase2_cube' is invalid in C99 [-Wimplicit-function-declaration]
# do_phase2 = init_phase2_cube();
# ^
# phase1.c:198:3: warning: implicit declaration of function 'phase2' is invalid in C99 [-Wimplicit-function-declaration]
# phase2(i++ - cur_move, dont1, dont2);
# ^
# phase1.c:204:6: warning: implicit declaration of function 'prnt_sol' is invalid in C99 [-Wimplicit-function-declaration]
# prnt_sol();
# ^
# phase1.c:240:9: warning: implicitly declaring library function 'abs' with type 'int (int)' [-Wimplicit-function-declaration]
# if(abs(dont1 - i) == 3) {
# ^
# phase1.c:240:9: note: include the header or explicitly provide a declaration for 'abs'
# 6 warnings generated.
# clang -O -DLARGE_MEM -DVERBOSE -c -o phase2.o phase2.c
# phase2.c:107:2: warning: implicit declaration of function 'prnt_sol' is invalid in C99 [-Wimplicit-function-declaration]
# prnt_sol();
# ^
# phase2.c:140:9: warning: implicitly declaring library function 'abs' with type 'int (int)' [-Wimplicit-function-declaration]
# if(abs(i - dont1) == 3) {
# ^
# phase2.c:140:9: note: include the header or explicitly provide a declaration for 'abs'
# 2 warnings generated.
# clang -O -DLARGE_MEM -DVERBOSE -c -o setcube.o setcube.c
# setcube.c:27:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# static cube_found, orient_found;
# ~~~~~~ ^
# setcube.c:27:20: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# static cube_found, orient_found;
# ~~~~~~ ^
# setcube.c:36:10: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration]
# if(!strncmp(corners[i][j], c, 3)) {
# ^
# setcube.c:36:10: note: include the header or explicitly provide a declaration for 'strncmp'
# setcube.c:44:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# exit(1);
# ^
# setcube.c:44:5: note: include the header or explicitly provide a declaration for 'exit'
# 4 warnings generated.
# clang -O -DLARGE_MEM -DVERBOSE -c -o permcube.o permcube.c
# permcube.c:3:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# perm_cube()
# ^
# permcube.c:96:1: warning: control reaches end of non-void function [-Wreturn-type]
# }
# ^
# 2 warnings generated.
# clang -O -DLARGE_MEM -DVERBOSE -c -o prntsol.o prntsol.c
# prntsol.c:5:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# prnt_sol()
# ^
# prntsol.c:19:1: warning: control reaches end of non-void function [-Wreturn-type]
# }
# ^
# 2 warnings generated.
# clang -O -DLARGE_MEM -DVERBOSE -c -o globals.o globals.c
# clang -O -DLARGE_MEM -DVERBOSE -o dikcube cube.o phase1.o phase2.o setcube.o permcube.o prntsol.o globals.o
# size dikcube
# text data bss dec hex filename
# 37744 768 9630360 9668872 938908 dikcube
# clang -O -DLARGE_MEM -DVERBOSE -c -o size222.o size222.c
# size222.c:20:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# do_pr(turns, count)
# ^
# size222.c:30:1: warning: control reaches end of non-void function [-Wreturn-type]
# }
# ^
# size222.c:32:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# try_one(num, count)
# ^
# size222.c:67:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# try(count)
# ^
# size222.c:94:1: warning: control reaches end of non-void function [-Wreturn-type]
# }
# ^
# size222.c:96:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# main(argc, argv)
# ^
# size222.c:107:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# exit(1);
# ^
# size222.c:107:2: note: include the header or explicitly provide a declaration for 'exit'
# size222.c:110:6: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration]
# if(!strcmp(argv[1], "-q")) {
# ^
# size222.c:110:6: note: include the header or explicitly provide a declaration for 'strcmp'
# 8 warnings generated.
# clang -O -DLARGE_MEM -DVERBOSE -o size222 size222.o
# size size222
# text data bss dec hex filename
# 7005 624 1871776 1879405 1cad6d size222
# clang -O -DLARGE_MEM -DVERBOSE -DCTWIST -c size333c.c
# size333c.c:41:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# do_pr(turns, count)
# ^
# size333c.c:51:1: warning: control reaches end of non-void function [-Wreturn-type]
# }
# ^
# size333c.c:53:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# try_one(num, count)
# ^
# size333c.c:125:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# try(count)
# ^
# size333c.c:152:1: warning: control reaches end of non-void function [-Wreturn-type]
# }
# ^
# size333c.c:154:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# main(argc, argv)
# ^
# size333c.c:165:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# exit(1);
# ^
# size333c.c:165:2: note: include the header or explicitly provide a declaration for 'exit'
# size333c.c:168:6: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration]
# if(!strcmp(argv[1], "-q")) {
# ^
# size333c.c:168:6: note: include the header or explicitly provide a declaration for 'strcmp'
# 8 warnings generated.
# clang -O -DLARGE_MEM -DVERBOSE -o size333c size333c.o
# size size333c
# text data bss dec hex filename
# 14589 624 5227168 5242381 4ffe0d size333c
# clang -O -DLARGE_MEM -DVERBOSE -c -o sizesquare.o sizesquare.c
# In file included from sizesquare.c:6:
# ./trans/cperm2.a:64:35: warning: too few arguments in call to 'permcx_val'
# cperms2[i][0] = permcx_val(params);
# ~~~~~~~~~~ ^
# ./trans/cperm2.a:74:35: warning: too few arguments in call to 'permcx_val'
# cperms2[i][1] = permcx_val(params);
# ~~~~~~~~~~ ^
# ./trans/cperm2.a:84:35: warning: too few arguments in call to 'permcx_val'
# cperms2[i][2] = permcx_val(params);
# ~~~~~~~~~~ ^
# ./trans/cperm2.a:94:35: warning: too few arguments in call to 'permcx_val'
# cperms2[i][3] = permcx_val(params);
# ~~~~~~~~~~ ^
# ./trans/cperm2.a:104:35: warning: too few arguments in call to 'permcx_val'
# cperms2[i][4] = permcx_val(params);
# ~~~~~~~~~~ ^
# ./trans/cperm2.a:114:35: warning: too few arguments in call to 'permcx_val'
# cperms2[i][5] = permcx_val(params);
# ~~~~~~~~~~ ^
# sizesquare.c:19:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# do_pr(turns, count)
# ^
# sizesquare.c:29:1: warning: control reaches end of non-void function [-Wreturn-type]
# }
# ^
# sizesquare.c:31:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# try_one(num, count)
# ^
# sizesquare.c:59:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# try(count)
# ^
# sizesquare.c:86:1: warning: control reaches end of non-void function [-Wreturn-type]
# }
# ^
# sizesquare.c:88:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# main(argc, argv)
# ^
# sizesquare.c:98:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# exit(1);
# ^
# sizesquare.c:98:2: note: include the header or explicitly provide a declaration for 'exit'
# sizesquare.c:101:6: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration]
# if(!strcmp(argv[1], "-m")) {
# ^
# sizesquare.c:101:6: note: include the header or explicitly provide a declaration for 'strcmp'
# 14 warnings generated.
# clang -O -DLARGE_MEM -DVERBOSE -o sizesquare sizesquare.o
# size sizesquare
# text data bss dec hex filename
# 9725 624 4154176 4164525 3f8bad sizesquare
# clang -O -DLARGE_MEM -DVERBOSE -DCCPERM -DIPERM -c sizedom.c
# sizedom.c:42:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# do_pr(turns, count)
# ^
# sizedom.c:52:1: warning: control reaches end of non-void function [-Wreturn-type]
# }
# ^
# sizedom.c:54:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# try_one(num, count)
# ^
# sizedom.c:178:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# try(count)
# ^
# sizedom.c:205:1: warning: control reaches end of non-void function [-Wreturn-type]
# }
# ^
# sizedom.c:276:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# main(argc, argv)
# ^
# sizedom.c:288:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# exit(1);
# ^
# sizedom.c:288:2: note: include the header or explicitly provide a declaration for 'exit'
# sizedom.c:291:6: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration]
# if(!strcmp(argv[1], "-q")) {
# ^
# sizedom.c:291:6: note: include the header or explicitly provide a declaration for 'strcmp'
# 8 warnings generated.
# clang -O -DLARGE_MEM -DVERBOSE -o sizedom sizedom.o
# size sizedom
# text data bss dec hex filename
# 27453 624 38792928 38821005 2505c8d sizedom
# clang -O -DLARGE_MEM -DVERBOSE -c -o sizekoc1.o sizekoc1.c
# sizekoc1.c:31:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# do_pr(turns, count)
# ^
# sizekoc1.c:41:1: warning: control reaches end of non-void function [-Wreturn-type]
# }
# ^
# sizekoc1.c:43:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# try_one(num, count)
# ^
# sizekoc1.c:94:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# try(count)
# ^
# sizekoc1.c:121:1: warning: control reaches end of non-void function [-Wreturn-type]
# }
# ^
# sizekoc1.c:123:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# main(argc, argv)
# ^
# sizekoc1.c:134:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# exit(1);
# ^
# sizekoc1.c:134:2: note: include the header or explicitly provide a declaration for 'exit'
# sizekoc1.c:137:6: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration]
# if(!strcmp(argv[1], "-q")) {
# ^
# sizekoc1.c:137:6: note: include the header or explicitly provide a declaration for 'strcmp'
# 8 warnings generated.
# clang -O -DLARGE_MEM -DVERBOSE -o sizekoc1 sizekoc1.o
# size sizekoc1
# text data bss dec hex filename
# 21845 624 164358720 164381189 9cc4205 sizekoc1
# clang -O -DLARGE_MEM -DVERBOSE -DCCPERM -DIPERM -c sizekoc2.c
# sizekoc2.c:31:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# do_pr(turns, count)
# ^
# sizekoc2.c:41:1: warning: control reaches end of non-void function [-Wreturn-type]
# }
# ^
# sizekoc2.c:43:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# try_one(num, count)
# ^
# sizekoc2.c:131:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# try(count)
# ^
# sizekoc2.c:158:1: warning: control reaches end of non-void function [-Wreturn-type]
# }
# ^
# sizekoc2.c:160:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# main(argc, argv)
# ^
# sizekoc2.c:171:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# exit(1);
# ^
# sizekoc2.c:171:2: note: include the header or explicitly provide a declaration for 'exit'
# sizekoc2.c:174:6: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration]
# if(!strcmp(argv[1], "-q")) {
# ^
# sizekoc2.c:174:6: note: include the header or explicitly provide a declaration for 'strcmp'
# 8 warnings generated.
# clang -O -DLARGE_MEM -DVERBOSE -o sizekoc2 sizekoc2.o
# size sizekoc2
# text data bss dec hex filename
# 55709 624 814067760 814124093 30868c3d sizekoc2
# make[1]: Leaving directory '/tmp/rubiks/src/rubiks-20070912/dik'
# make[1]: Entering directory '/tmp/rubiks/src/rubiks-20070912/reid'
# clang -O2 -g optimal.c -o optimal
# clang -O2 -g twist.c -o twist
# make[1]: Leaving directory '/tmp/rubiks/src/rubiks-20070912/reid'
# mkdir -p /tmp/rubiks/pkg/rubiks/usr/bin
# /usr/bin/install reid/optimal /tmp/rubiks/pkg/rubiks/usr/bin
# /usr/bin/install dietz/solver/cubex /tmp/rubiks/pkg/rubiks/usr/bin
# /usr/bin/install dietz/mcube/mcube /tmp/rubiks/pkg/rubiks/usr/bin
# /usr/bin/install dietz/cu2/cu2 /tmp/rubiks/pkg/rubiks/usr/bin
# /usr/bin/install dik/dikcube /tmp/rubiks/pkg/rubiks/usr/bin
# /usr/bin/install dik/size222 /tmp/rubiks/pkg/rubiks/usr/bin
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "rubiks"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: rubiks 20070912-2 (Thu Apr 13 16:11:29 UTC 2017)

CMD: pacman --query --file rubiks-20070912-2-x86_64.pkg.tar.xz
# rubiks 20070912-2

Creating hybrid package for 'rubiks'

Trying to find vanilla package 'rubiks'...

CMD: pacman --query --file /mirror/rubiks-20070912-2.pkg.tar.xz
# rubiks 20070912-2

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/bin/optimal
# /usr/bin/cubex
# /usr/bin/mcube
# /usr/bin/cu2
# /usr/bin/dikcube
# /usr/bin/size222

Generating .MTREE

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

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO usr .MTREE

CMD: xz -c -z

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

CMD: bsdtar -tqf rubiks.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/rubiks.pkg.tar.xz

Attempting to access local repository, attempt 1

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