Build of udns with clang_glibc toolchain

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

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

SLOCLanguage
4,243 ansic
304 makefile
130 sh
4,677 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: udns 0.4-2 (Thu Apr 13 12:41:09 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# configure... udns package
# checking for C compiler... $CC (clang)
# checking whenever C compiler (clang) is GNU CC... yes
# checking whenever the C compiler (clang -Wall -W -O2 -pipe)
# can produce executables... yes
# checking for ranlib... ranlib
# checking for getopt()... yes
# checking for libraries needed for socket and connect... ok (none needed)
# checking for inet_pton() && inet_ntop()... yes
# checking for socklen_t... yes
# checking for IPv6... yes
# checking for poll()... yes
# creating config.h... ok
# creating Makefile... ok
# creating config.status... ok
# all done.
# clang -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_dn.c
# clang -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_dntosp.c
# clang -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_parse.c
# clang -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_resolver.c
# udns_resolver.c:1247:7: warning: explicitly assigning value of variable of type 'struct dns_ctx *' to itself [-Wself-assign]
# ctx = ctx;
# ~~~ ^ ~~~
# 1 warning generated.
# clang -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_init.c
# clang -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_misc.c
# clang -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_XtoX.c
# clang -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_rr_a.c
# clang -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_rr_ptr.c
# clang -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_rr_mx.c
# clang -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_rr_txt.c
# clang -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_bl.c
# clang -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_rr_srv.c
# clang -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_rr_naptr.c
# clang -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_codes.c
# clang -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_jran.c
# rm -f libudns.a
# ar rv libudns.a udns_dn.o udns_dntosp.o udns_parse.o udns_resolver.o udns_init.o udns_misc.o udns_XtoX.o udns_rr_a.o udns_rr_ptr.o udns_rr_mx.o udns_rr_txt.o udns_bl.o udns_rr_srv.o udns_rr_naptr.o udns_codes.o udns_jran.o
# ar: creating libudns.a
# a - udns_dn.o
# a - udns_dntosp.o
# a - udns_parse.o
# a - udns_resolver.o
# a - udns_init.o
# a - udns_misc.o
# a - udns_XtoX.o
# a - udns_rr_a.o
# a - udns_rr_ptr.o
# a - udns_rr_mx.o
# a - udns_rr_txt.o
# a - udns_bl.o
# a - udns_rr_srv.o
# a - udns_rr_naptr.o
# a - udns_codes.o
# a - udns_jran.o
# clang -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c dnsget.c
# dnsget.c:495:29: warning: implicit conversion from enumeration type 'enum dns_type' to different enumeration type 'enum dns_class' [-Wenum-conversion]
# p.dnsp_qcls = p.dnsp_qtyp = 0;
# ~ ~~~~~~~~~~~~^~~
# dnsget.c:413:31: warning: unused parameter 'unused_q' [-Wunused-parameter]
# const struct dns_query *unused_q, void *unused_data) {
# ^
# dnsget.c:413:47: warning: unused parameter 'unused_data' [-Wunused-parameter]
# const struct dns_query *unused_q, void *unused_data) {
# ^
# dnsget.c:522:29: warning: implicit conversion from enumeration type 'enum dns_type' to different enumeration type 'enum dns_class' [-Wenum-conversion]
# p.dnsp_qcls = p.dnsp_qtyp = 0;
# ~ ~~~~~~~~~~~~^~~
# 4 warnings generated.
# clang -o dnsget dnsget.o -L. -ludns
# clang -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c rblcheck.c
# clang -o rblcheck rblcheck.o -L. -ludns
# clang -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c ex-rdns.c
# clang -o ex-rdns ex-rdns.o -L. -ludns
# clang -Wall -W -O2 -pipe -fPIC -DHAVE_CONFIG_H -o udns_dn.lo -c udns_dn.c
# clang -Wall -W -O2 -pipe -fPIC -DHAVE_CONFIG_H -o udns_dntosp.lo -c udns_dntosp.c
# clang -Wall -W -O2 -pipe -fPIC -DHAVE_CONFIG_H -o udns_parse.lo -c udns_parse.c
# clang -Wall -W -O2 -pipe -fPIC -DHAVE_CONFIG_H -o udns_resolver.lo -c udns_resolver.c
# udns_resolver.c:1247:7: warning: explicitly assigning value of variable of type 'struct dns_ctx *' to itself [-Wself-assign]
# ctx = ctx;
# ~~~ ^ ~~~
# 1 warning generated.
# clang -Wall -W -O2 -pipe -fPIC -DHAVE_CONFIG_H -o udns_init.lo -c udns_init.c
# clang -Wall -W -O2 -pipe -fPIC -DHAVE_CONFIG_H -o udns_misc.lo -c udns_misc.c
# clang -Wall -W -O2 -pipe -fPIC -DHAVE_CONFIG_H -o udns_XtoX.lo -c udns_XtoX.c
# clang -Wall -W -O2 -pipe -fPIC -DHAVE_CONFIG_H -o udns_rr_a.lo -c udns_rr_a.c
# clang -Wall -W -O2 -pipe -fPIC -DHAVE_CONFIG_H -o udns_rr_ptr.lo -c udns_rr_ptr.c
# clang -Wall -W -O2 -pipe -fPIC -DHAVE_CONFIG_H -o udns_rr_mx.lo -c udns_rr_mx.c
# clang -Wall -W -O2 -pipe -fPIC -DHAVE_CONFIG_H -o udns_rr_txt.lo -c udns_rr_txt.c
# clang -Wall -W -O2 -pipe -fPIC -DHAVE_CONFIG_H -o udns_bl.lo -c udns_bl.c
# clang -Wall -W -O2 -pipe -fPIC -DHAVE_CONFIG_H -o udns_rr_srv.lo -c udns_rr_srv.c
# clang -Wall -W -O2 -pipe -fPIC -DHAVE_CONFIG_H -o udns_rr_naptr.lo -c udns_rr_naptr.c
# clang -Wall -W -O2 -pipe -fPIC -DHAVE_CONFIG_H -o udns_codes.lo -c udns_codes.c
# clang -Wall -W -O2 -pipe -fPIC -DHAVE_CONFIG_H -o udns_jran.lo -c udns_jran.c
# clang -shared -Wl,--soname,libudns.so.0 -o libudns.so.0 udns_dn.lo udns_dntosp.lo udns_parse.lo udns_resolver.lo udns_init.lo udns_misc.lo udns_XtoX.lo udns_rr_a.lo udns_rr_ptr.lo udns_rr_mx.lo udns_rr_txt.lo udns_bl.lo udns_rr_srv.lo udns_rr_naptr.lo udns_codes.lo udns_jran.lo
# ==> Entering fakeroot environment...
# ==> Starting package()...
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "udns"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: udns 0.4-2 (Thu Apr 13 12:41:30 UTC 2017)

CMD: pacman --query --file udns-0.4-2-x86_64.pkg.tar.xz
# udns 0.4-2

Creating hybrid package for 'udns'

Trying to find vanilla package 'udns'...

CMD: pacman --query --file /mirror/udns-0.4-2.pkg.tar.xz
# udns 0.4-2

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/bin/dnsget
# /usr/bin/rblcheck
# /usr/bin/ex-rdns
# /usr/include/udns.h
# /usr/lib/libudns.so
# /usr/lib/libudns.so.0
# /usr/share/man/man1/dnsget.1.gz
# /usr/share/man/man1/rblcheck.1.gz
# /usr/share/man/man3/udns.3.gz
# /sysroot/usr/lib/libudns.so.0
# /sysroot/usr/lib/libudns.so
# /sysroot/usr/include/udns.h

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

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

Attempting to access local repository, attempt 1

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

Printing config logfiles

CMD: config logfiles '/tmp/udns/src/udns-0.4/config.log'
# This file contains any messages produced by compilers etc while
# running configure, to aid debugging if configure script makes a mistake.
#
# >>> configure
# === udns package
# >>> checking for C compiler
# === $CC (clang)
# >>> checking whenever C compiler (clang) is GNU CC
# === yes
# >>> checking whenever the C compiler (clang -Wall -W -O2 -pipe)
# can produce executables
# === yes
# >>> checking for ranlib
# === ranlib
# >>> checking for getopt()
# === yes
# >>> checking for libraries needed for socket and connect
# === ok (none needed)
# >>> checking for inet_pton() && inet_ntop()
# === yes
# >>> checking for socklen_t
# === yes
# >>> checking for IPv6
# === yes
# >>> checking for poll()
# === yes
# >>> creating config.h
# === ok
# >>> creating Makefile
# === ok
# >>> creating config.status
# === ok
# === all done.