Build of adns with android toolchain

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

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

SLOCLanguage
9,005 ansic
410 sh
177 makefile
14 perl
9,606 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/arm-linux-androideabi --> /sysroot/arm-linux-androideabi
# /toolchain_root/COPYING3.LIB --> /sysroot/COPYING3.LIB
# /toolchain_root/sysroot --> /sysroot/sysroot
# /toolchain_root/COPYING.RUNTIME --> /sysroot/COPYING.RUNTIME
# /toolchain_root/lib --> /sysroot/lib
# /toolchain_root/SOURCES --> /sysroot/SOURCES
# /toolchain_root/lib64 --> /sysroot/lib64
# /toolchain_root/share --> /sysroot/share
# /toolchain_root/bin --> /sysroot/bin
# /toolchain_root/COPYING --> /sysroot/COPYING
# /toolchain_root/COPYING3 --> /sysroot/COPYING3
# /toolchain_root/COPYING.LIB --> /sysroot/COPYING.LIB
# /toolchain_root/include --> /sysroot/include
# /toolchain_root/libexec --> /sysroot/libexec

CMD: sudo -u tuscan PATH=/sysroot/bin:/sysroot/libexec/gcc/arm-linux-androideabi/4.8:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=arm-linux-androideabi-gcc CXX=arm-linux-androideabi-g++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: adns 1.5.0-1 (Tue Apr 4 19:32:18 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# checking whether you requested dynamic linking... yes, by default
# checking for arm-linux-androideabi-gcc... arm-linux-androideabi-gcc
# checking whether the C compiler works... yes
# checking for C compiler default output file name... a.out
# checking for suffix of executables...
# checking whether we are cross compiling... yes
# checking for suffix of object files... o
# checking whether we are using the GNU C compiler... yes
# checking whether arm-linux-androideabi-gcc accepts -g... yes
# checking for arm-linux-androideabi-gcc option to accept ISO C89... none needed
# checking how to run the C preprocessor... arm-linux-androideabi-gcc -E
# checking for arm-linux-androideabi-ranlib... arm-linux-androideabi-ranlib
# checking for a BSD-compatible install... /usr/bin/install -c
# checking for poll... yes
# checking for socket... yes
# checking for inet_ntoa... yes
# checking for tsearch... yes
# checking for INADDR_LOOPBACK... found
# checking for inet_aton... yes
# checking inlines... yes
# checking -Wno-pointer-sign... yes
# checking __attribute__((,,))... yes
# checking __attribute__((noreturn))... yes
# checking __attribute__((const))... yes
# checking __attribute__((format...))... yes
# configure: creating ./config.status
# config.status: creating common.make
# config.status: creating settings.make
# config.status: creating Makefile
# config.status: creating src/Makefile
# config.status: creating client/Makefile
# config.status: creating dynamic/Makefile
# config.status: creating regress/Makefile
# config.status: creating src/config.h
# set -e; for d in src dynamic client regress; do make -C $d all; done
# make[1]: Entering directory '/tmp/adns/src/adns-1.5.0/src'
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I. -I. -c -o types.o types.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I. -I. -c -o event.o event.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I. -I. -c -o query.o query.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I. -I. -c -o reply.o reply.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I. -I. -c -o general.o general.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I. -I. -c -o setup.o setup.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I. -I. -c -o transmit.o transmit.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I. -I. -c -o parse.o parse.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I. -I. -c -o poll.o poll.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I. -I. -c -o check.o check.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I. -I. -c -o addrfam.o addrfam.c
# rm -f libadns.a
# ar cqv libadns.a.new types.o event.o query.o reply.o general.o setup.o transmit.o parse.o poll.o check.o addrfam.o
# a - types.o
# a - event.o
# a - query.o
# a - reply.o
# a - general.o
# a - setup.o
# a - transmit.o
# a - parse.o
# a - poll.o
# a - check.o
# a - addrfam.o
# arm-linux-androideabi-ranlib libadns.a.new
# mv -f libadns.a.new libadns.a
# make[1]: Leaving directory '/tmp/adns/src/adns-1.5.0/src'
# make[1]: Entering directory '/tmp/adns/src/adns-1.5.0/dynamic'
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -fpic -I. -I../src -I./../src -c -o types_p.o ../src/types.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -fpic -I. -I../src -I./../src -c -o event_p.o ../src/event.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -fpic -I. -I../src -I./../src -c -o query_p.o ../src/query.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -fpic -I. -I../src -I./../src -c -o reply_p.o ../src/reply.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -fpic -I. -I../src -I./../src -c -o general_p.o ../src/general.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -fpic -I. -I../src -I./../src -c -o setup_p.o ../src/setup.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -fpic -I. -I../src -I./../src -c -o transmit_p.o ../src/transmit.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -fpic -I. -I../src -I./../src -c -o parse_p.o ../src/parse.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -fpic -I. -I../src -I./../src -c -o poll_p.o ../src/poll.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -fpic -I. -I../src -I./../src -c -o check_p.o ../src/check.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -fpic -I. -I../src -I./../src -c -o addrfam_p.o ../src/addrfam.c
# ln -s libadns.so.1.5 libadns.so.1
# ln -s libadns.so.1 libadns.so
# rm -f libadns.so.1.5
# arm-linux-androideabi-gcc -shared -Wl,-soname=libadns.so.1 -o libadns.so.1.5 types_p.o event_p.o query_p.o reply_p.o general_p.o setup_p.o transmit_p.o parse_p.o poll_p.o check_p.o addrfam_p.o -lc
# make[1]: Leaving directory '/tmp/adns/src/adns-1.5.0/dynamic'
# make[1]: Entering directory '/tmp/adns/src/adns-1.5.0/client'
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I. -I../src -I./../src -c -o adnslogres.o adnslogres.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I. -I../src -I./../src -c -o adnsheloex.o adnsheloex.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I. -I../src -I./../src -c -o adh-main.o adh-main.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I. -I../src -I./../src -c -o adh-opts.o adh-opts.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I. -I../src -I./../src -c -o adh-query.o adh-query.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I. -I../src -I./../src -c -o adnsresfilter.o adnsresfilter.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I. -I../src -I./../src -c -o fanftest.o fanftest.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I. -I../src -I./../src -c -o adnstest.o adnstest.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I. -I../src -I./../src -c -o addrtext.o addrtext.c
# arm-linux-androideabi-gcc adnslogres.o -L../dynamic -ladns -o adnslogres
# arm-linux-androideabi-gcc adnsheloex.o -L../dynamic -ladns -o adnsheloex
# arm-linux-androideabi-gcc adh-main.o adh-opts.o adh-query.o -L../dynamic -ladns -o adnshost
# arm-linux-androideabi-gcc adnsresfilter.o -L../dynamic -ladns -o adnsresfilter
# arm-linux-androideabi-gcc adnslogres.o ../src/libadns.a -o adnslogres_s
# arm-linux-androideabi-gcc adnsheloex.o ../src/libadns.a -o adnsheloex_s
# arm-linux-androideabi-gcc adh-main.o adh-opts.o adh-query.o ../src/libadns.a -o adnshost_s
# arm-linux-androideabi-gcc adnsresfilter.o ../src/libadns.a -o adnsresfilter_s
# arm-linux-androideabi-gcc fanftest.o ../src/libadns.a -o fanftest_s
# arm-linux-androideabi-gcc adnstest.o ../src/libadns.a -o adnstest_s
# arm-linux-androideabi-gcc addrtext.o ../src/libadns.a -o addrtext_s
# make[1]: Leaving directory '/tmp/adns/src/adns-1.5.0/client'
# make[1]: Entering directory '/tmp/adns/src/adns-1.5.0/regress'
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I../src -I. -I./../src -c -o hrecord.o hrecord.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I../src -I. -I./../src -c -o hcommon.o hcommon.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I../src -I. -I./../src -DADNS_REGRESS_TEST -I. -c -g -o types_d.o ../src/types.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I../src -I. -I./../src -DADNS_REGRESS_TEST -I. -c -g -o event_d.o ../src/event.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I../src -I. -I./../src -DADNS_REGRESS_TEST -I. -c -g -o query_d.o ../src/query.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I../src -I. -I./../src -DADNS_REGRESS_TEST -I. -c -g -o reply_d.o ../src/reply.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I../src -I. -I./../src -DADNS_REGRESS_TEST -I. -c -g -o general_d.o ../src/general.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I../src -I. -I./../src -DADNS_REGRESS_TEST -I. -c -g -o setup_d.o ../src/setup.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I../src -I. -I./../src -DADNS_REGRESS_TEST -I. -c -g -o transmit_d.o ../src/transmit.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I../src -I. -I./../src -DADNS_REGRESS_TEST -I. -c -g -o parse_d.o ../src/parse.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I../src -I. -I./../src -DADNS_REGRESS_TEST -I. -c -g -o poll_d.o ../src/poll.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I../src -I. -I./../src -DADNS_REGRESS_TEST -I. -c -g -o check_d.o ../src/check.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I../src -I. -I./../src -DADNS_REGRESS_TEST -I. -c -g -o addrfam_d.o ../src/addrfam.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I../src -I. -I./../src -DADNS_REGRESS_TEST -I. -I ./../src -c -g -o adnstest_c.o ../client/adnstest.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I../src -I. -I./../src -DADNS_REGRESS_TEST -I. -I ./../src -c -g -o adh-main_c.o ../client/adh-main.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I../src -I. -I./../src -DADNS_REGRESS_TEST -I. -I ./../src -c -g -o adh-opts_c.o ../client/adh-opts.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I../src -I. -I./../src -DADNS_REGRESS_TEST -I. -I ./../src -c -g -o adh-query_c.o ../client/adh-query.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I../src -I. -I./../src -DADNS_REGRESS_TEST -I. -I ./../src -c -g -o adnslogres_c.o ../client/adnslogres.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I../src -I. -I./../src -DADNS_REGRESS_TEST -I. -I ./../src -c -g -o adnsresfilter_c.o ../client/adnsresfilter.c
# arm-linux-androideabi-gcc -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I../src -I. -I./../src -c -o hplayback.o hplayback.c
# arm-linux-androideabi-gcc adnstest_c.o hrecord.o hcommon.o types_d.o event_d.o query_d.o reply_d.o general_d.o setup_d.o transmit_d.o parse_d.o poll_d.o check_d.o addrfam_d.o -o adnstest_record
# arm-linux-androideabi-gcc adnslogres_c.o hrecord.o hcommon.o types_d.o event_d.o query_d.o reply_d.o general_d.o setup_d.o transmit_d.o parse_d.o poll_d.o check_d.o addrfam_d.o -o adnslogres_record
# arm-linux-androideabi-gcc adh-main_c.o adh-opts_c.o adh-query_c.o hrecord.o hcommon.o types_d.o event_d.o query_d.o reply_d.o general_d.o setup_d.o transmit_d.o parse_d.o poll_d.o check_d.o addrfam_d.o -o adnshost_record
# arm-linux-androideabi-gcc adnstest_c.o hplayback.o hcommon.o types_d.o event_d.o query_d.o reply_d.o general_d.o setup_d.o transmit_d.o parse_d.o poll_d.o check_d.o addrfam_d.o -o adnstest_playback
# arm-linux-androideabi-gcc adh-main_c.o adh-opts_c.o adh-query_c.o hplayback.o hcommon.o types_d.o event_d.o query_d.o reply_d.o general_d.o setup_d.o transmit_d.o parse_d.o poll_d.o check_d.o addrfam_d.o -o adnshost_playback
# arm-linux-androideabi-gcc adnslogres_c.o hplayback.o hcommon.o types_d.o event_d.o query_d.o reply_d.o general_d.o setup_d.o transmit_d.o parse_d.o poll_d.o check_d.o addrfam_d.o -o adnslogres_playback
# arm-linux-androideabi-gcc adnsresfilter_c.o hplayback.o hcommon.o types_d.o event_d.o query_d.o reply_d.o general_d.o setup_d.o transmit_d.o parse_d.o poll_d.o check_d.o addrfam_d.o -o adnsresfilter_playback
# arm-linux-androideabi-gcc adnsresfilter_c.o hrecord.o hcommon.o types_d.o event_d.o query_d.o reply_d.o general_d.o setup_d.o transmit_d.o parse_d.o poll_d.o check_d.o addrfam_d.o -o adnsresfilter_record
# make[1]: Leaving directory '/tmp/adns/src/adns-1.5.0/regress'
# make all-here
# make[1]: Entering directory '/tmp/adns/src/adns-1.5.0'
# make[1]: Nothing to be done for 'all-here'.
# make[1]: Leaving directory '/tmp/adns/src/adns-1.5.0'
# ==> Entering fakeroot environment...
# ==> Starting package()...
# set -e; for d in src dynamic client regress; do make -C $d install; done
# make[1]: Entering directory '/tmp/adns/src/adns-1.5.0/src'
# mkdir -p /tmp/adns/pkg/adns/usr/lib /tmp/adns/pkg/adns/usr/include
# set -xe; for f in libadns.a; \
# do /usr/bin/install -c -m 644 $f /tmp/adns/pkg/adns/usr/lib/$f; done
# + for f in libadns.a
# + /usr/bin/install -c -m 644 libadns.a /tmp/adns/pkg/adns/usr/lib/libadns.a
# /usr/bin/install -c -m 644 ./../src/adns.h /tmp/adns/pkg/adns/usr/include/adns.h
# make[1]: Leaving directory '/tmp/adns/src/adns-1.5.0/src'
# make[1]: Entering directory '/tmp/adns/src/adns-1.5.0/dynamic'
# mkdir -p /tmp/adns/pkg/adns/usr/lib
# /usr/bin/install -c -m 755 libadns.so.1.5 /tmp/adns/pkg/adns/usr/lib/libadns.so.1.5
# ln -sf libadns.so.1.5 /tmp/adns/pkg/adns/usr/lib/libadns.so.1
# ln -sf libadns.so.1 /tmp/adns/pkg/adns/usr/lib/libadns.so
# make[1]: Leaving directory '/tmp/adns/src/adns-1.5.0/dynamic'
# make[1]: Entering directory '/tmp/adns/src/adns-1.5.0/client'
# mkdir -p /tmp/adns/pkg/adns/usr/bin
# set -xe; for f in adnslogres adnsheloex adnshost adnsresfilter; \
# do /usr/bin/install -c -m 755 $f /tmp/adns/pkg/adns/usr/bin/$f; done
# + for f in adnslogres adnsheloex adnshost adnsresfilter
# + /usr/bin/install -c -m 755 adnslogres /tmp/adns/pkg/adns/usr/bin/adnslogres
# + for f in adnslogres adnsheloex adnshost adnsresfilter
# + /usr/bin/install -c -m 755 adnsheloex /tmp/adns/pkg/adns/usr/bin/adnsheloex
# + for f in adnslogres adnsheloex adnshost adnsresfilter
# + /usr/bin/install -c -m 755 adnshost /tmp/adns/pkg/adns/usr/bin/adnshost
# + for f in adnslogres adnsheloex adnshost adnsresfilter
# + /usr/bin/install -c -m 755 adnsresfilter /tmp/adns/pkg/adns/usr/bin/adnsresfilter
# make[1]: Leaving directory '/tmp/adns/src/adns-1.5.0/client'
# make[1]: Entering directory '/tmp/adns/src/adns-1.5.0/regress'
# make[1]: Nothing to be done for 'install'.
# make[1]: Leaving directory '/tmp/adns/src/adns-1.5.0/regress'
# make install-here
# make[1]: Entering directory '/tmp/adns/src/adns-1.5.0'
# make[1]: Nothing to be done for 'install-here'.
# make[1]: Leaving directory '/tmp/adns/src/adns-1.5.0'
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "adns"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: adns 1.5.0-1 (Tue Apr 4 19:32:22 UTC 2017)

CMD: pacman --query --file adns-1.5.0-1-x86_64.pkg.tar.xz
# adns 1.5.0-1

Creating hybrid package for 'adns'

Trying to find vanilla package 'adns'...

CMD: pacman --query --file /mirror/adns-1.5.0-1.pkg.tar.xz
# adns 1.5.0-1

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/bin/adnsresfilter
# /usr/bin/adnslogres
# /usr/bin/adnsheloex
# /usr/bin/adnshost
# /usr/lib/libadns.so.1
# /usr/lib/libadns.so.1.5
# /usr/lib/libadns.so
# /usr/include/adns.h
# /sysroot/sysroot/usr/lib/libadns.a
# /sysroot/sysroot/usr/lib/libadns.so.1.5
# /sysroot/sysroot/usr/lib/libadns.so.1
# /sysroot/sysroot/usr/lib/libadns.so
# /sysroot/sysroot/usr/include/adns.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 adns.pkg.tar.xz .PKGINFO
# .PKGINFO

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

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/adns.pkg.tar.xz
# ==> Extracting database to a temporary location...
# ==> Extracting database to a temporary location...
# ==> Adding package '/var/cache/pacman/pkg/adns.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/adns/src/adns-1.5.0/config.log'
# This file contains any messages produced by compilers while
# running configure, to aid debugging if configure makes a mistake.
#
# It was created by configure, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure --build=x86_64-unknown-linux --host=arm-linux-androideabi --prefix=/usr
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 1b620a7aa50c
# uname -m = x86_64
# uname -r = 4.10.6-1-ARCH
# uname -s = Linux
# uname -v = #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017
#
# /usr/bin/uname -p = unknown
# /bin/uname -X = unknown
#
# /bin/arch = unknown
# /usr/bin/arch -k = unknown
# /usr/convex/getsysinfo = unknown
# /usr/bin/hostinfo = unknown
# /bin/machine = unknown
# /usr/bin/oslevel = unknown
# /bin/universe = unknown
#
# PATH: /sysroot/bin
# PATH: /sysroot/libexec/gcc/arm-linux-androideabi/4.8
# PATH: /usr/local/sbin
# PATH: /usr/local/bin
# PATH: /usr/sbin
# PATH: /usr/bin
# PATH: /sbin
# PATH: /bin
#
#
# ## ----------- ##
# ## Core tests. ##
# ## ----------- ##
#
# configure:2104: checking whether you requested dynamic linking
# configure:2126: result: yes, by default
# configure:2140: checking for arm-linux-androideabi-gcc
# configure:2167: result: arm-linux-androideabi-gcc
# configure:2436: checking for C compiler version
# configure:2445: arm-linux-androideabi-gcc --version >&5
# arm-linux-androideabi-gcc (GCC) 4.8
# Copyright (C) 2013 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# configure:2456: $? = 0
# configure:2445: arm-linux-androideabi-gcc -v >&5
# Using built-in specs.
# COLLECT_GCC=arm-linux-androideabi-gcc
# COLLECT_LTO_WRAPPER=/sysroot/bin/../libexec/gcc/arm-linux-androideabi/4.8/lto-wrapper
# Target: arm-linux-androideabi
# Configured with: /s/ndk-toolchain/src/build/../gcc/gcc-4.8/configure --prefix=/tmp/ndk-andrewhsieh/build/toolchain/prefix --target=arm-linux-androideabi --host=x86_64-linux-gnu --build=x86_64-linux-gnu --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --with-gmp=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-mpfr=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-mpc=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-cloog=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-isl=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-ppl=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --disable-ppl-version-check --disable-cloog-version-check --disable-isl-version-check --enable-cloog-backend=isl --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --disable-libssp --enable-threads --disable-nls --disable-libmudflap --disable-libgomp --disable-libstdc__-v3 --disable-sjlj-exceptions --disable-shared --disable-tls --disable-libitm --with-float=soft --with-fpu=vfp --with-arch=armv5te --enable-target-optspace --enable-initfini-array --disable-nls --prefix=/tmp/ndk-andrewhsieh/build/toolchain/prefix --with-sysroot=/tmp/ndk-andrewhsieh/build/toolchain/prefix/sysroot --with-binutils-version=2.25 --with-mpfr-version=3.1.1 --with-mpc-version=1.0.1 --with-gmp-version=5.0.5 --with-gcc-version=4.8 --with-gdb-version=7.7 --with-python=/usr/local/google/home/andrewhsieh/mydroid/ndk/prebuilt/linux-x86_64/bin/python-config.sh --with-gxx-include-dir=/tmp/ndk-andrewhsieh/build/toolchain/prefix/include/c++/4.8 --with-bugurl=http://source.android.com/source/report-bugs.html --enable-languages=c,c++ --disable-bootstrap --enable-plugins --enable-libgomp --enable-gnu-indirect-function --disable-libsanitizer --enable-gold --enable-threads --enable-graphite=yes --with-cloog-version=0.18.0 --with-isl-version=0.11.1 --enable-eh-frame-hdr-for-static --with-arch=armv5te --program-transform-name='s&^&arm-linux-androideabi-&' --enable-gold=default
# Thread model: posix
# gcc version 4.8 (GCC)
# configure:2456: $? = 0
# configure:2445: arm-linux-androideabi-gcc -V >&5
# arm-linux-androideabi-gcc: error: unrecognized command line option '-V'
# arm-linux-androideabi-gcc: fatal error: no input files
# compilation terminated.
# configure:2456: $? = 1
# configure:2445: arm-linux-androideabi-gcc -qversion >&5
# arm-linux-androideabi-gcc: error: unrecognized command line option '-qversion'
# arm-linux-androideabi-gcc: fatal error: no input files
# compilation terminated.
# configure:2456: $? = 1
# configure:2476: checking whether the C compiler works
# configure:2498: arm-linux-androideabi-gcc conftest.c >&5
# configure:2502: $? = 0
# configure:2550: result: yes
# configure:2553: checking for C compiler default output file name
# configure:2555: result: a.out
# configure:2561: checking for suffix of executables
# configure:2568: arm-linux-androideabi-gcc -o conftest conftest.c >&5
# configure:2572: $? = 0
# configure:2594: result:
# configure:2616: checking whether we are cross compiling
# configure:2654: result: yes
# configure:2659: checking for suffix of object files
# configure:2681: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:2685: $? = 0
# configure:2706: result: o
# configure:2710: checking whether we are using the GNU C compiler
# configure:2729: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:2729: $? = 0
# configure:2738: result: yes
# configure:2747: checking whether arm-linux-androideabi-gcc accepts -g
# configure:2767: arm-linux-androideabi-gcc -c -g conftest.c >&5
# configure:2767: $? = 0
# configure:2808: result: yes
# configure:2825: checking for arm-linux-androideabi-gcc option to accept ISO C89
# configure:2888: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:2888: $? = 0
# configure:2901: result: none needed
# configure:2926: checking how to run the C preprocessor
# configure:2957: arm-linux-androideabi-gcc -E conftest.c
# configure:2957: $? = 0
# configure:2971: arm-linux-androideabi-gcc -E conftest.c
# conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
# #include
# ^
# compilation terminated.
# configure:2971: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | /* end confdefs.h. */
# | #include
# configure:2996: result: arm-linux-androideabi-gcc -E
# configure:3016: arm-linux-androideabi-gcc -E conftest.c
# configure:3016: $? = 0
# configure:3030: arm-linux-androideabi-gcc -E conftest.c
# conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
# #include
# ^
# compilation terminated.
# configure:3030: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | /* end confdefs.h. */
# | #include
# configure:3061: checking for arm-linux-androideabi-ranlib
# configure:3077: found /sysroot/bin/arm-linux-androideabi-ranlib
# configure:3088: result: arm-linux-androideabi-ranlib
# configure:3193: checking for a BSD-compatible install
# configure:3261: result: /usr/bin/install -c
# configure:3276: checking for poll
# configure:3276: arm-linux-androideabi-gcc -o conftest conftest.c >&5
# configure:3276: $? = 0
# configure:3276: result: yes
# configure:3286: checking for socket
# configure:3286: arm-linux-androideabi-gcc -o conftest conftest.c >&5
# configure:3286: $? = 0
# configure:3286: result: yes
# configure:3345: checking for inet_ntoa
# configure:3345: arm-linux-androideabi-gcc -o conftest conftest.c >&5
# configure:3345: $? = 0
# configure:3345: result: yes
# configure:3406: checking for tsearch
# configure:3406: arm-linux-androideabi-gcc -o conftest conftest.c >&5
# configure:3406: $? = 0
# configure:3406: result: yes
# configure:3420: checking for INADDR_LOOPBACK
# configure:3443: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3443: $? = 0
# configure:3452: result: found
# configure:3733: checking for inet_aton
# configure:3733: arm-linux-androideabi-gcc -o conftest conftest.c >&5
# configure:3733: $? = 0
# configure:3733: result: yes
# configure:3792: checking inlines
# configure:3809: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3809: $? = 0
# configure:3820: result: yes
# configure:3838: checking -Wno-pointer-sign
# configure:3855: arm-linux-androideabi-gcc -c -Wno-pointer-sign conftest.c >&5
# configure:3855: $? = 0
# configure:3866: result: yes
# configure:3882: checking __attribute__((,,))
# configure:3899: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3899: $? = 0
# configure:3910: result: yes
# configure:3915: checking __attribute__((noreturn))
# configure:3932: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3932: $? = 0
# configure:3943: result: yes
# configure:3954: checking __attribute__((const))
# configure:3971: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3971: $? = 0
# configure:3982: result: yes
# configure:3993: checking __attribute__((format...))
# configure:4010: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:4010: $? = 0
# configure:4021: result: yes
# configure:4173: creating ./config.status
#
# ## ---------------------- ##
# ## Running config.status. ##
# ## ---------------------- ##
#
# This file was extended by config.status, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# CONFIG_FILES =
# CONFIG_HEADERS =
# CONFIG_LINKS =
# CONFIG_COMMANDS =
# $ ./config.status
#
# on 1b620a7aa50c
#
# config.status:814: creating common.make
# config.status:814: creating settings.make
# config.status:814: creating Makefile
# config.status:814: creating src/Makefile
# config.status:814: creating client/Makefile
# config.status:814: creating dynamic/Makefile
# config.status:814: creating regress/Makefile
# config.status:814: creating src/config.h
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_c_compiler_gnu=yes
# ac_cv_env_CC_set=set
# ac_cv_env_CC_value=arm-linux-androideabi-gcc
# ac_cv_env_CFLAGS_set=set
# ac_cv_env_CFLAGS_value=
# ac_cv_env_CPPFLAGS_set=set
# ac_cv_env_CPPFLAGS_value=
# ac_cv_env_CPP_set=
# ac_cv_env_CPP_value=
# ac_cv_env_LDFLAGS_set=set
# ac_cv_env_LDFLAGS_value=
# ac_cv_env_LIBS_set=
# ac_cv_env_LIBS_value=
# ac_cv_env_build_alias_set=set
# ac_cv_env_build_alias_value=x86_64-unknown-linux
# ac_cv_env_host_alias_set=set
# ac_cv_env_host_alias_value=arm-linux-androideabi
# ac_cv_env_target_alias_set=
# ac_cv_env_target_alias_value=
# ac_cv_func_inet_aton=yes
# ac_cv_func_inet_ntoa=yes
# ac_cv_func_poll=yes
# ac_cv_func_socket=yes
# ac_cv_func_tsearch=yes
# ac_cv_objext=o
# ac_cv_path_install='/usr/bin/install -c'
# ac_cv_prog_CC=arm-linux-androideabi-gcc
# ac_cv_prog_CPP='arm-linux-androideabi-gcc -E'
# ac_cv_prog_RANLIB=arm-linux-androideabi-ranlib
# ac_cv_prog_cc_c89=
# ac_cv_prog_cc_g=yes
# adns_cv_attribute_format=yes
# adns_cv_c_attribute_const=yes
# adns_cv_c_attribute_noreturn=yes
# adns_cv_c_attribute_supported=yes
# adns_cv_c_wnoptrsign=yes
# adns_cv_decl_inaddrloopback=yes
# dpkg_cv_c_inline=yes
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# CC='arm-linux-androideabi-gcc'
# CFLAGS=''
# CPP='arm-linux-androideabi-gcc -E'
# CPPFLAGS=''
# DEFS='-DHAVE_CONFIG_H'
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP=''
# ENABLE_DYNAMIC='elf'
# EXEEXT=''
# GREP=''
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# LDFLAGS=''
# LIBOBJS=''
# LIBS=''
# LTLIBOBJS=''
# MKSHLIB_1='$(CC) $(LDFLAGS) -shared -Wl,-soname=$(SHLIBSONAME) -o'
# MKSHLIB_2=''
# MKSHLIB_3='-lc'
# OBJEXT='o'
# PACKAGE_BUGREPORT=''
# PACKAGE_NAME=''
# PACKAGE_STRING=''
# PACKAGE_TARNAME=''
# PACKAGE_URL=''
# PACKAGE_VERSION=''
# PATH_SEPARATOR=':'
# PROGS_HAVE_TSEARCH='adnsresfilter'
# RANLIB='arm-linux-androideabi-ranlib'
# SHELL='/bin/sh'
# SHLIBCC='$(CC) $(CFLAGS) -fpic'
# SHLIBFILE='$(SHLIBSONAME).$(MINOR)'
# SHLIBFORLINK='libadns.so'
# SHLIBSONAME='$(SHLIBFORLINK).$(MAJOR)'
# WARNS='-Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign'
# ac_ct_CC=''
# bindir='${exec_prefix}/bin'
# build_alias='x86_64-unknown-linux'
# datadir='${datarootdir}'
# datarootdir='${prefix}/share'
# docdir='${datarootdir}/doc/${PACKAGE}'
# dvidir='${docdir}'
# exec_prefix='${prefix}'
# host_alias='arm-linux-androideabi'
# htmldir='${docdir}'
# includedir='${prefix}/include'
# infodir='${datarootdir}/info'
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localedir='${datarootdir}/locale'
# localstatedir='${prefix}/var'
# mandir='${datarootdir}/man'
# oldincludedir='/usr/include'
# pdfdir='${docdir}'
# prefix='/usr'
# program_transform_name='s,x,x,'
# psdir='${docdir}'
# sbindir='${exec_prefix}/sbin'
# sharedstatedir='${prefix}/com'
# sysconfdir='${prefix}/etc'
# target_alias=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# /* confdefs.h */
# #define PACKAGE_NAME ""
# #define PACKAGE_TARNAME ""
# #define PACKAGE_VERSION ""
# #define PACKAGE_STRING ""
# #define PACKAGE_BUGREPORT ""
# #define PACKAGE_URL ""
# #define HAVE_POLL 1
# #define HAVE_INLINE 1
# #define HAVE_GNUC25_ATTRIB 1
# #define HAVE_GNUC25_NORETURN 1
# #define HAVE_GNUC25_CONST 1
# #define HAVE_GNUC25_PRINTFFORMAT 1
#
# configure: exit 0