The build took 00h 00m 59s and was NOT successful.
The program in this build is written in the following languages, according to sloccount:
SLOC | Language |
---|---|
1,321 |
ansic |
312 |
java |
134 |
makefile |
23 |
python |
1,790 |
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/arm-linux-androideabi --> /sysroot/arm-linux-androideabi
/toolchain_root/COPYING3.LIB --> /sysroot/COPYING3.LIB
/toolchain_root/sysroot --> /sysroot/sysroot
/toolchain_root/COPYING.RUNTIME --> /sysroot/COPYING.RUNTIME
/toolchain_root/lib --> /sysroot/lib
/toolchain_root/SOURCES --> /sysroot/SOURCES
/toolchain_root/lib64 --> /sysroot/lib64
/toolchain_root/share --> /sysroot/share
/toolchain_root/bin --> /sysroot/bin
/toolchain_root/COPYING --> /sysroot/COPYING
/toolchain_root/COPYING3 --> /sysroot/COPYING3
/toolchain_root/COPYING.LIB --> /sysroot/COPYING.LIB
/toolchain_root/include --> /sysroot/include
/toolchain_root/libexec --> /sysroot/libexec
CMD: sudo -u tuscan PATH=/sysroot/bin:/sysroot/libexec/gcc/arm-linux-androideabi/4.8:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=arm-linux-androideabi-gcc CXX=arm-linux-androideabi-g++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
==> Making package: libnatpmp 20140401-2 (Tue Apr 4 20:07:26 UTC 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
gcc -fPIC -Wall -DENABLE_STRNATPMPERR -c -o natpmp.o natpmp.c
gcc -fPIC -Wall -DENABLE_STRNATPMPERR -c -o getgateway.o getgateway.c
gcc -fPIC -Wall -DENABLE_STRNATPMPERR -c -o testgetgateway.o testgetgateway.c
gcc -fPIC -Wall -DENABLE_STRNATPMPERR -c -o natpmpc.o natpmpc.c
cc1: error: no include path in which to search for stdc-predef.h
natpmp.c:32:20: error: no include path in which to search for string.h
#include
^
natpmp.c:33:18: error: no include path in which to search for time.h
#include
^
natpmp.c:35:22: error: no include path in which to search for sys/time.h
#include
^
natpmp.c:47:19: error: no include path in which to search for errno.h
#include
^
natpmp.c:48:20: error: no include path in which to search for unistd.h
#include
^
natpmp.c:49:19: error: no include path in which to search for fcntl.h
#include
^
natpmp.c:50:23: error: no include path in which to search for sys/types.h
#include
^
natpmp.c:51:24: error: no include path in which to search for sys/socket.h
#include
^
In file included from natpmp.c:54:0:
natpmp.h:35:18: error: no include path in which to search for time.h
#include
^
natpmp.h:37:22: error: no include path in which to search for sys/time.h
#include
^
natpmp.h:51:24: error: no include path in which to search for netinet/in.h
#include
^
In file included from natpmp.c:54:0:
natpmp.h:58:2: error: unknown type name 'in_addr_t'
in_addr_t gateway; /* default gateway (IPv4) */
^
natpmp.h:63:17: error: field 'retry_time' has incomplete type
struct timeval retry_time;
^
natpmp.h:67:2: error: unknown type name 'uint16_t'
uint16_t type; /* NATPMP_RESPTYPE_* */
^
natpmp.h:68:2: error: unknown type name 'uint16_t'
uint16_t resultcode; /* NAT-PMP response code */
^
natpmp.h:69:2: error: unknown type name 'uint32_t'
uint32_t epoch; /* Seconds since start of epoch */
^
natpmp.h:73:19: error: field 'addr' has incomplete type
struct in_addr addr;
^
natpmp.h:76:4: error: unknown type name 'uint16_t'
uint16_t privateport;
^
natpmp.h:77:4: error: unknown type name 'uint16_t'
uint16_t mappedpublicport;
^
natpmp.h:78:4: error: unknown type name 'uint32_t'
uint32_t lifetime;
^
natpmp.h:146:51: error: unknown type name 'in_addr_t'
LIBSPEC int initnatpmp(natpmp_t * p, int forcegw, in_addr_t forcedgw);
^
cc1: error: no include path in which to search for stdc-predef.h
natpmp.h:177:31: error: unknown type name 'uint16_t'
uint16_t privateport, uint16_t publicport,
^
natpmp.h:177:53: error: unknown type name 'uint16_t'
uint16_t privateport, uint16_t publicport,
^
testgetgateway.c:29:19: error: no include path in which to search for stdio.h
#include
^
natpmp.h:178:10: error: unknown type name 'uint32_t'
uint32_t lifetime);
^
testgetgateway.c:33:24: error: no include path in which to search for netinet/in.h
#include
^
testgetgateway.c:34:23: error: no include path in which to search for arpa/inet.h
#include
^
In file included from natpmp.c:55:0:
getgateway.h:47:31: error: unknown type name 'in_addr_t'
LIBSPEC int getdefaultgateway(in_addr_t * addr);
^
natpmp.c:56:19: error: no include path in which to search for stdio.h
#include
^
In file included from testgetgateway.c:36:0:
getgateway.h:47:31: error: unknown type name 'in_addr_t'
LIBSPEC int getdefaultgateway(in_addr_t * addr);
^
natpmp.c:58:51: error: unknown type name 'in_addr_t'
LIBSPEC int initnatpmp(natpmp_t * p, int forcegw, in_addr_t forcedgw)
^
testgetgateway.c: In function 'main':
testgetgateway.c:42:17: error: storage size of 'gatewayaddr' isn't known
struct in_addr gatewayaddr;
^
testgetgateway.c:49:2: warning: implicit declaration of function 'getdefaultgateway' [-Wimplicit-function-declaration]
r = getdefaultgateway(&(gatewayaddr.s_addr));
^
natpmp.c: In function 'closenatpmp':
natpmp.c:102:2: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration]
if(closesocket(p->s) < 0)
^
testgetgateway.c:52:3: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
printf("default gateway : %s\n", inet_ntoa(gatewayaddr));
^
testgetgateway.c:52:3: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
testgetgateway.c:52:3: warning: implicit declaration of function 'inet_ntoa' [-Wimplicit-function-declaration]
testgetgateway.c:54:3: warning: implicit declaration of function 'fprintf' [-Wimplicit-function-declaration]
fprintf(stderr, "getdefaultgateway() failed\n");
^
testgetgateway.c:54:3: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
natpmp.c: In function 'sendpendingrequest':
testgetgateway.c:54:11: error: 'stderr' undeclared (first use in this function)
fprintf(stderr, "getdefaultgateway() failed\n");
^
testgetgateway.c:54:11: note: each undeclared identifier is reported only once for each function it appears in
natpmp.c:119:2: warning: implicit declaration of function 'send' [-Wimplicit-function-declaration]
r = (int)send(p->s, p->pending_request, p->pending_request_len, 0);
^
testgetgateway.c:42:17: warning: unused variable 'gatewayaddr' [-Wunused-variable]
struct in_addr gatewayaddr;
^
natpmp.c: In function 'sendnatpmprequest':
natpmp.c:132:2: warning: implicit declaration of function 'gettimeofday' [-Wimplicit-function-declaration]
gettimeofday(&p->retry_time, NULL); // check errors !
^
natpmp.c:132:31: error: 'NULL' undeclared (first use in this function)
gettimeofday(&p->retry_time, NULL); // check errors !
^
natpmp.c:132:31: note: each undeclared identifier is reported only once for each function it appears in
natpmp.c: In function 'getnatpmprequesttimeout':
natpmp.c:143:17: error: storage size of 'now' isn't known
struct timeval now;
^
natpmp.c:148:24: error: 'NULL' undeclared (first use in this function)
if(gettimeofday(&now, NULL) < 0)
^
natpmp.c:150:9: error: dereferencing pointer to incomplete type
timeout->tv_sec = p->retry_time.tv_sec - now.tv_sec;
^
natpmp.c:151:9: error: dereferencing pointer to incomplete type
timeout->tv_usec = p->retry_time.tv_usec - now.tv_usec;
^
natpmp.c:152:12: error: dereferencing pointer to incomplete type
if(timeout->tv_usec < 0) {
^
natpmp.c:153:10: error: dereferencing pointer to incomplete type
timeout->tv_usec += 1000000;
^
natpmp.c:154:10: error: dereferencing pointer to incomplete type
timeout->tv_sec--;
^
natpmp.c:143:17: warning: unused variable 'now' [-Wunused-variable]
struct timeval now;
^
natpmp.c: At top level:
natpmp.c:172:31: error: unknown type name 'uint16_t'
uint16_t privateport, uint16_t publicport,
^
natpmp.c:172:53: error: unknown type name 'uint16_t'
uint16_t privateport, uint16_t publicport,
^
natpmp.c:173:10: error: unknown type name 'uint32_t'
uint32_t lifetime)
^
natpmp.c: In function 'readnatpmpresponse':
natpmp.c:202:21: error: storage size of 'addr' isn't known
struct sockaddr_in addr;
^
natpmp.c:203:2: error: unknown type name 'socklen_t'
socklen_t addrlen = sizeof(addr);
^
natpmp.c:207:2: warning: implicit declaration of function 'recvfrom' [-Wimplicit-function-declaration]
n = recvfrom(p->s, buf, sizeof(buf), 0,
^
natpmp.c:213:10: error: 'errno' undeclared (first use in this function)
switch(errno) {
^
natpmp.c:216:8: error: 'EWOULDBLOCK' undeclared (first use in this function)
case EWOULDBLOCK:
^
natpmp.c:219:8: error: 'ECONNREFUSED' undeclared (first use in this function)
case ECONNREFUSED:
^
natpmp.c:229:3: warning: implicit declaration of function 'ntohs' [-Wimplicit-function-declaration]
response->resultcode = ntohs(*((uint16_t *)(buf + 2)));
^
natpmp.c:229:35: error: 'uint16_t' undeclared (first use in this function)
response->resultcode = ntohs(*((uint16_t *)(buf + 2)));
^
make: *** [: testgetgateway.o] Error 1
make: *** Waiting for unfinished jobs....
natpmp.c:229:45: error: expected expression before ')' token
response->resultcode = ntohs(*((uint16_t *)(buf + 2)));
^
natpmp.c:230:3: warning: implicit declaration of function 'ntohl' [-Wimplicit-function-declaration]
response->epoch = ntohl(*((uint32_t *)(buf + 4)));
^
natpmp.c:230:30: error: 'uint32_t' undeclared (first use in this function)
response->epoch = ntohl(*((uint32_t *)(buf + 4)));
^
natpmp.c:230:40: error: expected expression before ')' token
response->epoch = ntohl(*((uint32_t *)(buf + 4)));
^
natpmp.c:259:60: error: expected expression before ')' token
response->pnu.publicaddress.addr.s_addr = *((uint32_t *)(buf + 8));
^
natpmp.c:261:67: error: expected expression before ')' token
response->pnu.newportmapping.privateport = ntohs(*((uint16_t *)(buf + 8)));
^
natpmp.c:262:72: error: expected expression before ')' token
response->pnu.newportmapping.mappedpublicport = ntohs(*((uint16_t *)(buf + 10)));
^
natpmp.c:263:64: error: expected expression before ')' token
response->pnu.newportmapping.lifetime = ntohl(*((uint32_t *)(buf + 12)));
^
natpmp.c:202:21: warning: unused variable 'addr' [-Wunused-variable]
struct sockaddr_in addr;
^
natpmp.c: In function 'readnatpmpresponseorretry':
natpmp.c:281:19: error: storage size of 'now' isn't known
struct timeval now;
^
natpmp.c:282:23: error: 'NULL' undeclared (first use in this function)
gettimeofday(&now, NULL); // check errors !
^
natpmp.c:283:4: warning: implicit declaration of function 'timercmp' [-Wimplicit-function-declaration]
if(timercmp(&now, &p->retry_time, >=)) {
^
natpmp.c:283:38: error: expected expression before '>=' token
if(timercmp(&now, &p->retry_time, >=)) {
^
cc1: error: no include path in which to search for stdc-predef.h
natpmp.c:281:19: warning: unused variable 'now' [-Wunused-variable]
struct timeval now;
^
getgateway.c:30:19: error: no include path in which to search for stdio.h
#include
^
getgateway.c:31:19: error: no include path in which to search for ctype.h
#include
^
getgateway.c:33:24: error: no include path in which to search for netinet/in.h
#include
^
getgateway.c:36:23: error: no include path in which to search for sys/param.h
#include
^
In file included from getgateway.c:130:0:
getgateway.h:47:31: error: unknown type name 'in_addr_t'
LIBSPEC int getdefaultgateway(in_addr_t * addr);
^
getgateway.c:149:23: error: unknown type name 'in_addr_t'
int getdefaultgateway(in_addr_t * addr)
^
make: *** [: getgateway.o] Error 1
cc1: error: no include path in which to search for stdc-predef.h
natpmpc.c:29:19: error: no include path in which to search for stdio.h
#include
^
natpmpc.c:30:19: error: no include path in which to search for errno.h
#include
^
natpmpc.c:31:20: error: no include path in which to search for string.h
#include
^
natpmpc.c:39:20: error: no include path in which to search for unistd.h
#include
^
make: *** [: natpmp.o] Error 1
natpmpc.c:44:24: error: no include path in which to search for netinet/in.h
#include
^
natpmpc.c:45:23: error: no include path in which to search for arpa/inet.h
#include
^
In file included from natpmpc.c:47:0:
natpmp.h:35:18: error: no include path in which to search for time.h
#include
^
natpmp.h:37:22: error: no include path in which to search for sys/time.h
#include
^
natpmp.h:51:24: error: no include path in which to search for netinet/in.h
#include
^
In file included from natpmpc.c:47:0:
natpmp.h:58:2: error: unknown type name 'in_addr_t'
in_addr_t gateway; /* default gateway (IPv4) */
^
natpmp.h:63:17: error: field 'retry_time' has incomplete type
struct timeval retry_time;
^
natpmp.h:67:2: error: unknown type name 'uint16_t'
uint16_t type; /* NATPMP_RESPTYPE_* */
^
natpmp.h:68:2: error: unknown type name 'uint16_t'
uint16_t resultcode; /* NAT-PMP response code */
^
natpmp.h:69:2: error: unknown type name 'uint32_t'
uint32_t epoch; /* Seconds since start of epoch */
^
natpmp.h:73:19: error: field 'addr' has incomplete type
struct in_addr addr;
^
natpmp.h:76:4: error: unknown type name 'uint16_t'
uint16_t privateport;
^
natpmp.h:77:4: error: unknown type name 'uint16_t'
uint16_t mappedpublicport;
^
natpmp.h:78:4: error: unknown type name 'uint32_t'
uint32_t lifetime;
^
natpmp.h:146:51: error: unknown type name 'in_addr_t'
LIBSPEC int initnatpmp(natpmp_t * p, int forcegw, in_addr_t forcedgw);
^
natpmp.h:177:31: error: unknown type name 'uint16_t'
uint16_t privateport, uint16_t publicport,
^
natpmp.h:177:53: error: unknown type name 'uint16_t'
uint16_t privateport, uint16_t publicport,
^
natpmp.h:178:10: error: unknown type name 'uint32_t'
uint32_t lifetime);
^
natpmpc.c:49:12: error: unknown type name 'FILE'
void usage(FILE * out, const char * argv0)
^
natpmpc.c: In function 'main':
natpmpc.c:72:17: error: storage size of 'timeout' isn't known
struct timeval timeout;
^
natpmpc.c:73:2: error: unknown type name 'fd_set'
fd_set fds;
^
natpmpc.c:76:2: error: unknown type name 'uint16_t'
uint16_t privateport = 0;
^
natpmpc.c:77:2: error: unknown type name 'uint16_t'
uint16_t publicport = 0;
^
natpmpc.c:78:2: error: unknown type name 'uint32_t'
uint32_t lifetime = 3600;
^
natpmpc.c:81:2: error: unknown type name 'in_addr_t'
in_addr_t gateway = 0;
^
natpmpc.c:82:17: error: storage size of 'gateway_in_use' isn't known
struct in_addr gateway_in_use;
^
natpmpc.c:99:5: warning: implicit declaration of function 'usage' [-Wimplicit-function-declaration]
usage(stdout, argv[0]);
^
natpmpc.c:99:11: error: 'stdout' undeclared (first use in this function)
usage(stdout, argv[0]);
^
natpmpc.c:99:11: note: each undeclared identifier is reported only once for each function it appears in
natpmpc.c:104:6: warning: implicit declaration of function 'fprintf' [-Wimplicit-function-declaration]
fprintf(stderr, "Not enough arguments for option -%c\n", argv[i][1]);
^
natpmpc.c:104:6: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
natpmpc.c:104:14: error: 'stderr' undeclared (first use in this function)
fprintf(stderr, "Not enough arguments for option -%c\n", argv[i][1]);
^
natpmpc.c:107:5: warning: implicit declaration of function 'inet_addr' [-Wimplicit-function-declaration]
gateway = inet_addr(argv[++i]);
^
natpmpc.c:112:6: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, "Not enough arguments for option -%c\n", argv[i][1]);
^
natpmpc.c:116:5: warning: implicit declaration of function 'sscanf' [-Wimplicit-function-declaration]
if(1 != sscanf(argv[i], "%hu", &publicport)) {
^
natpmpc.c:116:13: warning: incompatible implicit declaration of built-in function 'sscanf' [enabled by default]
if(1 != sscanf(argv[i], "%hu", &publicport)) {
^
natpmpc.c:116:5: warning: format '%hu' expects argument of type 'short unsigned int *', but argument 3 has type 'int *' [-Wformat=]
if(1 != sscanf(argv[i], "%hu", &publicport)) {
^
natpmpc.c:117:6: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, "%s is not a correct 16bits unsigned integer\n", argv[i]);
^
natpmpc.c:121:5: warning: format '%hu' expects argument of type 'short unsigned int *', but argument 3 has type 'int *' [-Wformat=]
if(1 != sscanf(argv[i], "%hu", &privateport)) {
^
natpmpc.c:122:6: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, "%s is not a correct 16bits unsigned integer\n", argv[i]);
^
natpmpc.c:126:5: warning: implicit declaration of function 'strcasecmp' [-Wimplicit-function-declaration]
if(0 == strcasecmp(argv[i], "tcp"))
^
natpmpc.c:131:6: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, "%s is not a valid protocol\n", argv[i]);
^
natpmpc.c:136:7: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, "%s is not a correct 32bits unsigned integer\n", argv[i]);
^
natpmpc.c:143:5: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, "Unknown option %s\n", argv[i]);
^
natpmpc.c:148:4: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, "Unknown option %s\n", argv[i]);
^
natpmpc.c:155:2: warning: implicit declaration of function 'initnatpmp' [-Wimplicit-function-declaration]
r = initnatpmp(&natpmp, forcegw, gateway);
^
natpmpc.c:156:2: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
printf("initnatpmp() returned %d (%s)\n", r, r?"FAILED":"SUCCESS");
^
natpmpc.c:156:2: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
natpmpc.c:161:2: warning: implicit declaration of function 'inet_ntoa' [-Wimplicit-function-declaration]
printf("using gateway : %s\n", inet_ntoa(gateway_in_use));
^
natpmpc.c:171:3: warning: implicit declaration of function 'FD_ZERO' [-Wimplicit-function-declaration]
FD_ZERO(&fds);
^
natpmpc.c:172:3: warning: implicit declaration of function 'FD_SET' [-Wimplicit-function-declaration]
FD_SET(natpmp.s, &fds);
^
natpmpc.c:174:3: warning: implicit declaration of function 'select' [-Wimplicit-function-declaration]
r = select(FD_SETSIZE, &fds, NULL, NULL, &timeout);
^
natpmpc.c:174:14: error: 'FD_SETSIZE' undeclared (first use in this function)
r = select(FD_SETSIZE, &fds, NULL, NULL, &timeout);
^
natpmpc.c:174:32: error: 'NULL' undeclared (first use in this function)
r = select(FD_SETSIZE, &fds, NULL, NULL, &timeout);
^
natpmpc.c:176:4: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, "select()");
^
natpmpc.c:180:15: error: 'errno' undeclared (first use in this function)
sav_errno = errno;
^
natpmpc.c:185:4: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, "readnatpmpresponseorretry() failed : %s\n",
^
natpmpc.c:189:12: warning: implicit declaration of function 'strerror' [-Wimplicit-function-declaration]
sav_errno, strerror(sav_errno));
^
natpmpc.c:201:3: warning: implicit declaration of function 'sendnewportmappingrequest' [-Wimplicit-function-declaration]
r = sendnewportmappingrequest(&natpmp, protocol,
^
natpmpc.c:220:4: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, "readnatpmpresponseorretry() failed : %s\n",
^
natpmpc.c:82:17: warning: unused variable 'gateway_in_use' [-Wunused-variable]
struct in_addr gateway_in_use;
^
natpmpc.c:72:17: warning: unused variable 'timeout' [-Wunused-variable]
struct timeval timeout;
^
make: *** [: natpmpc.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...