Build of mkinitcpio-nfs-utils with clang_glibc toolchain

The build took 00h 00m 47s and was SUCCESSFUL.

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

SLOCLanguage
2,683 ansic
169 sh
61 makefile
2,913 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: mkinitcpio-nfs-utils 0.3-5 (Thu Apr 13 16:11:58 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# patching file nfsmount/mount.c
# make -C ipconfig
# make[1]: Entering directory '/tmp/mkinitcpio-nfs-utils/src/mkinitcpio-nfs-utils-0.3/ipconfig'
# clang -c bootp_proto.c -D_GNU_SOURCE -Wall -Os -fno-strict-aliasing
# clang -c dhcp_proto.c -D_GNU_SOURCE -Wall -Os -fno-strict-aliasing
# clang -c main.c -D_GNU_SOURCE -Wall -Os -fno-strict-aliasing
# clang -c netdev.c -D_GNU_SOURCE -Wall -Os -fno-strict-aliasing
# In file included from netdev.c:16:
# ./netdev.h:65:9: warning: 'IFF_RUNNING' macro redefined [-Wmacro-redefined]
# #define IFF_RUNNING 0x40 /* interface RFC2863 OPER_UP */
# ^
# /usr/include/linux/if.h:112:9: note: previous definition is here
# #define IFF_RUNNING IFF_RUNNING
# ^
# In file included from netdev.c:16:
# ./netdev.h:66:9: warning: 'IFF_BROADCAST' macro redefined [-Wmacro-redefined]
# #define IFF_BROADCAST 0x2 /* broadcast address valid */
# ^
# /usr/include/linux/if.h:107:9: note: previous definition is here
# #define IFF_BROADCAST IFF_BROADCAST
# ^
# In file included from netdev.c:16:
# ./netdev.h:67:9: warning: 'IFF_LOOPBACK' macro redefined [-Wmacro-redefined]
# #define IFF_LOOPBACK 0x8 /* is a loopback net */
# ^
# /usr/include/linux/if.h:109:9: note: previous definition is here
# #define IFF_LOOPBACK IFF_LOOPBACK
# ^
# In file included from netdev.c:16:
# ./netdev.h:68:9: warning: 'IFF_POINTOPOINT' macro redefined [-Wmacro-redefined]
# #define IFF_POINTOPOINT 0x10 /* interface is has p-p link */
# ^
# /usr/include/linux/if.h:110:9: note: previous definition is here
# #define IFF_POINTOPOINT IFF_POINTOPOINT
# ^
# 4 warnings generated.
# clang -c packet.c -D_GNU_SOURCE -Wall -Os -fno-strict-aliasing
# clang -D_GNU_SOURCE -Wall -Os -fno-strict-aliasing -o ipconfig bootp_proto.o dhcp_proto.o main.o netdev.o packet.o
# make[1]: Leaving directory '/tmp/mkinitcpio-nfs-utils/src/mkinitcpio-nfs-utils-0.3/ipconfig'
# make -C nfsmount
# make[1]: Entering directory '/tmp/mkinitcpio-nfs-utils/src/mkinitcpio-nfs-utils-0.3/nfsmount'
# clang -c dummypmap.c -D_GNU_SOURCE -Wall -Os
# clang -c main.c -D_GNU_SOURCE -Wall -Os
# clang -c mount.c -D_GNU_SOURCE -Wall -Os
# clang -c portmap.c -D_GNU_SOURCE -Wall -Os
# clang -c sunrpc.c -D_GNU_SOURCE -Wall -Os
# sunrpc.c:169:25: warning: 'memset' call operates on objects of type 'struct client' while the size is based on a different type 'struct client *' [-Wsizeof-pointer-memaccess]
# memset(clnt, 0, sizeof(clnt));
# ~~~~ ^~~~
# sunrpc.c:169:25: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)?
# memset(clnt, 0, sizeof(clnt));
# ^~~~
# sunrpc.c:214:25: warning: 'memset' call operates on objects of type 'struct client' while the size is based on a different type 'struct client *' [-Wsizeof-pointer-memaccess]
# memset(clnt, 0, sizeof(clnt));
# ~~~~ ^~~~
# sunrpc.c:214:25: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)?
# memset(clnt, 0, sizeof(clnt));
# ^~~~
# 2 warnings generated.
# clang -D_GNU_SOURCE -Wall -Os -o nfsmount dummypmap.o main.o mount.o portmap.o sunrpc.o
# make[1]: Leaving directory '/tmp/mkinitcpio-nfs-utils/src/mkinitcpio-nfs-utils-0.3/nfsmount'
# ==> Entering fakeroot environment...
# ==> Starting package()...
# make: Entering directory '/tmp/mkinitcpio-nfs-utils/src/mkinitcpio-nfs-utils-0.3'
# make -C ipconfig install
# make[1]: Entering directory '/tmp/mkinitcpio-nfs-utils/src/mkinitcpio-nfs-utils-0.3/ipconfig'
# install -Dm755 ipconfig /tmp/mkinitcpio-nfs-utils/pkg/mkinitcpio-nfs-utils/usr/lib/initcpio/ipconfig
# make[1]: Leaving directory '/tmp/mkinitcpio-nfs-utils/src/mkinitcpio-nfs-utils-0.3/ipconfig'
# make -C nfsmount install
# make[1]: Entering directory '/tmp/mkinitcpio-nfs-utils/src/mkinitcpio-nfs-utils-0.3/nfsmount'
# install -Dm755 nfsmount /tmp/mkinitcpio-nfs-utils/pkg/mkinitcpio-nfs-utils/usr/lib/initcpio/nfsmount
# make[1]: Leaving directory '/tmp/mkinitcpio-nfs-utils/src/mkinitcpio-nfs-utils-0.3/nfsmount'
# install -Dm644 net_install /tmp/mkinitcpio-nfs-utils/pkg/mkinitcpio-nfs-utils/usr/lib/initcpio/install/net
# install -Dm644 net_hook /tmp/mkinitcpio-nfs-utils/pkg/mkinitcpio-nfs-utils/usr/lib/initcpio/hooks/net
# make: Leaving directory '/tmp/mkinitcpio-nfs-utils/src/mkinitcpio-nfs-utils-0.3'
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "mkinitcpio-nfs-utils"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: mkinitcpio-nfs-utils 0.3-5 (Thu Apr 13 16:12:01 UTC 2017)

CMD: pacman --query --file mkinitcpio-nfs-utils-0.3-5-x86_64.pkg.tar.xz
# mkinitcpio-nfs-utils 0.3-5

Creating hybrid package for 'mkinitcpio-nfs-utils'

Trying to find vanilla package 'mkinitcpio-nfs-utils'...

CMD: pacman --query --file /mirror/mkinitcpio-nfs-utils-0.3-5.pkg.tar.xz
# mkinitcpio-nfs-utils 0.3-5

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/lib/initcpio/nfsmount
# /usr/lib/initcpio/ipconfig
# /usr/lib/initcpio/install/net
# /usr/lib/initcpio/hooks/net
# /sysroot/usr/lib/initcpio/ipconfig
# /sysroot/usr/lib/initcpio/nfsmount
# /sysroot/usr/lib/initcpio/install/net
# /sysroot/usr/lib/initcpio/hooks/net

Generating .MTREE

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

Tar-ing up files

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

CMD: xz -c -z

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

CMD: bsdtar -tqf mkinitcpio-nfs-utils.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/mkinitcpio-nfs-utils.pkg.tar.xz

Attempting to access local repository, attempt 1

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