Build of shapelib with android toolchain

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

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/arm-linux-androideabi --> /sysroot/arm-linux-androideabi
# /toolchain_root/COPYING3.LIB --> /sysroot/COPYING3.LIB
# /toolchain_root/sysroot --> /sysroot/sysroot
# /toolchain_root/COPYING.RUNTIME --> /sysroot/COPYING.RUNTIME
# /toolchain_root/lib --> /sysroot/lib
# /toolchain_root/SOURCES --> /sysroot/SOURCES
# /toolchain_root/lib64 --> /sysroot/lib64
# /toolchain_root/share --> /sysroot/share
# /toolchain_root/bin --> /sysroot/bin
# /toolchain_root/COPYING --> /sysroot/COPYING
# /toolchain_root/COPYING3 --> /sysroot/COPYING3
# /toolchain_root/COPYING.LIB --> /sysroot/COPYING.LIB
# /toolchain_root/include --> /sysroot/include
# /toolchain_root/libexec --> /sysroot/libexec

CMD: sudo -u tuscan PATH=/sysroot/bin:/sysroot/libexec/gcc/arm-linux-androideabi/4.8:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=arm-linux-androideabi-gcc CXX=arm-linux-androideabi-g++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: shapelib 1.3.0-5 (Tue Apr 4 20:48:12 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# arm-linux-androideabi-gcc -g -Wall -fPIC -c shpopen.c
# arm-linux-androideabi-gcc -g -Wall -fPIC -c dbfopen.c
# arm-linux-androideabi-gcc -g -Wall -fPIC -c safileio.c
# arm-linux-androideabi-gcc -g -Wall -fPIC -c shptree.c
# ar r libshp.a shpopen.o dbfopen.o safileio.o shptree.o
# /r: 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 (Tue Apr 4 20:48:13 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/sysroot/usr/lib/libshp.a
# /sysroot/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'