Build of perl-class-factory-util with musl toolchain

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

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

SLOCLanguage
51 perl
51 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-class-factory-util 1.7-6 (Tue Apr 4 23:53:35 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# This module requires Module::Build to install itself.
# Install Module::Build now from CPAN? [y] y
#
# CPAN.pm requires configuration, but most of it can be done automatically.
# If you answer 'no' below, you will enter an interactive dialog for each
# configuration option instead.
#
# Would you like to configure as much as possible automatically? [yes] yes
#
#
#
# Warning: You do not have write permission for Perl library directories.
#
# To install modules, you need to configure a local Perl library directory or
# escalate your privileges. CPAN can help you by bootstrapping the local::lib
# module or by configuring itself to use 'sudo' (if available). You may also
# resolve this problem manually if you need to customize your setup.
#
# What approach do you want? (Choose 'local::lib', 'sudo' or 'manual')
# [local::lib] local::lib
#
#
# Autoconfiguration complete.
#
# Attempting to bootstrap local::lib...
#
# Writing /home/tuscan/.cpan/CPAN/MyConfig.pm for bootstrap...
# commit: wrote '/home/tuscan/.cpan/CPAN/MyConfig.pm'
# Fetching with HTTP::Tiny:
# http://www.cpan.org/authors/01mailrc.txt.gz
# Reading '/home/tuscan/.cpan/sources/authors/01mailrc.txt.gz'
# ............................................................................DONE
# Fetching with HTTP::Tiny:
# http://www.cpan.org/modules/02packages.details.txt.gz
# Reading '/home/tuscan/.cpan/sources/modules/02packages.details.txt.gz'
# Database was generated on Tue, 04 Apr 2017 23:41:02 GMT
# HTTP::Date not available
# ..............
# New CPAN.pm version (v2.16) available.
# [Currently running version is v2.11]
# You might want to try
# install CPAN
# reload cpan
# to both upgrade CPAN.pm and run the new version without leaving
# the current session.
#
#
# ..............................................................DONE
# Fetching with HTTP::Tiny:
# http://www.cpan.org/modules/03modlist.data.gz
# Reading '/home/tuscan/.cpan/sources/modules/03modlist.data.gz'
# DONE
# Writing /home/tuscan/.cpan/Metadata
# Fetching with HTTP::Tiny:
# http://www.cpan.org/authors/id/H/HA/HAARG/local-lib-2.000019.tar.gz
# Fetching with HTTP::Tiny:
# http://www.cpan.org/authors/id/H/HA/HAARG/CHECKSUMS
# Checksum for /home/tuscan/.cpan/sources/authors/id/H/HA/HAARG/local-lib-2.000019.tar.gz ok
# 'YAML' not installed, will not store persistent state
# Configuring H/HA/HAARG/local-lib-2.000019.tar.gz with Makefile.PL
# Attempting to create directory /home/tuscan/perl5
#
# Checking if your kit is complete...
# Looks good
# Generating a Unix-style Makefile
# Writing Makefile for local::lib
# Writing MYMETA.yml and MYMETA.json
# HAARG/local-lib-2.000019.tar.gz
# /usr/bin/perl Makefile.PL --bootstrap -- OK
# Running make for H/HA/HAARG/local-lib-2.000019.tar.gz
# cp lib/POD2/PT_BR/local/lib.pod blib/lib/POD2/PT_BR/local/lib.pod
# cp lib/POD2/DE/local/lib.pod blib/lib/POD2/DE/local/lib.pod
# cp lib/lib/core/only.pm blib/lib/lib/core/only.pm
# cp lib/local/lib.pm blib/lib/local/lib.pm
# Manifying 4 pod documents
# HAARG/local-lib-2.000019.tar.gz
# /usr/sbin/make -- OK
# Running make test
# PERL_DL_NONLAZY=1 "/usr/bin/perl" "-I/home/tuscan/perl5/lib/perl5" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# t/bad_variables.t ...... ok
# t/carp-mismatch.t ...... ok
# t/classmethod.t ........ ok
# t/coderefs_in_inc.t .... ok
# t/de-dup.t ............. ok
# t/lib-core-only.t ...... ok
# t/pipeline.t ........... ok
#
# # Failed test 'sh: activate PATH'
# # at t/shell.t line 184.
# # got: '/sysroot/bin:/tmp/6DN7MR0Nbp/bin:/sysroot/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
# # expected: '/tmp/6DN7MR0Nbp/bin:/sysroot/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
#
# # Failed test 'sh: deactivate PATH'
# # at t/shell.t line 192.
# # got: '/sysroot/bin:/sysroot/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
# # expected: '/sysroot/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
#
# # Failed test 'sh -u: activate PATH'
# # at t/shell.t line 184.
# # got: '/sysroot/bin:/tmp/X764lO6wE7/bin:/sysroot/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
# # expected: '/tmp/X764lO6wE7/bin:/sysroot/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
#
# # Failed test 'sh -u: deactivate PATH'
# # at t/shell.t line 192.
# # got: '/sysroot/bin:/sysroot/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
# # expected: '/sysroot/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
#
# # Failed test 'bash: activate PATH'
# # at t/shell.t line 184.
# # got: '/sysroot/bin:/tmp/_lVs01p1v_/bin:/sysroot/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
# # expected: '/tmp/_lVs01p1v_/bin:/sysroot/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
#
# # Failed test 'bash: deactivate PATH'
# # at t/shell.t line 192.
# # got: '/sysroot/bin:/sysroot/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
# # expected: '/sysroot/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
# # Looks like you failed 6 tests of 72.
# t/shell.t ..............
# Dubious, test returned 6 (wstat 1536, 0x600)
# Failed 6/72 subtests
# t/stackable.t .......... ok
# t/subroutine-in-inc.t .. ok
# t/taint-mode.t ......... ok
#
# Test Summary Report
# -------------------
# t/shell.t (Wstat: 1536 Tests: 72 Failed: 6)
# Failed tests: 1, 6, 25, 30, 49, 54
# Non-zero exit status: 6
# Files=11, Tests=125, 2 wallclock secs ( 0.06 usr 0.01 sys + 1.33 cusr 0.15 csys = 1.55 CPU)
# Result: FAIL
# Failed 1/11 test programs. 6/125 subtests failed.
# make: *** [Makefile:849: test_dynamic] Error 255
# HAARG/local-lib-2.000019.tar.gz
# /usr/sbin/make test -- NOT OK
# //hint// to see the cpan-testers results for installing this module, try:
# reports HAARG/local-lib-2.000019.tar.gz
# Can't locate local/lib.pm in @INC (you may need to install the local::lib module) (@INC contains: /home/tuscan/perl5/lib/perl5 /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /tmp/perl-class-factory-util/src/Class-Factory-Util-1.7) at /usr/share/perl5/core_perl/CPAN/FirstTime.pm line 1347.
# ==> ERROR: A failure occurred in build().
# Aborting...