The build took 00h 01m 16s and was SUCCESSFUL.
The program in this build is written in the following languages, according to sloccount:
SLOC | Language |
---|---|
7,230 |
ansic |
130 |
awk |
74 |
sh |
7,434 |
total |
The process tree of the build process is here.
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: netwatch 1.3.1_2-1 (Thu Apr 13 16:25:35 UTC 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
creating cache ./config.cache
checking for gcc... clang
checking whether the C compiler (clang ) works... yes
checking whether the C compiler (clang ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether clang accepts -g... yes
checking for mvchgat in -lncurses... yes
checking for pthread_create in -lpthread... yes
checking how to run the C preprocessor... clang -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for fcntl.h... yes
checking for strings.h... yes
checking for sys/ioctl.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for netinet/ip_icmp.h... yes
checking for netinet/ip.h... yes
checking for netinet/tcp.h... yes
checking for netinet/ip_tcp.h... no
checking for netinet/udp.h... yes
checking for netinet/ip_udp.h... no
checking for netinet/if_ether.h... yes
checking for netinet/in.h... yes
checking for netinet/socket.h... no
checking for net/if.h... yes
checking for net/if_ppp.h... yes
checking for netinet/if_ether.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for ncurses.h... yes
checking for ncurses/curses.h... no
checking for ncurses.h... (cached) yes
checking for pthread.h... yes
checking for ncurses/curses.h... (cached) no
checking for curses.h... yes
checking for sys/if_packet.h... no
checking for linux/if_packet.h... yes
checking for net/if_packet.h... yes
checking for pid_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether clang needs -traditional... no
checking for 8-bit clean memcmp... yes
checking return type of signal handlers... void
checking for select... yes
checking for socket... yes
checking for strstr... yes
checking for uname... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating Make.common
creating config.h
clang -c curs.c
clang -c dispdata.c
dispdata.c:416:5: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
p = &b->buf[magnaoffs];
^ ~~~~~~~~~~~~~~~~~~
dispdata.c:616:2: warning: implicit declaration of function 'setuphelp' is invalid in C99 [-Wimplicit-function-declaration]
setuphelp();
^
dispdata.c:657:2: warning: implicit declaration of function 'dokeyin' is invalid in C99 [-Wimplicit-function-declaration]
dokeyin ('l');
^
dispdata.c:740:7: warning: implicit declaration of function 'uthread_wait' is invalid in C99 [-Wimplicit-function-declaration]
uthread_wait(1000);
^
dispdata.c:1304:16: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (yact >= 0 && yact < MLINES - 5 || printtospeclog)
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ~~
dispdata.c:1304:16: note: place parentheses around the '&&' expression to silence this warning
if (yact >= 0 && yact < MLINES - 5 || printtospeclog)
^
( )
dispdata.c:1414:18: warning: passing 'unsigned char [4]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
makeaddr (current->addr, thost);
^~~~~~~~~~~~~
dispdata.c:226:21: note: passing argument to parameter 'naddr' here
void makeaddr (char naddr[], char ascii[]);
^
dispdata.c:1670:18: warning: passing 'unsigned char [4]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
makeaddr (current->addr, thost);
^~~~~~~~~~~~~
dispdata.c:226:21: note: passing argument to parameter 'naddr' here
void makeaddr (char naddr[], char ascii[]);
^
7 warnings generated.
clang -g -c services.c
clang -DVERSION='"1.3.1"' -DRELEASE='"2"' -c netwatch.c
netwatch.c:675:4: warning: implicit declaration of function 'dokeyin' is invalid in C99 [-Wimplicit-function-declaration]
dokeyin (keycomm[i]);
^
netwatch.c:953:31: warning: format specifies type 'long' but the argument has type 'pid_t' (aka 'int') [-Wformat]
WEXITSTATUS (status), killpid);
^~~~~~~
netwatch.c:961:28: warning: format specifies type 'long' but the argument has type 'pid_t' (aka 'int') [-Wformat]
WTERMSIG (status), killpid);
^~~~~~~
netwatch.c:1168:5: warning: implicit declaration of function 'gh' is invalid in C99 [-Wimplicit-function-declaration]
gh (3);
^
netwatch.c:1696:35: warning: passing 'unsigned char [2049]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
fileclk = getoneeth (simfp, buf, &length);
^~~
netwatch.c:1609:37: note: passing argument to parameter 'buf' here
clock_t getoneeth (FILE * fp, char *buf, int *plen)
^
netwatch.c:1751:31: warning: passing 'unsigned char [2049]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
fileclk = getoneeth (simfp, buf, &length);
^~~
netwatch.c:1609:37: note: passing argument to parameter 'buf' here
clock_t getoneeth (FILE * fp, char *buf, int *plen)
^
netwatch.c:1787:31: warning: passing 'unsigned char [2049]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
fileclk = putoneeth (simfp, buf, &length);
^~~
netwatch.c:1562:37: note: passing argument to parameter 'buf' here
clock_t putoneeth (FILE * fp, char *buf, int *plen)
^
netwatch.c:1848:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
netwatch.c:1885:12: warning: implicit declaration of function 'doeth' is invalid in C99 [-Wimplicit-function-declaration]
while (doeth()>=0)
^
netwatch.c:1920:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
netwatch.c:2191:51: warning: format specifies type 'unsigned int *' but the argument has type 'u_int16_t *' (aka 'unsigned short *') [-Wformat]
if (sscanf(ssh_env,"%s %u %u",ssh_orig_addr_asc,&ssh_orig_port,&ssh_dest_port)!=3)
~~ ^~~~~~~~~~~~~~
%hu
netwatch.c:2191:66: warning: format specifies type 'unsigned int *' but the argument has type 'u_int16_t *' (aka 'unsigned short *') [-Wformat]
if (sscanf(ssh_env,"%s %u %u",ssh_orig_addr_asc,&ssh_orig_port,&ssh_dest_port)!=3)
~~ ^~~~~~~~~~~~~~
%hu
netwatch.c:2393:12: warning: passing 'unsigned char [2049]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
sprintf (buf, "%s.%03d", speclogfile, speclogext);
^~~
/usr/include/stdio.h:364:38: note: passing argument to parameter '__s' here
extern int sprintf (char *__restrict __s,
^
netwatch.c:2394:22: warning: passing 'unsigned char [2049]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
fpspeclog = fopen (buf, "w");
^~~
/usr/include/stdio.h:272:44: note: passing argument to parameter '__filename' here
extern FILE *fopen (const char *__restrict __filename,
^
netwatch.c:2655:9: warning: implicit declaration of function 'isalnum' is invalid in C99 [-Wimplicit-function-declaration]
if (isalnum (*s) || isspace (*s) || ispunct (*s))
^
netwatch.c:2655:25: warning: implicit declaration of function 'isspace' is invalid in C99 [-Wimplicit-function-declaration]
if (isalnum (*s) || isspace (*s) || ispunct (*s))
^
netwatch.c:2655:41: warning: implicit declaration of function 'ispunct' is invalid in C99 [-Wimplicit-function-declaration]
if (isalnum (*s) || isspace (*s) || ispunct (*s))
^
netwatch.c:3290:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
mygethostbyaddr (work->name, (char *) key, 4, AF_INET);
^~~~~~~~~~~~
netwatch.c:1063:51: note: passing argument to parameter 'p' here
void mygethostbyaddr (char *where, unsigned char *p, int len, int proto)
^
netwatch.c:3821:31: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
(struct sockaddr *) &saddr, &sizeaddr);
^~~~~~~~~
/usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
socklen_t *__restrict __addr_len);
^
netwatch.c:3973:9: warning: implicit declaration of function 'isdigit' is invalid in C99 [-Wimplicit-function-declaration]
if (isdigit (in_char))
^
netwatch.c:4286:14: warning: multiple unsequenced modifications to 'bpsflag' [-Wunsequenced]
bpsflag = ++bpsflag & 1;
~ ^
netwatch.c:4367:34: warning: passing 'unsigned char [2049]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
(fileclk = getoneeth (simfp, buf, &length)) >= 0)
^~~
netwatch.c:1609:37: note: passing argument to parameter 'buf' here
clock_t getoneeth (FILE * fp, char *buf, int *plen)
^
netwatch.c:4373:28: warning: passing 'unsigned char [2049]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
putoneeth (simfp, buf, &length) >= 0)
^~~
netwatch.c:1562:37: note: passing argument to parameter 'buf' here
clock_t putoneeth (FILE * fp, char *buf, int *plen)
^
netwatch.c:4572:34: warning: passing 'unsigned char [2049]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
fileclk = getoneeth (simfp, buf, &length);
^~~
netwatch.c:1609:37: note: passing argument to parameter 'buf' here
clock_t getoneeth (FILE * fp, char *buf, int *plen)
^
netwatch.c:4577:34: warning: passing 'unsigned char [2049]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
fileclk = putoneeth (simfp, buf, &length);
^~~
netwatch.c:1562:37: note: passing argument to parameter 'buf' here
clock_t putoneeth (FILE * fp, char *buf, int *plen)
^
netwatch.c:4581:34: warning: passing 'unsigned char [2049]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
fileclk = getoneeth (simfp, buf, &length);
^~~
netwatch.c:1609:37: note: passing argument to parameter 'buf' here
clock_t getoneeth (FILE * fp, char *buf, int *plen)
^
netwatch.c:4610:34: warning: passing 'unsigned char [2049]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
fileclk = putoneeth (simfp, buf, &length);
^~~
netwatch.c:1562:37: note: passing argument to parameter 'buf' here
clock_t putoneeth (FILE * fp, char *buf, int *plen)
^
netwatch.c:4615:34: warning: passing 'unsigned char [2049]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
fileclk = getoneeth (simfp, buf, &length);
^~~
netwatch.c:1609:37: note: passing argument to parameter 'buf' here
clock_t getoneeth (FILE * fp, char *buf, int *plen)
^
netwatch.c:4619:34: warning: passing 'unsigned char [2049]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
fileclk = putoneeth (simfp, buf, &length);
^~~
netwatch.c:1562:37: note: passing argument to parameter 'buf' here
clock_t putoneeth (FILE * fp, char *buf, int *plen)
^
29 warnings generated.
clang -c processinetrc.c
clang -c gh.c
clang -c warning.c
warning.c:40:7: warning: implicit declaration of function 'time' is invalid in C99 [-Wimplicit-function-declaration]
dt = time(0);
^
warning.c:47:12: warning: implicit declaration of function 'ctime' is invalid in C99 [-Wimplicit-function-declaration]
version,ctime(&dt));
^
warning.c:47:12: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat]
version,ctime(&dt));
^~~~~~~~~~
warning.c:61:4: warning: implicit declaration of function 'system' is invalid in C99 [-Wimplicit-function-declaration]
system(command);
^
warning.c:63:3: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration]
unlink(tmpname);
^
5 warnings generated.
clang -c semaphore.c
clang -DVERSION='"1.3.1"' -DRELEASE='"2"' -o netwatch curs.o dispdata.o services.o netwatch.o processinetrc.o gh.o warning.o semaphore.o -lpthread -lncurses
clang -c netresolv.c
clang -o netresolv netresolv.o
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
-> Removing doc files...
-> Purging unwanted files...
-> Compressing man and info pages...
==> Checking for packaging issue...
==> Creating package "netwatch"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
error: invalid option '--noprogressbar'
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: netwatch 1.3.1_2-1 (Thu Apr 13 16:25:42 UTC 2017)
CMD: pacman --query --file netwatch-1.3.1_2-1-x86_64.pkg.tar.xz
Creating hybrid package for 'netwatch'
Trying to find vanilla package 'netwatch'...
CMD: pacman --query --file /mirror/netwatch-1.3.1_2-1.pkg.tar.xz
Package file has the following structure:
Generating .MTREE
CMD: bsdtar -czf .MTREE --format=mtree --options=!all,use-set,type,uid,mode,time,size,md5,sha256,link .PKGINFO .BUILDINFO usr
Tar-ing up files
CMD: bsdtar -cf - .PKGINFO .BUILDINFO usr .MTREE
CMD: xz -c -z
Successfully ran bsdtar -cf - .PKGINFO .BUILDINFO usr .MTREE | xz -c -z
CMD: bsdtar -tqf netwatch.pkg.tar.xz .PKGINFO
Created package at path /var/cache/pacman/pkg/netwatch.pkg.tar.xz
Attempting to access local repository, attempt 1
CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/netwatch.pkg.tar.xz
Attempting to access local repository, attempt 2
CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/netwatch.pkg.tar.xz
==> Extracting database to a temporary location...
==> Extracting database to a temporary location...
==> Adding package '/var/cache/pacman/pkg/netwatch.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/netwatch/src/netwatch-1.3.1-2/config.log'
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:529: checking for gcc
configure:642: checking whether the C compiler (clang ) works
configure:658: clang -o conftest conftest.c 1>&5
configure:655:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(){return(0);}
^
1 warning generated.
configure:684: checking whether the C compiler (clang ) is a cross-compiler
configure:689: checking whether we are using GNU C
configure:698: clang -E conftest.c
configure:717: checking whether clang accepts -g
configure:753: checking for mvchgat in -lncurses
configure:772: clang -o conftest conftest.c -lncurses 1>&5
configure:800: checking for pthread_create in -lpthread
configure:819: clang -o conftest conftest.c -lpthread -lncurses 1>&5
configure:848: checking how to run the C preprocessor
configure:869: clang -E conftest.c >/dev/null 2>conftest.out
configure:928: checking for ANSI C header files
configure:941: clang -E conftest.c >/dev/null 2>conftest.out
configure:1008: clang -o conftest conftest.c -lpthread -lncurses 1>&5
configure:1003:67: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
^
configure:1003:67: note: include the header or explicitly provide a declaration for 'exit'
1 warning generated.
configure:1032: checking for sys/wait.h that is POSIX.1 compatible
configure:1053: clang -c conftest.c 1>&5
configure:1077: checking for fcntl.h
configure:1087: clang -E conftest.c >/dev/null 2>conftest.out
configure:1077: checking for strings.h
configure:1087: clang -E conftest.c >/dev/null 2>conftest.out
configure:1077: checking for sys/ioctl.h
configure:1087: clang -E conftest.c >/dev/null 2>conftest.out
configure:1077: checking for sys/time.h
configure:1087: clang -E conftest.c >/dev/null 2>conftest.out
configure:1077: checking for unistd.h
configure:1087: clang -E conftest.c >/dev/null 2>conftest.out
configure:1117: checking for netinet/ip_icmp.h
configure:1127: clang -E conftest.c >/dev/null 2>conftest.out
configure:1157: checking for netinet/ip.h
configure:1167: clang -E conftest.c >/dev/null 2>conftest.out
configure:1197: checking for netinet/tcp.h
configure:1207: clang -E conftest.c >/dev/null 2>conftest.out
configure:1237: checking for netinet/ip_tcp.h
configure:1247: clang -E conftest.c >/dev/null 2>conftest.out
configure:1243:10: fatal error: 'netinet/ip_tcp.h' file not found
#include
^
1 error generated.
configure: failed program was:
#line 1242 "configure"
#include "confdefs.h"
#include
configure:1277: checking for netinet/udp.h
configure:1287: clang -E conftest.c >/dev/null 2>conftest.out
configure:1317: checking for netinet/ip_udp.h
configure:1327: clang -E conftest.c >/dev/null 2>conftest.out
configure:1323:10: fatal error: 'netinet/ip_udp.h' file not found
#include
^
1 error generated.
configure: failed program was:
#line 1322 "configure"
#include "confdefs.h"
#include
configure:1357: checking for netinet/if_ether.h
configure:1367: clang -E conftest.c >/dev/null 2>conftest.out
configure:1397: checking for netinet/in.h
configure:1407: clang -E conftest.c >/dev/null 2>conftest.out
configure:1437: checking for netinet/socket.h
configure:1447: clang -E conftest.c >/dev/null 2>conftest.out
configure:1443:10: fatal error: 'netinet/socket.h' file not found
#include
^
1 error generated.
configure: failed program was:
#line 1442 "configure"
#include "confdefs.h"
#include
configure:1477: checking for net/if.h
configure:1487: clang -E conftest.c >/dev/null 2>conftest.out
configure:1517: checking for net/if_ppp.h
configure:1527: clang -E conftest.c >/dev/null 2>conftest.out
configure:1557: checking for netinet/if_ether.h
configure:1557: checking for netinet/in.h
configure:1557: checking for ncurses.h
configure:1567: clang -E conftest.c >/dev/null 2>conftest.out
configure:1557: checking for ncurses/curses.h
configure:1567: clang -E conftest.c >/dev/null 2>conftest.out
configure:1563:10: fatal error: 'ncurses/curses.h' file not found
#include
^
1 error generated.
configure: failed program was:
#line 1562 "configure"
#include "confdefs.h"
#include
configure:1597: checking for ncurses.h
configure:1637: checking for pthread.h
configure:1647: clang -E conftest.c >/dev/null 2>conftest.out
configure:1677: checking for ncurses/curses.h
configure:1717: checking for curses.h
configure:1727: clang -E conftest.c >/dev/null 2>conftest.out
configure:1757: checking for sys/if_packet.h
configure:1767: clang -E conftest.c >/dev/null 2>conftest.out
configure:1763:10: fatal error: 'sys/if_packet.h' file not found
#include
^
1 error generated.
configure: failed program was:
#line 1762 "configure"
#include "confdefs.h"
#include
configure:1797: checking for linux/if_packet.h
configure:1807: clang -E conftest.c >/dev/null 2>conftest.out
configure:1837: checking for net/if_packet.h
configure:1847: clang -E conftest.c >/dev/null 2>conftest.out
configure:2428: checking for pid_t
configure:2461: checking whether time.h and sys/time.h may both be included
configure:2475: clang -c conftest.c 1>&5
configure:2498: checking whether clang needs -traditional
configure:2544: checking for 8-bit clean memcmp
configure:2562: clang -o conftest conftest.c -lpthread -lncurses 1>&5
configure:2554:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main()
^
configure:2557:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1);
^
configure:2557:3: note: include the header or explicitly provide a declaration for 'exit'
configure:2557:8: warning: implicitly declaring library function 'memcmp' with type 'int (const void *, const void *, unsigned long)' [-Wimplicit-function-declaration]
exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1);
^
configure:2557:8: note: include the header or explicitly provide a declaration for 'memcmp'
3 warnings generated.
configure:2580: checking return type of signal handlers
configure:2602: clang -c conftest.c 1>&5
configure:2623: checking for select
configure:2651: clang -o conftest conftest.c -lpthread -lncurses 1>&5
configure:2623: checking for socket
configure:2651: clang -o conftest conftest.c -lpthread -lncurses 1>&5
configure:2623: checking for strstr
configure:2651: clang -o conftest conftest.c -lpthread -lncurses 1>&5
configure:2635:6: warning: incompatible redeclaration of library function 'strstr' [-Wincompatible-library-redeclaration]
char strstr();
^
configure:2635:6: note: 'strstr' is a builtin with type 'char *(const char *, const char *)'
1 warning generated.
configure:2623: checking for uname
configure:2651: clang -o conftest conftest.c -lpthread -lncurses 1>&5