Build of dhex with clang_glibc toolchain

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

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

SLOCLanguage
3,937 ansic
46 sh
33 makefile
4,016 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: dhex 0.68-3 (Thu Apr 13 16:22:12 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# gcc buffers.c -c -I. -I/usr/include -I/usr/local/include -I/usr/include/ncurses -I/usr/local/include/ncurses -O3 -Wall -std=c99
# gcc configfile.c -c -I. -I/usr/include -I/usr/local/include -I/usr/include/ncurses -I/usr/local/include/ncurses -O3 -Wall -std=c99
# configfile.c:193:23: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# getcolors(output,line);
# ^~~~
# configfile.c:77:37: note: passing argument to parameter 'line' here
# int getcolors(tOutput* output,char* line)
# ^
# configfile.c:194:59: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# keyboardcnt+=(configkeytab((tKeyTab*)output->pKeyTab,line)==0);
# ^~~~
# ./input.h:43:41: note: passing argument to parameter 'line' here
# int configkeytab(tKeyTab* pKeyTab,char* line);
# ^
# 2 warnings generated.
# gcc correlation.c -c -I. -I/usr/include -I/usr/local/include -I/usr/include/ncurses -I/usr/local/include/ncurses -O3 -Wall -std=c99
# gcc gpl.c -c -I. -I/usr/include -I/usr/local/include -I/usr/include/ncurses -I/usr/local/include/ncurses -O3 -Wall -std=c99
# gcc hexcalc.c -c -I. -I/usr/include -I/usr/local/include -I/usr/include/ncurses -I/usr/local/include/ncurses -O3 -Wall -std=c99
# gcc input.c -c -I. -I/usr/include -I/usr/local/include -I/usr/include/ncurses -I/usr/local/include/ncurses -O3 -Wall -std=c99
# input.c:72:5: warning: implicit declaration of function 'usleep' is invalid in C99 [-Wimplicit-function-declaration]
# usleep(1);
# ^
# 1 warning generated.
# gcc machine_type.c -c -I. -I/usr/include -I/usr/local/include -I/usr/include/ncurses -I/usr/local/include/ncurses -O3 -Wall -std=c99
# gcc main.c -c -I. -I/usr/include -I/usr/local/include -I/usr/include/ncurses -I/usr/local/include/ncurses -O3 -Wall -std=c99
# main.c:516:41: warning: passing 'tInt64 *' (aka 'long long *') to parameter of type 'tUInt64 *' (aka 'unsigned long long *') converts between pointers to integer types with different sign [-Wpointer-sign]
# if (gosearch1) searchfor(&search1,buf1,&cursorpos1,1);
# ^~~~~~~~~~~
# ./search.h:8:55: note: passing argument to parameter 'cursorpos' here
# tInt8 searchfor(tSearch* search,tBuffer* buf,tUInt64* cursorpos,tBool nextnotprev);
# ^
# main.c:517:53: warning: passing 'tInt64 *' (aka 'long long *') to parameter of type 'tUInt64 *' (aka 'unsigned long long *') converts between pointers to integer types with different sign [-Wpointer-sign]
# if (gosearch2 && diffmode) searchfor(&search2,buf2,&cursorpos2,1);
# ^~~~~~~~~~~
# ./search.h:8:55: note: passing argument to parameter 'cursorpos' here
# tInt8 searchfor(tSearch* search,tBuffer* buf,tUInt64* cursorpos,tBool nextnotprev);
# ^
# main.c:621:33: warning: passing 'tInt64 *' (aka 'long long *') to parameter of type 'tUInt64 *' (aka 'unsigned long long *') converts between pointers to integer types with different sign [-Wpointer-sign]
# if (gotomask(output,markers,&cursorpos1,buf1->baseaddr)==RETOK)
# ^~~~~~~~~~~
# ./markers.h:9:59: note: passing argument to parameter 'cursorpos' here
# tInt8 gotomask(tOutput* output,tMarkers* markers,tUInt64* cursorpos,tInt64 baseaddr);
# ^
# main.c:630:37: warning: passing 'tInt64 *' (aka 'long long *') to parameter of type 'tUInt64 *' (aka 'unsigned long long *') converts between pointers to integer types with different sign [-Wpointer-sign]
# searchmask(output,&search1,buf1,&cursorpos1);
# ^~~~~~~~~~~
# ./ui.h:8:71: note: passing argument to parameter 'cursorpos' here
# void searchmask(tOutput* output,tSearch* search,tBuffer* buf,tUInt64* cursorpos);
# ^
# main.c:684:30: warning: passing 'tInt64 *' (aka 'long long *') to parameter of type 'tUInt64 *' (aka 'unsigned long long *') converts between pointers to integer types with different sign [-Wpointer-sign]
# searchfor(&search1,buf1,&cursorpos1,(ch==KEYF3)); // f3: next
# ^~~~~~~~~~~
# ./search.h:8:55: note: passing argument to parameter 'cursorpos' here
# tInt8 searchfor(tSearch* search,tBuffer* buf,tUInt64* cursorpos,tBool nextnotprev);
# ^
# 5 warnings generated.
# gcc markers.c -c -I. -I/usr/include -I/usr/local/include -I/usr/include/ncurses -I/usr/local/include/ncurses -O3 -Wall -std=c99
# markers.c:171:54: warning: taking the absolute value of unsigned type 'unsigned long long' has no effect [-Wabsolute-value]
# mvwprintw(output->win,offsy+5+i,offsx+42,"%16llx",abs(markers->cursorpos[i]-actcursorpos));
# ^
# markers.c:171:54: note: remove the call to 'abs' since unsigned values cannot be negative
# mvwprintw(output->win,offsy+5+i,offsx+42,"%16llx",abs(markers->cursorpos[i]-actcursorpos));
# ^~~
# 1 warning generated.
# gcc menu.c -c -I. -I/usr/include -I/usr/local/include -I/usr/include/ncurses -I/usr/local/include/ncurses -O3 -Wall -std=c99
# gcc output.c -c -I. -I/usr/include -I/usr/local/include -I/usr/include/ncurses -I/usr/local/include/ncurses -O3 -Wall -std=c99
# output.c:411:1: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign]
# "Goto ", // F1
# ^~~~~~~~
# output.c:412:1: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign]
# "Search", // F2
# ^~~~~~~~
# output.c:413:1: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign]
# "Next ", // F3
# ^~~~~~~~
# output.c:414:1: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign]
# "Prev ", // F4
# ^~~~~~~~
# output.c:415:1: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign]
# "HexCal", // F5
# ^~~~~~~~
# output.c:416:1: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign]
# " ", // F6
# ^~~~~~~~
# output.c:417:1: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign]
# " ", // F7
# ^~~~~~~~
# output.c:418:1: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign]
# " ", // F8
# ^~~~~~~~
# output.c:419:1: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign]
# "Undo ", // F9
# ^~~~~~~~
# output.c:420:1: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign]
# "Quit "}; // F10
# ^~~~~~~~
# output.c:423:1: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign]
# " ", // F1
# ^~~~~~~~
# output.c:424:1: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign]
# " ", // F2
# ^~~~~~~~
# output.c:425:1: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign]
# "Next ", // F3
# ^~~~~~~~
# output.c:426:1: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign]
# "Prev ", // F4
# ^~~~~~~~
# output.c:427:1: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign]
# "HexCal", // F5
# ^~~~~~~~
# output.c:428:1: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign]
# "Corr. ", // F6
# ^~~~~~~~
# output.c:429:1: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign]
# " ", // F7
# ^~~~~~~~
# output.c:430:1: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign]
# " ", // F8
# ^~~~~~~~
# output.c:431:1: warning: initializing 'unsigned char *' with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign]
# " ", // F9
# ^~~~~~~~~
# output.c:432:1: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign]
# "Quit "}; // F10
# ^~~~~~~~
# 20 warnings generated.
# gcc search.c -c -I. -I/usr/include -I/usr/local/include -I/usr/include/ncurses -I/usr/local/include/ncurses -O3 -Wall -std=c99
# gcc ui.c -c -I. -I/usr/include -I/usr/local/include -I/usr/include/ncurses -I/usr/local/include/ncurses -O3 -Wall -std=c99
# ui.c:194:37: warning: passing 'tInt64 *' (aka 'long long *') to parameter of type 'tUInt64 *' (aka 'unsigned long long *') converts between pointers to integer types with different sign [-Wpointer-sign]
# decinput(output,offsy+4,offsx+22,&correlation->start_mindiff,18);
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~
# ./input.h:39:60: note: passing argument to parameter 'val' here
# tInt16 decinput(tOutput* output,tInt16 y,tInt16 x,tUInt64* val,tInt16 len);
# ^
# 1 warning generated.
# gcc -L/usr/lib -L/usr/local/lib -L/usr/lib/ncurses -L/usr/local/lib/ncurses -o dhex buffers.o configfile.o correlation.o gpl.o hexcalc.o input.o machine_type.o main.o markers.o menu.o output.o search.o ui.o -lncurses
# ==> Entering fakeroot environment...
# ==> Starting package()...
# strip dhex
# cp dhex /tmp/dhex/pkg/dhex/usr/bin
# cp dhex.1 /tmp/dhex/pkg/dhex/usr/man/man1
# cp dhexrc.5 /tmp/dhex/pkg/dhex/usr/man/man5
# cp dhex_markers.5 /tmp/dhex/pkg/dhex/usr/man/man5
# cp dhex_searchlog.5 /tmp/dhex/pkg/dhex/usr/man/man5
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "dhex"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: dhex 0.68-3 (Thu Apr 13 16:22:23 UTC 2017)

CMD: pacman --query --file dhex-0.68-3-x86_64.pkg.tar.xz
# dhex 0.68-3

Creating hybrid package for 'dhex'

Trying to find vanilla package 'dhex'...

CMD: pacman --query --file /mirror/dhex-0.68-3.pkg.tar.xz
# dhex 0.68-3

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/bin/dhex
# /usr/share/man/man1/dhex.1.gz
# /usr/share/man/man5/dhexrc.5.gz
# /usr/share/man/man5/dhex_markers.5.gz
# /usr/share/man/man5/dhex_searchlog.5.gz

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 dhex.pkg.tar.xz .PKGINFO
# .PKGINFO

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

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/dhex.pkg.tar.xz
# ==> ERROR: Failed to acquire lockfile: /var/cache/pacman/pkg/tuscan.db.tar.lck.
# ==> ERROR: Held by process 2973

Attempting to access local repository, attempt 2

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