Build of cutter with clang_glibc toolchain

The build took 00h 03m 07s and was SUCCESSFUL.

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

SLOCLanguage
526 ansic
4 makefile
530 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: cutter 1.04-1 (Thu Apr 13 12:21:14 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# cc cutter.c -o cutter
# cutter.c:133:11: warning: format specifies type 'unsigned long *' but the argument has type 'in_addr_t *' (aka 'unsigned int *') [-Wformat]
# iface, &dest_ip, &gateway_ip, &flags, &refcnt,
# ^~~~~~~~
# cutter.c:133:21: warning: format specifies type 'unsigned long *' but the argument has type 'in_addr_t *' (aka 'unsigned int *') [-Wformat]
# iface, &dest_ip, &gateway_ip, &flags, &refcnt,
# ^~~~~~~~~~~
# cutter.c:134:19: warning: format specifies type 'unsigned long *' but the argument has type 'in_addr_t *' (aka 'unsigned int *') [-Wformat]
# &use, &metric, &mask, &mtu, &window, &irtt
# ^~~~~
# cutter.c:398:11: warning: implicit declaration of function 'time' is invalid in C99 [-Wimplicit-function-declaration]
# tstart = time(0);
# ^
# cutter.c:417:76: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# i_result = recvfrom(raw_sock, &rpack, sizeof(rpack), 0, (void*)&gotaddr, &addrlen);
# ^~~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 5 warnings generated.
# ==> Entering fakeroot environment...
# ==> Starting package()...
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "cutter"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: cutter 1.04-1 (Thu Apr 13 12:21:14 UTC 2017)

CMD: pacman --query --file cutter-1.04-1-x86_64.pkg.tar.xz
# cutter 1.04-1

Creating hybrid package for 'cutter'

Trying to find vanilla package 'cutter'...

CMD: pacman --query --file /mirror/cutter-1.04-1.pkg.tar.xz
# cutter 1.04-1

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/bin/tcp-cutter

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

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

Attempting to access local repository, attempt 1

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