Build of axel with clang_glibc toolchain

The build took 00h 03m 08s and was SUCCESSFUL.

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

SLOCLanguage
2,376 ansic
203 sh
73 makefile
38 python
2,690 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...

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: axel 2.4-4 (Thu Apr 13 11:36:56 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# The strip option is enabled. This should not be a problem usually, but on some
# systems it breaks stuff.
#
# Configuration done:
# Internationalization enabled.
# Debugging disabled.
# Binary stripping enabled.
# clang -c axel.c -o axel.o -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Os
# clang -c conf.c -o conf.o -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Os
# clang -c conn.c -o conn.o -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Os
# clang -c ftp.c -o ftp.o -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Os
# clang -c http.c -o http.o -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Os
# clang -c search.c -o search.o -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Os
# clang -c tcp.c -o tcp.o -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Os
# clang -c text.c -o text.o -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Os
# clang *.o -o axel -lpthread
# strip axel
# msgfmt -vo nl.mo nl.po
# 40 translated messages, 6 fuzzy translations, 4 untranslated messages.
# msgfmt -vo de.mo de.po
# 46 translated messages, 4 fuzzy translations.
# msgfmt -vo ru.mo ru.po
# 46 translated messages, 2 fuzzy translations, 2 untranslated messages.
# msgfmt -vo zh_CN.mo zh_CN.po
# 42 translated messages, 6 fuzzy translations, 2 untranslated messages.
# ==> Entering fakeroot environment...
# ==> Starting package()...
# mkdir -p /tmp/axel/pkg/axel/usr/bin/
# cp axel /tmp/axel/pkg/axel/usr/bin/axel
# mkdir -p /tmp/axel/pkg/axel/etc/
# cp axelrc.example /tmp/axel/pkg/axel/etc/axelrc
# mkdir -p /tmp/axel/pkg/axel/usr/share/man/man1/
# cp axel.1 /tmp/axel/pkg/axel/usr/share/man/man1/axel.1
# mkdir -p /tmp/axel/pkg/axel/usr/share/man/zh_CN/man1/
# cp axel_zh_CN.1 /tmp/axel/pkg/axel/usr/share/man/zh_CN/man1/axel.1
# Installing locale files...
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "axel"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: axel 2.4-4 (Thu Apr 13 11:37:09 UTC 2017)

CMD: pacman --query --file axel-2.4-4-x86_64.pkg.tar.xz
# axel 2.4-4

Creating hybrid package for 'axel'

Trying to find vanilla package 'axel'...

CMD: pacman --query --file /mirror/axel-2.4-4.pkg.tar.xz
# axel 2.4-4

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /etc/axelrc
# /usr/share/man/man1/axel.1.gz
# /usr/share/man/zh_CN/man1/axel.1.gz
# /usr/share/locale/nl/LC_MESSAGES/axel.mo
# /usr/share/locale/de/LC_MESSAGES/axel.mo
# /usr/share/locale/ru/LC_MESSAGES/axel.mo
# /usr/share/locale/zh_CN/LC_MESSAGES/axel.mo
# /usr/bin/axel

Generating .MTREE

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

Tar-ing up files

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

CMD: xz -c -z

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

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

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

Attempting to access local repository, attempt 1

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

Attempting to access local repository, attempt 2

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