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 |
---|---|
132 |
ansic |
132 |
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: tinyserial 20090305-2 (Tue Apr 4 20:58:16 UTC 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
cc1: error: no include path in which to search for stdc-predef.h
com.c:38:21: error: no include path in which to search for termios.h
#include
^
com.c:39:19: error: no include path in which to search for stdio.h
#include
^
com.c:40:20: error: no include path in which to search for stdlib.h
#include
^
com.c:41:20: error: no include path in which to search for string.h
#include
^
com.c:42:20: error: no include path in which to search for unistd.h
#include
^
com.c:43:24: error: no include path in which to search for sys/signal.h
#include
^
com.c:44:23: error: no include path in which to search for sys/types.h
#include
^
com.c:45:23: error: no include path in which to search for sys/ioctl.h
#include
^
com.c:46:19: error: no include path in which to search for fcntl.h
#include
^
com.c:47:19: error: no include path in which to search for errno.h
#include
^
com.c: In function 'print_status':
com.c:57:21: error: 'TIOCMGET' undeclared (first use in this function)
status = ioctl(fd, TIOCMGET, &arg);
^
com.c:57:21: note: each undeclared identifier is reported only once for each function it appears in
com.c:58:2: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, "[STATUS]: ");
^
com.c:58:10: error: 'stderr' undeclared (first use in this function)
fprintf(stderr, "[STATUS]: ");
^
com.c:59:11: error: 'TIOCM_RTS' undeclared (first use in this function)
if(arg & TIOCM_RTS) fprintf(stderr, "RTS ");
^
com.c:60:11: error: 'TIOCM_CTS' undeclared (first use in this function)
if(arg & TIOCM_CTS) fprintf(stderr, "CTS ");
^
com.c:61:11: error: 'TIOCM_DSR' undeclared (first use in this function)
if(arg & TIOCM_DSR) fprintf(stderr, "DSR ");
^
com.c:62:11: error: 'TIOCM_CAR' undeclared (first use in this function)
if(arg & TIOCM_CAR) fprintf(stderr, "DCD ");
^
com.c:63:11: error: 'TIOCM_DTR' undeclared (first use in this function)
if(arg & TIOCM_DTR) fprintf(stderr, "DTR ");
^
com.c:64:11: error: 'TIOCM_RNG' undeclared (first use in this function)
if(arg & TIOCM_RNG) fprintf(stderr, "RI ");
^
com.c: In function 'main':
com.c:71:17: error: storage size of 'oldtio' isn't known
struct termios oldtio, newtio; //place for old and new port settings for serial port
^
com.c:71:25: error: storage size of 'newtio' isn't known
struct termios oldtio, newtio; //place for old and new port settings for serial port
^
com.c:72:17: error: storage size of 'oldkey' isn't known
struct termios oldkey, newkey; //place tor old and new port settings for keyboard teletype
^
com.c:72:25: error: storage size of 'newkey' isn't known
struct termios oldkey, newkey; //place tor old and new port settings for keyboard teletype
^
com.c:77:12: error: 'B1200' undeclared (first use in this function)
{"1200", B1200},
^
com.c:78:12: error: 'B2400' undeclared (first use in this function)
{"2400", B2400},
^
com.c:79:12: error: 'B4800' undeclared (first use in this function)
{"4800", B4800},
^
com.c:80:12: error: 'B9600' undeclared (first use in this function)
{"9600", B9600},
^
com.c:81:13: error: 'B19200' undeclared (first use in this function)
{"19200", B19200},
^
com.c:82:13: error: 'B38400' undeclared (first use in this function)
{"38400", B38400},
^
com.c:83:13: error: 'B57600' undeclared (first use in this function)
{"57600", B57600},
^
com.c:84:14: error: 'B115200' undeclared (first use in this function)
{"115200", B115200},
^
com.c:85:4: error: 'NULL' undeclared (first use in this function)
{NULL, 0}
^
com.c:87:14: warning: initialization makes integer from pointer without a cast [enabled by default]
int speed = B9600;
^
com.c:90:3: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, "example: %s /dev/ttyS0 [115200]\n", argv[0]);
^
com.c:90:11: error: 'stderr' undeclared (first use in this function)
fprintf(stderr, "example: %s /dev/ttyS0 [115200]\n", argv[0]);
^
com.c:91:3: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
exit(1);
^
com.c:94:27: error: 'O_RDWR' undeclared (first use in this function)
comfd = open(devicename, O_RDWR | O_NOCTTY | O_NONBLOCK);
^
com.c:94:36: error: 'O_NOCTTY' undeclared (first use in this function)
comfd = open(devicename, O_RDWR | O_NOCTTY | O_NONBLOCK);
^
com.c:94:34: error: invalid operands to binary | (have 'struct speed_spec *' and 'struct speed_spec *')
comfd = open(devicename, O_RDWR | O_NOCTTY | O_NONBLOCK);
^
com.c:94:47: error: 'O_NONBLOCK' undeclared (first use in this function)
comfd = open(devicename, O_RDWR | O_NOCTTY | O_NONBLOCK);
^
com.c:94:45: error: invalid operands to binary | (have 'struct speed_spec *' and 'struct speed_spec *')
comfd = open(devicename, O_RDWR | O_NOCTTY | O_NONBLOCK);
^
com.c:98:3: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
exit(-1);
^
com.c:106:5: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, "setting speed %s\n", s->name);
^
com.c:112:2: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, "C-a exit, C-x modem lines status\n");
^
com.c:114:12: error: 'STDIN_FILENO' undeclared (first use in this function)
tcgetattr(STDIN_FILENO,&oldkey);
^
com.c:115:8: error: request for member 'c_cflag' in something not a structure or union
newkey.c_cflag = B9600 | CRTSCTS | CS8 | CLOCAL | CREAD;
^
com.c:115:27: error: 'CRTSCTS' undeclared (first use in this function)
newkey.c_cflag = B9600 | CRTSCTS | CS8 | CLOCAL | CREAD;
^
com.c:115:25: error: invalid operands to binary | (have 'struct speed_spec *' and 'struct speed_spec *')
newkey.c_cflag = B9600 | CRTSCTS | CS8 | CLOCAL | CREAD;
^
com.c:115:37: error: 'CS8' undeclared (first use in this function)
newkey.c_cflag = B9600 | CRTSCTS | CS8 | CLOCAL | CREAD;
^
com.c:115:35: error: invalid operands to binary | (have 'struct speed_spec *' and 'struct speed_spec *')
newkey.c_cflag = B9600 | CRTSCTS | CS8 | CLOCAL | CREAD;
^
com.c:115:43: error: 'CLOCAL' undeclared (first use in this function)
newkey.c_cflag = B9600 | CRTSCTS | CS8 | CLOCAL | CREAD;
^
com.c:115:41: error: invalid operands to binary | (have 'struct speed_spec *' and 'struct speed_spec *')
newkey.c_cflag = B9600 | CRTSCTS | CS8 | CLOCAL | CREAD;
^
com.c:115:52: error: 'CREAD' undeclared (first use in this function)
newkey.c_cflag = B9600 | CRTSCTS | CS8 | CLOCAL | CREAD;
^
com.c:115:50: error: invalid operands to binary | (have 'struct speed_spec *' and 'struct speed_spec *')
newkey.c_cflag = B9600 | CRTSCTS | CS8 | CLOCAL | CREAD;
^
com.c:116:8: error: request for member 'c_iflag' in something not a structure or union
newkey.c_iflag = IGNPAR;
^
com.c:116:19: error: 'IGNPAR' undeclared (first use in this function)
newkey.c_iflag = IGNPAR;
^
com.c:117:8: error: request for member 'c_oflag' in something not a structure or union
newkey.c_oflag = 0;
^
com.c:118:8: error: request for member 'c_lflag' in something not a structure or union
newkey.c_lflag = 0;
^
com.c:119:8: error: request for member 'c_cc' in something not a structure or union
newkey.c_cc[VMIN]=1;
^
com.c:119:14: error: 'VMIN' undeclared (first use in this function)
newkey.c_cc[VMIN]=1;
^
com.c:119:13: error: array subscript is not an integer
newkey.c_cc[VMIN]=1;
^
com.c:120:8: error: request for member 'c_cc' in something not a structure or union
newkey.c_cc[VTIME]=0;
^
com.c:120:14: error: 'VTIME' undeclared (first use in this function)
newkey.c_cc[VTIME]=0;
^
com.c:120:13: error: array subscript is not an integer
newkey.c_cc[VTIME]=0;
^
com.c:121:24: error: 'TCIFLUSH' undeclared (first use in this function)
tcflush(STDIN_FILENO, TCIFLUSH);
^
com.c:122:25: error: 'TCSANOW' undeclared (first use in this function)
tcsetattr(STDIN_FILENO,TCSANOW,&newkey);
^
com.c:126:8: error: request for member 'c_cflag' in something not a structure or union
newtio.c_cflag = speed | CS8 | CLOCAL | CREAD;
^
com.c:126:25: error: invalid operands to binary | (have 'int' and 'struct speed_spec *')
newtio.c_cflag = speed | CS8 | CLOCAL | CREAD;
^
com.c:126:31: error: invalid operands to binary | (have 'struct speed_spec *' and 'struct speed_spec *')
newtio.c_cflag = speed | CS8 | CLOCAL | CREAD;
^
com.c:126:40: error: invalid operands to binary | (have 'struct speed_spec *' and 'struct speed_spec *')
newtio.c_cflag = speed | CS8 | CLOCAL | CREAD;
^
com.c:127:8: error: request for member 'c_iflag' in something not a structure or union
newtio.c_iflag = IGNPAR;
^
com.c:128:8: error: request for member 'c_oflag' in something not a structure or union
newtio.c_oflag = 0;
^
com.c:129:8: error: request for member 'c_lflag' in something not a structure or union
newtio.c_lflag = 0;
^
com.c:130:8: error: request for member 'c_cc' in something not a structure or union
newtio.c_cc[VMIN]=1;
^
com.c:130:13: error: array subscript is not an integer
newtio.c_cc[VMIN]=1;
^
com.c:131:8: error: request for member 'c_cc' in something not a structure or union
newtio.c_cc[VTIME]=0;
^
com.c:131:13: error: array subscript is not an integer
newtio.c_cc[VTIME]=0;
^
com.c:138:3: error: unknown type name 'fd_set'
fd_set fds;
^
com.c:151:5: warning: passing argument 1 of 'transfer_byte' makes integer from pointer without a cast [enabled by default]
need_exit = transfer_byte(STDIN_FILENO, comfd, 1);
^
com.c:49:5: note: expected 'int' but argument is of type 'struct speed_spec *'
int transfer_byte(int from, int to, int is_control);
^
com.c:154:5: warning: passing argument 2 of 'transfer_byte' makes integer from pointer without a cast [enabled by default]
need_exit = transfer_byte(comfd, STDIN_FILENO, 0);
^
com.c:49:5: note: expected 'int' but argument is of type 'struct speed_spec *'
int transfer_byte(int from, int to, int is_control);
^
com.c: In function 'transfer_byte':
com.c:172:22: error: 'errno' undeclared (first use in this function)
} while (ret < 0 && errno == EINTR);
^
com.c:172:31: error: 'EINTR' undeclared (first use in this function)
} while (ret < 0 && errno == EINTR);
^
com.c:183:14: error: 'EAGAIN' undeclared (first use in this function)
if(errno!=EAGAIN && errno!=EINTR) { perror("write failed"); break; }
^
com.c:186:3: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, "\nnothing to read. probably port disconnected.\n");
^
com.c:186:11: error: 'stderr' undeclared (first use in this function)
fprintf(stderr, "\nnothing to read. probably port disconnected.\n");
^
==> ERROR: A failure occurred in build().
Aborting...