Build of perl-io-tty with clang_glibc toolchain

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

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

SLOCLanguage
1,156 ansic
734 makefile
391 perl
2,281 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: perl-io-tty 1.12-3 (Thu Apr 13 15:19:28 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# Now let's see what we can find out about your system
# (logfiles of failing tests are available in the conf/ dir)...
# Looking for _getpty()...... not found.
# Looking for getpt()........ FOUND.
# Looking for grantpt()...... FOUND.
# Looking for openpty()...... not found.
# Looking for posix_openpt(). FOUND.
# Looking for ptsname()...... FOUND.
# Looking for ptsname_r().... FOUND.
# Looking for sigaction().... FOUND.
# Looking for strlcpy()...... not found.
# Looking for ttyname()...... FOUND.
# Looking for unlockpt()..... FOUND.
# Looking for libutil.h...... not found.
# Looking for pty.h.......... FOUND.
# Looking for sys/pty.h...... not found.
# Looking for sys/ptyio.h.... not found.
# Looking for sys/stropts.h.. FOUND.
# Looking for termio.h....... FOUND.
# Looking for termios.h...... FOUND.
# Looking for util.h......... not found.
# Checking which symbols compile OK...
# (sorry for the tedious check, but some systems have not too clean
# header files, to say the least; '+' means OK, '-' means not defined
# and '*' has compile problems...)
# +B0 +B110 +B115200 +B1200 +B134 +B150 -B153600 +B1800 +B19200 +B200 +B230400 +B2400 +B300 -B307200 +B38400 +B460800 +B4800 +B50 +B57600 +B600 +B75 -B76800 +B9600 +BRKINT +BS0 +BS1 +BSDLY +CBAUD -CBAUDEXT +CBRK -CCTS_OFLOW -CDEL +CDSUSP +CEOF +CEOL -CEOL2 +CEOT +CERASE -CESC +CFLUSH +CIBAUD -CIBAUDEXT +CINTR +CKILL +CLNEXT +CLOCAL -CNSWTCH -CNUL +CQUIT +CR0 +CR1 +CR2 +CR3 +CRDLY +CREAD +CRPRNT +CRTSCTS -CRTSXOFF -CRTS_IFLOW +CS5 +CS6 +CS7 +CS8 +CSIZE +CSTART +CSTOP +CSTOPB +CSUSP -CSWTCH +CWERASE -DEFECHO -DIOC -DIOCGETP -DIOCSETP -DOSMODE +ECHO +ECHOCTL +ECHOE +ECHOK +ECHOKE +ECHONL +ECHOPRT +EXTA +EXTB +FF0 +FF1 +FFDLY -FIORDCHK +FLUSHO +HUPCL +ICANON +ICRNL +IEXTEN +IGNBRK +IGNCR +IGNPAR +IMAXBEL +INLCR +INPCK +ISIG +ISTRIP +IUCLC +IXANY +IXOFF +IXON -KBENABLED -LDCHG -LDCLOSE -LDDMAP -LDEMAP -LDGETT -LDGMAP -LDIOC -LDNMAP -LDOPEN -LDSETT -LDSMAP -LOBLK +NCCS +NL0 +NL1 +NLDLY +NOFLSH +OCRNL +OFDEL +OFILL +OLCUC +ONLCR +ONLRET +ONOCR +OPOST -PAGEOUT +PARENB -PAREXT +PARMRK +PARODD +PENDIN -RCV1EN -RTS_TOG +TAB0 +TAB1 +TAB2 +TAB3 +TABDLY -TCDSET +TCFLSH +TCGETA +TCGETS +TCIFLUSH +TCIOFF +TCIOFLUSH +TCION +TCOFLUSH +TCOOFF +TCOON +TCSADRAIN +TCSAFLUSH +TCSANOW +TCSBRK +TCSETA +TCSETAF +TCSETAW -TCSETCTTY +TCSETS +TCSETSF +TCSETSW +TCXONC -TERM_D40 -TERM_D42 -TERM_H45 -TERM_NONE -TERM_TEC -TERM_TEX -TERM_V10 -TERM_V61 +TIOCCBRK -TIOCCDTR +TIOCCONS +TIOCEXCL -TIOCFLUSH -TIOCGETC +TIOCGETD -TIOCGETP -TIOCGLTC +TIOCGPGRP +TIOCGSID +TIOCGSOFTCAR +TIOCGWINSZ -TIOCHPCL -TIOCKBOF -TIOCKBON -TIOCLBIC -TIOCLBIS -TIOCLGET -TIOCLSET +TIOCMBIC +TIOCMBIS +TIOCMGET +TIOCMSET +TIOCM_CAR +TIOCM_CD +TIOCM_CTS +TIOCM_DSR +TIOCM_DTR +TIOCM_LE +TIOCM_RI +TIOCM_RNG +TIOCM_RTS +TIOCM_SR +TIOCM_ST +TIOCNOTTY +TIOCNXCL +TIOCOUTQ -TIOCREMOTE +TIOCSBRK +TIOCSCTTY -TIOCSDTR -TIOCSETC +TIOCSETD -TIOCSETN -TIOCSETP -TIOCSIGNAL -TIOCSLTC +TIOCSPGRP -TIOCSSID +TIOCSSOFTCAR -TIOCSTART +TIOCSTI -TIOCSTOP +TIOCSWINSZ -TM_ANL -TM_CECHO -TM_CINVIS -TM_LCF -TM_NONE -TM_SET -TM_SNL +TOSTOP -VCEOF -VCEOL +VDISCARD -VDSUSP +VEOF +VEOL +VEOL2 +VERASE +VINTR +VKILL +VLNEXT +VMIN +VQUIT +VREPRINT +VSTART +VSTOP +VSUSP -VSWTCH +VT0 +VT1 +VTDLY +VTIME +VWERASE -WRAP +XCASE -XCLUDE -XMT1EN +XTABS
#
# >>> Configuration looks good! <<<
#
# Writing IO::Tty::Constant.pm...
# DEFINE = -DHAVE_DEV_PTMX -DHAVE_GETPT -DHAVE_GRANTPT -DHAVE_POSIX_OPENPT -DHAVE_PTSNAME -DHAVE_PTSNAME_R -DHAVE_PTY_H -DHAVE_SIGACTION -DHAVE_SYS_STROPTS_H -DHAVE_TERMIOS_H -DHAVE_TERMIO_H -DHAVE_TTYNAME -DHAVE_UNLOCKPT
# Checking if your kit is complete...
# Looks good
# Generating a Unix-style Makefile
# Writing Makefile for IO::Tty
# Writing MYMETA.yml and MYMETA.json
# cp Tty.pm blib/lib/IO/Tty.pm
# cp Tty/Constant.pm blib/lib/IO/Tty/Constant.pm
# cp Pty.pm blib/lib/IO/Pty.pm
# Running Mkbootstrap for IO::Tty ()
# chmod 644 "Tty.bs"
# "/usr/bin/perl" "/usr/share/perl5/core_perl/ExtUtils/xsubpp" -typemap "/usr/share/perl5/core_perl/ExtUtils/typemap" Tty.xs > Tty.xsc && mv Tty.xsc Tty.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=\"1.12\" -DXS_VERSION=\"1.12\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" -DHAVE_DEV_PTMX -DHAVE_GETPT -DHAVE_GRANTPT -DHAVE_POSIX_OPENPT -DHAVE_PTSNAME -DHAVE_PTSNAME_R -DHAVE_PTY_H -DHAVE_SIGACTION -DHAVE_SYS_STROPTS_H -DHAVE_TERMIOS_H -DHAVE_TERMIO_H -DHAVE_TTYNAME -DHAVE_UNLOCKPT Tty.c
# rm -f blib/arch/auto/IO/Tty/Tty.so
# cc -shared -Wl,-O1,--sort-common,--as-needed,-z,relro -L/usr/local/lib -fstack-protector-strong Tty.o -o blib/arch/auto/IO/Tty/Tty.so \
# \
#
# chmod 755 blib/arch/auto/IO/Tty/Tty.so
# "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Tty.bs blib/arch/auto/IO/Tty/Tty.bs 644
# Manifying 3 pod documents
# ==> Entering fakeroot environment...
# ==> Starting package()...
# Running Mkbootstrap for IO::Tty ()
# chmod 644 "Tty.bs"
# Manifying 3 pod documents
# Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
# Installing /tmp/perl-io-tty/pkg/perl-io-tty/usr/lib/perl5/vendor_perl/auto/IO/Tty/Tty.so
# Installing /tmp/perl-io-tty/pkg/perl-io-tty/usr/lib/perl5/vendor_perl/IO/Tty.pm
# Installing /tmp/perl-io-tty/pkg/perl-io-tty/usr/lib/perl5/vendor_perl/IO/Pty.pm
# Installing /tmp/perl-io-tty/pkg/perl-io-tty/usr/lib/perl5/vendor_perl/IO/Tty/Constant.pm
# Installing /tmp/perl-io-tty/pkg/perl-io-tty/usr/share/man/man3/IO::Pty.3pm
# Installing /tmp/perl-io-tty/pkg/perl-io-tty/usr/share/man/man3/IO::Tty.3pm
# Installing /tmp/perl-io-tty/pkg/perl-io-tty/usr/share/man/man3/IO::Tty::Constant.3pm
# Appending installation info to /tmp/perl-io-tty/pkg/perl-io-tty/usr/lib/perl5/core_perl/perllocal.pod
# ==> Tidying install...
# -> Removing doc files...
# -> Removing empty directories...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "perl-io-tty"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: perl-io-tty 1.12-3 (Thu Apr 13 15:20:10 UTC 2017)

CMD: pacman --query --file perl-io-tty-1.12-3-x86_64.pkg.tar.xz
# perl-io-tty 1.12-3

Creating hybrid package for 'perl-io-tty'

Trying to find vanilla package 'perl-io-tty'...

CMD: pacman --query --file /mirror/perl-io-tty-1.12-3.pkg.tar.xz
# perl-io-tty 1.12-3

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /usr/share/man/man3/IO::Pty.3pm.gz
# /usr/share/man/man3/IO::Tty.3pm.gz
# /usr/share/man/man3/IO::Tty::Constant.3pm.gz
# /usr/lib/perl5/vendor_perl/IO/Tty.pm
# /usr/lib/perl5/vendor_perl/IO/Pty.pm
# /usr/lib/perl5/vendor_perl/IO/Tty/Constant.pm
# /usr/lib/perl5/vendor_perl/auto/IO/Tty/Tty.so
# /sysroot/usr/lib/perl5/vendor_perl/IO/Tty.pm
# /sysroot/usr/lib/perl5/vendor_perl/IO/Pty.pm
# /sysroot/usr/lib/perl5/vendor_perl/IO/Tty/Constant.pm
# /sysroot/usr/lib/perl5/vendor_perl/auto/IO/Tty/Tty.so

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-io-tty.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/perl-io-tty.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-io-tty.pkg.tar.xz
# ==> ERROR: Failed to acquire lockfile: /var/cache/pacman/pkg/tuscan.db.tar.lck.
# ==> ERROR: Held by process 1156

Attempting to access local repository, attempt 2

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/perl-io-tty.pkg.tar.xz
# ==> ERROR: Failed to acquire lockfile: /var/cache/pacman/pkg/tuscan.db.tar.lck.
# ==> ERROR: Held by process 587

Attempting to access local repository, attempt 3

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