Build of perl-compress-bzip2 with musl toolchain

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

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

SLOCLanguage
8,539 ansic
1,480 makefile
1,098 perl
255 sh
242 pascal
11,614 total

The process tree of the build process is here.

Several sub-process invocations were improper; see the process tree for details. Summary:

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...

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-compress-bzip2 2.24-2 (Wed Apr 5 01:42:17 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# Parsing config.in...
# show_bzversion.c:3:10: fatal error: 'bzlib.h' file not found
# #include
# ^
# 1 error generated.
# compile command 'cc -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,-E -Wl,-rpath,/usr/lib/perl5/core_perl/CORE -Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector-strong -L/usr/local/lib -o show_bzversion show_bzversion.c -lbz2' failed
# system bzip2 not found, building internal libbz2
# Looks Good.
# Checking if your kit is complete...
# Looks good
# Generating a Unix-style Makefile
# Writing Makefile for Compress::Bzip2::internal_bzlib
# Writing MYMETA.yml and MYMETA.json
# Generating a Unix-style Makefile
# Writing Makefile for Compress::Bzip2
# Writing MYMETA.yml and MYMETA.json
# cd bzlib-src && make
# Running Mkbootstrap for Compress::Bzip2 ()
# make[1]: Entering directory '/tmp/perl-compress-bzip2/src/Compress-Bzip2-2.24/bzlib-src'
# cc -c -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 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" blocksort.c
# "/usr/bin/perl" "/usr/share/perl5/core_perl/ExtUtils/xsubpp" -typemap "/usr/share/perl5/core_perl/ExtUtils/typemap" -typemap "typemap" Bzip2.xs > Bzip2.xsc && mv Bzip2.xsc Bzip2.c
# chmod 644 "Bzip2.bs"
# cc -c -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 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" huffman.c
# cp lib/Compress/Bzip2.pm blib/lib/Compress/Bzip2.pm
# AutoSplitting blib/lib/Compress/Bzip2.pm (blib/lib/auto/Compress/Bzip2)
# cc -c -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 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" crctable.c
# cc -c -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 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" randtable.c
# cc -c -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 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" compress.c
# cc -c -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 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" decompress.c
# cc -c -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 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" bzlib.c
# cc -c -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 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" bzip2.c
# cc -c -Ibzlib-src -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 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DVERSION=\"2.24\" -DXS_VERSION=\"2.24\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" Bzip2.c
# ar cr libbz2.a blocksort.o huffman.o crctable.o randtable.o compress.o decompress.o bzlib.o && : libbz2.a
# cc -Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector-strong -L/usr/local/lib bzip2.o libbz2.a -o bzip2
# make[1]: Leaving directory '/tmp/perl-compress-bzip2/src/Compress-Bzip2-2.24/bzlib-src'
# rm -f blib/arch/auto/Compress/Bzip2/Bzip2.so
# cc -shared -Wl,-O1,--sort-common,--as-needed,-z,relro -L/usr/local/lib -fstack-protector-strong -Wl,-E -Wl,-rpath,/usr/lib/perl5/core_perl/CORE Bzip2.o -o blib/arch/auto/Compress/Bzip2/Bzip2.so bzlib-src/libbz2.a \
# \
#
# make[1]: Entering directory '/tmp/perl-compress-bzip2/src/Compress-Bzip2-2.24/bzlib-src'
# make[1]: Nothing to be done for 'all'.
# make[1]: Leaving directory '/tmp/perl-compress-bzip2/src/Compress-Bzip2-2.24/bzlib-src'
# chmod 755 blib/arch/auto/Compress/Bzip2/Bzip2.so
# "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Bzip2.bs blib/arch/auto/Compress/Bzip2/Bzip2.bs 644
# Manifying 1 pod document
# ==> Entering fakeroot environment...
# ==> Starting package()...
# Running Mkbootstrap for Compress::Bzip2 ()
# make[1]: Entering directory '/tmp/perl-compress-bzip2/src/Compress-Bzip2-2.24/bzlib-src'
# make[1]: Nothing to be done for 'all'.
# make[1]: Leaving directory '/tmp/perl-compress-bzip2/src/Compress-Bzip2-2.24/bzlib-src'
# chmod 644 "Bzip2.bs"
# Manifying 1 pod document
# Appending installation info to /tmp/perl-compress-bzip2/pkg/perl-compress-bzip2/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-compress-bzip2/pkg/perl-compress-bzip2/usr/lib/perl5/vendor_perl/auto/Compress/Bzip2/Bzip2.so
# Installing /tmp/perl-compress-bzip2/pkg/perl-compress-bzip2/usr/lib/perl5/vendor_perl/Compress/Bzip2.pm
# Installing /tmp/perl-compress-bzip2/pkg/perl-compress-bzip2/usr/lib/perl5/vendor_perl/auto/Compress/Bzip2/autosplit.ix
# Installing /tmp/perl-compress-bzip2/pkg/perl-compress-bzip2/usr/share/man/man3/Compress::Bzip2.3pm
# ==> Tidying install...
# -> Removing doc files...
# -> Removing empty directories...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "perl-compress-bzip2"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: perl-compress-bzip2 2.24-2 (Wed Apr 5 01:42:22 UTC 2017)

CMD: pacman --query --file perl-compress-bzip2-2.24-2-x86_64.pkg.tar.xz
# perl-compress-bzip2 2.24-2

Creating hybrid package for 'perl-compress-bzip2'

Trying to find vanilla package 'perl-compress-bzip2'...

CMD: pacman --query --file /mirror/perl-compress-bzip2-2.24-2.pkg.tar.xz
# perl-compress-bzip2 2.24-2

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /usr/share/man/man3/Compress::Bzip2.3pm.gz
# /usr/lib/perl5/vendor_perl/Compress/Bzip2.pm
# /usr/lib/perl5/vendor_perl/auto/Compress/Bzip2/Bzip2.so
# /usr/lib/perl5/vendor_perl/auto/Compress/Bzip2/autosplit.ix
# /sysroot/usr/lib/perl5/vendor_perl/Compress/Bzip2.pm
# /sysroot/usr/lib/perl5/vendor_perl/auto/Compress/Bzip2/Bzip2.so
# /sysroot/usr/lib/perl5/vendor_perl/auto/Compress/Bzip2/autosplit.ix

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-compress-bzip2.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/perl-compress-bzip2.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-compress-bzip2.pkg.tar.xz
# ==> Extracting database to a temporary location...
# ==> Extracting database to a temporary location...
# ==> Adding package '/var/cache/pacman/pkg/perl-compress-bzip2.pkg.tar.xz'
# -> Computing checksums...
# -> Creating 'desc' db entry...
# -> Creating 'files' db entry...
# ==> Creating updated database file '/var/cache/pacman/pkg/tuscan.db.tar'