The build took 00h 01m 04s and was NOT successful.
The program in this build is written in the following languages, according to sloccount:
SLOC | Language |
---|---|
5,644 |
ansic |
67 |
makefile |
5,711 |
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/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: batctl 2016.2-1 (Tue Apr 4 19:53:39 UTC 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
CC main.o
CC bat-hosts.o
CC functions.o
CC sys.o
In file included from main.c:29:0:
main.h:49:0: warning: "__packed" redefined [enabled by default]
#define __packed __attribute((packed)) /* linux kernel compat */
^
In file included from /sysroot/sysroot/usr/include/stdio.h:49:0,
from main.c:24:
/sysroot/sysroot/usr/include/sys/cdefs.h:207:0: note: this is the location of the previous definition
#define __packed __attribute__((__packed__))
^
CC debug.o
In file included from sys.c:30:0:
main.h:49:0: warning: "__packed" redefined [enabled by default]
#define __packed __attribute((packed)) /* linux kernel compat */
^
In file included from /sysroot/sysroot/usr/include/unistd.h:32:0,
from sys.c:23:
/sysroot/sysroot/usr/include/sys/cdefs.h:207:0: note: this is the location of the previous definition
#define __packed __attribute__((__packed__))
^
In file included from debug.h:26:0,
from debug.c:27:
main.h:49:0: warning: "__packed" redefined [enabled by default]
#define __packed __attribute((packed)) /* linux kernel compat */
^
In file included from /sysroot/sysroot/usr/include/unistd.h:32:0,
from debug.c:23:
/sysroot/sysroot/usr/include/sys/cdefs.h:207:0: note: this is the location of the previous definition
#define __packed __attribute__((__packed__))
^
In file included from functions.c:49:0:
main.h:49:0: warning: "__packed" redefined [enabled by default]
#define __packed __attribute((packed)) /* linux kernel compat */
^
In file included from /sysroot/sysroot/usr/include/sys/types.h:33:0,
from /sysroot/sysroot/usr/include/net/if_ether.h:37,
from /sysroot/sysroot/usr/include/netinet/ether.h:28,
from functions.c:23:
/sysroot/sysroot/usr/include/sys/cdefs.h:207:0: note: this is the location of the previous definition
#define __packed __attribute__((__packed__))
^
CC ping.o
CC traceroute.o
CC tcpdump.o
In file included from traceroute.c:36:0:
main.h:49:0: warning: "__packed" redefined [enabled by default]
#define __packed __attribute((packed)) /* linux kernel compat */
^
In file included from /sysroot/sysroot/usr/include/sys/endian.h:39:0,
from /sysroot/sysroot/usr/include/endian.h:31,
from /sysroot/sysroot/usr/include/netinet/in.h:31,
from traceroute.c:24:
/sysroot/sysroot/usr/include/sys/cdefs.h:207:0: note: this is the location of the previous definition
#define __packed __attribute__((__packed__))
^
In file included from ping.c:39:0:
main.h:49:0: warning: "__packed" redefined [enabled by default]
#define __packed __attribute((packed)) /* linux kernel compat */
^
In file included from /sysroot/sysroot/usr/include/sys/endian.h:39:0,
from /sysroot/sysroot/usr/include/endian.h:31,
from /sysroot/sysroot/usr/include/netinet/in.h:31,
from ping.c:24:
/sysroot/sysroot/usr/include/sys/cdefs.h:207:0: note: this is the location of the previous definition
#define __packed __attribute__((__packed__))
^
CC hash.o
CC debugfs.o
In file included from tcpdump.h:29:0,
from tcpdump.c:47:
main.h:49:0: warning: "__packed" redefined [enabled by default]
#define __packed __attribute((packed)) /* linux kernel compat */
^
In file included from /sysroot/sysroot/usr/include/stdio.h:49:0,
from tcpdump.c:22:
/sysroot/sysroot/usr/include/sys/cdefs.h:207:0: note: this is the location of the previous definition
#define __packed __attribute__((__packed__))
^
tcpdump.c:317:14: warning: 'struct ether_arp' declared inside parameter list [enabled by default]
struct ether_arp *arphdr, int read_opt)
^
tcpdump.c:317:14: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
tcpdump.c: In function 'dump_bla2_claim':
tcpdump.c:324:12: error: dereferencing pointer to incomplete type
if (arphdr->ea_hdr.ar_hrd != htons(ARPHRD_ETHER))
^
tcpdump.c:327:12: error: dereferencing pointer to incomplete type
if (arphdr->ea_hdr.ar_pro != htons(ETH_P_IP))
^
tcpdump.c:330:12: error: dereferencing pointer to incomplete type
if (arphdr->ea_hdr.ar_hln != ETH_ALEN)
^
tcpdump.c:333:12: error: dereferencing pointer to incomplete type
if (arphdr->ea_hdr.ar_pln != 4)
^
tcpdump.c:336:17: error: dereferencing pointer to incomplete type
hw_src = arphdr->arp_sha;
^
tcpdump.c:337:17: error: dereferencing pointer to incomplete type
hw_dst = arphdr->arp_tha;
^
tcpdump.c: In function 'dump_arp':
tcpdump.c:392:37: error: invalid application of 'sizeof' to incomplete type 'struct ether_arp'
LEN_CHECK((size_t)buff_len, sizeof(struct ether_arp), "ARP");
^
tcpdump.c:61:27: note: in definition of macro 'LEN_CHECK'
if ((size_t)(buff_len) < (check_len)) { \
^
tcpdump.c:392:37: error: invalid application of 'sizeof' to incomplete type 'struct ether_arp'
LEN_CHECK((size_t)buff_len, sizeof(struct ether_arp), "ARP");
^
tcpdump.c:63:10: note: in definition of macro 'LEN_CHECK'
desc, (check_len), (size_t)(buff_len)); \
^
In file included from /sysroot/sysroot/usr/include/stdio.h:49:0,
from tcpdump.c:22:
tcpdump.c:399:22: error: dereferencing pointer to incomplete type
switch (ntohs(arphdr->arp_op)) {
^
tcpdump.c:401:73: error: dereferencing pointer to incomplete type
printf("ARP, Request who-has %s", inet_ntoa(*(struct in_addr *)&arphdr->arp_tpa));
^
tcpdump.c:402:77: error: dereferencing pointer to incomplete type
printf(" tell %s (%s), length %zd\n", inet_ntoa(*(struct in_addr *)&arphdr->arp_spa),
^
tcpdump.c:403:48: error: dereferencing pointer to incomplete type
ether_ntoa_long((struct ether_addr *)&arphdr->arp_sha), buff_len);
^
tcpdump.c:406:3: warning: passing argument 2 of 'dump_bla2_claim' from incompatible pointer type [enabled by default]
arp_is_bla2_claim = dump_bla2_claim(eth_hdr, arphdr, read_opt);
^
tcpdump.c:316:12: note: expected 'struct ether_arp *' but argument is of type 'struct ether_arp *'
static int dump_bla2_claim(struct ether_header *eth_hdr,
^
tcpdump.c:410:86: error: dereferencing pointer to incomplete type
printf("ARP, Reply %s is-at %s, length %zd\n", inet_ntoa(*(struct in_addr *)&arphdr->arp_spa),
^
tcpdump.c:411:48: error: dereferencing pointer to incomplete type
ether_ntoa_long((struct ether_addr *)&arphdr->arp_sha), buff_len);
^
In file included from /sysroot/sysroot/usr/include/stdio.h:49:0,
from tcpdump.c:22:
tcpdump.c:414:52: error: dereferencing pointer to incomplete type
printf("ARP, unknown op code: %i\n", ntohs(arphdr->arp_op));
^
tcpdump.c: In function 'dump_ip':
tcpdump.c:617:57: error: invalid application of 'sizeof' to incomplete type 'struct icmphdr'
LEN_CHECK((size_t)buff_len - (iphdr->ihl * 4), sizeof(struct icmphdr), "ICMP");
^
tcpdump.c:61:27: note: in definition of macro 'LEN_CHECK'
if ((size_t)(buff_len) < (check_len)) { \
^
tcpdump.c:617:57: error: invalid application of 'sizeof' to incomplete type 'struct icmphdr'
LEN_CHECK((size_t)buff_len - (iphdr->ihl * 4), sizeof(struct icmphdr), "ICMP");
^
tcpdump.c:63:10: note: in definition of macro 'LEN_CHECK'
desc, (check_len), (size_t)(buff_len)); \
^
tcpdump.c:622:18: error: dereferencing pointer to incomplete type
switch (icmphdr->type) {
^
In file included from /sysroot/sysroot/usr/include/stdio.h:49:0,
from tcpdump.c:22:
tcpdump.c:625:25: error: dereferencing pointer to incomplete type
ipdst, ntohs(icmphdr->un.echo.id),
^
tcpdump.c:626:18: error: dereferencing pointer to incomplete type
ntohs(icmphdr->un.echo.sequence),
^
tcpdump.c:629:8: error: 'ICMP_DEST_UNREACH' undeclared (first use in this function)
case ICMP_DEST_UNREACH:
^
tcpdump.c:629:8: note: each undeclared identifier is reported only once for each function it appears in
tcpdump.c:630:59: error: invalid application of 'sizeof' to incomplete type 'struct icmphdr'
LEN_CHECK((size_t)buff_len - (iphdr->ihl * 4) - sizeof(struct icmphdr),
^
tcpdump.c:61:14: note: in definition of macro 'LEN_CHECK'
if ((size_t)(buff_len) < (check_len)) { \
^
tcpdump.c:630:59: error: invalid application of 'sizeof' to incomplete type 'struct icmphdr'
LEN_CHECK((size_t)buff_len - (iphdr->ihl * 4) - sizeof(struct icmphdr),
^
tcpdump.c:63:31: note: in definition of macro 'LEN_CHECK'
desc, (check_len), (size_t)(buff_len)); \
^
tcpdump.c:633:19: error: dereferencing pointer to incomplete type
switch (icmphdr->code) {
^
tcpdump.c:634:9: error: 'ICMP_PORT_UNREACH' undeclared (first use in this function)
case ICMP_PORT_UNREACH:
^
tcpdump.c:635:61: error: invalid application of 'sizeof' to incomplete type 'struct icmphdr'
tmp_iphdr = (struct iphdr *)(((char *)icmphdr) + sizeof(struct icmphdr));
^
tcpdump.c:645:20: error: dereferencing pointer to incomplete type
ipdst, icmphdr->code,
^
In file included from /sysroot/sysroot/usr/include/stdio.h:49:0,
from tcpdump.c:22:
tcpdump.c:653:25: error: dereferencing pointer to incomplete type
ipdst, ntohs(icmphdr->un.echo.id),
^
tcpdump.c:654:18: error: dereferencing pointer to incomplete type
ntohs(icmphdr->un.echo.sequence),
^
tcpdump.c:657:8: error: 'ICMP_TIME_EXCEEDED' undeclared (first use in this function)
case ICMP_TIME_EXCEEDED:
^
tcpdump.c:663:19: error: dereferencing pointer to incomplete type
ipdst, icmphdr->type,
^
make: *** [Makefile:96: tcpdump.o] Error 1
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().
Aborting...