Build of netbrake with vanilla toolchain

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

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

SLOCLanguage
1,189 ansic
49 makefile
37 sh
1,275 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: netbrake 0.2-5 (Wed Aug 24 12:34:28 UTC 2016)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# patching file libnetbrake.c
# gcc -I. -fPIC -Wall -O2 -g -DNB_HTTPFS -c libnetbrake.c -o libnetbrake.o
# Making dependences
# gcc -I. -fPIC -Wall -O2 -g -DNB_HTTPFS -c secstring.c -o secstring.o
# libnetbrake.c: In function 'nb_limit_io.isra.1':
# libnetbrake.c:439:17: warning: 'bytes' may be used uninitialized in this function [-Wmaybe-uninitialized]
# ideal_time = ((float)bytes/opt_bpslimit)*1000000;
# ^~~~~~~~~~~~
# libnetbrake.c:440:27: warning: 'time' may be used uninitialized in this function [-Wmaybe-uninitialized]
# sleep_sec = (ideal_time - time)/1000000;
# ~~~~~~~~~~~~^~~~~~~
# gcc -I. -fPIC -Wall -O2 -g -DNB_HTTPFS -c antigetopt.c -o antigetopt.o
# gcc -I. -fPIC -Wall -O2 -g -DNB_HTTPFS -c netbrake.c -o netbrake.o
# gcc secstring.o antigetopt.o netbrake.o -o netbrake
# gcc -nostartfiles -shared -Wl,-soname,libnetbrake.so.0 libnetbrake.o -o libnetbrake.so.0.1 -lc -ldl
# ==> Entering fakeroot environment...
# ==> Starting package()...
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "netbrake"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: netbrake 0.2-5 (Wed Aug 24 12:34:28 UTC 2016)

CMD: pacman --query --file netbrake-0.2-5-x86_64.pkg.tar.xz
# netbrake 0.2-5

Creating hybrid package for 'netbrake'

Trying to find vanilla package 'netbrake'...

CMD: pacman --query --file /mirror/netbrake-0.2-5.pkg.tar.xz
# netbrake 0.2-5

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/bin/netbrake
# /usr/lib/libnetbrake.so.0.1
# /sysroot/usr/lib/libnetbrake.so.0.1

Generating .MTREE

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

Tar-ing up files

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

CMD: xz -c -z

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

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

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

Attempting to access local repository, attempt 1

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

Attempting to access local repository, attempt 2

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

Attempting to access local repository, attempt 3

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