Build of ddrescue with vanilla toolchain

The build took 00h 01m 20s 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.

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

CMD: sudo -u tuscan red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: ddrescue 1.21-1 (Wed Aug 24 13:27:28 UTC 2016)
# ==> 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 -DPROGVERSION=\"1.21\" -c -o ddrescuelog.o ddrescuelog.cc
# g++ -Wall -W -O2 -o ddrescuelog arg_parser.o block.o mapfile.o ddrescuelog.o
# 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
# ==> 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
# 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
# install -m 755 ./ddrescue "/tmp/ddrescue/pkg/ddrescue/usr/bin/ddrescue"
# if [ ! -d "/tmp/ddrescue/pkg/ddrescue/usr/share/man/man1" ] ; then install -d -m 755 "/tmp/ddrescue/pkg/ddrescue/usr/share/man/man1" ; fi
# install -m 755 ./ddrescuelog "/tmp/ddrescue/pkg/ddrescue/usr/bin/ddrescuelog"
# 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 (Wed Aug 24 13:27:50 UTC 2016)

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
# ==> ERROR: Failed to acquire lockfile: /var/cache/pacman/pkg/tuscan.db.tar.lck.
# ==> ERROR: Held by process 710

Attempting to access local repository, attempt 2

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

Attempting to access local repository, attempt 3

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'