Build of whois with clang_glibc toolchain

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

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

SLOCLanguage
3,800 ansic
181 perl
173 makefile
4,154 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: whois 5.2.12-1 (Thu Apr 13 18:34:26 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# clang -DCONFIG_FILE=\"/etc/whois.conf\" -DHAVE_LIBIDN -DHAVE_ICONV -MM -MG *.c > Makefile.depend
# perl make_version_h.pl debian/changelog > version.h
# perl make_ip_del.pl < ip_del_list > ip_del.h
# perl make_ip6_del.pl < ip6_del_list > ip6_del.h
# perl make_as_del.pl < as_del_list > as_del.h
# perl make_as32_del.pl < as32_del_list > as32_del.h
# perl make_new_gtlds.pl < new_gtlds_list > new_gtlds.h
# perl make_tld_serv.pl < tld_serv_list > tld_serv.h
# perl make_servers_charset.pl < servers_charset_list > servers_charset.h
# clang -DCONFIG_FILE=\"/etc/whois.conf\" -DHAVE_LIBIDN -DHAVE_ICONV -c whois.c
# clang -DCONFIG_FILE=\"/etc/whois.conf\" -DHAVE_LIBIDN -DHAVE_ICONV -c utils.c
# clang -DCONFIG_FILE=\"/etc/whois.conf\" -DHAVE_LIBIDN -DHAVE_ICONV -c simple_recode.c
# clang -o whois whois.o utils.o simple_recode.o -lidn
# clang -DCONFIG_FILE=\"/etc/whois.conf\" -DHAVE_LIBIDN -DHAVE_ICONV -c mkpasswd.c
# clang -o mkpasswd mkpasswd.o utils.o -lcrypt
# cd po && make
# make[1]: Entering directory '/tmp/whois/src/whois-5.2.12/po'
# xgettext --default-domain=whois \
# --add-comments --keyword=_ --keyword=N_ ../whois.c ../mkpasswd.c
# if cmp -s whois.po whois.pot; then \
# rm -f whois.po; \
# else \
# mv whois.po whois.pot; \
# fi
# msgfmt --statistics --check --verbose --output-file=cs.mo cs.po
# cs.po: 30 translated messages.
# msgfmt --statistics --check --verbose --output-file=da.mo da.po
# da.po: 30 translated messages.
# msgfmt --statistics --check --verbose --output-file=de.mo de.po
# de.po: 30 translated messages.
# msgfmt --statistics --check --verbose --output-file=el.mo el.po
# el.po: 21 translated messages, 7 fuzzy translations, 2 untranslated messages.
# msgfmt --statistics --check --verbose --output-file=es.mo es.po
# es.po: 30 translated messages.
# msgfmt --statistics --check --verbose --output-file=eu.mo eu.po
# eu.po: 18 translated messages, 10 fuzzy translations, 2 untranslated messages.
# msgfmt --statistics --check --verbose --output-file=fi.mo fi.po
# fi.po: 30 translated messages.
# msgfmt --statistics --check --verbose --output-file=fr.mo fr.po
# fr.po: 30 translated messages.
# msgfmt --statistics --check --verbose --output-file=it.mo it.po
# it.po: 30 translated messages.
# msgfmt --statistics --check --verbose --output-file=ja.mo ja.po
# ja.po: 21 translated messages, 7 fuzzy translations, 2 untranslated messages.
# msgfmt --statistics --check --verbose --output-file=nb.mo nb.po
# nb.po: 5 translated messages, 4 fuzzy translations, 21 untranslated messages.
# msgfmt --statistics --check --verbose --output-file=pl.mo pl.po
# pl.po: 30 translated messages.
# msgfmt --statistics --check --verbose --output-file=pt_BR.mo pt_BR.po
# pt_BR.po: 23 translated messages, 5 fuzzy translations, 2 untranslated messages.
# msgfmt --statistics --check --verbose --output-file=ru.mo ru.po
# ru.po: 30 translated messages.
# msgfmt --statistics --check --verbose --output-file=zh_CN.mo zh_CN.po
# zh_CN.po: 30 translated messages.
# make[1]: Leaving directory '/tmp/whois/src/whois-5.2.12/po'
# ==> Entering fakeroot environment...
# ==> Starting package()...
# install -d /tmp/whois/pkg/whois/usr/bin/
# install -d /tmp/whois/pkg/whois/usr/share/man/man1/
# install -d /tmp/whois/pkg/whois/usr/share/man/man5/
# install -m 0755 whois /tmp/whois/pkg/whois/usr/bin/
# install -m 0644 whois.1 /tmp/whois/pkg/whois/usr/share/man/man1/
# install -m 0644 whois.conf.5 /tmp/whois/pkg/whois/usr/share/man/man5/
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "whois"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: whois 5.2.12-1 (Thu Apr 13 18:34:33 UTC 2017)

CMD: pacman --query --file whois-5.2.12-1-x86_64.pkg.tar.xz
# whois 5.2.12-1

Creating hybrid package for 'whois'

Trying to find vanilla package 'whois'...

CMD: pacman --query --file /mirror/whois-5.2.12-1.pkg.tar.xz
# whois 5.2.12-1

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /etc/whois.conf
# /usr/bin/whois
# /usr/share/man/man1/whois.1.gz
# /usr/share/man/man5/whois.conf.5.gz

Generating .MTREE

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

Tar-ing up files

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

CMD: xz -c -z

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

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

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

Attempting to access local repository, attempt 1

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

Attempting to access local repository, attempt 2

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