Build of tsocks with vanilla toolchain

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

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

SLOCLanguage
2,484 sh
1,896 ansic
4,380 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: tsocks 1.8beta5-7 (Wed Aug 24 14:02:47 UTC 2016)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# creating cache ./config.cache
# checking host system type... x86_64-unknown-linux-gnu
# checking for gcc... gcc
# checking whether the C compiler (gcc ) works... yes
# checking whether the C compiler (gcc ) is a cross-compiler... no
# checking whether we are using GNU C... yes
# checking whether gcc accepts -g... yes
# checking for a BSD compatible install... /usr/bin/install -c
# checking whether ln -s works... yes
# checking if the C compiler accepts -Wall... yes
# checking how to run the C preprocessor... gcc -E
# checking for ANSI C header files... yes
# checking for dlfcn.h... yes
# checking for sys/socket.h... yes
# checking for arpa/inet.h... yes
# checking for fcntl.h... yes
# checking for sys/poll.h... yes
# checking for unistd.h... yes
# checking for strcspn... yes
# checking for strdup... yes
# checking for strerror... yes
# checking for strspn... yes
# checking for strtol... yes
# checking for connect in -lc... yes
# checking for socket... yes
# checking for inet_aton... yes
# checking for gethostbyname... yes
# checking for dlsym in -ldl... yes
# checking for RTLD_NEXT from dlfcn.h... no
# checking for RTLD_NEXT from dlfcn.h with _GNU_SOURCE... yes
# checking for correct select prototype... select(int n, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout)
# checking for correct connect prototype... connect(int __fd, const struct sockaddr * __addr, socklen_t __len)
# checking for correct close prototype... close(int fd)
# checking for correct poll prototype... poll(struct pollfd *ufds, unsigned long nfds, int timeout)
# updating cache ./config.cache
# creating ./config.status
# creating Makefile
# creating config.h
# gcc -fPIC -Wall -I. -c tsocks.c -o tsocks.o
# gcc -fPIC -Wall -I. -c common.c -o common.o
# tsocks.c: In function 'connect':
# tsocks.c:215:27: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign]
# (void *) &sock_type, &sock_type_len);
# ^
# In file included from tsocks.c:39:0:
# /usr/include/sys/socket.h:219:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *'
# extern int getsockopt (int __fd, int __level, int __optname,
# ^~~~~~~~~~
# tsocks.c:271:62: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign]
# if (!getpeername(__fd, (struct sockaddr *) &peer_address, &namelen)) {
# ^
# In file included from tsocks.c:39:0:
# /usr/include/sys/socket.h:141:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *'
# extern int getpeername (int __fd, __SOCKADDR_ARG __addr,
# ^~~~~~~~~~~
# tsocks.c: In function 'select':
# tsocks.c:343:8: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
# int rc = 0;
# ^~
# tsocks.c: In function 'poll':
# tsocks.c:526:8: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
# int rc = 0, i;
# ^~
# gcc -fPIC -Wall -I. -c parser.c -o parser.o
# parser.c: In function 'handle_path':
# parser.c:210:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
# if (((int) (newserver = (struct serverent *) malloc(sizeof(struct serverent)))) == -1)
# ^
# gcc -fPIC -Wall -I. -static -o saveme saveme.c
# gcc -fPIC -Wall -I. -o inspectsocks inspectsocks.c common.o -lc
# gcc -fPIC -Wall -I. -o validateconf validateconf.c common.o parser.o -lc
# gcc -fPIC -Wall -I. -nostdlib -shared -o libtsocks.so.1.8 tsocks.o common.o parser.o -ldl -lc
# ln -sf libtsocks.so.1.8 libtsocks.so
# ==> Entering fakeroot environment...
# ==> Starting package()...
# /bin/sh mkinstalldirs "/tmp/tsocks/pkg/tsocks/usr/bin"
# /bin/sh mkinstalldirs "/tmp/tsocks/pkg/tsocks/usr/lib"
# mkdir /tmp/tsocks/pkg/tsocks/usr
# mkdir /tmp/tsocks/pkg/tsocks/usr
# mkdir /tmp/tsocks/pkg/tsocks/usr/bin
# mkdir /tmp/tsocks/pkg/tsocks/usr/lib
# /usr/bin/install -c tsocks /tmp/tsocks/pkg/tsocks/usr/bin
# /bin/sh mkinstalldirs "/tmp/tsocks/pkg/tsocks/usr/share/man/man1"
# /usr/bin/install -c libtsocks.so.1.8 /tmp/tsocks/pkg/tsocks/usr/lib
# ln -sf libtsocks.so.1.8 /tmp/tsocks/pkg/tsocks/usr/lib/libtsocks.so.1
# ln -sf libtsocks.so.1 /tmp/tsocks/pkg/tsocks/usr/lib/libtsocks.so
# mkdir /tmp/tsocks/pkg/tsocks/usr/share
# mkdir /tmp/tsocks/pkg/tsocks/usr/share/man
# mkdir /tmp/tsocks/pkg/tsocks/usr/share/man/man1
# /usr/bin/install -c -m 644 tsocks.1 /tmp/tsocks/pkg/tsocks/usr/share/man/man1/
# /bin/sh mkinstalldirs "/tmp/tsocks/pkg/tsocks/usr/share/man/man8"
# mkdir /tmp/tsocks/pkg/tsocks/usr/share/man/man8
# /usr/bin/install -c -m 644 tsocks.8 /tmp/tsocks/pkg/tsocks/usr/share/man/man8/
# /bin/sh mkinstalldirs "/tmp/tsocks/pkg/tsocks/usr/share/man/man5"
# mkdir /tmp/tsocks/pkg/tsocks/usr/share/man/man5
# /usr/bin/install -c -m 644 tsocks.conf.5 /tmp/tsocks/pkg/tsocks/usr/share/man/man5/
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "tsocks"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: tsocks 1.8beta5-7 (Wed Aug 24 14:02:50 UTC 2016)

CMD: pacman --query --file tsocks-1.8beta5-7-x86_64.pkg.tar.xz
# tsocks 1.8beta5-7

Creating hybrid package for 'tsocks'

Trying to find vanilla package 'tsocks'...

CMD: pacman --query --file /mirror/tsocks-1.8beta5-7.pkg.tar.xz
# tsocks 1.8beta5-7

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/bin/tsocks
# /usr/lib/libtsocks.so
# /usr/lib/libtsocks.so.1
# /usr/lib/libtsocks.so.1.8
# /usr/share/man/man1/tsocks.1.gz
# /usr/share/man/man5/tsocks.conf.5.gz
# /usr/share/man/man8/tsocks.8.gz
# /usr/share/tsocks/tsocks.conf.complex.example
# /usr/share/tsocks/tsocks.conf.simple.example
# /sysroot/usr/lib/libtsocks.so.1.8
# /sysroot/usr/lib/libtsocks.so.1
# /sysroot/usr/lib/libtsocks.so

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 tsocks.pkg.tar.xz .PKGINFO
# .PKGINFO

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

Attempting to access local repository, attempt 1

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

Attempting to access local repository, attempt 2

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

Attempting to access local repository, attempt 3

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

Attempting to access local repository, attempt 4

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

Attempting to access local repository, attempt 5

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

Attempting to access local repository, attempt 6

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

Printing config logfiles

CMD: config logfiles '/tmp/tsocks/src/tsocks-1.8/config.log'
# This file contains any messages produced by compilers while
# running configure, to aid debugging if configure makes a mistake.
#
# configure:624: checking host system type
# configure:648: checking for gcc
# configure:761: checking whether the C compiler (gcc ) works
# configure:777: gcc -o conftest conftest.c 1>&5
# configure:774:1: warning: return type defaults to 'int' [-Wimplicit-int]
# main(){return(0);}
# ^~~~
# configure:803: checking whether the C compiler (gcc ) is a cross-compiler
# configure:808: checking whether we are using GNU C
# configure:817: gcc -E conftest.c
# configure:836: checking whether gcc accepts -g
# configure:879: checking for a BSD compatible install
# configure:932: checking whether ln -s works
# configure:954: checking if the C compiler accepts -Wall
# configure:965: gcc -c -Wall conftest.c 1>&5
# configure:979: checking how to run the C preprocessor
# configure:1000: gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1059: checking for ANSI C header files
# configure:1072: gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1139: gcc -o conftest -Wall conftest.c 1>&5
# configure: In function 'main':
# configure:1134:67: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
# if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
# ^~~~
# configure:1134:67: warning: incompatible implicit declaration of built-in function 'exit'
# configure:1134:67: note: include '' or provide a declaration of 'exit'
# configure:1135:1: warning: incompatible implicit declaration of built-in function 'exit'
# exit (0); }
# ^~~~
# configure:1135:1: note: include '' or provide a declaration of 'exit'
# configure:1165: checking for dlfcn.h
# configure:1175: gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1200: checking for sys/socket.h
# configure:1210: gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1235: checking for arpa/inet.h
# configure:1245: gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1270: checking for fcntl.h
# configure:1280: gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1305: checking for sys/poll.h
# configure:1315: gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1342: checking for unistd.h
# configure:1352: gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1382: checking for strcspn
# configure:1410: gcc -o conftest -Wall conftest.c 1>&5
# configure:1394:6: warning: conflicting types for built-in function 'strcspn'
# char $ac_func();
# ^~~~~~~
# configure:1382: checking for strdup
# configure:1410: gcc -o conftest -Wall conftest.c 1>&5
# configure:1394:6: warning: conflicting types for built-in function 'strdup'
# char $ac_func();
# ^~~~~~
# configure:1382: checking for strerror
# configure:1410: gcc -o conftest -Wall conftest.c 1>&5
# configure:1382: checking for strspn
# configure:1410: gcc -o conftest -Wall conftest.c 1>&5
# configure:1394:6: warning: conflicting types for built-in function 'strspn'
# char $ac_func();
# ^~~~~~
# configure:1382: checking for strtol
# configure:1410: gcc -o conftest -Wall conftest.c 1>&5
# configure:1441: checking for connect in -lc
# configure:1460: gcc -o conftest -Wall conftest.c -lc 1>&5
# configure:1490: checking for socket
# configure:1518: gcc -o conftest -Wall conftest.c -lc 1>&5
# configure:1588: checking for inet_aton
# configure:1616: gcc -o conftest -Wall conftest.c -lc 1>&5
# configure:1739: checking for gethostbyname
# configure:1767: gcc -o conftest -Wall conftest.c -lc 1>&5
# configure:1841: checking for dlsym in -ldl
# configure:1860: gcc -o conftest -Wall conftest.c -ldl 1>&5
# configure:1890: checking for RTLD_NEXT from dlfcn.h
# configure:1912: checking for RTLD_NEXT from dlfcn.h with _GNU_SOURCE
# configure:2101: checking for correct select prototype
# configure:2119: gcc -c -Wall conftest.c 1>&5
# configure:2139: checking for correct connect prototype
# configure:2162: gcc -c -Wall conftest.c 1>&5
# configure:2155:11: error: conflicting types for 'connect'
# int connect($testproto);
# ^~~~~~~
# In file included from configure:2154:0:
# /usr/include/sys/socket.h:137:12: note: previous declaration of 'connect' was here
# extern int connect (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len);
# ^~~~~~~
# configure: failed program was:
# #line 2152 "configure"
# #include "confdefs.h"
#
# #include
# int connect(int __fd, const struct sockaddr * __addr, int len);
#
# int main() {
#
# ; return 0; }
# configure:2162: gcc -c -Wall conftest.c 1>&5
# configure:2155:42: warning: 'struct sockaddr_in' declared inside parameter list will not be visible outside of this definition or declaration
# int connect($testproto);
# ^
# configure:2155:11: error: conflicting types for 'connect'
# int connect($testproto);
# ^~~~~~~
# In file included from configure:2154:0:
# /usr/include/sys/socket.h:137:12: note: previous declaration of 'connect' was here
# extern int connect (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len);
# ^~~~~~~
# configure: failed program was:
# #line 2152 "configure"
# #include "confdefs.h"
#
# #include
# int connect(int __fd, const struct sockaddr_in * __addr, socklen_t __len);
#
# int main() {
#
# ; return 0; }
# configure:2162: gcc -c -Wall conftest.c 1>&5
# configure:2155:11: error: conflicting types for 'connect'
# int connect($testproto);
# ^~~~~~~
# In file included from configure:2154:0:
# /usr/include/sys/socket.h:137:12: note: previous declaration of 'connect' was here
# extern int connect (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len);
# ^~~~~~~
# configure: failed program was:
# #line 2152 "configure"
# #include "confdefs.h"
#
# #include
# int connect(int __fd, struct sockaddr * __addr, int __len);
#
# int main() {
#
# ; return 0; }
# configure:2162: gcc -c -Wall conftest.c 1>&5
# configure:2193: checking for correct close prototype
# configure:2210: gcc -c -Wall conftest.c 1>&5
# configure:2230: checking for correct poll prototype
# configure:2246: gcc -c -Wall conftest.c 1>&5