Build of perl-dbd-sqlite with musl toolchain

The build took 00h 02m 13s and was SUCCESSFUL.

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

SLOCLanguage
123,181 ansic
7,521 perl
813 makefile
131,515 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...

There were existing files in /sysroot, using those
# /sysroot/lib
# /sysroot/share
# /sysroot/bin
# /sysroot/include
# /sysroot/libexec

CMD: sudo -u tuscan PATH=/sysroot/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: perl-dbd-sqlite 1.50-2 (Wed Apr 5 01:58:54 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (1) perl-dbi-1.636-2
#
# Total Installed Size: 1.95 MiB
#
# :: Proceed with installation? [Y/n]
# checking keyring...
# checking package integrity...
# loading package files...
# checking for file conflicts...
# checking available disk space...
# :: Processing package changes...
# installing perl-dbi...
# :: Running post-transaction hooks...
# (1/1) Updating manpage index...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# Checking if your kit is complete...
# Looks good
# Using DBI 1.636 (for perl 5.024000 on x86_64-linux-thread-multi) installed in /usr/lib/perl5/vendor_perl/auto/DBI/
# Generating a Unix-style Makefile
# Writing Makefile for DBD::SQLite
# Writing MYMETA.yml and MYMETA.json
# Running Mkbootstrap for DBD::SQLite ()
# "/usr/bin/perl" -p -e "s/~DRIVER~/SQLite/g" /usr/lib/perl5/vendor_perl/auto/DBI/Driver.xst > SQLite.xsi
# cc -c -I. -I/usr/lib/perl5/vendor_perl/auto/DBI -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wl,-Bsymbolic -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DVERSION=\"1.50\" -DXS_VERSION=\"1.50\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_STAT3 -DSQLITE_ENABLE_STAT4 -DSQLITE_ENABLE_JSON1 -DNDEBUG=1 -DHAVE_USLEEP=1 dbdimp.c
# cc -c -I. -I/usr/lib/perl5/vendor_perl/auto/DBI -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wl,-Bsymbolic -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DVERSION=\"1.50\" -DXS_VERSION=\"1.50\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_STAT3 -DSQLITE_ENABLE_STAT4 -DSQLITE_ENABLE_JSON1 -DNDEBUG=1 -DHAVE_USLEEP=1 sqlite3.c
# chmod 644 "SQLite.bs"
# "/usr/bin/perl" "/usr/share/perl5/core_perl/ExtUtils/xsubpp" -typemap "/usr/share/perl5/core_perl/ExtUtils/typemap" -typemap "typemap" SQLite.xs > SQLite.xsc && mv SQLite.xsc SQLite.c
# clang-3.8clang-3.8: : warningwarning: : -Wl,-Bsymbolic: 'linker' input unused-Wl,-Bsymbolic: 'linker' input unused
#
# cp lib/DBD/SQLite/Cookbook.pod blib/lib/DBD/SQLite/Cookbook.pod
# cp lib/DBD/SQLite/Constants.pm blib/lib/DBD/SQLite/Constants.pm
# cp lib/DBD/SQLite.pm blib/lib/DBD/SQLite.pm
# cp lib/DBD/SQLite/VirtualTable.pm blib/lib/DBD/SQLite/VirtualTable.pm
# cp lib/DBD/SQLite/VirtualTable/FileContent.pm blib/lib/DBD/SQLite/VirtualTable/FileContent.pm
# cp lib/DBD/SQLite/Fulltext_search.pod blib/lib/DBD/SQLite/Fulltext_search.pod
# cp lib/DBD/SQLite/VirtualTable/PerlData.pm blib/lib/DBD/SQLite/VirtualTable/PerlData.pm
# dbdimp.c:636:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# while ( s = imp_dbh->stmt_list ) {
# ~~^~~~~~~~~~~~~~~~~~~~
# dbdimp.c:636:19: note: place parentheses around the assignment to silence this warning
# while ( s = imp_dbh->stmt_list ) {
# ^
# ( )
# dbdimp.c:636:19: note: use '==' to turn this assignment into an equality comparison
# while ( s = imp_dbh->stmt_list ) {
# ^
# ==
# dbdimp.c:651:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# while( s = imp_dbh->stmt_list ) {
# ~~^~~~~~~~~~~~~~~~~~~~
# dbdimp.c:651:14: note: place parentheses around the assignment to silence this warning
# while( s = imp_dbh->stmt_list ) {
# ^
# ( )
# dbdimp.c:651:14: note: use '==' to turn this assignment into an equality comparison
# while( s = imp_dbh->stmt_list ) {
# ^
# ==
# cc -c -I. -I/usr/lib/perl5/vendor_perl/auto/DBI -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wl,-Bsymbolic -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DVERSION=\"1.50\" -DXS_VERSION=\"1.50\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_STAT3 -DSQLITE_ENABLE_STAT4 -DSQLITE_ENABLE_JSON1 -DNDEBUG=1 -DHAVE_USLEEP=1 SQLite.c
# clang-3.8: warning: -Wl,-Bsymbolic: 'linker' input unused
# dbdimp.c:865:10: warning: address of 'extra' will always evaluate to 'true' [-Wpointer-bool-conversion]
# if (&extra && imp_dbh->allow_multiple_statements) {
# ^~~~~ ~~
# SQLite.xs:24:18: warning: implicit declaration of function 'sqlite_db_do_sv' is invalid in C99 [-Wimplicit-function-declaration]
# retval = sqlite_db_do_sv(dbh, imp_dbh, statement);
# ^
# SQLite.xs:12:5: warning: implicit declaration of function 'init_cxt' is invalid in C99 [-Wimplicit-function-declaration]
# init_cxt();
# ^
# 3 warnings generated.
# 2 warnings generated.
# rm -f blib/arch/auto/DBD/SQLite/SQLite.so
# cc -shared -Wl,-O1,--sort-common,--as-needed,-z,relro -L/usr/local/lib -fstack-protector-strong -Wl,-Bsymbolic SQLite.o dbdimp.o sqlite3.o -o blib/arch/auto/DBD/SQLite/SQLite.so \
# \
#
# chmod 755 blib/arch/auto/DBD/SQLite/SQLite.so
# "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- SQLite.bs blib/arch/auto/DBD/SQLite/SQLite.bs 644
# Manifying 7 pod documents
# ==> Entering fakeroot environment...
# ==> Starting package()...
# Running Mkbootstrap for DBD::SQLite ()
# chmod 644 "SQLite.bs"
# Manifying 7 pod documents
# Appending installation info to /tmp/perl-dbd-sqlite/pkg/perl-dbd-sqlite/usr/lib/perl5/core_perl/perllocal.pod
# Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
# Installing /tmp/perl-dbd-sqlite/pkg/perl-dbd-sqlite/usr/lib/perl5/vendor_perl/auto/DBD/SQLite/SQLite.so
# Installing /tmp/perl-dbd-sqlite/pkg/perl-dbd-sqlite/usr/lib/perl5/vendor_perl/auto/share/dist/DBD-SQLite/sqlite3.c
# Installing /tmp/perl-dbd-sqlite/pkg/perl-dbd-sqlite/usr/lib/perl5/vendor_perl/auto/share/dist/DBD-SQLite/sqlite3.h
# Installing /tmp/perl-dbd-sqlite/pkg/perl-dbd-sqlite/usr/lib/perl5/vendor_perl/auto/share/dist/DBD-SQLite/sqlite3ext.h
# Installing /tmp/perl-dbd-sqlite/pkg/perl-dbd-sqlite/usr/lib/perl5/vendor_perl/DBD/SQLite.pm
# Installing /tmp/perl-dbd-sqlite/pkg/perl-dbd-sqlite/usr/lib/perl5/vendor_perl/DBD/SQLite/Cookbook.pod
# Installing /tmp/perl-dbd-sqlite/pkg/perl-dbd-sqlite/usr/lib/perl5/vendor_perl/DBD/SQLite/Constants.pm
# Installing /tmp/perl-dbd-sqlite/pkg/perl-dbd-sqlite/usr/lib/perl5/vendor_perl/DBD/SQLite/VirtualTable.pm
# Installing /tmp/perl-dbd-sqlite/pkg/perl-dbd-sqlite/usr/lib/perl5/vendor_perl/DBD/SQLite/Fulltext_search.pod
# Installing /tmp/perl-dbd-sqlite/pkg/perl-dbd-sqlite/usr/lib/perl5/vendor_perl/DBD/SQLite/VirtualTable/FileContent.pm
# Installing /tmp/perl-dbd-sqlite/pkg/perl-dbd-sqlite/usr/lib/perl5/vendor_perl/DBD/SQLite/VirtualTable/PerlData.pm
# Installing /tmp/perl-dbd-sqlite/pkg/perl-dbd-sqlite/usr/share/man/man3/DBD::SQLite.3pm
# Installing /tmp/perl-dbd-sqlite/pkg/perl-dbd-sqlite/usr/share/man/man3/DBD::SQLite::Constants.3pm
# Installing /tmp/perl-dbd-sqlite/pkg/perl-dbd-sqlite/usr/share/man/man3/DBD::SQLite::Cookbook.3pm
# Installing /tmp/perl-dbd-sqlite/pkg/perl-dbd-sqlite/usr/share/man/man3/DBD::SQLite::Fulltext_search.3pm
# Installing /tmp/perl-dbd-sqlite/pkg/perl-dbd-sqlite/usr/share/man/man3/DBD::SQLite::VirtualTable.3pm
# Installing /tmp/perl-dbd-sqlite/pkg/perl-dbd-sqlite/usr/share/man/man3/DBD::SQLite::VirtualTable::FileContent.3pm
# Installing /tmp/perl-dbd-sqlite/pkg/perl-dbd-sqlite/usr/share/man/man3/DBD::SQLite::VirtualTable::PerlData.3pm
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "perl-dbd-sqlite"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: perl-dbd-sqlite 1.50-2 (Wed Apr 5 01:59:36 UTC 2017)

CMD: pacman --query --file perl-dbd-sqlite-1.50-2-x86_64.pkg.tar.xz
# perl-dbd-sqlite 1.50-2

Creating hybrid package for 'perl-dbd-sqlite'

Trying to find vanilla package 'perl-dbd-sqlite'...

CMD: pacman --query --file /mirror/perl-dbd-sqlite-1.50-2.pkg.tar.xz
# perl-dbd-sqlite 1.50-2

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /usr/share/man/man3/DBD::SQLite::Fulltext_search.3pm.gz
# /usr/share/man/man3/DBD::SQLite::VirtualTable.3pm.gz
# /usr/share/man/man3/DBD::SQLite.3pm.gz
# /usr/share/man/man3/DBD::SQLite::Cookbook.3pm.gz
# /usr/share/man/man3/DBD::SQLite::Constants.3pm.gz
# /usr/share/man/man3/DBD::SQLite::VirtualTable::PerlData.3pm.gz
# /usr/share/man/man3/DBD::SQLite::VirtualTable::FileContent.3pm.gz
# /usr/lib/perl5/vendor_perl/DBD/SQLite.pm
# /usr/lib/perl5/vendor_perl/DBD/SQLite/Constants.pm
# /usr/lib/perl5/vendor_perl/DBD/SQLite/VirtualTable.pm
# /usr/lib/perl5/vendor_perl/DBD/SQLite/VirtualTable/FileContent.pm
# /usr/lib/perl5/vendor_perl/DBD/SQLite/VirtualTable/PerlData.pm
# /usr/lib/perl5/vendor_perl/auto/DBD/SQLite/SQLite.so
# /usr/lib/perl5/vendor_perl/auto/share/dist/DBD-SQLite/sqlite3ext.h
# /usr/lib/perl5/vendor_perl/auto/share/dist/DBD-SQLite/sqlite3.c
# /usr/lib/perl5/vendor_perl/auto/share/dist/DBD-SQLite/sqlite3.h
# /sysroot/usr/lib/perl5/vendor_perl/DBD/SQLite.pm
# /sysroot/usr/lib/perl5/vendor_perl/DBD/SQLite/Constants.pm
# /sysroot/usr/lib/perl5/vendor_perl/DBD/SQLite/VirtualTable.pm
# /sysroot/usr/lib/perl5/vendor_perl/DBD/SQLite/VirtualTable/FileContent.pm
# /sysroot/usr/lib/perl5/vendor_perl/DBD/SQLite/VirtualTable/PerlData.pm
# /sysroot/usr/lib/perl5/vendor_perl/auto/DBD/SQLite/SQLite.so
# /sysroot/usr/lib/perl5/vendor_perl/auto/share/dist/DBD-SQLite/sqlite3.c
# /sysroot/usr/lib/perl5/vendor_perl/auto/share/dist/DBD-SQLite/sqlite3.h
# /sysroot/usr/lib/perl5/vendor_perl/auto/share/dist/DBD-SQLite/sqlite3ext.h

Generating .MTREE

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

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO .BUILDINFO usr sysroot .MTREE

CMD: xz -c -z

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

CMD: bsdtar -tqf perl-dbd-sqlite.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/perl-dbd-sqlite.pkg.tar.xz

Attempting to access local repository, attempt 1

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