Build of ocrad with musl toolchain

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

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

SLOCLanguage
9,478 cpp
311 sh
152 makefile
9,941 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...

There were existing files in /sysroot, using those
# /sysroot/lib
# /sysroot/share
# /sysroot/bin
# /sysroot/include
# /sysroot/libexec

CMD: sudo -u tuscan PATH=/sysroot/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: ocrad 0.25-3 (Wed Apr 5 00:03:00 UTC 2017)
# ==> 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
# includedir = ${prefix}/include
# infodir = $(datarootdir)/info
# libdir = ${exec_prefix}/lib
# mandir = $(datarootdir)/man
# CXX = g++
# CPPFLAGS =
# CXXFLAGS =
# LDFLAGS =
# OK. Now you can run make.
# g++ -c -o common.o common.cc
# g++ -c -o segment.o segment.cc
# g++ -c -o mask.o mask.cc
# g++ -c -o rational.o rational.cc
# g++ -c -o rectangle.o rectangle.cc
# g++ -c -o track.o track.cc
# g++ -c -o iso_8859.o iso_8859.cc
# g++ -c -o ucs.o ucs.cc
# g++ -c -o user_filter.o user_filter.cc
# g++ -c -o page_image.o page_image.cc
# g++ -c -o page_image_io.o page_image_io.cc
# g++ -c -o bitmap.o bitmap.cc
# g++ -c -o blob.o blob.cc
# g++ -c -o profile.o profile.cc
# g++ -c -o feats.o feats.cc
# g++ -c -o feats_test0.o feats_test0.cc
# g++ -c -o feats_test1.o feats_test1.cc
# g++ -c -o character.o character.cc
# g++ -c -o character_r11.o character_r11.cc
# g++ -c -o character_r12.o character_r12.cc
# g++ -c -o character_r13.o character_r13.cc
# g++ -c -o textline.o textline.cc
# g++ -c -o textline_r2.o textline_r2.cc
# g++ -c -o textblock.o textblock.cc
# g++ -c -o textpage.o textpage.cc
# g++ -c -o arg_parser.o arg_parser.cc
# g++ -DPROGVERSION=\"0.25\" -c -o main.o main.cc
# g++ -c -o ocradlib.o ocradlib.cc
# g++ -o ocrad common.o segment.o mask.o rational.o rectangle.o track.o iso_8859.o ucs.o user_filter.o page_image.o page_image_io.o bitmap.o blob.o profile.o feats.o feats_test0.o feats_test1.o character.o character_r11.o character_r12.o character_r13.o textline.o textline_r2.o textblock.o textpage.o arg_parser.o main.o
# ar -rcs libocrad.a common.o segment.o mask.o rational.o rectangle.o track.o iso_8859.o ucs.o user_filter.o page_image.o page_image_io.o bitmap.o blob.o profile.o feats.o feats_test0.o feats_test1.o character.o character_r11.o character_r12.o character_r13.o textline.o textline_r2.o textblock.o textpage.o ocradlib.o
# ==> Entering fakeroot environment...
# ==> Starting package()...
# if [ ! -d "/tmp/ocrad/pkg/ocrad/usr/bin" ] ; then install -d -m 755 "/tmp/ocrad/pkg/ocrad/usr/bin" ; fi
# if [ ! -d "/tmp/ocrad/pkg/ocrad/usr/share/info" ] ; then install -d -m 755 "/tmp/ocrad/pkg/ocrad/usr/share/info" ; fi
# if [ ! -d "/tmp/ocrad/pkg/ocrad/usr/share/man/man1" ] ; then install -d -m 755 "/tmp/ocrad/pkg/ocrad/usr/share/man/man1" ; fi
# if [ ! -d "/tmp/ocrad/pkg/ocrad/usr/include" ] ; then install -d -m 755 "/tmp/ocrad/pkg/ocrad/usr/include" ; fi
# rm -f "/tmp/ocrad/pkg/ocrad/usr/share/man/man1/ocrad.1"*
# rm -f "/tmp/ocrad/pkg/ocrad/usr/share/info/ocrad.info"*
# install -m 644 ./doc/ocrad.1 "/tmp/ocrad/pkg/ocrad/usr/share/man/man1/ocrad.1"
# install -m 644 ./doc/ocrad.info "/tmp/ocrad/pkg/ocrad/usr/share/info/ocrad.info"
# if [ ! -d "/tmp/ocrad/pkg/ocrad/usr/lib" ] ; then install -d -m 755 "/tmp/ocrad/pkg/ocrad/usr/lib" ; fi
# make: Nothing to be done for 'install-man'.
# install-info --info-dir="/tmp/ocrad/pkg/ocrad/usr/share/info" "/tmp/ocrad/pkg/ocrad/usr/share/info/ocrad.info"
# install -m 755 ./ocrad "/tmp/ocrad/pkg/ocrad/usr/bin/ocrad"
# install -m 644 ./ocradlib.h "/tmp/ocrad/pkg/ocrad/usr/include/ocradlib.h"
# install -m 644 ./libocrad.a "/tmp/ocrad/pkg/ocrad/usr/lib/libocrad.a"
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "ocrad"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: ocrad 0.25-3 (Wed Apr 5 00:03:06 UTC 2017)

CMD: pacman --query --file ocrad-0.25-3-x86_64.pkg.tar.xz
# ocrad 0.25-3

Creating hybrid package for 'ocrad'

Trying to find vanilla package 'ocrad'...

CMD: pacman --query --file /mirror/ocrad-0.25-3.pkg.tar.xz
# ocrad 0.25-3

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /usr/bin/ocrad
# /usr/share/info/ocrad.info.gz
# /usr/share/man/man1/ocrad.1.gz
# /usr/include/ocradlib.h
# /usr/lib/libocrad.a
# /sysroot/usr/lib/libocrad.a
# /sysroot/usr/include/ocradlib.h

Generating .MTREE

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

Tar-ing up files

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

CMD: xz -c -z

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

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

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

Attempting to access local repository, attempt 1

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