Build of lesspipe with clang_glibc toolchain

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

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

SLOCLanguage
3,384 perl
726 sh
4,110 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: lesspipe 1.83-1 (Thu Apr 13 11:36:03 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# Unknown option: host
# Usage: configure [options]
# Options:
# --help print this message
# --ask ask questions when running make (this is the default
# for configure but without --ask it is not for make)
# --default do not ask questions, try to guess correct answer
# --yes like --default but assume 'yes' to all questions
# --fixed like --yes but use preconfigured answer (see below)
# --shell= specify full path to an alternative shell to use
# --nomake do not generate a Makefile
# Directory and file names:
# --prefix=PREFIX install lesspipe.sh in PREFIX/bin (/usr/local)
#
# configure generates by default both lesspipe.sh and Makefile
# configure tries to find required and optional programs for lesspipe.sh
# If optional programs are not found, then you can choose between
# - giving the correct location of the program if installed
# - including the code in lesspipe.sh without having the program
# - or skipping the code for the missing program.
# Answers to the questions can be preconfigured by modifying the data section
# in configure after the __END__ line. For missing data use the default answer
# ==> ERROR: A failure occurred in build().
# Aborting...