The build took 00h 01m 09s and was NOT successful.
The program in this build is written in the following languages, according to sloccount:
SLOC | Language |
---|---|
1,759 |
sh |
815 |
ansic |
2,574 |
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:
There were existing files in /sysroot, using those
CMD: sudo -u tuscan PATH=/sysroot/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: setserial 2.17-5 (Wed Apr 5 00:22:06 UTC 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
creating cache ./config.cache
Generating configuration file for setserial version 2.17
Release date is January, 2000
checking for gcc... clang
checking whether the C compiler (clang ) works... yes
checking whether the C compiler (clang ) is a cross-compiler... yes
checking whether we are using GNU C... yes
checking whether clang accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking host system type... Invalid configuration `x86_64-unknown-linux': machine `x86_64-unknown' not recognized
checking build system type... Invalid configuration `x86_64-unknown-linux': machine `x86_64-unknown' not recognized
checking for x86_64-unknown-linux-strip... no
checking for strip... strip
checking how to run the C preprocessor... clang -E
checking for asm/ioctls.h... no
checking for linux/hayesesp.h... no
updating cache ./config.cache
creating ./config.status
creating setserial.8
creating Makefile
clang -I. setserial.c -o setserial
nroff -man setserial.8 > setserial.cat
setserial.c:426:6: warning: implicit declaration of function 'ioctl' is invalid in C99 [-Wimplicit-function-declaration]
if (ioctl(fd, TIOCGSERIAL, &serinfo) < 0) {
^
setserial.c:426:16: error: use of undeclared identifier 'TIOCGSERIAL'
if (ioctl(fd, TIOCGSERIAL, &serinfo) < 0) {
^
setserial.c:428:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
close(fd);
^
setserial.c:488:4: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
exit(201);
^
setserial.c:488:4: note: include the header or explicitly provide a declaration for 'exit'
setserial.c:492:16: error: use of undeclared identifier 'TIOCGSERIAL'
if (ioctl(fd, TIOCGSERIAL, &old_serinfo) < 0) {
^
setserial.c:569:18: error: use of undeclared identifier 'TIOCSSERIAL'
if (ioctl(fd, TIOCSSERIAL, &new_serinfo) < 0) {
^
setserial.c:573:18: error: use of undeclared identifier 'TIOCSERCONFIG'
if (ioctl(fd, TIOCSERCONFIG) < 0) {
^
setserial.c:577:18: error: use of undeclared identifier 'TIOCGSERIAL'
if (ioctl(fd, TIOCGSERIAL, &new_serinfo) < 0) {
^
setserial.c:583:18: error: use of undeclared identifier 'TIOCSSERIAL'
if (ioctl(fd, TIOCSSERIAL, &new_serinfo) < 0) {
^
setserial.c:590:18: error: use of undeclared identifier 'TIOCSSERIAL'
if (ioctl(fd, TIOCSSERIAL, &new_serinfo) < 0) {
^
setserial.c:611:16: error: use of undeclared identifier 'TIOCSSERIAL'
if (ioctl(fd, TIOCSSERIAL, &new_serinfo) < 0) {
^
setserial.c:630:16: error: use of undeclared identifier 'TIOCSERSWILD'
if (ioctl(fd, TIOCSERSWILD, &wild_mask) < 0) {
^
setserial.c:634:16: error: use of undeclared identifier 'TIOCSERGWILD'
if (ioctl(fd, TIOCSERGWILD, &wild_mask) < 0) {
^
setserial.c:717:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(int argc, char **argv)
^
setserial.c:727:14: warning: implicit declaration of function 'getopt' is invalid in C99 [-Wimplicit-function-declaration]
while ((c = getopt(argc, argv, "abgGqvVWz")) != EOF) {
^
5 warnings and 10 errors generated.
make: *** [Makefile:23: setserial] Error 1
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().
Aborting...
Printing config logfiles
CMD: config logfiles '/tmp/setserial/src/setserial-2.17/config.log'
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:566: checking for gcc
configure:679: checking whether the C compiler (clang ) works
configure:695: clang -o conftest conftest.c 1>&5
configure:692:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(){return(0);}
^
1 warning generated.
configure:721: checking whether the C compiler (clang ) is a cross-compiler
configure:726: checking whether we are using GNU C
configure:735: clang -E conftest.c
configure:754: checking whether clang accepts -g
configure:816: checking for a BSD compatible install
configure:875: checking host system type
configure:896: checking build system type
configure:922: checking for x86_64-unknown-linux-strip
configure:954: checking for strip
configure:987: checking how to run the C preprocessor
configure:1008: clang -E conftest.c >/dev/null 2>conftest.out
configure:1070: checking for asm/ioctls.h
configure:1080: clang -E conftest.c >/dev/null 2>conftest.out
configure:1076:10: fatal error: 'asm/ioctls.h' file not found
#include
^
1 error generated.
configure: failed program was:
#line 1075 "configure"
#include "confdefs.h"
#include
configure:1070: checking for linux/hayesesp.h
configure:1080: clang -E conftest.c >/dev/null 2>conftest.out
configure:1076:10: fatal error: 'linux/hayesesp.h' file not found
#include
^
1 error generated.
configure: failed program was:
#line 1075 "configure"
#include "confdefs.h"
#include