Build of gsm with vanilla toolchain

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

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

SLOCLanguage
6,237 ansic
277 makefile
6,514 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: gsm 1.0.14-1 (Wed Aug 24 13:24:20 UTC 2016)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# patching file Makefile
# gcc -ansi -pedantic -c -fPIC -DSASR -DWAV49 -I./inc src/add.c
# gcc -ansi -pedantic -c -fPIC -DSASR -DWAV49 -I./inc src/code.c
# gcc -ansi -pedantic -c -fPIC -DSASR -DWAV49 -I./inc src/debug.c
# gcc -ansi -pedantic -c -fPIC -DSASR -DWAV49 -I./inc src/decode.c
# gcc -ansi -pedantic -c -fPIC -DSASR -DWAV49 -I./inc src/long_term.c
# gcc -ansi -pedantic -c -fPIC -DSASR -DWAV49 -I./inc src/lpc.c
# gcc -ansi -pedantic -c -fPIC -DSASR -DWAV49 -I./inc src/preprocess.c
# gcc -ansi -pedantic -c -fPIC -DSASR -DWAV49 -I./inc src/rpe.c
# gcc -ansi -pedantic -c -fPIC -DSASR -DWAV49 -I./inc src/gsm_destroy.c
# gcc -ansi -pedantic -c -fPIC -DSASR -DWAV49 -I./inc src/gsm_decode.c
# gcc -ansi -pedantic -c -fPIC -DSASR -DWAV49 -I./inc src/gsm_encode.c
# gcc -ansi -pedantic -c -fPIC -DSASR -DWAV49 -I./inc src/gsm_explode.c
# gcc -ansi -pedantic -c -fPIC -DSASR -DWAV49 -I./inc src/gsm_implode.c
# gcc -ansi -pedantic -c -fPIC -DSASR -DWAV49 -I./inc src/gsm_create.c
# gcc -ansi -pedantic -c -fPIC -DSASR -DWAV49 -I./inc src/gsm_print.c
# gcc -ansi -pedantic -c -fPIC -DSASR -DWAV49 -I./inc src/gsm_option.c
# gcc -ansi -pedantic -c -fPIC -DSASR -DWAV49 -I./inc src/short_term.c
# gcc -ansi -pedantic -c -fPIC -DSASR -DWAV49 -I./inc src/table.c
# gcc -ansi -pedantic -c -fPIC -DSASR -DWAV49 -I./inc src/toast.c
# gcc -ansi -pedantic -c -fPIC -DSASR -DWAV49 -I./inc src/toast_lin.c
# src/toast.c: In function 'open_output':
# src/toast.c:510:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
# out = fdopen(outfd, WRITE);
# ^
# gcc -ansi -pedantic -c -fPIC -DSASR -DWAV49 -I./inc src/toast_ulaw.c
# gcc -ansi -pedantic -c -fPIC -DSASR -DWAV49 -I./inc src/toast_alaw.c
# gcc -ansi -pedantic -c -fPIC -DSASR -DWAV49 -I./inc src/toast_audio.c
# gcc -ansi -pedantic -shared -Wl,-soname,libgsm.so.1 -o lib/libgsm.so.1.0.13 ./src/add.o ./src/code.o ./src/debug.o ./src/decode.o ./src/long_term.o ./src/lpc.o ./src/preprocess.o ./src/rpe.o ./src/gsm_destroy.o ./src/gsm_decode.o ./src/gsm_encode.o ./src/gsm_explode.o ./src/gsm_implode.o ./src/gsm_create.o ./src/gsm_print.o ./src/gsm_option.o ./src/short_term.o ./src/table.o
# ln -s -f libgsm.so.1.0.13 ./lib/libgsm.so.1
# ln -s -f libgsm.so.1.0.13 ./lib/libgsm.so
# gcc -ansi -pedantic -o ./bin/toast ./src/toast.o ./src/toast_lin.o ./src/toast_ulaw.o ./src/toast_alaw.o ./src/toast_audio.o ./lib/libgsm.so
# rm -f ./bin/tcat
# rm -f ./bin/untoast
# ln -s -f toast ./bin/tcat
# ln -s -f toast ./bin/untoast
# .: Done.
# ==> Entering fakeroot environment...
# ==> Starting package()...
# if [ x"/tmp/gsm/pkg/gsm/usr" != x ]; then \
# make /tmp/gsm/pkg/gsm/usr/bin/toast /tmp/gsm/pkg/gsm/usr/bin/tcat /tmp/gsm/pkg/gsm/usr/bin/untoast /tmp/gsm/pkg/gsm/usr/share/man/man1/toast.1; \
# fi
# make[1]: Entering directory '/tmp/gsm/src/gsm-1.0-pl14'
# gcc -ansi -pedantic -shared -Wl,-soname,libgsm.so.1 -o lib/libgsm.so.1.0.13 ./src/add.o ./src/code.o ./src/debug.o ./src/decode.o ./src/long_term.o ./src/lpc.o ./src/preprocess.o ./src/rpe.o ./src/gsm_destroy.o ./src/gsm_decode.o ./src/gsm_encode.o ./src/gsm_explode.o ./src/gsm_implode.o ./src/gsm_create.o ./src/gsm_print.o ./src/gsm_option.o ./src/short_term.o ./src/table.o
# ln -s -f libgsm.so.1.0.13 ./lib/libgsm.so.1
# ln -s -f libgsm.so.1.0.13 ./lib/libgsm.so
# gcc -ansi -pedantic -o ./bin/toast ./src/toast.o ./src/toast_lin.o ./src/toast_ulaw.o ./src/toast_alaw.o ./src/toast_audio.o ./lib/libgsm.so
# rm -f /tmp/gsm/pkg/gsm/usr/bin/toast
# cp ./bin/toast /tmp/gsm/pkg/gsm/usr/bin/toast
# chmod 755 /tmp/gsm/pkg/gsm/usr/bin/toast
# rm -f /tmp/gsm/pkg/gsm/usr/bin/tcat
# ln -s -f toast /tmp/gsm/pkg/gsm/usr/bin/tcat
# rm -f /tmp/gsm/pkg/gsm/usr/bin/untoast
# ln -s -f toast /tmp/gsm/pkg/gsm/usr/bin/untoast
# rm -f /tmp/gsm/pkg/gsm/usr/share/man/man1/toast.1
# cp man/toast.1 /tmp/gsm/pkg/gsm/usr/share/man/man1/toast.1
# chmod 444 /tmp/gsm/pkg/gsm/usr/share/man/man1/toast.1
# make[1]: Leaving directory '/tmp/gsm/src/gsm-1.0-pl14'
# if [ x"/tmp/gsm/pkg/gsm/usr" != x ] ; then \
# make /tmp/gsm/pkg/gsm/usr/lib/libgsm.so /tmp/gsm/pkg/gsm/usr/include/gsm/gsm.h /tmp/gsm/pkg/gsm/usr/share/man/man3/gsm.3 /tmp/gsm/pkg/gsm/usr/share/man/man3/gsm_explode.3 /tmp/gsm/pkg/gsm/usr/share/man/man3/gsm_option.3 /tmp/gsm/pkg/gsm/usr/share/man/man3/gsm_print.3 ; \
# fi
# make[1]: Entering directory '/tmp/gsm/src/gsm-1.0-pl14'
# gcc -ansi -pedantic -shared -Wl,-soname,libgsm.so.1 -o lib/libgsm.so.1.0.13 ./src/add.o ./src/code.o ./src/debug.o ./src/decode.o ./src/long_term.o ./src/lpc.o ./src/preprocess.o ./src/rpe.o ./src/gsm_destroy.o ./src/gsm_decode.o ./src/gsm_encode.o ./src/gsm_explode.o ./src/gsm_implode.o ./src/gsm_create.o ./src/gsm_print.o ./src/gsm_option.o ./src/short_term.o ./src/table.o
# ln -s -f libgsm.so.1.0.13 ./lib/libgsm.so.1
# ln -s -f libgsm.so.1.0.13 ./lib/libgsm.so
# rm -f /tmp/gsm/pkg/gsm/usr/lib/libgsm.so /tmp/gsm/pkg/gsm/usr/lib/libgsm.so.1 /tmp/gsm/pkg/gsm/usr/lib/libgsm.so.1.0.13
# cp lib/libgsm.so.1.0.13 /tmp/gsm/pkg/gsm/usr/lib/libgsm.so.1.0.13
# chmod 755 /tmp/gsm/pkg/gsm/usr/lib/libgsm.so.1.0.13
# ln -s -f libgsm.so.1.0.13 /tmp/gsm/pkg/gsm/usr/lib/libgsm.so
# ln -s -f libgsm.so.1.0.13 /tmp/gsm/pkg/gsm/usr/lib/libgsm.so.1
# rm -f /tmp/gsm/pkg/gsm/usr/include/gsm/gsm.h
# cp inc/gsm.h /tmp/gsm/pkg/gsm/usr/include/gsm/gsm.h
# chmod 444 /tmp/gsm/pkg/gsm/usr/include/gsm/gsm.h
# rm -f /tmp/gsm/pkg/gsm/usr/share/man/man3/gsm.3
# cp man/gsm.3 /tmp/gsm/pkg/gsm/usr/share/man/man3/gsm.3
# chmod 444 /tmp/gsm/pkg/gsm/usr/share/man/man3/gsm.3
# rm -f /tmp/gsm/pkg/gsm/usr/share/man/man3/gsm_explode.3
# cp man/gsm_explode.3 /tmp/gsm/pkg/gsm/usr/share/man/man3/gsm_explode.3
# chmod 444 /tmp/gsm/pkg/gsm/usr/share/man/man3/gsm_explode.3
# rm -f /tmp/gsm/pkg/gsm/usr/share/man/man3/gsm_option.3
# cp man/gsm_option.3 /tmp/gsm/pkg/gsm/usr/share/man/man3/gsm_option.3
# chmod 444 /tmp/gsm/pkg/gsm/usr/share/man/man3/gsm_option.3
# rm -f /tmp/gsm/pkg/gsm/usr/share/man/man3/gsm_print.3
# cp man/gsm_print.3 /tmp/gsm/pkg/gsm/usr/share/man/man3/gsm_print.3
# chmod 444 /tmp/gsm/pkg/gsm/usr/share/man/man3/gsm_print.3
# make[1]: Leaving directory '/tmp/gsm/src/gsm-1.0-pl14'
# install: Done.
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "gsm"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: gsm 1.0.14-1 (Wed Aug 24 13:24:52 UTC 2016)

CMD: pacman --query --file gsm-1.0.14-1-x86_64.pkg.tar.xz
# gsm 1.0.14-1

Creating hybrid package for 'gsm'

Trying to find vanilla package 'gsm'...

CMD: pacman --query --file /mirror/gsmartcontrol-0.8.7-7.pkg.tar.xz
# gsmartcontrol 0.8.7-7

CMD: pacman --query --file /mirror/perl-device-gsm-1.60-2.pkg.tar.xz
# perl-device-gsm 1.60-2

CMD: pacman --query --file /mirror/gsm-1.0.14-1.pkg.tar.xz
# gsm 1.0.14-1

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/bin/tcat
# /usr/bin/untoast
# /usr/bin/toast
# /usr/lib/libgsm.so
# /usr/lib/libgsm.so.1
# /usr/lib/libgsm.so.1.0.13
# /usr/include/gsm/gsm.h
# /usr/share/licenses/gsm/license.txt
# /usr/share/man/man1/toast.1.gz
# /usr/share/man/man3/gsm.3.gz
# /usr/share/man/man3/gsm_explode.3.gz
# /usr/share/man/man3/gsm_option.3.gz
# /usr/share/man/man3/gsm_print.3.gz
# /sysroot/usr/lib/libgsm.so.1.0.13
# /sysroot/usr/lib/libgsm.so
# /sysroot/usr/lib/libgsm.so.1
# /sysroot/usr/include/gsm/gsm.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 gsm.pkg.tar.xz .PKGINFO
# .PKGINFO

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

Attempting to access local repository, attempt 1

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