Build of hardlink with android toolchain

The build took 00h 00m 53s and was NOT successful.

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

SLOCLanguage
813 ansic
69 sh
41 makefile
923 total

The process tree of the build process is here.

List of Errors

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: hardlink 0.3.0-1 (Tue Apr 4 21:07:38 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# Checking for GETOPT_LONG... FAIL
# Checking for POSIX_FADVISE... FAIL
# Checking for XATTR... FAIL
# Checking for libpcreposix... FAIL
# arm-linux-androideabi-gcc -DHAVE_CONFIG_H -o hardlink.o -c hardlink.c
# arm-linux-androideabi-gcc -o hardlink hardlink.o -lpcreposix
# /sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lpcreposix
# collect2: error: ld returned 1 exit status
# make: *** [Makefile:51: hardlink] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/hardlink/src/hardlink-0.3.0/config.log'
# Checking for GETOPT_LONG.../sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lpcreposix
# collect2: error: ld returned 1 exit status
# FAIL
# Checking for POSIX_FADVISE.../sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lpcreposix
# collect2: error: ld returned 1 exit status
# FAIL
# Checking for XATTR.../sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lpcreposix
# collect2: error: ld returned 1 exit status
# FAIL
# Checking for libpcreposix...configure.c:56:23: fatal error: pcreposix.h: No such file or directory
# #include
# ^
# compilation terminated.
# FAIL