Build of libpng with musl toolchain

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

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

SLOCLanguage
52,842 ansic
4,888 sh
782 awk
275 makefile
205 asm
58,992 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: libpng 1.6.23-1 (Wed Apr 5 01:25:37 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 to enable maintainer-specific portions of Makefiles... no
# 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 dependency style of clang... gcc3
# checking build system type... x86_64-unknown-linux-gnu
# checking host system type... x86_64-unknown-linux-gnu
# checking for a sed that does not truncate output... /usr/sbin/sed
# checking for grep that handles long lines and -e... /usr/sbin/grep
# checking for egrep... /usr/sbin/grep -E
# checking for fgrep... /usr/sbin/grep -F
# checking how to print strings... printf
# checking for ld used by clang... /sysroot/bin/ld
# checking if the linker (/sysroot/bin/ld) is GNU ld... yes
# checking how to run the C preprocessor... clang -E
# checking for gawk... (cached) gawk
# checking whether ln -s works... yes
# checking whether make sets $(MAKE)... (cached) yes
# checking for BSD- or MS-compatible name lister (nm)... /sysroot/bin/nm -B
# checking the name lister (/sysroot/bin/nm -B) interface... BSD nm
# checking the maximum length of command line arguments... 1572864
# checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
# checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
# checking for /sysroot/bin/ld option to reload object files... -r
# checking for x86_64-unknown-linux-objdump... no
# checking for objdump... objdump
# configure: WARNING: using cross tools not prefixed with host triplet
# checking how to recognize dependent libraries... pass_all
# checking for x86_64-unknown-linux-dlltool... no
# checking for dlltool... no
# checking how to associate runtime and link libraries... printf %s\n
# checking for x86_64-unknown-linux-ar... no
# checking for ar... ar
# checking for archiver @FILE support... @
# checking for x86_64-unknown-linux-strip... strip
# checking for x86_64-unknown-linux-ranlib... no
# checking for ranlib... ranlib
# checking command to parse /sysroot/bin/nm -B output from clang object... ok
# checking for sysroot... no
# checking for a working dd... /usr/sbin/dd
# checking how to truncate binary pipes... /usr/sbin/dd bs=4096 count=1
# checking for x86_64-unknown-linux-mt... no
# checking for mt... no
# checking if : is a manifest tool... no
# 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 for dlfcn.h... yes
# checking for objdir... .libs
# checking if clang supports -fno-rtti -fno-exceptions... yes
# checking for clang option to produce PIC... -fPIC -DPIC
# checking if clang PIC flag -fPIC -DPIC works... yes
# checking if clang static flag -static works... no
# checking if clang supports -c -o file.o... yes
# checking if clang supports -c -o file.o... (cached) yes
# checking whether the clang linker (/sysroot/bin/ld -m elf_x86_64) supports shared libraries... yes
# checking whether -lc should be explicitly linked in... no
# checking dynamic linker characteristics... GNU/Linux ld.so
# checking how to hardcode library paths into programs... immediate
# checking whether stripping libraries is possible... yes
# checking if libtool supports shared libraries... yes
# checking whether to build shared libraries... yes
# checking whether to build static libraries... no
# checking that AWK works... ok
# checking if we need to force back C standard to C89... no
# checking for ANSI C header files... (cached) yes
# checking for an ANSI C-conforming const... yes
# checking for size_t... yes
# checking whether struct tm is in sys/time.h or time.h... time.h
# checking for C/C++ restrict keyword... __restrict
# checking for working strtod... no
# checking for pow... yes
# checking for memset... yes
# checking for pow... (cached) yes
# checking for clock_gettime... yes
# checking for zlibVersion in -lz... no
# checking for z_zlibVersion in -lz... no
# configure: error: zlib not installed
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/libpng/src/libpng-1.6.23/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 libpng configure 1.6.23, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure --host=x86_64-unknown-linux --prefix=/usr --disable-static
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 057eb601d472
# 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:2329: checking for a BSD-compatible install
# configure:2397: result: /usr/bin/install -c
# configure:2408: checking whether build environment is sane
# configure:2463: result: yes
# configure:2522: checking for x86_64-unknown-linux-strip
# configure:2552: result: no
# configure:2562: checking for strip
# configure:2578: found /sysroot/bin/strip
# configure:2589: result: strip
# configure:2614: checking for a thread-safe mkdir -p
# configure:2653: result: /usr/sbin/mkdir -p
# configure:2660: checking for gawk
# configure:2676: found /usr/sbin/gawk
# configure:2687: result: gawk
# configure:2698: checking whether make sets $(MAKE)
# configure:2720: result: yes
# configure:2749: checking whether make supports nested variables
# configure:2766: result: yes
# configure:2896: checking whether to enable maintainer-specific portions of Makefiles
# configure:2905: result: no
# configure:2945: checking for x86_64-unknown-linux-gcc
# configure:2972: result: clang
# configure:3241: checking for C compiler version
# configure:3250: clang --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:3261: $? = 0
# configure:3250: 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:3261: $? = 0
# configure:3250: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:3261: $? = 1
# configure:3250: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:3261: $? = 1
# configure:3281: checking whether the C compiler works
# configure:3303: clang conftest.c >&5
# configure:3307: $? = 0
# configure:3355: result: yes
# configure:3358: checking for C compiler default output file name
# configure:3360: result: a.out
# configure:3366: checking for suffix of executables
# configure:3373: clang -o conftest conftest.c >&5
# configure:3377: $? = 0
# configure:3399: result:
# configure:3421: checking whether we are cross compiling
# configure:3429: clang -o conftest conftest.c >&5
# configure:3433: $? = 0
# configure:3440: ./conftest
# ./conftest: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# configure:3444: $? = 127
# configure:3459: result: yes
# configure:3464: checking for suffix of object files
# configure:3486: clang -c conftest.c >&5
# configure:3490: $? = 0
# configure:3511: result: o
# configure:3515: checking whether we are using the GNU C compiler
# configure:3534: clang -c conftest.c >&5
# configure:3534: $? = 0
# configure:3543: result: yes
# configure:3552: checking whether clang accepts -g
# configure:3572: clang -c -g conftest.c >&5
# configure:3572: $? = 0
# configure:3613: result: yes
# configure:3630: checking for clang option to accept ISO C89
# configure:3693: clang -c conftest.c >&5
# configure:3693: $? = 0
# configure:3706: result: none needed
# configure:3731: checking whether clang understands -c and -o together
# configure:3753: clang -c conftest.c -o conftest2.o
# configure:3756: $? = 0
# configure:3753: clang -c conftest.c -o conftest2.o
# configure:3756: $? = 0
# configure:3768: result: yes
# configure:3796: checking for style of include used by make
# configure:3824: result: GNU
# configure:3850: checking dependency style of clang
# configure:3961: result: gcc3
# configure:3985: checking dependency style of clang
# configure:4094: result: gcc3
# configure:4113: checking build system type
# configure:4127: result: x86_64-unknown-linux-gnu
# configure:4147: checking host system type
# configure:4160: result: x86_64-unknown-linux-gnu
# configure:4180: checking for a sed that does not truncate output
# configure:4244: result: /usr/sbin/sed
# configure:4262: checking for grep that handles long lines and -e
# configure:4320: result: /usr/sbin/grep
# configure:4325: checking for egrep
# configure:4387: result: /usr/sbin/grep -E
# configure:4392: checking for fgrep
# configure:4454: result: /usr/sbin/grep -F
# configure:4481: checking how to print strings
# configure:4508: result: printf
# configure:4541: checking for ld used by clang
# configure:4608: result: /sysroot/bin/ld
# configure:4615: checking if the linker (/sysroot/bin/ld) is GNU ld
# configure:4630: result: yes
# configure:4647: checking how to run the C preprocessor
# configure:4678: clang -E conftest.c
# configure:4678: $? = 0
# configure:4692: clang -E conftest.c
# conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:4692: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libpng"
# | #define PACKAGE_TARNAME "libpng"
# | #define PACKAGE_VERSION "1.6.23"
# | #define PACKAGE_STRING "libpng 1.6.23"
# | #define PACKAGE_BUGREPORT "png-mng-implement@lists.sourceforge.net"
# | #define PACKAGE_URL ""
# | #define PACKAGE "libpng"
# | #define VERSION "1.6.23"
# | /* end confdefs.h. */
# | #include
# configure:4717: result: clang -E
# configure:4737: clang -E conftest.c
# configure:4737: $? = 0
# configure:4751: clang -E conftest.c
# conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:4751: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libpng"
# | #define PACKAGE_TARNAME "libpng"
# | #define PACKAGE_VERSION "1.6.23"
# | #define PACKAGE_STRING "libpng 1.6.23"
# | #define PACKAGE_BUGREPORT "png-mng-implement@lists.sourceforge.net"
# | #define PACKAGE_URL ""
# | #define PACKAGE "libpng"
# | #define VERSION "1.6.23"
# | /* end confdefs.h. */
# | #include
# configure:4783: checking for gawk
# configure:4810: result: gawk
# configure:4822: checking whether ln -s works
# configure:4826: result: yes
# configure:4833: checking whether make sets $(MAKE)
# configure:4855: result: yes
# configure:4907: checking for BSD- or MS-compatible name lister (nm)
# configure:4961: result: /sysroot/bin/nm -B
# configure:5091: checking the name lister (/sysroot/bin/nm -B) interface
# configure:5098: clang -c conftest.c >&5
# configure:5101: /sysroot/bin/nm -B "conftest.o"
# configure:5104: output
# 0000000000000000 B some_variable
# configure:5111: result: BSD nm
# configure:5115: checking the maximum length of command line arguments
# configure:5246: result: 1572864
# configure:5294: checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format
# configure:5334: result: func_convert_file_noop
# configure:5341: checking how to convert x86_64-unknown-linux-gnu file names to toolchain format
# configure:5361: result: func_convert_file_noop
# configure:5368: checking for /sysroot/bin/ld option to reload object files
# configure:5375: result: -r
# configure:5409: checking for x86_64-unknown-linux-objdump
# configure:5439: result: no
# configure:5449: checking for objdump
# configure:5465: found /sysroot/bin/objdump
# configure:5476: result: objdump
# configure:5488: WARNING: using cross tools not prefixed with host triplet
# configure:5505: checking how to recognize dependent libraries
# configure:5705: result: pass_all
# configure:5750: checking for x86_64-unknown-linux-dlltool
# configure:5780: result: no
# configure:5790: checking for dlltool
# configure:5820: result: no
# configure:5847: checking how to associate runtime and link libraries
# configure:5874: result: printf %s\n
# configure:5891: checking for x86_64-unknown-linux-ar
# configure:5921: result: no
# configure:5935: checking for ar
# configure:5951: found /sysroot/bin/ar
# configure:5962: result: ar
# configure:5999: checking for archiver @FILE support
# configure:6016: clang -c conftest.c >&5
# configure:6016: $? = 0
# configure:6019: ar cru libconftest.a @conftest.lst >&5
# /r: `u' modifier ignored since `D' is the default (see `U')
# configure:6022: $? = 0
# configure:6027: ar cru libconftest.a @conftest.lst >&5
# /r: `u' modifier ignored since `D' is the default (see `U')
# /r: conftest.o: No such file or directory
# configure:6030: $? = 1
# configure:6042: result: @
# configure:6060: checking for x86_64-unknown-linux-strip
# configure:6087: result: strip
# configure:6159: checking for x86_64-unknown-linux-ranlib
# configure:6189: result: no
# configure:6199: checking for ranlib
# configure:6215: found /sysroot/bin/ranlib
# configure:6226: result: ranlib
# configure:6328: checking command to parse /sysroot/bin/nm -B output from clang object
# configure:6481: clang -c conftest.c >&5
# configure:6484: $? = 0
# configure:6488: /sysroot/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
# configure:6491: $? = 0
# configure:6557: clang -o conftest conftest.c conftstm.o >&5
# configure:6560: $? = 0
# configure:6598: result: ok
# configure:6645: checking for sysroot
# configure:6675: result: no
# configure:6682: checking for a working dd
# configure:6720: result: /usr/sbin/dd
# configure:6724: checking how to truncate binary pipes
# configure:6739: result: /usr/sbin/dd bs=4096 count=1
# configure:6875: clang -c conftest.c >&5
# configure:6878: $? = 0
# configure:7028: checking for x86_64-unknown-linux-mt
# configure:7058: result: no
# configure:7068: checking for mt
# configure:7098: result: no
# configure:7118: checking if : is a manifest tool
# configure:7124: : '-?'
# configure:7132: result: no
# configure:7805: checking for ANSI C header files
# configure:7825: clang -c conftest.c >&5
# configure:7825: $? = 0
# configure:7909: result: yes
# configure:7922: checking for sys/types.h
# configure:7922: clang -c conftest.c >&5
# configure:7922: $? = 0
# configure:7922: result: yes
# configure:7922: checking for sys/stat.h
# configure:7922: clang -c conftest.c >&5
# configure:7922: $? = 0
# configure:7922: result: yes
# configure:7922: checking for stdlib.h
# configure:7922: clang -c conftest.c >&5
# configure:7922: $? = 0
# configure:7922: result: yes
# configure:7922: checking for string.h
# configure:7922: clang -c conftest.c >&5
# configure:7922: $? = 0
# configure:7922: result: yes
# configure:7922: checking for memory.h
# configure:7922: clang -c conftest.c >&5
# configure:7922: $? = 0
# configure:7922: result: yes
# configure:7922: checking for strings.h
# configure:7922: clang -c conftest.c >&5
# configure:7922: $? = 0
# configure:7922: result: yes
# configure:7922: checking for inttypes.h
# configure:7922: clang -c conftest.c >&5
# configure:7922: $? = 0
# configure:7922: result: yes
# configure:7922: checking for stdint.h
# configure:7922: clang -c conftest.c >&5
# configure:7922: $? = 0
# configure:7922: result: yes
# configure:7922: checking for unistd.h
# configure:7922: clang -c conftest.c >&5
# configure:7922: $? = 0
# configure:7922: result: yes
# configure:7936: checking for dlfcn.h
# configure:7936: clang -c conftest.c >&5
# configure:7936: $? = 0
# configure:7936: result: yes
# configure:8490: checking for objdir
# configure:8505: result: .libs
# configure:8769: checking if clang supports -fno-rtti -fno-exceptions
# configure:8787: clang -c -fno-rtti -fno-exceptions conftest.c >&5
# configure:8791: $? = 0
# configure:8804: result: yes
# configure:9162: checking for clang option to produce PIC
# configure:9169: result: -fPIC -DPIC
# configure:9177: checking if clang PIC flag -fPIC -DPIC works
# configure:9195: clang -c -fPIC -DPIC -DPIC conftest.c >&5
# configure:9199: $? = 0
# configure:9212: result: yes
# configure:9241: checking if clang static flag -static works
# configure:9269: result: no
# configure:9284: checking if clang supports -c -o file.o
# configure:9305: clang -c -o out/conftest2.o conftest.c >&5
# configure:9309: $? = 0
# configure:9331: result: yes
# configure:9339: checking if clang supports -c -o file.o
# configure:9386: result: yes
# configure:9419: checking whether the clang linker (/sysroot/bin/ld -m elf_x86_64) supports shared libraries
# configure:10678: result: yes
# configure:10715: checking whether -lc should be explicitly linked in
# configure:10723: clang -c conftest.c >&5
# configure:10726: $? = 0
# configure:10741: clang -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/sbin/grep -lc \>/dev/null 2\>\&1
# configure:10744: $? = 0
# configure:10758: result: no
# configure:10918: checking dynamic linker characteristics
# configure:11499: clang -o conftest -Wl,-rpath -Wl,/foo conftest.c >&5
# configure:11499: $? = 0
# configure:11736: result: GNU/Linux ld.so
# configure:11858: checking how to hardcode library paths into programs
# configure:11883: result: immediate
# configure:12431: checking whether stripping libraries is possible
# configure:12436: result: yes
# configure:12471: checking if libtool supports shared libraries
# configure:12473: result: yes
# configure:12476: checking whether to build shared libraries
# configure:12501: result: yes
# configure:12504: checking whether to build static libraries
# configure:12508: result: no
# configure:12549: checking that AWK works
# configure:12555: result: ok
# configure:12606: checking if we need to force back C standard to C89
# configure:12622: clang -c conftest.c >&5
# configure:12622: $? = 0
# configure:12623: result: no
# configure:12638: checking for ANSI C header files
# configure:12742: result: yes
# configure:12752: checking for an ANSI C-conforming const
# configure:12818: clang -c conftest.c >&5
# configure:12818: $? = 0
# configure:12825: result: yes
# configure:12833: checking for size_t
# configure:12833: clang -c conftest.c >&5
# configure:12833: $? = 0
# configure:12833: clang -c conftest.c >&5
# conftest.c:60:21: error: expected expression
# if (sizeof ((size_t)))
# ^
# 1 error generated.
# configure:12833: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libpng"
# | #define PACKAGE_TARNAME "libpng"
# | #define PACKAGE_VERSION "1.6.23"
# | #define PACKAGE_STRING "libpng 1.6.23"
# | #define PACKAGE_BUGREPORT "png-mng-implement@lists.sourceforge.net"
# | #define PACKAGE_URL ""
# | #define PACKAGE "libpng"
# | #define VERSION "1.6.23"
# | #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 HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define STDC_HEADERS 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:12833: result: yes
# configure:12844: checking whether struct tm is in sys/time.h or time.h
# configure:12864: clang -c conftest.c >&5
# configure:12864: $? = 0
# configure:12871: result: time.h
# configure:12879: checking for C/C++ restrict keyword
# configure:12904: clang -c conftest.c >&5
# configure:12904: $? = 0
# configure:12912: result: __restrict
# configure:12927: checking for working strtod
# configure:12978: result: no
# configure:12987: checking for pow
# configure:12987: clang -o conftest conftest.c >&5
# conftest.c:48:6: warning: incompatible redeclaration of library function 'pow' [-Wincompatible-library-redeclaration]
# char pow ();
# ^
# conftest.c:48:6: note: 'pow' is a builtin with type 'double (double, double)'
# 1 warning generated.
# configure:12987: $? = 0
# configure:12987: result: yes
# configure:13042: checking for memset
# configure:13042: clang -o conftest conftest.c >&5
# conftest.c:48:6: warning: incompatible redeclaration of library function 'memset' [-Wincompatible-library-redeclaration]
# char memset ();
# ^
# conftest.c:48:6: note: 'memset' is a builtin with type 'void *(void *, int, unsigned long)'
# 1 warning generated.
# configure:13042: $? = 0
# configure:13042: result: yes
# configure:13055: checking for pow
# configure:13055: result: yes
# configure:13115: checking for clock_gettime
# configure:13115: clang -o conftest conftest.c >&5
# configure:13115: $? = 0
# configure:13115: result: yes
# configure:13140: checking for zlibVersion in -lz
# configure:13165: clang -o conftest conftest.c -lz >&5
# /sysroot/bin/ld: error: cannot find -lz
# /tmp/conftest-c0b293.o:conftest.c:function main: error: undefined reference to 'zlibVersion'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:13165: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libpng"
# | #define PACKAGE_TARNAME "libpng"
# | #define PACKAGE_VERSION "1.6.23"
# | #define PACKAGE_STRING "libpng 1.6.23"
# | #define PACKAGE_BUGREPORT "png-mng-implement@lists.sourceforge.net"
# | #define PACKAGE_URL ""
# | #define PACKAGE "libpng"
# | #define VERSION "1.6.23"
# | #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 HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define STDC_HEADERS 1
# | #define restrict __restrict
# | #define HAVE_MEMSET 1
# | #define HAVE_POW 1
# | /* end confdefs.h. */
# |
# | /* 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 zlibVersion ();
# | int
# | main ()
# | {
# | return zlibVersion ();
# | ;
# | return 0;
# | }
# configure:13174: result: no
# configure:13185: checking for z_zlibVersion in -lz
# configure:13210: clang -o conftest conftest.c -lz >&5
# /sysroot/bin/ld: error: cannot find -lz
# /tmp/conftest-5dbd17.o:conftest.c:function main: error: undefined reference to 'z_zlibVersion'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:13210: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libpng"
# | #define PACKAGE_TARNAME "libpng"
# | #define PACKAGE_VERSION "1.6.23"
# | #define PACKAGE_STRING "libpng 1.6.23"
# | #define PACKAGE_BUGREPORT "png-mng-implement@lists.sourceforge.net"
# | #define PACKAGE_URL ""
# | #define PACKAGE "libpng"
# | #define VERSION "1.6.23"
# | #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 HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define STDC_HEADERS 1
# | #define restrict __restrict
# | #define HAVE_MEMSET 1
# | #define HAVE_POW 1
# | /* end confdefs.h. */
# |
# | /* 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 z_zlibVersion ();
# | int
# | main ()
# | {
# | return z_zlibVersion ();
# | ;
# | return 0;
# | }
# configure:13220: result: no
# configure:13230: error: zlib not installed
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_build=x86_64-unknown-linux-gnu
# ac_cv_c_compiler_gnu=yes
# ac_cv_c_const=yes
# ac_cv_c_restrict=__restrict
# ac_cv_env_CCASFLAGS_set=
# ac_cv_env_CCASFLAGS_value=
# ac_cv_env_CCAS_set=
# ac_cv_env_CCAS_value=
# 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_LT_SYS_LIBRARY_PATH_set=
# ac_cv_env_LT_SYS_LIBRARY_PATH_value=
# ac_cv_env_PNG_COPTS_set=
# ac_cv_env_PNG_COPTS_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_clock_gettime=yes
# ac_cv_func_memset=yes
# ac_cv_func_pow=yes
# ac_cv_func_strtod=no
# ac_cv_header_dlfcn_h=yes
# ac_cv_header_inttypes_h=yes
# ac_cv_header_memory_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_stat_h=yes
# ac_cv_header_sys_types_h=yes
# ac_cv_header_unistd_h=yes
# ac_cv_host=x86_64-unknown-linux-gnu
# ac_cv_lib_z_z_zlibVersion=no
# ac_cv_lib_z_zlibVersion=no
# ac_cv_objext=o
# ac_cv_path_EGREP='/usr/sbin/grep -E'
# ac_cv_path_FGREP='/usr/sbin/grep -F'
# ac_cv_path_GREP=/usr/sbin/grep
# ac_cv_path_SED=/usr/sbin/sed
# ac_cv_path_install='/usr/bin/install -c'
# ac_cv_path_lt_DD=/usr/sbin/dd
# 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_STRIP=strip
# ac_cv_prog_ac_ct_AR=ar
# ac_cv_prog_ac_ct_OBJDUMP=objdump
# ac_cv_prog_ac_ct_RANLIB=ranlib
# ac_cv_prog_ac_ct_STRIP=strip
# ac_cv_prog_cc_c89=
# ac_cv_prog_cc_g=yes
# ac_cv_prog_make_make_set=yes
# ac_cv_struct_tm=time.h
# ac_cv_type_size_t=yes
# am_cv_CCAS_dependencies_compiler_type=gcc3
# am_cv_CC_dependencies_compiler_type=gcc3
# am_cv_make_support_nested_variables=yes
# am_cv_prog_cc_c_o=yes
# lt_cv_ar_at_file=@
# lt_cv_archive_cmds_need_lc=no
# lt_cv_deplibs_check_method=pass_all
# lt_cv_file_magic_cmd='$MAGIC_CMD'
# lt_cv_file_magic_test_file=
# lt_cv_ld_reload_flag=-r
# lt_cv_nm_interface='BSD nm'
# lt_cv_objdir=.libs
# lt_cv_path_LD=/sysroot/bin/ld
# lt_cv_path_NM='/sysroot/bin/nm -B'
# lt_cv_path_mainfest_tool=no
# lt_cv_prog_compiler_c_o=yes
# lt_cv_prog_compiler_pic='-fPIC -DPIC'
# lt_cv_prog_compiler_pic_works=yes
# lt_cv_prog_compiler_rtti_exceptions=yes
# lt_cv_prog_compiler_static_works=no
# lt_cv_prog_gnu_ld=yes
# lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
# lt_cv_shlibpath_overrides_runpath=yes
# lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
# lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\'''
# lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/ {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"lib\1", (void *) \&\1},/p'\'''
# lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
# lt_cv_sys_global_symbol_to_import=
# lt_cv_sys_max_cmd_len=1572864
# lt_cv_to_host_file_cmd=func_convert_file_noop
# lt_cv_to_tool_file_cmd=func_convert_file_noop
# lt_cv_truncate_bin='/usr/sbin/dd bs=4096 count=1'
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# ACLOCAL='${SHELL} /tmp/libpng/src/libpng-1.6.23/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)'
# AR='ar'
# AS='as'
# AUTOCONF='${SHELL} /tmp/libpng/src/libpng-1.6.23/missing autoconf'
# AUTOHEADER='${SHELL} /tmp/libpng/src/libpng-1.6.23/missing autoheader'
# AUTOMAKE='${SHELL} /tmp/libpng/src/libpng-1.6.23/missing automake-1.15'
# AWK='gawk'
# CC='clang'
# CCAS='clang'
# CCASDEPMODE='depmode=gcc3'
# CCASFLAGS=''
# CCDEPMODE='depmode=gcc3'
# CFLAGS=''
# CPP='clang -E'
# CPPFLAGS=''
# CYGPATH_W='echo'
# DEFS=''
# DEPDIR='.deps'
# DFNCPP='clang -E'
# DLLTOOL='false'
# DO_INSTALL_LIBPNG_CONFIG_FALSE=''
# DO_INSTALL_LIBPNG_CONFIG_TRUE=''
# DO_INSTALL_LIBPNG_PC_FALSE=''
# DO_INSTALL_LIBPNG_PC_TRUE=''
# DO_INSTALL_LINKS_FALSE=''
# DO_INSTALL_LINKS_TRUE=''
# DO_PNG_PREFIX_FALSE=''
# DO_PNG_PREFIX_TRUE=''
# DSYMUTIL=''
# DUMPBIN=''
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP='/usr/sbin/grep -E'
# EXEEXT=''
# FGREP='/usr/sbin/grep -F'
# GREP='/usr/sbin/grep'
# HAVE_CLOCK_GETTIME_FALSE='#'
# HAVE_CLOCK_GETTIME_TRUE=''
# HAVE_LD_VERSION_SCRIPT_FALSE=''
# HAVE_LD_VERSION_SCRIPT_TRUE=''
# HAVE_SOLARIS_LD_FALSE=''
# HAVE_SOLARIS_LD_TRUE=''
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
# LD='/sysroot/bin/ld -m elf_x86_64'
# LDFLAGS=''
# LIBOBJS=' strtod.o'
# LIBS=''
# LIBTOOL='$(SHELL) $(top_builddir)/libtool'
# LIPO=''
# LN_S='ln -s'
# LTLIBOBJS=''
# LT_SYS_LIBRARY_PATH=''
# MAINT='#'
# MAINTAINER_MODE_FALSE=''
# MAINTAINER_MODE_TRUE='#'
# MAKEINFO='${SHELL} /tmp/libpng/src/libpng-1.6.23/missing makeinfo'
# MANIFEST_TOOL=':'
# MKDIR_P='/usr/sbin/mkdir -p'
# NM='/sysroot/bin/nm -B'
# NMEDIT=''
# OBJDUMP='objdump'
# OBJEXT='o'
# OTOOL64=''
# OTOOL=''
# PACKAGE='libpng'
# PACKAGE_BUGREPORT='png-mng-implement@lists.sourceforge.net'
# PACKAGE_NAME='libpng'
# PACKAGE_STRING='libpng 1.6.23'
# PACKAGE_TARNAME='libpng'
# PACKAGE_URL=''
# PACKAGE_VERSION='1.6.23'
# PATH_SEPARATOR=':'
# PNGLIB_MAJOR='1'
# PNGLIB_MINOR='6'
# PNGLIB_RELEASE='23'
# PNGLIB_VERSION='1.6.23'
# PNG_ARM_NEON_FALSE=''
# PNG_ARM_NEON_TRUE=''
# PNG_COPTS=''
# PNG_PREFIX=''
# POW_LIB=''
# RANLIB='ranlib'
# SED='/usr/sbin/sed'
# SET_MAKE=''
# SHELL='/bin/sh'
# STRIP='strip'
# SYMBOL_PREFIX=''
# VERSION='1.6.23'
# ac_ct_AR='ar'
# ac_ct_CC=''
# ac_ct_DUMPBIN=''
# am__EXEEXT_FALSE=''
# am__EXEEXT_TRUE=''
# am__fastdepCCAS_FALSE='#'
# am__fastdepCCAS_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 -'
# binconfigs=''
# 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='NONE'
# 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/libpng/src/libpng-1.6.23/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}'
# pkgconfigdir=''
# prefix='/usr'
# program_transform_name='s,x,x,'
# psdir='${docdir}'
# sbindir='${exec_prefix}/sbin'
# sharedstatedir='${prefix}/com'
# sysconfdir='${prefix}/etc'
# target_alias=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# /* confdefs.h */
# #define PACKAGE_NAME "libpng"
# #define PACKAGE_TARNAME "libpng"
# #define PACKAGE_VERSION "1.6.23"
# #define PACKAGE_STRING "libpng 1.6.23"
# #define PACKAGE_BUGREPORT "png-mng-implement@lists.sourceforge.net"
# #define PACKAGE_URL ""
# #define PACKAGE "libpng"
# #define VERSION "1.6.23"
# #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 HAVE_DLFCN_H 1
# #define LT_OBJDIR ".libs/"
# #define STDC_HEADERS 1
# #define restrict __restrict
# #define HAVE_MEMSET 1
# #define HAVE_POW 1
#
# configure: exit 1