The build took 00h 01m 20s and was NOT successful.
The program in this build is written in the following languages, according to sloccount:
SLOC | Language |
---|---|
14,622 |
ansic |
253 |
makefile |
148 |
sh |
15,023 |
total |
The process tree of the build process is here.
Several sub-process invocations were improper; see the process tree for details. Summary:
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:
Copied permanent toolchain into container-local sysroot
/toolchain_root/sysroot --> /sysroot/sysroot
/toolchain_root/lib --> /sysroot/lib
/toolchain_root/sbin --> /sysroot/sbin
/toolchain_root/lib64 --> /sysroot/lib64
/toolchain_root/etc --> /sysroot/etc
/toolchain_root/share --> /sysroot/share
/toolchain_root/bin --> /sysroot/bin
/toolchain_root/var --> /sysroot/var
/toolchain_root/usr --> /sysroot/usr
/toolchain_root/glibc-build --> /sysroot/glibc-build
/toolchain_root/x86_64-pc-linux-gnu --> /sysroot/x86_64-pc-linux-gnu
/toolchain_root/include --> /sysroot/include
/toolchain_root/libexec --> /sysroot/libexec
CMD: sudo -u tuscan PATH=/usr/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: p3scan 2.3.2-11 (Thu Apr 13 17:11:34 UTC 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
gcc -Wall -DLOGOPT="LOG_PID|LOG_CONS" -DLOGFAC="LOG_DAEMON" -c getlinep3.c
gcc -Wall -DLOGOPT="LOG_PID|LOG_CONS" -DLOGFAC="LOG_DAEMON" -c getline_ssl.c
getline_ssl.c:78:8: warning: assigning to 'SSL_METHOD *' (aka 'struct ssl_method_st *') from 'const SSL_METHOD *' (aka 'const struct ssl_method_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
meth=SSLv23_method();
^~~~~~~~~~~~~~~~
1 warning generated.
gcc -Wall -DLOGOPT="LOG_PID|LOG_CONS" -DLOGFAC="LOG_DAEMON" -c parsefile.c
parsefile.c:146:6: warning: unused typedef 'replacelist' [-Wunused-local-typedef]
} replacelist;
^
1 warning generated.
gcc -Wall -DLOGOPT="LOG_PID|LOG_CONS" -DLOGFAC="LOG_DAEMON" -c p3scan.c
p3scan.c:1201:15: warning: array index 512 is past the end of the array (which contains 512 elements) [-Warray-bounds]
else virdef[512]='\0';
^ ~~~
p3scan.c:1164:4: note: array 'virdef' declared here
static char line[512], virdef[512];
^
p3scan.c:1643:81: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
if (getsockopt(p->client_fd, SOL_IP, SO_ORIGINAL_DST, &p->server_addr, &p->socksize)){
^~~~~~~~~~~~
/usr/include/sys/socket.h:221:32: note: passing argument to parameter '__optlen' here
socklen_t *__restrict __optlen) __THROW;
^
p3scan.c:2153:75: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
if ((len=send_mailfile(p->mailfile, p->server_fd, p))<0){
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
p3scan.c:2159:75: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
if ((len=send_mailfile(p->mailfile, p->client_fd, p))<0){
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
p3scan.c:2401:83: error: function definition is not allowed here
void switchoption(char opt, char * arg, char * optstr, char * where, int state){
^
p3scan.c:2716:60: error: function definition is not allowed here
void parseargs(int c, char **v, char * where, int state){
^
p3scan.c:2775:4: warning: implicit declaration of function 'parseargs' is invalid in C99 [-Wimplicit-function-declaration]
parseargs(argc, argv, "\t[cmdlineparm]", CONFIG_STATE_CMDPRE);
^
p3scan.c:3014:61: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
while ((connfd = accept(sockfd, (struct sockaddr *)&addr,&socksize)) >= 0){
^~~~~~~~~
/usr/include/sys/socket.h:244:28: note: passing argument to parameter '__addr_len' here
socklen_t *__restrict __addr_len);
^
6 warnings and 2 errors generated.
make: *** [Makefile:83: p3scan.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...