Build of shapelib with clang_glibc toolchain

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

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

SLOCLanguage
8,150 ansic
178 cpp
159 pascal
145 sh
116 makefile
8,748 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: shapelib 1.3.0-5 (Thu Apr 13 16:07:04 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# clang -g -Wall -fPIC -c shpopen.c
# shpopen.c:1717:21: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
# if (nPoints < 0 || nParts < 0 ||
# ~~~~~~~ ^ ~
# shpopen.c:1717:35: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
# if (nPoints < 0 || nParts < 0 ||
# ~~~~~~ ^ ~
# shpopen.c:1916:21: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
# if (nPoints < 0 || nPoints > 50 * 1000 * 1000)
# ~~~~~~~ ^ ~
# 3 warnings generated.
# clang -g -Wall -fPIC -c dbfopen.c
# clang -g -Wall -fPIC -c safileio.c
# clang -g -Wall -fPIC -c shptree.c
# ar r libshp.a shpopen.o dbfopen.o safileio.o shptree.o
# ar: creating libshp.a
# ==> Entering fakeroot environment...
# ==> Starting package()...
# cp libshp.a /tmp/shapelib/pkg/shapelib/usr/lib
# cp shapefil.h /tmp/shapelib/pkg/shapelib/usr/include
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "shapelib"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: shapelib 1.3.0-5 (Thu Apr 13 16:07:05 UTC 2017)

CMD: pacman --query --file shapelib-1.3.0-5-x86_64.pkg.tar.xz
# shapelib 1.3.0-5

Creating hybrid package for 'shapelib'

Trying to find vanilla package 'shapelib'...

CMD: pacman --query --file /mirror/shapelib-1.3.0-5.pkg.tar.xz
# shapelib 1.3.0-5

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/lib/libshp.a
# /usr/include/shapefil.h
# /usr/share/licenses/shapelib/LICENSE
# /sysroot/usr/lib/libshp.a
# /sysroot/usr/include/shapefil.h

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

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

Attempting to access local repository, attempt 1

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