Build of corkscrew with clang_glibc toolchain

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

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

SLOCLanguage
2,295 sh
258 ansic
2,553 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: corkscrew 2.0-6 (Thu Apr 13 11:57:01 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# creating cache ./config.cache
# checking for a BSD compatible install... /usr/bin/install -c
# checking whether build environment is sane... yes
# checking whether make sets ${MAKE}... yes
# checking for working aclocal... found
# checking for working autoconf... found
# checking for working automake... found
# checking for working autoheader... found
# checking for working makeinfo... found
# checking for gcc... clang
# checking whether the C compiler (clang ) works... yes
# checking whether the C compiler (clang ) is a cross-compiler... no
# checking whether we are using GNU C... yes
# checking whether clang accepts -g... yes
# checking for clang option to accept ANSI C... none needed
# checking how to run the C preprocessor... clang -E
# checking for function prototypes... yes
# checking for gcc... (cached) clang
# checking whether the C compiler (clang ) works... yes
# checking whether the C compiler (clang ) is a cross-compiler... no
# checking whether we are using GNU C... (cached) yes
# checking whether clang accepts -g... (cached) yes
# checking for mawk... no
# checking for gawk... gawk
# checking for a BSD compatible install... /usr/bin/install -c
# checking whether ln -s works... yes
# checking host system type... Invalid configuration `x86_64-unknown-linux': machine `x86_64-unknown' not recognized
#
# checking for ANSI C header files... yes
# checking whether time.h and sys/time.h may both be included... yes
# checking for select... yes
# checking for socket... yes
# checking for strerror... yes
# checking for working const... yes
# updating cache ./config.cache
# creating ./config.status
# creating Makefile
# creating config.h
# clang -DHAVE_CONFIG_H -I. -I. -I. -I. -c corkscrew.c
# corkscrew.c:194:13: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
# if ((argc == 6)) {
# ~~~~~^~~~
# corkscrew.c:194:13: note: remove extraneous parentheses around the comparison to silence this warning
# if ((argc == 6)) {
# ~ ^ ~
# corkscrew.c:194:13: note: use '=' to turn this equality comparison into an assignment
# if ((argc == 6)) {
# ^~
# =
# 1 warning generated.
# clang -o corkscrew corkscrew.o
# ==> Entering fakeroot environment...
# ==> Starting package()...
# make[1]: Entering directory '/tmp/corkscrew/src/corkscrew-2.0'
# /bin/sh ./mkinstalldirs /tmp/corkscrew/pkg/corkscrew/usr/bin
# mkdir /tmp/corkscrew/pkg/corkscrew/usr
# mkdir /tmp/corkscrew/pkg/corkscrew/usr/bin
# /usr/bin/install -c corkscrew /tmp/corkscrew/pkg/corkscrew/usr/bin/corkscrew
# make[1]: Nothing to be done for 'install-data-am'.
# make[1]: Leaving directory '/tmp/corkscrew/src/corkscrew-2.0'
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "corkscrew"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Adding changelog file...
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: corkscrew 2.0-6 (Thu Apr 13 11:57:15 UTC 2017)

CMD: pacman --query --file corkscrew-2.0-6-x86_64.pkg.tar.xz
# corkscrew 2.0-6

Creating hybrid package for 'corkscrew'

Trying to find vanilla package 'corkscrew'...

CMD: pacman --query --file /mirror/corkscrew-2.0-6.pkg.tar.xz
# corkscrew 2.0-6

Package file has the following structure:
# /.PKGINFO
# /.CHANGELOG
# /.MTREE
# /usr/bin/corkscrew

Generating .MTREE

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

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO .CHANGELOG usr .MTREE

CMD: xz -c -z

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

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

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

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/corkscrew.pkg.tar.xz
# ==> Extracting database to a temporary location...
# ==> Extracting database to a temporary location...
# ==> Adding package '/var/cache/pacman/pkg/corkscrew.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/corkscrew/src/corkscrew-2.0/config.log'
# This file contains any messages produced by compilers while
# running configure, to aid debugging if configure makes a mistake.
#
# configure:556: checking for a BSD compatible install
# configure:609: checking whether build environment is sane
# configure:666: checking whether make sets ${MAKE}
# configure:712: checking for working aclocal
# configure:725: checking for working autoconf
# configure:738: checking for working automake
# configure:751: checking for working autoheader
# configure:764: checking for working makeinfo
# configure:783: checking for gcc
# configure:896: checking whether the C compiler (clang ) works
# configure:912: clang -o conftest conftest.c 1>&5
# configure:909:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# main(){return(0);}
# ^
# 1 warning generated.
# configure:938: checking whether the C compiler (clang ) is a cross-compiler
# configure:943: checking whether we are using GNU C
# configure:952: clang -E conftest.c
# configure:971: checking whether clang accepts -g
# configure:1006: checking for clang option to accept ANSI C
# configure:1059: clang -c conftest.c 1>&5
# configure:1083: checking how to run the C preprocessor
# configure:1104: clang -E conftest.c >/dev/null 2>conftest.out
# configure:1165: checking for function prototypes
# configure:1327: checking for gcc
# configure:1440: checking whether the C compiler (clang ) works
# configure:1456: clang -o conftest conftest.c 1>&5
# configure:1453:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# main(){return(0);}
# ^
# 1 warning generated.
# configure:1482: checking whether the C compiler (clang ) is a cross-compiler
# configure:1487: checking whether we are using GNU C
# configure:1515: checking whether clang accepts -g
# configure:1551: checking for mawk
# configure:1551: checking for gawk
# configure:1592: checking for a BSD compatible install
# configure:1645: checking whether ln -s works
# configure:1673: checking host system type
# configure:1927: checking for ANSI C header files
# configure:1940: clang -E conftest.c >/dev/null 2>conftest.out
# configure:2007: clang -o conftest conftest.c 1>&5
# configure:2002:67: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
# ^
# configure:2002:67: note: include the header or explicitly provide a declaration for 'exit'
# 1 warning generated.
# configure:2031: checking whether time.h and sys/time.h may both be included
# configure:2045: clang -c conftest.c 1>&5
# configure:2070: checking for select
# configure:2098: clang -o conftest conftest.c 1>&5
# configure:2070: checking for socket
# configure:2098: clang -o conftest conftest.c 1>&5
# configure:2070: checking for strerror
# configure:2098: clang -o conftest conftest.c 1>&5
# configure:2082:6: warning: incompatible redeclaration of library function 'strerror' [-Wincompatible-library-redeclaration]
# char strerror();
# ^
# configure:2082:6: note: 'strerror' is a builtin with type 'char *(int)'
# 1 warning generated.
# configure:2123: checking for working const
# configure:2177: clang -c conftest.c 1>&5