Build of gptfdisk with clang_glibc toolchain

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

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

SLOCLanguage
8,294 cpp
244 sh
30 makefile
8,568 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: gptfdisk 1.0.1-2 (Thu Apr 13 17:18:21 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# g++ -Wall -D_FILE_OFFSET_BITS=64 -c -o crc32.o crc32.cc
# g++ -Wall -D_FILE_OFFSET_BITS=64 -c -o support.o support.cc
# g++ -Wall -D_FILE_OFFSET_BITS=64 -c -o guid.o guid.cc
# g++ -Wall -D_FILE_OFFSET_BITS=64 -c -o gptpart.o gptpart.cc
# g++ -Wall -D_FILE_OFFSET_BITS=64 -c -o mbrpart.o mbrpart.cc
# g++ -Wall -D_FILE_OFFSET_BITS=64 -c -o basicmbr.o basicmbr.cc
# g++ -Wall -D_FILE_OFFSET_BITS=64 -c -o mbr.o mbr.cc
# g++ -Wall -D_FILE_OFFSET_BITS=64 -c -o gpt.o gpt.cc
# g++ -Wall -D_FILE_OFFSET_BITS=64 -c -o bsd.o bsd.cc
# g++ -Wall -D_FILE_OFFSET_BITS=64 -c -o parttypes.o parttypes.cc
# g++ -Wall -D_FILE_OFFSET_BITS=64 -c -o attributes.o attributes.cc
# g++ -Wall -D_FILE_OFFSET_BITS=64 -c -o diskio.o diskio.cc
# g++ -Wall -D_FILE_OFFSET_BITS=64 -c -o diskio-unix.o diskio-unix.cc
# g++ -Wall -D_FILE_OFFSET_BITS=64 -c -o cgdisk.o cgdisk.cc
# g++ -Wall -D_FILE_OFFSET_BITS=64 -c -o gptcurses.o gptcurses.cc
# g++ crc32.o support.o guid.o gptpart.o mbrpart.o basicmbr.o mbr.o gpt.o bsd.o parttypes.o attributes.o diskio.o diskio-unix.o cgdisk.o gptcurses.o -luuid -lncursesw -o cgdisk
# g++ -Wall -D_FILE_OFFSET_BITS=64 -c -o gdisk.o gdisk.cc
# g++ -Wall -D_FILE_OFFSET_BITS=64 -c -o gpttext.o gpttext.cc
# g++ crc32.o support.o guid.o gptpart.o mbrpart.o basicmbr.o mbr.o gpt.o bsd.o parttypes.o attributes.o diskio.o diskio-unix.o gdisk.o gpttext.o -luuid -o gdisk
# g++ -Wall -D_FILE_OFFSET_BITS=64 -c -o sgdisk.o sgdisk.cc
# g++ -Wall -D_FILE_OFFSET_BITS=64 -c -o gptcl.o gptcl.cc
# g++ crc32.o support.o guid.o gptpart.o mbrpart.o basicmbr.o mbr.o gpt.o bsd.o parttypes.o attributes.o diskio.o diskio-unix.o sgdisk.o gptcl.o -luuid -lpopt -o sgdisk
# g++ -Wall -D_FILE_OFFSET_BITS=64 -c -o fixparts.o fixparts.cc
# g++ support.o diskio.o diskio-unix.o basicmbr.o mbrpart.o fixparts.o -o fixparts
# ==> Entering fakeroot environment...
# ==> Starting package()...
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "gptfdisk"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: gptfdisk 1.0.1-2 (Thu Apr 13 17:18:34 UTC 2017)

CMD: pacman --query --file gptfdisk-1.0.1-2-x86_64.pkg.tar.xz
# gptfdisk 1.0.1-2

Creating hybrid package for 'gptfdisk'

Trying to find vanilla package 'gptfdisk'...

CMD: pacman --query --file /mirror/gptfdisk-1.0.1-2.pkg.tar.xz
# gptfdisk 1.0.1-2

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/share/man/man8/fixparts.8.gz
# /usr/share/man/man8/cgdisk.8.gz
# /usr/share/man/man8/sgdisk.8.gz
# /usr/share/man/man8/gdisk.8.gz
# /usr/share/doc/gdisk/NEWS
# /usr/share/doc/gdisk/README
# /usr/bin/sgdisk
# /usr/bin/fixparts
# /usr/bin/cgdisk
# /usr/bin/gdisk

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

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

Attempting to access local repository, attempt 1

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

Attempting to access local repository, attempt 2

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