Build of acpid with musl toolchain

The build took 00h 01m 16s and was NOT successful.

The program in this build is written in the following languages, according to sloccount:

SLOCLanguage
4,371 ansic
4,238 sh
1,514 makefile
283 perl
10,406 total

The process tree of the build process is here.

List of Errors

Log

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:
# [tuscan]
# Server = file:///var/cache/pacman/pkg/

CMD: pacman -Syy --noconfirm
# :: Synchronizing package databases...
# downloading tuscan.db...

There were existing files in /sysroot, using those
# /sysroot/lib
# /sysroot/share
# /sysroot/bin
# /sysroot/include
# /sysroot/libexec

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: acpid 2.0.27-1 (Tue Apr 4 22:55:52 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 how to create a pax tar archive... gnutar
# checking whether make supports nested variables... (cached) yes
# checking whether to enable maintainer-specific portions of Makefiles... no
# checking for gawk... (cached) gawk
# checking for style of include used by make... GNU
# 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 dependency style of clang... gcc3
# checking for clang option to accept ISO C99... none needed
# checking for clang option to accept ISO Standard C... (cached) none needed
# 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/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 minix/config.h usability... no
# checking minix/config.h presence... no
# checking for minix/config.h... no
# checking whether it is safe to define __EXTENSIONS__... yes
# checking for special C compiler options needed for large files... no
# checking for _FILE_OFFSET_BITS value needed for large files... no
# checking whether make sets $(MAKE)... (cached) yes
# checking arpa/inet.h usability... yes
# checking arpa/inet.h presence... yes
# checking for arpa/inet.h... yes
# checking fcntl.h usability... yes
# checking fcntl.h presence... yes
# checking for fcntl.h... yes
# checking malloc.h usability... yes
# checking malloc.h presence... yes
# checking for malloc.h... yes
# checking netinet/in.h usability... yes
# checking netinet/in.h presence... yes
# checking for netinet/in.h... yes
# checking for stdlib.h... (cached) yes
# checking for string.h... (cached) yes
# checking sys/ioctl.h usability... yes
# checking sys/ioctl.h presence... yes
# checking for sys/ioctl.h... yes
# checking sys/socket.h usability... yes
# checking sys/socket.h presence... yes
# checking for sys/socket.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 mode_t... yes
# checking for pid_t... yes
# checking for size_t... yes
# checking for ssize_t... yes
# checking vfork.h usability... no
# checking vfork.h presence... no
# checking for vfork.h... no
# checking for fork... yes
# checking for vfork... yes
# checking for working fork... cross
# configure: WARNING: result yes guessed because of cross compilation
# checking for working vfork... (cached) yes
# checking for stdlib.h... (cached) yes
# checking for GNU libc compatible malloc... no
# checking for stdlib.h... (cached) yes
# checking for GNU libc compatible realloc... no
# checking build system type... x86_64-unknown-linux-gnu
# checking host system type... x86_64-unknown-linux-gnu
# checking for working strnlen... yes
# checking for fchown... yes
# checking for chmod... yes
# checking for fstat... yes
# checking for fstatat... yes
# checking for openat... yes
# checking for asprintf... yes
# checking for alarm... yes
# checking for dup2... yes
# checking for isfdtype... no
# checking for memset... yes
# checking for regcomp... yes
# checking for select... yes
# checking for socket... yes
# checking for strcasecmp... yes
# checking for strdup... yes
# checking for strerror... yes
# checking for strrchr... yes
# checking for strtol... yes
# checking that generated files are newer than configure... done
# configure: creating ./config.status
# config.status: creating Makefile
# config.status: creating kacpimon/Makefile
# config.status: creating config.h
# config.status: executing depfiles commands
# make all-recursive
# make[1]: Entering directory '/tmp/acpid/src/acpid-2.0.27'
# Making all in kacpimon
# make[2]: Entering directory '/tmp/acpid/src/acpid-2.0.27/kacpimon'
# depbase=`echo acpi_ids.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
# clang -DHAVE_CONFIG_H -I. -I.. -include ../config.h -Wall -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wformat=2 -MT acpi_ids.o -MD -MP -MF $depbase.Tpo -c -o acpi_ids.o acpi_ids.c &&\
# mv -f $depbase.Tpo $depbase.Po
# depbase=`echo kacpimon.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
# clang -DHAVE_CONFIG_H -I. -I.. -include ../config.h -Wall -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wformat=2 -MT kacpimon.o -MD -MP -MF $depbase.Tpo -c -o kacpimon.o kacpimon.c &&\
# mv -f $depbase.Tpo $depbase.Po
# depbase=`echo connection_list.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
# clang -DHAVE_CONFIG_H -I. -I.. -include ../config.h -Wall -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wformat=2 -MT connection_list.o -MD -MP -MF $depbase.Tpo -c -o connection_list.o connection_list.c &&\
# mv -f $depbase.Tpo $depbase.Po
# depbase=`echo input_layer.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
# clang -DHAVE_CONFIG_H -I. -I.. -include ../config.h -Wall -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wformat=2 -MT input_layer.o -MD -MP -MF $depbase.Tpo -c -o input_layer.o input_layer.c &&\
# mv -f $depbase.Tpo $depbase.Po
# acpi_ids.c:25:10: fatal error: 'linux/types.h' file not found
# #include
# ^
# input_layer.c:33:10: fatal error: 'linux/input.h' file not found
# #include
# ^
# 1 error generated.
# make[2]: *** [Makefile:394: acpi_ids.o] Error 1
# make[2]: *** Waiting for unfinished jobs....
# In file included from kacpimon.c:39:
# ./libnetlink.h:4:10: fatal error: 'asm/types.h' file not found
# #include
# ^
# 1 error generated.
# 1 error generated.
# make[2]: *** [Makefile:394: input_layer.o] Error 1
# make[2]: *** [Makefile:394: kacpimon.o] Error 1
# make[2]: Leaving directory '/tmp/acpid/src/acpid-2.0.27/kacpimon'
# make[1]: *** [Makefile:644: all-recursive] Error 1
# make[1]: Leaving directory '/tmp/acpid/src/acpid-2.0.27'
# make: *** [Makefile:394: all] Error 2
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/acpid/src/acpid-2.0.27/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 acpid configure 2.0.27, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure --host=x86_64-unknown-linux --prefix=/usr --sbindir=/usr/bin
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 0346e559b361
# 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:2259: checking for a BSD-compatible install
# configure:2327: result: /usr/bin/install -c
# configure:2338: checking whether build environment is sane
# configure:2393: result: yes
# configure:2452: checking for x86_64-unknown-linux-strip
# configure:2482: result: no
# configure:2492: checking for strip
# configure:2508: found /sysroot/bin/strip
# configure:2519: result: strip
# configure:2544: checking for a thread-safe mkdir -p
# configure:2583: result: /usr/sbin/mkdir -p
# configure:2590: checking for gawk
# configure:2606: found /usr/sbin/gawk
# configure:2617: result: gawk
# configure:2628: checking whether make sets $(MAKE)
# configure:2650: result: yes
# configure:2679: checking whether make supports nested variables
# configure:2696: result: yes
# configure:2775: checking how to create a pax tar archive
# configure:2786: tar --version
# tar (GNU tar) 1.29
# Copyright (C) 2015 Free Software Foundation, Inc.
# License GPLv3+: GNU GPL version 3 or later .
# This is free software: you are free to change and redistribute it.
# There is NO WARRANTY, to the extent permitted by law.
#
# Written by John Gilmore and Jay Fenlason.
# configure:2789: $? = 0
# configure:2829: tardir=conftest.dir && eval tar --format=posix -chf - "$tardir" >conftest.tar
# configure:2832: $? = 0
# configure:2836: tar -xf -
# configure:2839: $? = 0
# configure:2841: cat conftest.dir/file
# GrepMe
# configure:2844: $? = 0
# configure:2857: result: gnutar
# configure:2918: checking whether make supports nested variables
# configure:2935: result: yes
# configure:2947: checking whether to enable maintainer-specific portions of Makefiles
# configure:2956: result: no
# configure:2974: checking for gawk
# configure:3001: result: gawk
# configure:3024: checking for style of include used by make
# configure:3052: result: GNU
# configure:3083: checking for x86_64-unknown-linux-gcc
# configure:3110: result: clang
# configure:3379: checking for C compiler version
# configure:3388: clang --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:3399: $? = 0
# configure:3388: 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:3399: $? = 0
# configure:3388: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:3399: $? = 1
# configure:3388: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:3399: $? = 1
# configure:3419: checking whether the C compiler works
# configure:3441: clang conftest.c >&5
# configure:3445: $? = 0
# configure:3493: result: yes
# configure:3496: checking for C compiler default output file name
# configure:3498: result: a.out
# configure:3504: checking for suffix of executables
# configure:3511: clang -o conftest conftest.c >&5
# configure:3515: $? = 0
# configure:3537: result:
# configure:3559: checking whether we are cross compiling
# configure:3567: clang -o conftest conftest.c >&5
# configure:3571: $? = 0
# configure:3578: ./conftest
# ./conftest: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# configure:3582: $? = 127
# configure:3597: result: yes
# configure:3602: checking for suffix of object files
# configure:3624: clang -c conftest.c >&5
# configure:3628: $? = 0
# configure:3649: result: o
# configure:3653: checking whether we are using the GNU C compiler
# configure:3672: clang -c conftest.c >&5
# configure:3672: $? = 0
# configure:3681: result: yes
# configure:3690: checking whether clang accepts -g
# configure:3710: clang -c -g conftest.c >&5
# configure:3710: $? = 0
# configure:3751: result: yes
# configure:3768: checking for clang option to accept ISO C89
# configure:3831: clang -c conftest.c >&5
# configure:3831: $? = 0
# configure:3844: result: none needed
# configure:3869: checking whether clang understands -c and -o together
# configure:3891: clang -c conftest.c -o conftest2.o
# configure:3894: $? = 0
# configure:3891: clang -c conftest.c -o conftest2.o
# configure:3894: $? = 0
# configure:3906: result: yes
# configure:3925: checking dependency style of clang
# configure:4036: result: gcc3
# configure:4055: checking for clang option to accept ISO C99
# configure:4204: clang -c conftest.c >&5
# configure:4204: $? = 0
# configure:4217: result: none needed
# configure:4325: checking for clang option to accept ISO Standard C
# configure:4336: result: none needed
# configure:4350: checking how to run the C preprocessor
# configure:4381: clang -E conftest.c
# configure:4381: $? = 0
# configure:4395: clang -E conftest.c
# conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:4395: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "acpid"
# | #define PACKAGE_TARNAME "acpid"
# | #define PACKAGE_VERSION "2.0.27"
# | #define PACKAGE_STRING "acpid 2.0.27"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "acpid"
# | #define VERSION "2.0.27"
# | /* end confdefs.h. */
# | #include
# configure:4420: result: clang -E
# configure:4440: clang -E conftest.c
# configure:4440: $? = 0
# configure:4454: clang -E conftest.c
# conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:4454: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "acpid"
# | #define PACKAGE_TARNAME "acpid"
# | #define PACKAGE_VERSION "2.0.27"
# | #define PACKAGE_STRING "acpid 2.0.27"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "acpid"
# | #define VERSION "2.0.27"
# | /* end confdefs.h. */
# | #include
# configure:4483: checking for grep that handles long lines and -e
# configure:4541: result: /usr/sbin/grep
# configure:4546: checking for egrep
# configure:4608: result: /usr/sbin/grep -E
# configure:4613: checking for ANSI C header files
# configure:4633: clang -c conftest.c >&5
# configure:4633: $? = 0
# configure:4717: result: yes
# configure:4730: checking for sys/types.h
# configure:4730: clang -c conftest.c >&5
# configure:4730: $? = 0
# configure:4730: result: yes
# configure:4730: checking for sys/stat.h
# configure:4730: clang -c conftest.c >&5
# configure:4730: $? = 0
# configure:4730: result: yes
# configure:4730: checking for stdlib.h
# configure:4730: clang -c conftest.c >&5
# configure:4730: $? = 0
# configure:4730: result: yes
# configure:4730: checking for string.h
# configure:4730: clang -c conftest.c >&5
# configure:4730: $? = 0
# configure:4730: result: yes
# configure:4730: checking for memory.h
# configure:4730: clang -c conftest.c >&5
# configure:4730: $? = 0
# configure:4730: result: yes
# configure:4730: checking for strings.h
# configure:4730: clang -c conftest.c >&5
# configure:4730: $? = 0
# configure:4730: result: yes
# configure:4730: checking for inttypes.h
# configure:4730: clang -c conftest.c >&5
# configure:4730: $? = 0
# configure:4730: result: yes
# configure:4730: checking for stdint.h
# configure:4730: clang -c conftest.c >&5
# configure:4730: $? = 0
# configure:4730: result: yes
# configure:4730: checking for unistd.h
# configure:4730: clang -c conftest.c >&5
# configure:4730: $? = 0
# configure:4730: result: yes
# configure:4743: checking minix/config.h usability
# configure:4743: clang -c conftest.c >&5
# conftest.c:54:10: fatal error: 'minix/config.h' file not found
# #include
# ^
# 1 error generated.
# configure:4743: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "acpid"
# | #define PACKAGE_TARNAME "acpid"
# | #define PACKAGE_VERSION "2.0.27"
# | #define PACKAGE_STRING "acpid 2.0.27"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "acpid"
# | #define VERSION "2.0.27"
# | #define STDC_HEADERS 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
# | /* 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
# | #include
# configure:4743: result: no
# configure:4743: checking minix/config.h presence
# configure:4743: clang -E conftest.c
# conftest.c:21:10: fatal error: 'minix/config.h' file not found
# #include
# ^
# 1 error generated.
# configure:4743: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "acpid"
# | #define PACKAGE_TARNAME "acpid"
# | #define PACKAGE_VERSION "2.0.27"
# | #define PACKAGE_STRING "acpid 2.0.27"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "acpid"
# | #define VERSION "2.0.27"
# | #define STDC_HEADERS 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
# | /* end confdefs.h. */
# | #include
# configure:4743: result: no
# configure:4743: checking for minix/config.h
# configure:4743: result: no
# configure:4764: checking whether it is safe to define __EXTENSIONS__
# configure:4782: clang -c conftest.c >&5
# configure:4782: $? = 0
# configure:4789: result: yes
# configure:4810: checking for special C compiler options needed for large files
# configure:4855: result: no
# configure:4861: checking for _FILE_OFFSET_BITS value needed for large files
# configure:4886: clang -c conftest.c >&5
# configure:4886: $? = 0
# configure:4918: result: no
# configure:5004: checking whether make sets $(MAKE)
# configure:5026: result: yes
# configure:5042: checking arpa/inet.h usability
# configure:5042: clang -c conftest.c >&5
# configure:5042: $? = 0
# configure:5042: result: yes
# configure:5042: checking arpa/inet.h presence
# configure:5042: clang -E conftest.c
# configure:5042: $? = 0
# configure:5042: result: yes
# configure:5042: checking for arpa/inet.h
# configure:5042: result: yes
# configure:5042: checking fcntl.h usability
# configure:5042: clang -c conftest.c >&5
# configure:5042: $? = 0
# configure:5042: result: yes
# configure:5042: checking fcntl.h presence
# configure:5042: clang -E conftest.c
# configure:5042: $? = 0
# configure:5042: result: yes
# configure:5042: checking for fcntl.h
# configure:5042: result: yes
# configure:5042: checking malloc.h usability
# configure:5042: clang -c conftest.c >&5
# configure:5042: $? = 0
# configure:5042: result: yes
# configure:5042: checking malloc.h presence
# configure:5042: clang -E conftest.c
# configure:5042: $? = 0
# configure:5042: result: yes
# configure:5042: checking for malloc.h
# configure:5042: result: yes
# configure:5042: checking netinet/in.h usability
# configure:5042: clang -c conftest.c >&5
# configure:5042: $? = 0
# configure:5042: result: yes
# configure:5042: checking netinet/in.h presence
# configure:5042: clang -E conftest.c
# configure:5042: $? = 0
# configure:5042: result: yes
# configure:5042: checking for netinet/in.h
# configure:5042: result: yes
# configure:5042: checking for stdlib.h
# configure:5042: result: yes
# configure:5042: checking for string.h
# configure:5042: result: yes
# configure:5042: checking sys/ioctl.h usability
# configure:5042: clang -c conftest.c >&5
# configure:5042: $? = 0
# configure:5042: result: yes
# configure:5042: checking sys/ioctl.h presence
# configure:5042: clang -E conftest.c
# configure:5042: $? = 0
# configure:5042: result: yes
# configure:5042: checking for sys/ioctl.h
# configure:5042: result: yes
# configure:5042: checking sys/socket.h usability
# configure:5042: clang -c conftest.c >&5
# configure:5042: $? = 0
# configure:5042: result: yes
# configure:5042: checking sys/socket.h presence
# configure:5042: clang -E conftest.c
# configure:5042: $? = 0
# configure:5042: result: yes
# configure:5042: checking for sys/socket.h
# configure:5042: result: yes
# configure:5042: checking syslog.h usability
# configure:5042: clang -c conftest.c >&5
# configure:5042: $? = 0
# configure:5042: result: yes
# configure:5042: checking syslog.h presence
# configure:5042: clang -E conftest.c
# configure:5042: $? = 0
# configure:5042: result: yes
# configure:5042: checking for syslog.h
# configure:5042: result: yes
# configure:5042: checking for unistd.h
# configure:5042: result: yes
# configure:5054: checking for mode_t
# configure:5054: clang -c conftest.c >&5
# configure:5054: $? = 0
# configure:5054: clang -c conftest.c >&5
# conftest.c:72:21: error: expected expression
# if (sizeof ((mode_t)))
# ^
# 1 error generated.
# configure:5054: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "acpid"
# | #define PACKAGE_TARNAME "acpid"
# | #define PACKAGE_VERSION "2.0.27"
# | #define PACKAGE_STRING "acpid 2.0.27"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "acpid"
# | #define VERSION "2.0.27"
# | #define STDC_HEADERS 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 __EXTENSIONS__ 1
# | #define _ALL_SOURCE 1
# | #define _GNU_SOURCE 1
# | #define _POSIX_PTHREAD_SEMANTICS 1
# | #define _TANDEM_SOURCE 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_SOCKET_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 ((mode_t)))
# | return 0;
# | ;
# | return 0;
# | }
# configure:5054: result: yes
# configure:5065: checking for pid_t
# configure:5065: clang -c conftest.c >&5
# configure:5065: $? = 0
# configure:5065: clang -c conftest.c >&5
# conftest.c:72:20: error: expected expression
# if (sizeof ((pid_t)))
# ^
# 1 error generated.
# configure:5065: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "acpid"
# | #define PACKAGE_TARNAME "acpid"
# | #define PACKAGE_VERSION "2.0.27"
# | #define PACKAGE_STRING "acpid 2.0.27"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "acpid"
# | #define VERSION "2.0.27"
# | #define STDC_HEADERS 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 __EXTENSIONS__ 1
# | #define _ALL_SOURCE 1
# | #define _GNU_SOURCE 1
# | #define _POSIX_PTHREAD_SEMANTICS 1
# | #define _TANDEM_SOURCE 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_SOCKET_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:5065: result: yes
# configure:5076: checking for size_t
# configure:5076: clang -c conftest.c >&5
# configure:5076: $? = 0
# configure:5076: clang -c conftest.c >&5
# conftest.c:72:21: error: expected expression
# if (sizeof ((size_t)))
# ^
# 1 error generated.
# configure:5076: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "acpid"
# | #define PACKAGE_TARNAME "acpid"
# | #define PACKAGE_VERSION "2.0.27"
# | #define PACKAGE_STRING "acpid 2.0.27"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "acpid"
# | #define VERSION "2.0.27"
# | #define STDC_HEADERS 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 __EXTENSIONS__ 1
# | #define _ALL_SOURCE 1
# | #define _GNU_SOURCE 1
# | #define _POSIX_PTHREAD_SEMANTICS 1
# | #define _TANDEM_SOURCE 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_SOCKET_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:5076: result: yes
# configure:5087: checking for ssize_t
# configure:5087: clang -c conftest.c >&5
# configure:5087: $? = 0
# configure:5087: clang -c conftest.c >&5
# conftest.c:72:22: error: expected expression
# if (sizeof ((ssize_t)))
# ^
# 1 error generated.
# configure:5087: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "acpid"
# | #define PACKAGE_TARNAME "acpid"
# | #define PACKAGE_VERSION "2.0.27"
# | #define PACKAGE_STRING "acpid 2.0.27"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "acpid"
# | #define VERSION "2.0.27"
# | #define STDC_HEADERS 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 __EXTENSIONS__ 1
# | #define _ALL_SOURCE 1
# | #define _GNU_SOURCE 1
# | #define _POSIX_PTHREAD_SEMANTICS 1
# | #define _TANDEM_SOURCE 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_SOCKET_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 ((ssize_t)))
# | return 0;
# | ;
# | return 0;
# | }
# configure:5087: result: yes
# configure:5102: checking vfork.h usability
# configure:5102: clang -c conftest.c >&5
# conftest.c:69:10: fatal error: 'vfork.h' file not found
# #include
# ^
# 1 error generated.
# configure:5102: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "acpid"
# | #define PACKAGE_TARNAME "acpid"
# | #define PACKAGE_VERSION "2.0.27"
# | #define PACKAGE_STRING "acpid 2.0.27"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "acpid"
# | #define VERSION "2.0.27"
# | #define STDC_HEADERS 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 __EXTENSIONS__ 1
# | #define _ALL_SOURCE 1
# | #define _GNU_SOURCE 1
# | #define _POSIX_PTHREAD_SEMANTICS 1
# | #define _TANDEM_SOURCE 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_SOCKET_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
# | #include
# configure:5102: result: no
# configure:5102: checking vfork.h presence
# configure:5102: clang -E conftest.c
# conftest.c:36:10: fatal error: 'vfork.h' file not found
# #include
# ^
# 1 error generated.
# configure:5102: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "acpid"
# | #define PACKAGE_TARNAME "acpid"
# | #define PACKAGE_VERSION "2.0.27"
# | #define PACKAGE_STRING "acpid 2.0.27"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "acpid"
# | #define VERSION "2.0.27"
# | #define STDC_HEADERS 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 __EXTENSIONS__ 1
# | #define _ALL_SOURCE 1
# | #define _GNU_SOURCE 1
# | #define _POSIX_PTHREAD_SEMANTICS 1
# | #define _TANDEM_SOURCE 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYSLOG_H 1
# | #define HAVE_UNISTD_H 1
# | /* end confdefs.h. */
# | #include
# configure:5102: result: no
# configure:5102: checking for vfork.h
# configure:5102: result: no
# configure:5115: checking for fork
# configure:5115: clang -o conftest conftest.c >&5
# configure:5115: $? = 0
# configure:5115: result: yes
# configure:5115: checking for vfork
# configure:5115: clang -o conftest conftest.c >&5
# conftest.c:60:6: warning: incompatible redeclaration of library function 'vfork' [-Wincompatible-library-redeclaration]
# char vfork ();
# ^
# conftest.c:60:6: note: 'vfork' is a builtin with type 'int (void)'
# 1 warning generated.
# configure:5115: $? = 0
# configure:5115: result: yes
# configure:5125: checking for working fork
# configure:5157: result: cross
# configure:5173: WARNING: result yes guessed because of cross compilation
# configure:5178: checking for working vfork
# configure:5288: result: yes
# configure:5315: checking for stdlib.h
# configure:5315: result: yes
# configure:5325: checking for GNU libc compatible malloc
# configure:5359: result: no
# configure:5382: checking for stdlib.h
# configure:5382: result: yes
# configure:5392: checking for GNU libc compatible realloc
# configure:5426: result: no
# configure:5451: checking build system type
# configure:5465: result: x86_64-unknown-linux-gnu
# configure:5485: checking host system type
# configure:5498: result: x86_64-unknown-linux-gnu
# configure:5518: checking for working strnlen
# configure:5566: result: yes
# configure:5575: checking for fchown
# configure:5575: clang -o conftest conftest.c >&5
# configure:5575: $? = 0
# configure:5575: result: yes
# configure:5584: checking for chmod
# configure:5584: clang -o conftest conftest.c >&5
# configure:5584: $? = 0
# configure:5584: result: yes
# configure:5593: checking for fstat
# configure:5593: clang -o conftest conftest.c >&5
# configure:5593: $? = 0
# configure:5593: result: yes
# configure:5602: checking for fstatat
# configure:5602: clang -o conftest conftest.c >&5
# configure:5602: $? = 0
# configure:5602: result: yes
# configure:5611: checking for openat
# configure:5611: clang -o conftest conftest.c >&5
# configure:5611: $? = 0
# configure:5611: result: yes
# configure:5620: checking for asprintf
# configure:5620: clang -o conftest conftest.c >&5
# conftest.c:85:18: warning: format string missing [-Wformat]
# return asprintf ();
# ~~~~~~~~ ^
# 1 warning generated.
# configure:5620: $? = 0
# configure:5620: result: yes
# configure:5633: checking for alarm
# configure:5633: clang -o conftest conftest.c >&5
# configure:5633: $? = 0
# configure:5633: result: yes
# configure:5633: checking for dup2
# configure:5633: clang -o conftest conftest.c >&5
# configure:5633: $? = 0
# configure:5633: result: yes
# configure:5633: checking for isfdtype
# configure:5633: clang -o conftest conftest.c >&5
# /tmp/conftest-1381c8.o:conftest.c:function main: error: undefined reference to 'isfdtype'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:5633: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "acpid"
# | #define PACKAGE_TARNAME "acpid"
# | #define PACKAGE_VERSION "2.0.27"
# | #define PACKAGE_STRING "acpid 2.0.27"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "acpid"
# | #define VERSION "2.0.27"
# | #define STDC_HEADERS 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 __EXTENSIONS__ 1
# | #define _ALL_SOURCE 1
# | #define _GNU_SOURCE 1
# | #define _POSIX_PTHREAD_SEMANTICS 1
# | #define _TANDEM_SOURCE 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYSLOG_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FORK 1
# | #define HAVE_VFORK 1
# | #define HAVE_WORKING_VFORK 1
# | #define HAVE_WORKING_FORK 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_MALLOC 0
# | #define malloc rpl_malloc
# | #define HAVE_STDLIB_H 1
# | #define HAVE_REALLOC 0
# | #define realloc rpl_realloc
# | #define HAVE_FCHOWN 1
# | #define HAVE_CHMOD 1
# | #define HAVE_FSTAT 1
# | #define HAVE_FSTATAT 1
# | #define HAVE_OPENAT 1
# | #define HAVE_ASPRINTF 1
# | #define HAVE_ALARM 1
# | #define HAVE_DUP2 1
# | /* end confdefs.h. */
# | /* Define isfdtype to an innocuous variant, in case declares isfdtype.
# | For example, HP-UX 11i declares gettimeofday. */
# | #define isfdtype innocuous_isfdtype
# |
# | /* System header to define __stub macros and hopefully few prototypes,
# | which can conflict with char isfdtype (); below.
# | Prefer to if __STDC__ is defined, since
# | exists even on freestanding compilers. */
# |
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# |
# | #undef isfdtype
# |
# | /* 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 isfdtype ();
# | /* 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_isfdtype || defined __stub___isfdtype
# | choke me
# | #endif
# |
# | int
# | main ()
# | {
# | return isfdtype ();
# | ;
# | return 0;
# | }
# configure:5633: result: no
# configure:5633: checking for memset
# configure:5633: clang -o conftest conftest.c >&5
# conftest.c:77:6: warning: incompatible redeclaration of library function 'memset' [-Wincompatible-library-redeclaration]
# char memset ();
# ^
# conftest.c:77:6: note: 'memset' is a builtin with type 'void *(void *, int, unsigned long)'
# 1 warning generated.
# configure:5633: $? = 0
# configure:5633: result: yes
# configure:5633: checking for regcomp
# configure:5633: clang -o conftest conftest.c >&5
# configure:5633: $? = 0
# configure:5633: result: yes
# configure:5633: checking for select
# configure:5633: clang -o conftest conftest.c >&5
# configure:5633: $? = 0
# configure:5633: result: yes
# configure:5633: checking for socket
# configure:5633: clang -o conftest conftest.c >&5
# configure:5633: $? = 0
# configure:5633: result: yes
# configure:5633: checking for strcasecmp
# configure:5633: clang -o conftest conftest.c >&5
# conftest.c:81:6: warning: incompatible redeclaration of library function 'strcasecmp' [-Wincompatible-library-redeclaration]
# char strcasecmp ();
# ^
# conftest.c:81:6: note: 'strcasecmp' is a builtin with type 'int (const char *, const char *)'
# 1 warning generated.
# configure:5633: $? = 0
# configure:5633: result: yes
# configure:5633: checking for strdup
# configure:5633: clang -o conftest conftest.c >&5
# conftest.c:82:6: warning: incompatible redeclaration of library function 'strdup' [-Wincompatible-library-redeclaration]
# char strdup ();
# ^
# conftest.c:82:6: note: 'strdup' is a builtin with type 'char *(const char *)'
# 1 warning generated.
# configure:5633: $? = 0
# configure:5633: result: yes
# configure:5633: checking for strerror
# configure:5633: clang -o conftest conftest.c >&5
# conftest.c:83:6: warning: incompatible redeclaration of library function 'strerror' [-Wincompatible-library-redeclaration]
# char strerror ();
# ^
# conftest.c:83:6: note: 'strerror' is a builtin with type 'char *(int)'
# 1 warning generated.
# configure:5633: $? = 0
# configure:5633: result: yes
# configure:5633: checking for strrchr
# configure:5633: clang -o conftest conftest.c >&5
# conftest.c:84:6: warning: incompatible redeclaration of library function 'strrchr' [-Wincompatible-library-redeclaration]
# char strrchr ();
# ^
# conftest.c:84:6: note: 'strrchr' is a builtin with type 'char *(const char *, int)'
# 1 warning generated.
# configure:5633: $? = 0
# configure:5633: result: yes
# configure:5633: checking for strtol
# configure:5633: clang -o conftest conftest.c >&5
# configure:5633: $? = 0
# configure:5633: result: yes
# configure:5759: checking that generated files are newer than configure
# configure:5765: result: done
# configure:5792: creating ./config.status
#
# ## ---------------------- ##
# ## Running config.status. ##
# ## ---------------------- ##
#
# This file was extended by acpid config.status 2.0.27, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# CONFIG_FILES =
# CONFIG_HEADERS =
# CONFIG_LINKS =
# CONFIG_COMMANDS =
# $ ./config.status
#
# on 0346e559b361
#
# config.status:906: creating Makefile
# config.status:906: creating kacpimon/Makefile
# config.status:906: creating config.h
# config.status:1135: executing depfiles commands
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_build=x86_64-unknown-linux-gnu
# ac_cv_c_compiler_gnu=yes
# 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_alarm=yes
# ac_cv_func_asprintf=yes
# ac_cv_func_chmod=yes
# ac_cv_func_dup2=yes
# ac_cv_func_fchown=yes
# ac_cv_func_fork=yes
# ac_cv_func_fork_works=yes
# ac_cv_func_fstat=yes
# ac_cv_func_fstatat=yes
# ac_cv_func_isfdtype=no
# ac_cv_func_malloc_0_nonnull=no
# ac_cv_func_memset=yes
# ac_cv_func_openat=yes
# ac_cv_func_realloc_0_nonnull=no
# ac_cv_func_regcomp=yes
# ac_cv_func_select=yes
# ac_cv_func_socket=yes
# ac_cv_func_strcasecmp=yes
# ac_cv_func_strdup=yes
# ac_cv_func_strerror=yes
# ac_cv_func_strnlen_working=yes
# ac_cv_func_strrchr=yes
# ac_cv_func_strtol=yes
# ac_cv_func_vfork=yes
# ac_cv_func_vfork_works=yes
# ac_cv_header_arpa_inet_h=yes
# ac_cv_header_fcntl_h=yes
# ac_cv_header_inttypes_h=yes
# ac_cv_header_malloc_h=yes
# ac_cv_header_memory_h=yes
# ac_cv_header_minix_config_h=no
# ac_cv_header_netinet_in_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_socket_h=yes
# ac_cv_header_sys_stat_h=yes
# ac_cv_header_sys_types_h=yes
# ac_cv_header_syslog_h=yes
# ac_cv_header_unistd_h=yes
# ac_cv_header_vfork_h=no
# ac_cv_host=x86_64-unknown-linux-gnu
# ac_cv_objext=o
# ac_cv_path_EGREP='/usr/sbin/grep -E'
# ac_cv_path_GREP=/usr/sbin/grep
# 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_c99=
# ac_cv_prog_cc_g=yes
# ac_cv_prog_cc_stdc=
# ac_cv_prog_make_make_set=yes
# ac_cv_safe_to_define___extensions__=yes
# ac_cv_sys_file_offset_bits=no
# ac_cv_sys_largefile_CC=no
# ac_cv_type_mode_t=yes
# ac_cv_type_pid_t=yes
# ac_cv_type_size_t=yes
# ac_cv_type_ssize_t=yes
# am_cv_CC_dependencies_compiler_type=gcc3
# am_cv_make_support_nested_variables=yes
# am_cv_prog_cc_c_o=yes
# am_cv_prog_tar_pax=gnutar
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# ACLOCAL='${SHELL} /tmp/acpid/src/acpid-2.0.27/build-aux/missing aclocal-1.15'
# 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/acpid/src/acpid-2.0.27/build-aux/missing autoconf'
# AUTOHEADER='${SHELL} /tmp/acpid/src/acpid-2.0.27/build-aux/missing autoheader'
# AUTOMAKE='${SHELL} /tmp/acpid/src/acpid-2.0.27/build-aux/missing automake-1.15'
# AWK='gawk'
# CC='clang'
# CCDEPMODE='depmode=gcc3'
# CFLAGS=''
# 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=' ${LIBOBJDIR}malloc$U.o ${LIBOBJDIR}realloc$U.o'
# LIBS=''
# LTLIBOBJS=' ${LIBOBJDIR}malloc$U.lo ${LIBOBJDIR}realloc$U.lo'
# MAINT='#'
# MAINTAINER_MODE_FALSE=''
# MAINTAINER_MODE_TRUE='#'
# MAKEINFO='${SHELL} /tmp/acpid/src/acpid-2.0.27/build-aux/missing makeinfo'
# MKDIR_P='/usr/sbin/mkdir -p'
# OBJEXT='o'
# PACKAGE='acpid'
# PACKAGE_BUGREPORT=''
# PACKAGE_NAME='acpid'
# PACKAGE_STRING='acpid 2.0.27'
# PACKAGE_TARNAME='acpid'
# PACKAGE_URL=''
# PACKAGE_VERSION='2.0.27'
# PATH_SEPARATOR=':'
# SET_MAKE=''
# SHELL='/bin/sh'
# STRIP='strip'
# VERSION='2.0.27'
# 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 --format=posix -chf - "$$tardir"'
# am__untar='tar -xf -'
# bindir='${exec_prefix}/bin'
# build='x86_64-unknown-linux-gnu'
# build_alias=''
# build_cpu='x86_64'
# build_os='linux-gnu'
# build_vendor='unknown'
# datadir='${datarootdir}'
# datarootdir='${prefix}/share'
# docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
# dvidir='${docdir}'
# exec_prefix='${prefix}'
# host='x86_64-unknown-linux-gnu'
# host_alias='x86_64-unknown-linux'
# host_cpu='x86_64'
# host_os='linux-gnu'
# host_vendor='unknown'
# htmldir='${docdir}'
# includedir='${prefix}/include'
# infodir='${datarootdir}/info'
# install_sh='${SHELL} /tmp/acpid/src/acpid-2.0.27/build-aux/install-sh'
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localedir='${datarootdir}/locale'
# localstatedir='${prefix}/var'
# mandir='${datarootdir}/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='${prefix}/etc'
# target_alias=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# /* confdefs.h */
# #define PACKAGE_NAME "acpid"
# #define PACKAGE_TARNAME "acpid"
# #define PACKAGE_VERSION "2.0.27"
# #define PACKAGE_STRING "acpid 2.0.27"
# #define PACKAGE_BUGREPORT ""
# #define PACKAGE_URL ""
# #define PACKAGE "acpid"
# #define VERSION "2.0.27"
# #define STDC_HEADERS 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 __EXTENSIONS__ 1
# #define _ALL_SOURCE 1
# #define _GNU_SOURCE 1
# #define _POSIX_PTHREAD_SEMANTICS 1
# #define _TANDEM_SOURCE 1
# #define HAVE_ARPA_INET_H 1
# #define HAVE_FCNTL_H 1
# #define HAVE_MALLOC_H 1
# #define HAVE_NETINET_IN_H 1
# #define HAVE_STDLIB_H 1
# #define HAVE_STRING_H 1
# #define HAVE_SYS_IOCTL_H 1
# #define HAVE_SYS_SOCKET_H 1
# #define HAVE_SYSLOG_H 1
# #define HAVE_UNISTD_H 1
# #define HAVE_FORK 1
# #define HAVE_VFORK 1
# #define HAVE_WORKING_VFORK 1
# #define HAVE_WORKING_FORK 1
# #define HAVE_STDLIB_H 1
# #define HAVE_MALLOC 0
# #define malloc rpl_malloc
# #define HAVE_STDLIB_H 1
# #define HAVE_REALLOC 0
# #define realloc rpl_realloc
# #define HAVE_FCHOWN 1
# #define HAVE_CHMOD 1
# #define HAVE_FSTAT 1
# #define HAVE_FSTATAT 1
# #define HAVE_OPENAT 1
# #define HAVE_ASPRINTF 1
# #define HAVE_ALARM 1
# #define HAVE_DUP2 1
# #define HAVE_MEMSET 1
# #define HAVE_REGCOMP 1
# #define HAVE_SELECT 1
# #define HAVE_SOCKET 1
# #define HAVE_STRCASECMP 1
# #define HAVE_STRDUP 1
# #define HAVE_STRERROR 1
# #define HAVE_STRRCHR 1
# #define HAVE_STRTOL 1
#
# configure: exit 0