Build of ddrescue with clang_glibc toolchain

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

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

SLOCLanguage
4,495 cpp
607 sh
139 makefile
5,241 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: ddrescue 1.21-1 (Thu Apr 13 17:26:55 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# configure: WARNING: unrecognized option: '--host=x86_64-unknown-linux'
#
# creating config.status
# creating Makefile
# VPATH = .
# prefix = /usr
# exec_prefix = $(prefix)
# bindir = $(exec_prefix)/bin
# datarootdir = $(prefix)/share
# infodir = $(datarootdir)/info
# mandir = $(datarootdir)/man
# CXX = g++
# CPPFLAGS =
# CXXFLAGS = -Wall -W -O2
# LDFLAGS =
# OK. Now you can run make.
# g++ -Wall -W -O2 -c -o arg_parser.o arg_parser.cc
# g++ -Wall -W -O2 -c -o rational.o rational.cc
# g++ -Wall -W -O2 -c -o non_posix.o non_posix.cc
# g++ -Wall -W -O2 -c -o loggers.o loggers.cc
# g++ -Wall -W -O2 -c -o block.o block.cc
# g++ -Wall -W -O2 -c -o mapfile.o mapfile.cc
# g++ -Wall -W -O2 -c -o mapbook.o mapbook.cc
# g++ -Wall -W -O2 -c -o fillbook.o fillbook.cc
# g++ -Wall -W -O2 -c -o genbook.o genbook.cc
# g++ -Wall -W -O2 -c -o io.o io.cc
# g++ -Wall -W -O2 -c -o rescuebook.o rescuebook.cc
# g++ -Wall -W -O2 -DPROGVERSION=\"1.21\" -c -o main.o main.cc
# g++ -Wall -W -O2 -o ddrescue arg_parser.o rational.o non_posix.o loggers.o block.o mapfile.o mapbook.o fillbook.o genbook.o io.o rescuebook.o main.o
# g++ -Wall -W -O2 -DPROGVERSION=\"1.21\" -c -o ddrescuelog.o ddrescuelog.cc
# g++ -Wall -W -O2 -o ddrescuelog arg_parser.o block.o mapfile.o ddrescuelog.o
# ==> Entering fakeroot environment...
# ==> Starting package()...
# if [ ! -d "/tmp/ddrescue/pkg/ddrescue/usr/bin" ] ; then install -d -m 755 "/tmp/ddrescue/pkg/ddrescue/usr/bin" ; fi
# install -m 755 ./ddrescue "/tmp/ddrescue/pkg/ddrescue/usr/bin/ddrescue"
# install -m 755 ./ddrescuelog "/tmp/ddrescue/pkg/ddrescue/usr/bin/ddrescuelog"
# if [ ! -d "/tmp/ddrescue/pkg/ddrescue/usr/share/info" ] ; then install -d -m 755 "/tmp/ddrescue/pkg/ddrescue/usr/share/info" ; fi
# rm -f "/tmp/ddrescue/pkg/ddrescue/usr/share/info/ddrescue.info"*
# install -m 644 ./doc/ddrescue.info "/tmp/ddrescue/pkg/ddrescue/usr/share/info/ddrescue.info"
# if /bin/sh -c "install-info --version" > /dev/null 2>&1 ; then \
# install-info --info-dir="/tmp/ddrescue/pkg/ddrescue/usr/share/info" "/tmp/ddrescue/pkg/ddrescue/usr/share/info/ddrescue.info" ; \
# fi
# if [ ! -d "/tmp/ddrescue/pkg/ddrescue/usr/share/man/man1" ] ; then install -d -m 755 "/tmp/ddrescue/pkg/ddrescue/usr/share/man/man1" ; fi
# rm -f "/tmp/ddrescue/pkg/ddrescue/usr/share/man/man1/ddrescue.1"*
# rm -f "/tmp/ddrescue/pkg/ddrescue/usr/share/man/man1/ddrescuelog.1"*
# install -m 644 ./doc/ddrescue.1 "/tmp/ddrescue/pkg/ddrescue/usr/share/man/man1/ddrescue.1"
# install -m 644 ./doc/ddrescuelog.1 "/tmp/ddrescue/pkg/ddrescue/usr/share/man/man1/ddrescuelog.1"
# make: Nothing to be done for 'install-man'.
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "ddrescue"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: ddrescue 1.21-1 (Thu Apr 13 17:27:16 UTC 2017)

CMD: pacman --query --file ddrescue-1.21-1-x86_64.pkg.tar.xz
# ddrescue 1.21-1

Creating hybrid package for 'ddrescue'

Trying to find vanilla package 'ddrescue'...

CMD: pacman --query --file /mirror/ddrescue-1.21-1.pkg.tar.xz
# ddrescue 1.21-1

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /usr/share/info/ddrescue.info.gz
# /usr/share/man/man1/ddrescue.1.gz
# /usr/share/man/man1/ddrescuelog.1.gz
# /usr/bin/ddrescue
# /usr/bin/ddrescuelog

Generating .MTREE

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

Tar-ing up files

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

CMD: xz -c -z

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

CMD: bsdtar -tqf ddrescue.pkg.tar.xz .PKGINFO
# .PKGINFO

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

Attempting to access local repository, attempt 1

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