Build of p2c with vanilla toolchain

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

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

SLOCLanguage
38,617 ansic
2,499 pascal
202 perl
170 makefile
41,488 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: p2c 1.21alpha2-11 (Wed Aug 24 12:44:25 UTC 2016)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# cc makeproto.c -o makeproto
# cc -c -DHASDUMPS -DP2C_HOME=\"/usr/lib/p2c\" trans.c
# makeproto.c: In function 'usage':
# makeproto.c:137:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
# exit(1);
# ^~~~
# makeproto.c:137:5: warning: incompatible implicit declaration of built-in function 'exit'
# makeproto.c:137:5: note: include '' or provide a declaration of 'exit'
# makeproto.c: In function 'main':
# makeproto.c:171:23: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration]
# typetab = atoi(argv[1] + 2);
# ^~~~
# makeproto.c:210:13: warning: incompatible implicit declaration of built-in function 'exit'
# exit(1);
# ^~~~
# makeproto.c:210:13: note: include '' or provide a declaration of 'exit'
# makeproto.c:501:9: warning: incompatible implicit declaration of built-in function 'exit'
# exit(1);
# ^~~~
# makeproto.c:501:9: note: include '' or provide a declaration of 'exit'
# makeproto.c:503:9: warning: incompatible implicit declaration of built-in function 'exit'
# exit(0);
# ^~~~
# makeproto.c:503:9: note: include '' or provide a declaration of 'exit'
# In file included from trans.c:23:0:
# trans.h:1776:42: warning: built-in function 'logf' declared as non-function
# extern FILE *inf, *outf, *codef, *hdrf, *logf;
# ^~~~
# trans.c: In function 'closelogfile':
# trans.c:616:57: warning: implicit declaration of function 'sbrk' [-Wimplicit-function-declaration]
# fprintf(logf, "Total memory used: %ld bytes.\n", (long)sbrk(0));
# ^~~~
# trans.c: In function 'main':
# trans.c:782:12: warning: overflow in implicit constant conversion [-Woverflow]
# bft.f1 = 0xffff;
# ^~~~~~
# cc -c -o stuff.o stuff.c
# cc -c -o out.o out.c
# In file included from stuff.c:21:0:
# trans.h:1776:42: warning: built-in function 'logf' declared as non-function
# extern FILE *inf, *outf, *codef, *hdrf, *logf;
# ^~~~
# In file included from out.c:31:0:
# trans.h:1776:42: warning: built-in function 'logf' declared as non-function
# extern FILE *inf, *outf, *codef, *hdrf, *logf;
# ^~~~
# cc -c -o comment.o comment.c
# In file included from comment.c:21:0:
# trans.h:1776:42: warning: built-in function 'logf' declared as non-function
# extern FILE *inf, *outf, *codef, *hdrf, *logf;
# ^~~~
# cc -c -o lex.o lex.c
# In file included from lex.c:21:0:
# trans.h:1776:42: warning: built-in function 'logf' declared as non-function
# extern FILE *inf, *outf, *codef, *hdrf, *logf;
# ^~~~
# cc -c -o parse.o parse.c
# In file included from parse.c:21:0:
# trans.h:1776:42: warning: built-in function 'logf' declared as non-function
# extern FILE *inf, *outf, *codef, *hdrf, *logf;
# ^~~~
# cc -c -o decl.o decl.c
# In file included from decl.c:21:0:
# trans.h:1776:42: warning: built-in function 'logf' declared as non-function
# extern FILE *inf, *outf, *codef, *hdrf, *logf;
# ^~~~
# cc -c -o expr.o expr.c
# In file included from expr.c:21:0:
# trans.h:1776:42: warning: built-in function 'logf' declared as non-function
# extern FILE *inf, *outf, *codef, *hdrf, *logf;
# ^~~~
# cc -c -o pexpr.o pexpr.c
# In file included from pexpr.c:21:0:
# trans.h:1776:42: warning: built-in function 'logf' declared as non-function
# extern FILE *inf, *outf, *codef, *hdrf, *logf;
# ^~~~
# cc -c -o funcs.o funcs.c
# In file included from funcs.c:21:0:
# trans.h:1776:42: warning: built-in function 'logf' declared as non-function
# extern FILE *inf, *outf, *codef, *hdrf, *logf;
# ^~~~
# cc -c -DCUST1=hpmods -DCUST2=citmods dir.c
# In file included from dir.c:22:0:
# trans.h:1776:42: warning: built-in function 'logf' declared as non-function
# extern FILE *inf, *outf, *codef, *hdrf, *logf;
# ^~~~
# cc -c -o hpmods.o hpmods.c
# In file included from hpmods.c:21:0:
# trans.h:1776:42: warning: built-in function 'logf' declared as non-function
# extern FILE *inf, *outf, *codef, *hdrf, *logf;
# ^~~~
# cc -c -o citmods.o citmods.c
# In file included from citmods.c:21:0:
# trans.h:1776:42: warning: built-in function 'logf' declared as non-function
# extern FILE *inf, *outf, *codef, *hdrf, *logf;
# ^~~~
# cc -c p2clib.c
# cc -c -o loc.p2clib.o loc.p2clib.c
# sed -e "s;--HOMEDIR--;/usr/lib/p2c;" \
# -e "s;--INCDIR--;/usr/include/p2c;" \
# -e "s;--LIBDIR--;/usr/lib;" \
# p2c.man >p2c.man.inst
# ./makeproto -n -m -h -t16 -a35 -s1 -i trans.c stuff.c out.c comment.c lex.c parse.c decl.c expr.c pexpr.c funcs.c dir.c hpmods.c citmods.c -o p2c.proto
# ./makeproto -n -m -h -t16 -a35 -s0 -x trans.c stuff.c out.c comment.c lex.c parse.c decl.c expr.c pexpr.c funcs.c dir.c hpmods.c citmods.c -o p2c.hdrs
# cc trans.o stuff.o out.o comment.o lex.o parse.o decl.o expr.o pexpr.o funcs.o dir.o hpmods.o citmods.o -o p2c
# ar r libp2c.a p2clib.o loc.p2clib.o
# ar: creating libp2c.a
# if [ -f /usr/bin/nroff -o -f /bin/nroff ]; \
# then nroff -man p2c.man.inst >p2c.cat; fi
# ==> Entering fakeroot environment...
# ==> Starting package()...
# if [ ! -d /tmp/p2c/pkg/p2c/usr/lib/p2c ]; then mkdir /tmp/p2c/pkg/p2c/usr/lib/p2c; else true; fi
# cp p2c /tmp/p2c/pkg/p2c/usr/bin/p2c
# sed -e "s;--HOMEDIR--;/tmp/p2c/pkg/p2c/usr/lib/p2c;" \
# -e "s;--INCDIR--;/tmp/p2c/pkg/p2c/usr/include/p2c;" \
# -e "s;--LIBDIR--;/tmp/p2c/pkg/p2c/usr/lib;" \
# -e "s;/bin/perl;`which perl`;" \
# p2cc.perl >p2cc
# if [ ! -d /tmp/p2c/pkg/p2c/usr/bin ]; then mkdir /tmp/p2c/pkg/p2c/usr/bin; else true; fi
# if [ ! -d /tmp/p2c/pkg/p2c/usr/lib ]; then mkdir /tmp/p2c/pkg/p2c/usr/lib; else true; fi
# if [ ! -d /tmp/p2c/pkg/p2c/usr/share/man/man1 ]; then mkdir /tmp/p2c/pkg/p2c/usr/share/man/man1; else true; fi
# if [ ! -d /tmp/p2c/pkg/p2c/usr/include/p2c ]; then mkdir /tmp/p2c/pkg/p2c/usr/include/p2c; else true; fi
# chmod a+x p2cc
# cp libp2c.a /tmp/p2c/pkg/p2c/usr/lib/libp2c.a
# cp p2c.cat /tmp/p2c/pkg/p2c/usr/share/man/man1/p2c.1
# if [ -f /usr/bin/ranlib -o -f /bin/ranlib ]; then ranlib /tmp/p2c/pkg/p2c/usr/lib/libp2c.a; fi
# cp p2c.h /tmp/p2c/pkg/p2c/usr/include/p2c/p2c.h
# cp sys.p2crc /tmp/p2c/pkg/p2c/usr/lib/p2c/p2crc
# cp loc.p2crc /tmp/p2c/pkg/p2c/usr/lib/p2c/loc.p2crc
# cp system.imp /tmp/p2c/pkg/p2c/usr/lib/p2c/system.imp
# cp system.m2 /tmp/p2c/pkg/p2c/usr/lib/p2c/system.m2
# cp turbo.imp /tmp/p2c/pkg/p2c/usr/lib/p2c/turbo.imp
# cp string.pas /tmp/p2c/pkg/p2c/usr/lib/p2c/string.pas
# cp p2cc /tmp/p2c/pkg/p2c/usr/bin/p2cc
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> WARNING: Package contains reference to $pkgdir
# ==> Creating package "p2c"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: p2c 1.21alpha2-11 (Wed Aug 24 12:44:29 UTC 2016)

CMD: pacman --query --file p2c-1.21alpha2-11-x86_64.pkg.tar.xz
# p2c 1.21alpha2-11

Creating hybrid package for 'p2c'

Trying to find vanilla package 'p2c'...

CMD: pacman --query --file /mirror/p2c-1.21alpha2-11.pkg.tar.xz
# p2c 1.21alpha2-11

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/bin/p2c
# /usr/bin/p2cc
# /usr/share/man/man1/p2c.1.gz
# /usr/lib/p2c/p2crc
# /usr/lib/p2c/turbo.imp
# /usr/lib/p2c/system.m2
# /usr/lib/p2c/string.pas
# /usr/lib/p2c/system.imp
# /usr/lib/p2c/loc.p2crc
# /usr/include/p2c/p2c.h
# /sysroot/usr/lib/libp2c.a
# /sysroot/usr/lib/p2c/p2crc
# /sysroot/usr/lib/p2c/loc.p2crc
# /sysroot/usr/lib/p2c/system.imp
# /sysroot/usr/lib/p2c/system.m2
# /sysroot/usr/lib/p2c/turbo.imp
# /sysroot/usr/lib/p2c/string.pas
# /sysroot/usr/include/p2c/p2c.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 p2c.pkg.tar.xz .PKGINFO
# .PKGINFO

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

Attempting to access local repository, attempt 1

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

Attempting to access local repository, attempt 2

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

Attempting to access local repository, attempt 3

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