The build took 00h 01m 06s and was NOT successful.
The program in this build is written in the following languages, according to sloccount:
SLOC | Language |
---|---|
6,595 |
ansic |
1,728 |
sh |
1,387 |
makefile |
9,710 |
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:
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: watchdog 5.14-1 (Wed Apr 5 01:16:10 UTC 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for x86_64-unknown-linux-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /usr/sbin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether build environment is sane... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gawk... (cached) gawk
checking for x86_64-unknown-linux-gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking whether clang understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of clang... gcc3
checking for sendmail... /usr/lib/sendmail
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... /usr/sbin/grep
checking for egrep... /usr/sbin/grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for pid_t... yes
checking for size_t... yes
checking for struct stat.st_rdev... yes
checking whether time.h and sys/time.h may both be included... yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether clang needs -traditional... no
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for gethostname... yes
checking for select... yes
checking for socket... yes
checking for strcspn... yes
checking for strdup... yes
checking for strerror... yes
checking for strstr... yes
checking for strtoul... yes
checking for uname... yes
checking whether to log via syslog... yes
checking whether to include NFS support... yes
checking for minimum value accepted as reboot cause... 2
checking for timer margin used by kernel... 60
checking for config filename... /etc/watchdog.conf
checking for test binary directory... /etc/watchdog.d
checking for pid filename... /run/watchdog.pid
checking for keepalive pid filename... /run/wd_keepalive.pid
checking for random seed filename... "/var/run/random-seed"
checking that generated files are newer than configure... done
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating include/config.h
config.status: executing depfiles commands
Making all in src
make[1]: Entering directory '/tmp/watchdog/src/watchdog-5.14/src'
clang -DHAVE_CONFIG_H -I. -I../include -I../include -MT file_stat.o -MD -MP -MF .deps/file_stat.Tpo -c -o file_stat.o file_stat.c
clang -DHAVE_CONFIG_H -I. -I../include -I../include -MT file_table.o -MD -MP -MF .deps/file_table.Tpo -c -o file_table.o file_table.c
clang -DHAVE_CONFIG_H -I. -I../include -I../include -MT fstab.o -MD -MP -MF .deps/fstab.Tpo -c -o fstab.o fstab.c
clang -DHAVE_CONFIG_H -I. -I../include -I../include -MT iface.o -MD -MP -MF .deps/iface.Tpo -c -o iface.o iface.c
In file included from iface.c:9:
../include/extern.h:76:8: error: unknown type name 'time_t'; did you mean 'size_t'?
extern time_t test_timeout; /* test-binary time out value. */
^~~~~~
size_t
/sysroot/include/bits/alltypes.h:101:24: note: 'size_t' declared here
typedef unsigned _Addr size_t;
^
In file included from iface.c:9:
../include/extern.h:77:8: error: unknown type name 'time_t'; did you mean 'size_t'?
extern time_t repair_timeout; /* repair-binary time out value. */
^~~~~~
size_t
/sysroot/include/bits/alltypes.h:101:24: note: 'size_t' declared here
typedef unsigned _Addr size_t;
^
In file included from iface.c:9:
../include/extern.h:146:23: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]In file included from
file_table.c:9:
../include/extern.h:76:8int check_bin(char *, time_t, int);:
^error
: unknown type name 'time_t'; did you mean 'size_t'?
extern time_t test_timeout; /* test-binary time out value. */
^~~~~~
size_t
/sysroot/include/bits/alltypes.h:101:24: note: 'size_t' declared here
typedef unsigned _Addr size_t;
^
In file included from file_table.c:9:
../include/extern.h:77:8: error: unknown type name 'time_t'; did you mean 'size_t'?
extern time_t repair_timeout; /* repair-binary time out value. */
^~~~~~
size_t
/sysroot/include/bits/alltypes.h:101:24: note: 'size_t' declared here
typedef unsigned _Addr size_t;
^
In file included from file_table.c:9:
../include/extern.h:146:23: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
int check_bin(char *, time_t, int);
^
1 warning and 2 errors generated.
1 warning and 2 errors generated.
In file included from fstab.c:15:
../include/sundries.h:13:10: fatal error: 'rpc/types.h' file not found
#include
^
mv -f .deps/file_stat.Tpo .deps/file_stat.Po
make[1]: *** [Makefile:404: iface.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:404: file_table.o] Error 1
1 error generated.
make[1]: *** [Makefile:403: fstab.o] Error 1
make[1]: Leaving directory '/tmp/watchdog/src/watchdog-5.14/src'
make: *** [Makefile:470: all-recursive] Error 1
==> ERROR: A failure occurred in build().
Aborting...
Printing config logfiles
CMD: config logfiles '/tmp/watchdog/src/watchdog-5.14/config.log'
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --host=x86_64-unknown-linux --prefix=/usr --sbindir=/usr/bin --mandir=/usr/share/man --sysconfdir=/etc --localstatedir=/var --with-pidfile=/run/watchdog.pid --with-ka_pidfile=/run/wd_keepalive.pid
## --------- ##
## Platform. ##
## --------- ##
hostname = 20a2b680fe5c
uname -m = x86_64
uname -r = 4.10.6-1-ARCH
uname -s = Linux
uname -v = #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /sysroot/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2330: checking for a BSD-compatible install
configure:2398: result: /usr/bin/install -c
configure:2409: checking whether build environment is sane
configure:2464: result: yes
configure:2523: checking for x86_64-unknown-linux-strip
configure:2553: result: no
configure:2563: checking for strip
configure:2579: found /sysroot/bin/strip
configure:2590: result: strip
configure:2615: checking for a thread-safe mkdir -p
configure:2654: result: /usr/sbin/mkdir -p
configure:2661: checking for gawk
configure:2677: found /usr/sbin/gawk
configure:2688: result: gawk
configure:2699: checking whether make sets $(MAKE)
configure:2721: result: yes
configure:2750: checking whether make supports nested variables
configure:2767: result: yes
configure:2910: checking whether build environment is sane
configure:2965: result: yes
configure:2978: checking whether to enable maintainer-specific portions of Makefiles
configure:2987: result: no
configure:3005: checking for gawk
configure:3032: result: gawk
configure:3051: checking for x86_64-unknown-linux-gcc
configure:3078: result: clang
configure:3347: checking for C compiler version
configure:3356: clang --version >&5
clang version 3.8.1
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /
configure:3367: $? = 0
configure:3356: clang -v >&5
clang version 3.8.1
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /
Found candidate GCC installation: //../lib/gcc/x86_64-pc-linux-gnu/6.1.1
Found candidate GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
Selected GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
Candidate multilib: .;@m64
Selected multilib: .;@m64
configure:3367: $? = 0
configure:3356: clang -V >&5
clang-3.8: error: argument to '-V' is missing (expected 1 value)
clang-3.8: error: no input files
configure:3367: $? = 1
configure:3356: clang -qversion >&5
clang-3.8: error: unknown argument: '-qversion'
clang-3.8: error: no input files
configure:3367: $? = 1
configure:3387: checking whether the C compiler works
configure:3409: clang conftest.c >&5
configure:3413: $? = 0
configure:3461: result: yes
configure:3464: checking for C compiler default output file name
configure:3466: result: a.out
configure:3472: checking for suffix of executables
configure:3479: clang -o conftest conftest.c >&5
configure:3483: $? = 0
configure:3505: result:
configure:3527: checking whether we are cross compiling
configure:3535: clang -o conftest conftest.c >&5
configure:3539: $? = 0
configure:3546: ./conftest
./conftest: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
configure:3550: $? = 127
configure:3565: result: yes
configure:3570: checking for suffix of object files
configure:3592: clang -c conftest.c >&5
configure:3596: $? = 0
configure:3617: result: o
configure:3621: checking whether we are using the GNU C compiler
configure:3640: clang -c conftest.c >&5
configure:3640: $? = 0
configure:3649: result: yes
configure:3658: checking whether clang accepts -g
configure:3678: clang -c -g conftest.c >&5
configure:3678: $? = 0
configure:3719: result: yes
configure:3736: checking for clang option to accept ISO C89
configure:3799: clang -c conftest.c >&5
configure:3799: $? = 0
configure:3812: result: none needed
configure:3837: checking whether clang understands -c and -o together
configure:3859: clang -c conftest.c -o conftest2.o
configure:3862: $? = 0
configure:3859: clang -c conftest.c -o conftest2.o
configure:3862: $? = 0
configure:3874: result: yes
configure:3902: checking for style of include used by make
configure:3930: result: GNU
configure:3956: checking dependency style of clang
configure:4067: result: gcc3
configure:4086: checking for sendmail
configure:4117: result: /usr/lib/sendmail
configure:4138: checking for dirent.h that defines DIR
configure:4157: clang -c conftest.c >&5
configure:4157: $? = 0
configure:4165: result: yes
configure:4178: checking for library containing opendir
configure:4209: clang -o conftest conftest.c >&5
configure:4209: $? = 0
configure:4226: result: none required
configure:4298: checking how to run the C preprocessor
configure:4329: clang -E conftest.c
configure:4329: $? = 0
configure:4343: clang -E conftest.c
conftest.c:15:10: fatal error: 'ac_nonexistent.h' file not found
#include
^
1 error generated.
configure:4343: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "watchdog"
| #define VERSION "5.14"
| #define MAJOR_VERSION 5
| #define MINOR_VERSION 14
| #define PATH_SENDMAIL "/usr/lib/sendmail"
| #define HAVE_DIRENT_H 1
| /* end confdefs.h. */
| #include
configure:4368: result: clang -E
configure:4388: clang -E conftest.c
configure:4388: $? = 0
configure:4402: clang -E conftest.c
conftest.c:15:10: fatal error: 'ac_nonexistent.h' file not found
#include
^
1 error generated.
configure:4402: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "watchdog"
| #define VERSION "5.14"
| #define MAJOR_VERSION 5
| #define MINOR_VERSION 14
| #define PATH_SENDMAIL "/usr/lib/sendmail"
| #define HAVE_DIRENT_H 1
| /* end confdefs.h. */
| #include
configure:4431: checking for grep that handles long lines and -e
configure:4489: result: /usr/sbin/grep
configure:4494: checking for egrep
configure:4556: result: /usr/sbin/grep -E
configure:4561: checking for ANSI C header files
configure:4581: clang -c conftest.c >&5
configure:4581: $? = 0
configure:4665: result: yes
configure:4673: checking for sys/wait.h that is POSIX.1 compatible
configure:4699: clang -c conftest.c >&5
configure:4699: $? = 0
configure:4706: result: yes
configure:4719: checking for sys/types.h
configure:4719: clang -c conftest.c >&5
configure:4719: $? = 0
configure:4719: result: yes
configure:4719: checking for sys/stat.h
configure:4719: clang -c conftest.c >&5
configure:4719: $? = 0
configure:4719: result: yes
configure:4719: checking for stdlib.h
configure:4719: clang -c conftest.c >&5
configure:4719: $? = 0
configure:4719: result: yes
configure:4719: checking for string.h
configure:4719: clang -c conftest.c >&5
configure:4719: $? = 0
configure:4719: result: yes
configure:4719: checking for memory.h
configure:4719: clang -c conftest.c >&5
configure:4719: $? = 0
configure:4719: result: yes
configure:4719: checking for strings.h
configure:4719: clang -c conftest.c >&5
configure:4719: $? = 0
configure:4719: result: yes
configure:4719: checking for inttypes.h
configure:4719: clang -c conftest.c >&5
configure:4719: $? = 0
configure:4719: result: yes
configure:4719: checking for stdint.h
configure:4719: clang -c conftest.c >&5
configure:4719: $? = 0
configure:4719: result: yes
configure:4719: checking for unistd.h
configure:4719: clang -c conftest.c >&5
configure:4719: $? = 0
configure:4719: result: yes
configure:4734: checking fcntl.h usability
configure:4734: clang -c conftest.c >&5
configure:4734: $? = 0
configure:4734: result: yes
configure:4734: checking fcntl.h presence
configure:4734: clang -E conftest.c
configure:4734: $? = 0
configure:4734: result: yes
configure:4734: checking for fcntl.h
configure:4734: result: yes
configure:4734: checking limits.h usability
configure:4734: clang -c conftest.c >&5
configure:4734: $? = 0
configure:4734: result: yes
configure:4734: checking limits.h presence
configure:4734: clang -E conftest.c
configure:4734: $? = 0
configure:4734: result: yes
configure:4734: checking for limits.h
configure:4734: result: yes
configure:4734: checking paths.h usability
configure:4734: clang -c conftest.c >&5
configure:4734: $? = 0
configure:4734: result: yes
configure:4734: checking paths.h presence
configure:4734: clang -E conftest.c
configure:4734: $? = 0
configure:4734: result: yes
configure:4734: checking for paths.h
configure:4734: result: yes
configure:4734: checking sys/ioctl.h usability
configure:4734: clang -c conftest.c >&5
configure:4734: $? = 0
configure:4734: result: yes
configure:4734: checking sys/ioctl.h presence
configure:4734: clang -E conftest.c
configure:4734: $? = 0
configure:4734: result: yes
configure:4734: checking for sys/ioctl.h
configure:4734: result: yes
configure:4734: checking sys/time.h usability
configure:4734: clang -c conftest.c >&5
configure:4734: $? = 0
configure:4734: result: yes
configure:4734: checking sys/time.h presence
configure:4734: clang -E conftest.c
configure:4734: $? = 0
configure:4734: result: yes
configure:4734: checking for sys/time.h
configure:4734: result: yes
configure:4734: checking syslog.h usability
configure:4734: clang -c conftest.c >&5
configure:4734: $? = 0
configure:4734: result: yes
configure:4734: checking syslog.h presence
configure:4734: clang -E conftest.c
configure:4734: $? = 0
configure:4734: result: yes
configure:4734: checking for syslog.h
configure:4734: result: yes
configure:4734: checking for unistd.h
configure:4734: result: yes
configure:4745: checking for an ANSI C-conforming const
configure:4811: clang -c conftest.c >&5
configure:4811: $? = 0
configure:4818: result: yes
configure:4826: checking for inline
configure:4842: clang -c conftest.c >&5
configure:4842: $? = 0
configure:4850: result: inline
configure:4868: checking for pid_t
configure:4868: clang -c conftest.c >&5
configure:4868: $? = 0
configure:4868: clang -c conftest.c >&5
conftest.c:69:20: error: expected expression
if (sizeof ((pid_t)))
^
1 error generated.
configure:4868: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "watchdog"
| #define VERSION "5.14"
| #define MAJOR_VERSION 5
| #define MINOR_VERSION 14
| #define PATH_SENDMAIL "/usr/lib/sendmail"
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include
| #ifdef HAVE_SYS_TYPES_H
| # include
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include
| #endif
| #ifdef STDC_HEADERS
| # include
| # include
| #else
| # ifdef HAVE_STDLIB_H
| # include
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include
| # endif
| # include
| #endif
| #ifdef HAVE_STRINGS_H
| # include
| #endif
| #ifdef HAVE_INTTYPES_H
| # include
| #endif
| #ifdef HAVE_STDINT_H
| # include
| #endif
| #ifdef HAVE_UNISTD_H
| # include
| #endif
| int
| main ()
| {
| if (sizeof ((pid_t)))
| return 0;
| ;
| return 0;
| }
configure:4868: result: yes
configure:4879: checking for size_t
configure:4879: clang -c conftest.c >&5
configure:4879: $? = 0
configure:4879: clang -c conftest.c >&5
conftest.c:69:21: error: expected expression
if (sizeof ((size_t)))
^
1 error generated.
configure:4879: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "watchdog"
| #define VERSION "5.14"
| #define MAJOR_VERSION 5
| #define MINOR_VERSION 14
| #define PATH_SENDMAIL "/usr/lib/sendmail"
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include
| #ifdef HAVE_SYS_TYPES_H
| # include
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include
| #endif
| #ifdef STDC_HEADERS
| # include
| # include
| #else
| # ifdef HAVE_STDLIB_H
| # include
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include
| # endif
| # include
| #endif
| #ifdef HAVE_STRINGS_H
| # include
| #endif
| #ifdef HAVE_INTTYPES_H
| # include
| #endif
| #ifdef HAVE_STDINT_H
| # include
| #endif
| #ifdef HAVE_UNISTD_H
| # include
| #endif
| int
| main ()
| {
| if (sizeof ((size_t)))
| return 0;
| ;
| return 0;
| }
configure:4879: result: yes
configure:4890: checking for struct stat.st_rdev
configure:4890: clang -c conftest.c >&5
configure:4890: $? = 0
configure:4890: result: yes
configure:4903: checking whether time.h and sys/time.h may both be included
configure:4923: clang -c conftest.c >&5
configure:4923: $? = 0
configure:4930: result: yes
configure:4941: checking for working alloca.h
configure:4958: clang -o conftest conftest.c >&5
configure:4958: $? = 0
configure:4966: result: yes
configure:4974: checking for alloca
configure:5011: clang -o conftest conftest.c >&5
configure:5011: $? = 0
configure:5019: result: yes
configure:5126: checking whether clang needs -traditional
conftest.c:38:10: fatal error: 'sgtty.h' file not found
#include
^
1 error generated.
conftest.c:38:10: fatal error: 'termio.h' file not found
#include
^
1 error generated.
configure:5160: result: no
configure:5167: checking return type of signal handlers
configure:5185: clang -c conftest.c >&5
conftest.c:44:8: error: indirection requires pointer operand ('void' invalid)
return *(signal (0, 0)) (0) == 1;
^~~~~~~~~~~~~~~~~~~~
1 error generated.
configure:5185: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "watchdog"
| #define VERSION "5.14"
| #define MAJOR_VERSION 5
| #define MINOR_VERSION 14
| #define PATH_SENDMAIL "/usr/lib/sendmail"
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STRUCT_STAT_ST_RDEV 1
| #define HAVE_ST_RDEV 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| /* end confdefs.h. */
| #include
| #include
|
| int
| main ()
| {
| return *(signal (0, 0)) (0) == 1;
| ;
| return 0;
| }
configure:5192: result: void
configure:5202: checking for vprintf
configure:5202: clang -o conftest conftest.c >&5
conftest.c:62:6: warning: incompatible redeclaration of library function 'vprintf' [-Wincompatible-library-redeclaration]
char vprintf ();
^
conftest.c:62:6: note: 'vprintf' is a builtin with type 'int (const char *, struct __va_list_tag *)'
1 warning generated.
configure:5202: $? = 0
configure:5202: result: yes
configure:5208: checking for _doprnt
configure:5208: clang -o conftest conftest.c >&5
/tmp/conftest-549722.o:conftest.c:function main: error: undefined reference to '_doprnt'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
configure:5208: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "watchdog"
| #define VERSION "5.14"
| #define MAJOR_VERSION 5
| #define MINOR_VERSION 14
| #define PATH_SENDMAIL "/usr/lib/sendmail"
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STRUCT_STAT_ST_RDEV 1
| #define HAVE_ST_RDEV 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define RETSIGTYPE void
| #define HAVE_VPRINTF 1
| /* end confdefs.h. */
| /* Define _doprnt to an innocuous variant, in case declares _doprnt.
| For example, HP-UX 11i declares gettimeofday. */
| #define _doprnt innocuous__doprnt
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char _doprnt (); below.
| Prefer to if __STDC__ is defined, since
| exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include
| #else
| # include
| #endif
|
| #undef _doprnt
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char _doprnt ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined __stub__doprnt || defined __stub____doprnt
| choke me
| #endif
|
| int
| main ()
| {
| return _doprnt ();
| ;
| return 0;
| }
configure:5208: result: no
configure:5222: checking for gethostname
configure:5222: clang -o conftest conftest.c >&5
configure:5222: $? = 0
configure:5222: result: yes
configure:5222: checking for select
configure:5222: clang -o conftest conftest.c >&5
configure:5222: $? = 0
configure:5222: result: yes
configure:5222: checking for socket
configure:5222: clang -o conftest conftest.c >&5
configure:5222: $? = 0
configure:5222: result: yes
configure:5222: checking for strcspn
configure:5222: clang -o conftest conftest.c >&5
conftest.c:66:6: warning: incompatible redeclaration of library function 'strcspn' [-Wincompatible-library-redeclaration]
char strcspn ();
^
conftest.c:66:6: note: 'strcspn' is a builtin with type 'unsigned long (const char *, const char *)'
1 warning generated.
configure:5222: $? = 0
configure:5222: result: yes
configure:5222: checking for strdup
configure:5222: clang -o conftest conftest.c >&5
conftest.c:67:6: warning: incompatible redeclaration of library function 'strdup' [-Wincompatible-library-redeclaration]
char strdup ();
^
conftest.c:67:6: note: 'strdup' is a builtin with type 'char *(const char *)'
1 warning generated.
configure:5222: $? = 0
configure:5222: result: yes
configure:5222: checking for strerror
configure:5222: clang -o conftest conftest.c >&5
conftest.c:68:6: warning: incompatible redeclaration of library function 'strerror' [-Wincompatible-library-redeclaration]
char strerror ();
^
conftest.c:68:6: note: 'strerror' is a builtin with type 'char *(int)'
1 warning generated.
configure:5222: $? = 0
configure:5222: result: yes
configure:5222: checking for strstr
configure:5222: clang -o conftest conftest.c >&5
conftest.c:69:6: warning: incompatible redeclaration of library function 'strstr' [-Wincompatible-library-redeclaration]
char strstr ();
^
conftest.c:69:6: note: 'strstr' is a builtin with type 'char *(const char *, const char *)'
1 warning generated.
configure:5222: $? = 0
configure:5222: result: yes
configure:5222: checking for strtoul
configure:5222: clang -o conftest conftest.c >&5
configure:5222: $? = 0
configure:5222: result: yes
configure:5222: checking for uname
configure:5222: clang -o conftest conftest.c >&5
configure:5222: $? = 0
configure:5222: result: yes
configure:5232: checking whether to log via syslog
configure:5256: result: yes
configure:5262: checking whether to include NFS support
configure:5286: result: yes
configure:5292: checking for minimum value accepted as reboot cause
configure:5311: result: 2
configure:5317: checking for timer margin used by kernel
configure:5336: result: 60
configure:5342: checking for config filename
configure:5365: result: /etc/watchdog.conf
configure:5372: checking for test binary directory
configure:5395: result: /etc/watchdog.d
configure:5402: checking for pid filename
configure:5413: result: /run/watchdog.pid
configure:5427: checking for keepalive pid filename
configure:5438: result: /run/wd_keepalive.pid
configure:5452: checking for random seed filename
configure:5471: result: "/var/run/random-seed"
configure:5587: checking that generated files are newer than configure
configure:5593: result: done
configure:5603: checking that generated files are newer than configure
configure:5609: result: done
configure:5628: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by config.status, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on 20a2b680fe5c
config.status:897: creating Makefile
config.status:897: creating src/Makefile
config.status:897: creating include/config.h
config.status:1126: executing depfiles commands
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_c_inline=inline
ac_cv_env_CC_set=set
ac_cv_env_CC_value=clang
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=x86_64-unknown-linux
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func__doprnt=no
ac_cv_func_alloca_works=yes
ac_cv_func_gethostname=yes
ac_cv_func_select=yes
ac_cv_func_socket=yes
ac_cv_func_strcspn=yes
ac_cv_func_strdup=yes
ac_cv_func_strerror=yes
ac_cv_func_strstr=yes
ac_cv_func_strtoul=yes
ac_cv_func_uname=yes
ac_cv_func_vprintf=yes
ac_cv_header_dirent_dirent_h=yes
ac_cv_header_fcntl_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_limits_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_paths_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_ioctl_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_time_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_sys_wait_h=yes
ac_cv_header_syslog_h=yes
ac_cv_header_time=yes
ac_cv_header_unistd_h=yes
ac_cv_member_struct_stat_st_rdev=yes
ac_cv_objext=o
ac_cv_path_EGREP='/usr/sbin/grep -E'
ac_cv_path_GREP=/usr/sbin/grep
ac_cv_path_PATH_SENDMAIL=/usr/lib/sendmail
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/usr/sbin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=clang
ac_cv_prog_CPP='clang -E'
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_gcc_traditional=no
ac_cv_prog_make_make_set=yes
ac_cv_search_opendir='none required'
ac_cv_type_pid_t=yes
ac_cv_type_signal=void
ac_cv_type_size_t=yes
ac_cv_working_alloca_h=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /tmp/watchdog/src/watchdog-5.14/missing aclocal-1.14'
ALLOCA=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AUTOCONF='${SHELL} /tmp/watchdog/src/watchdog-5.14/missing autoconf'
AUTOHEADER='${SHELL} /tmp/watchdog/src/watchdog-5.14/missing autoheader'
AUTOMAKE='${SHELL} /tmp/watchdog/src/watchdog-5.14/missing automake-1.14'
AWK='gawk'
CC='clang'
CCDEPMODE='depmode=gcc3'
CFLAGS=''
CONFIG_FILENAME='/etc/watchdog.conf'
CPP='clang -E'
CPPFLAGS=''
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/sbin/grep -E'
EXEEXT=''
GREP='/usr/sbin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /tmp/watchdog/src/watchdog-5.14/missing makeinfo'
MKDIR_P='/usr/sbin/mkdir -p'
OBJEXT='o'
PACKAGE='watchdog'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SENDMAIL='/usr/lib/sendmail'
PATH_SEPARATOR=':'
SET_MAKE=''
SHELL='/bin/sh'
STRIP='strip'
TESTBIN_PATH='/etc/watchdog.d'
VERSION='5.14'
ac_ct_CC=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host_alias='x86_64-unknown-linux'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /tmp/watchdog/src/watchdog-5.14/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var'
mandir='/usr/share/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='/usr/bin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "watchdog"
#define VERSION "5.14"
#define MAJOR_VERSION 5
#define MINOR_VERSION 14
#define PATH_SENDMAIL "/usr/lib/sendmail"
#define HAVE_DIRENT_H 1
#define STDC_HEADERS 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_FCNTL_H 1
#define HAVE_LIMITS_H 1
#define HAVE_PATHS_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_UNISTD_H 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define TIME_WITH_SYS_TIME 1
#define HAVE_ALLOCA_H 1
#define HAVE_ALLOCA 1
#define RETSIGTYPE void
#define HAVE_VPRINTF 1
#define HAVE_GETHOSTNAME 1
#define HAVE_SELECT 1
#define HAVE_SOCKET 1
#define HAVE_STRCSPN 1
#define HAVE_STRDUP 1
#define HAVE_STRERROR 1
#define HAVE_STRSTR 1
#define HAVE_STRTOUL 1
#define HAVE_UNAME 1
#define USE_SYSLOG 1
#define HAVE_NFS 1
#define MINLOAD 2
#define TIMER_MARGIN 60
#define CONFIG_FILENAME "/etc/watchdog.conf"
#define TESTBIN_PATH "/etc/watchdog.d"
#define PIDFILE "/run/watchdog.pid"
#define KA_PIDFILE "/run/wd_keepalive.pid"
#define RANDOM_SEED "/var/run/random-seed"
configure: exit 0