Build of zip with clang_glibc toolchain

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

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

SLOCLanguage
50,445 ansic
3,903 asm
840 makefile
42 sh
55,230 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/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: zip 3.0-7 (Thu Apr 13 19:27:32 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# make -f unix/Makefile generic CC=gcc CPP="gcc -E"
# make[1]: Entering directory '/tmp/zip/src/zip30'
# sh unix/configure "gcc" "-I. -DUNIX " ""
# Check C compiler type (optimization options)
# GNU C (-O3)
# Check bzip2 support
# Check for bzip2 in bzip2 directory
# Check if OS already has bzip2 library installed
# -- OS supports bzip2 - linking in bzip2
# Check for the C preprocessor
# Check if we can use asm code
# Check for ANSI options
# Check for prototypes
# Check the handling of const
# Check for time_t
# Check for size_t
# Check for off_t
# Check size of UIDs and GIDs
# (Now zip stores variable size UIDs/GIDs using a new extra field. This
# tests if this OS uses 16-bit UIDs/GIDs and so if the old 16-bit storage
# should also be used for backward compatibility.)
# s.st_uid is 4 bytes
# s.st_gid is 4 bytes
# -- UID not 2 bytes - disabling old 16-bit UID/GID support
# Check for Large File Support
# off_t is 8 bytes
# -- yes we have Large File Support!
# Check for wide char support
# -- have wchar_t - enabling Unicode support
# Check for gcc no-builtin flag
# Check for rmdir
# Check for strchr
# Check for strrchr
# Check for rename
# Check for mktemp
# Check for mktime
# Check for mkstemp
# Check for memset
# Check for memmove
# Check for strerror
# Check for errno declaration
# Check for directory libraries
# Check for readlink
# Check for directory include file
# Check for nonexistent include files
# Check for term I/O include file
# Check for valloc
# Check for /usr/local/bin and /usr/local/man
# Check for OS-specific flags
# Check for symbolic links
# eval make -f unix/Makefile zips `cat flags`
# make[2]: Entering directory '/tmp/zip/src/zip30'
# gcc -c -I. -DUNIX -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zip.c
# zip.c:1031:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(text[i]);
# ^~~~~~~
# zip.c:1228:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(cryptnote[i]);
# ^~~~~~~~~~~~
# 2 warnings generated.
# gcc -c -I. -DUNIX -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipfile.c
# gcc -c -I. -DUNIX -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipup.c
# gcc -c -I. -DUNIX -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H fileio.c
# gcc -c -I. -DUNIX -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H util.c
# gcc -c -I. -DUNIX -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H globals.c
# gcc -c -I. -DUNIX -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H crypt.c
# gcc -c -I. -DUNIX -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H ttyio.c
# gcc -c -I. -DUNIX -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H unix/unix.c
# gcc -c -I. -DUNIX -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H crc32.c
# gcc -c -I. -DUNIX -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zbz2err.c
# gcc -c -I. -DUNIX -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H deflate.c
# gcc -c -I. -DUNIX -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H trees.c
# gcc -o zip zip.o zipfile.o zipup.o fileio.o util.o globals.o crypt.o ttyio.o unix.o crc32.o zbz2err.o deflate.o trees.o -lbz2
# gcc -c -I. -DUNIX -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipcloak.c
# gcc -c -I. -DUNIX -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -o zipfile_.o zipfile.c
# gcc -c -I. -DUNIX -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -o fileio_.o fileio.c
# gcc -c -I. -DUNIX -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -o util_.o util.c
# gcc -c -I. -DUNIX -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -o unix_.o unix/unix.c
# gcc -c -I. -DUNIX -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -o crc32_.o crc32.c
# gcc -c -I. -DUNIX -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -o crypt_.o crypt.c
# gcc -o zipcloak zipcloak.o zipfile_.o fileio_.o util_.o globals.o unix_.o crc32_.o crypt_.o ttyio.o -lbz2
# gcc -c -I. -DUNIX -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipnote.c
# gcc -o zipnote zipnote.o zipfile_.o fileio_.o util_.o globals.o unix_.o crc32_.o -lbz2
# gcc -c -I. -DUNIX -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipsplit.c
# gcc -o zipsplit zipsplit.o zipfile_.o fileio_.o util_.o globals.o unix_.o crc32_.o -lbz2
# make[2]: Leaving directory '/tmp/zip/src/zip30'
# make[1]: Leaving directory '/tmp/zip/src/zip30'
# ==> Entering fakeroot environment...
# ==> Starting package()...
# mkdir -p /tmp/zip/pkg/zip/usr/bin
# cp zip zipcloak zipnote zipsplit /tmp/zip/pkg/zip/usr/bin
# cd /tmp/zip/pkg/zip/usr/bin; chmod 755 zip zipcloak zipnote zipsplit
# mkdir -p /tmp/zip/pkg/zip/usr/share/man/man1
# cp man/zip.1 /tmp/zip/pkg/zip/usr/share/man/man1/zip.1
# chmod 644 /tmp/zip/pkg/zip/usr/share/man/man1/zip.1
# cp man/zipcloak.1 /tmp/zip/pkg/zip/usr/share/man/man1/zipcloak.1
# chmod 644 /tmp/zip/pkg/zip/usr/share/man/man1/zipcloak.1
# cp man/zipnote.1 /tmp/zip/pkg/zip/usr/share/man/man1/zipnote.1
# chmod 644 /tmp/zip/pkg/zip/usr/share/man/man1/zipnote.1
# cp man/zipsplit.1 /tmp/zip/pkg/zip/usr/share/man/man1/zipsplit.1
# chmod 644 /tmp/zip/pkg/zip/usr/share/man/man1/zipsplit.1
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "zip"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: zip 3.0-7 (Thu Apr 13 19:27:55 UTC 2017)

CMD: pacman --query --file zip-3.0-7-x86_64.pkg.tar.xz
# zip 3.0-7

Creating hybrid package for 'zip'

Trying to find vanilla package 'zip'...

CMD: pacman --query --file /mirror/lrzip-0.630-1.pkg.tar.xz
# lrzip 0.630-1

CMD: pacman --query --file /mirror/perl-archive-zip-1.57-1.pkg.tar.xz
# perl-archive-zip 1.57-1

CMD: pacman --query --file /mirror/lbzip2-2.5-3.pkg.tar.xz
# lbzip2 2.5-3

CMD: pacman --query --file /mirror/p7zip-15.14.1-2.pkg.tar.xz
# p7zip 15.14.1-2

CMD: pacman --query --file /mirror/gzip-1.8-2.pkg.tar.xz
# gzip 1.8-2

CMD: pacman --query --file /mirror/fcrackzip-1.0-4.pkg.tar.xz
# fcrackzip 1.0-4

CMD: pacman --query --file /mirror/libzip-1.1.2-1.pkg.tar.xz
# libzip 1.1.2-1

CMD: pacman --query --file /mirror/zip-3.0-7.pkg.tar.xz
# zip 3.0-7

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/bin/zip
# /usr/bin/zipsplit
# /usr/bin/zipnote
# /usr/bin/zipcloak
# /usr/share/licenses/zip/LICENSE
# /usr/share/man/man1/zipsplit.1.gz
# /usr/share/man/man1/zipcloak.1.gz
# /usr/share/man/man1/zipnote.1.gz
# /usr/share/man/man1/zip.1.gz

Generating .MTREE

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

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO usr .MTREE

CMD: xz -c -z

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

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

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

Attempting to access local repository, attempt 1

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