Build of tetrinet with vanilla toolchain

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

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

SLOCLanguage
4,203 ansic
22 makefile
4,225 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: tetrinet 0.11-7 (Wed Aug 24 13:10:33 UTC 2016)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# cc -O2 -I/usr/include/ncurses -DHAVE_IPV6 -g -Wall -c sockets.c
# cc -O2 -I/usr/include/ncurses -DHAVE_IPV6 -g -Wall -c tetrinet.c
# In file included from tetrinet.c:14:0:
# tetrinet.h:77:12: warning: built-in function 'log' declared as non-function
# extern int log;
# ^~~
# In file included from sockets.c:19:0:
# tetrinet.h:77:12: warning: built-in function 'log' declared as non-function
# extern int log;
# ^~~
# tetrinet.c: In function 'init':
# tetrinet.c:641:44: warning: pointer targets in passing argument 3 of 'conn' differ in signedness [-Wpointer-sign]
# if ((server_sock = conn(server, 31457, ip)) < 0) {
# ^~
# In file included from tetrinet.c:17:0:
# sockets.h:15:12: note: expected 'char *' but argument is of type 'unsigned char *'
# extern int conn(const char *host, int port, char ipbuf[4]);
# ^~~~
# tetrinet.c: In function 'parse':
# tetrinet.c:86:21: warning: array subscript is above array bounds [-Warray-bounds]
# winlist[i].name[sizeof(winlist[i].name)] = 0;
# ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
# cc -O2 -I/usr/include/ncurses -DHAVE_IPV6 -g -Wall -c tetris.c
# In file included from tetris.c:11:0:
# tetrinet.h:77:12: warning: built-in function 'log' declared as non-function
# extern int log;
# ^~~
# cc -O2 -I/usr/include/ncurses -DHAVE_IPV6 -g -Wall -c tty.c
# cc -O2 -I/usr/include/ncurses -DHAVE_IPV6 -g -Wall -c xwin.c
# In file included from tty.c:18:0:
# tetrinet.h:77:12: warning: built-in function 'log' declared as non-function
# extern int log;
# ^~~
# In file included from xwin.c:18:0:
# tetrinet.h:77:12: warning: built-in function 'log' declared as non-function
# extern int log;
# ^~~
# tty.c: In function 'draw_attdef':
# tty.c:862:12: warning: variable 'width' set but not used [-Wunused-but-set-variable]
# int i, width;
# ^~~~~
# xwin.c: In function 'draw_attdef':
# xwin.c:802:12: warning: variable 'width' set but not used [-Wunused-but-set-variable]
# int i, width;
# ^~~~~
# cc -O2 -I/usr/include/ncurses -DHAVE_IPV6 -g -Wall -o tetrinet-server -DSERVER_ONLY server.c sockets.c tetrinet.c tetris.c
# In file included from server.c:22:0:
# tetrinet.h:77:12: warning: built-in function 'log' declared as non-function
# extern int log;
# ^~~
# cc -o tetrinet sockets.o tetrinet.o tetris.o tty.o xwin.o -lncurses
# server.c: In function 'check_sockets':
# server.c:843:52: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign]
# fd = accept(listen_sock, (struct sockaddr *)&sin, &len);
# ^
# In file included from /usr/include/netinet/in.h:23:0,
# from server.c:14:
# /usr/include/sys/socket.h:243:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *'
# extern int accept (int __fd, __SOCKADDR_ARG __addr,
# ^~~~~~
# server.c:861:54: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign]
# fd = accept(listen_sock6, (struct sockaddr *)&sin6, &len);
# ^
# In file included from /usr/include/netinet/in.h:23:0,
# from server.c:14:
# /usr/include/sys/socket.h:243:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *'
# extern int accept (int __fd, __SOCKADDR_ARG __addr,
# ^~~~~~
# In file included from sockets.c:19:0:
# tetrinet.h:77:12: warning: built-in function 'log' declared as non-function
# extern int log;
# ^~~
# In file included from tetrinet.c:14:0:
# tetrinet.h:77:12: warning: built-in function 'log' declared as non-function
# extern int log;
# ^~~
# In file included from tetris.c:11:0:
# tetrinet.h:77:12: warning: built-in function 'log' declared as non-function
# extern int log;
# ^~~
# tetris.c:42:12: warning: 'last_special' defined but not used [-Wunused-variable]
# static int last_special; /* Last line for which we added a special */
# ^~~~~~~~~~~~
# tetris.c:40:12: warning: 'piece_waiting' defined but not used [-Wunused-variable]
# static int piece_waiting; /* Are we waiting for a new piece to start? */
# ^~~~~~~~~~~~~
# tetris.c:35:23: warning: 'timeout' defined but not used [-Wunused-variable]
# static struct timeval timeout; /* Time of next action */
# ^~~~~~~
# ==> Entering fakeroot environment...
# ==> Starting package()...
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "tetrinet"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: tetrinet 0.11-7 (Wed Aug 24 13:10:37 UTC 2016)

CMD: pacman --query --file tetrinet-0.11-7-x86_64.pkg.tar.xz
# tetrinet 0.11-7

Creating hybrid package for 'tetrinet'

Trying to find vanilla package 'tetrinet'...

CMD: pacman --query --file /mirror/gtetrinet-0.7.11-5.pkg.tar.xz
# gtetrinet 0.7.11-5

CMD: pacman --query --file /mirror/tetrinet-0.11-7.pkg.tar.xz
# tetrinet 0.11-7

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/bin/tetrinet
# /usr/bin/tetrinet-server
# /usr/share/doc/tetrinet/README
# /usr/share/doc/tetrinet/tetrinet.txt

Generating .MTREE

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

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO usr .MTREE

CMD: xz -c -z

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

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

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

Attempting to access local repository, attempt 1

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