Build of dfu-util with musl toolchain

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

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

SLOCLanguage
2,845 ansic
1,616 makefile
1,313 sh
109 python
5,883 total

The process tree of the build process is here.

Several sub-process invocations were improper; see the process tree for details. Summary:

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: dfu-util 0.9-1 (Tue Apr 4 23:25:04 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# autoreconf: Entering directory `.'
# autoreconf: configure.ac: not using Gettext
# autoreconf: running: aclocal
# autoreconf: configure.ac: tracing
# autoreconf: configure.ac: not using Libtool
# autoreconf: running: /usr/bin/autoconf
# autoreconf: running: /usr/bin/autoheader
# autoreconf: running: automake --add-missing --copy --no-force
# Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /usr/sbin/automake line 3936.
# autoreconf: Leaving directory `.'
# checking for a BSD-compatible install... /usr/bin/install -c
# checking whether build environment is sane... yes
# /tmp/dfu-util/src/dfu-util-0.9/m4/missing: Unknown `--is-lightweight' option
# Try `/tmp/dfu-util/src/dfu-util-0.9/m4/missing --help' for more information
# configure: WARNING: 'missing' script is too old or missing
# 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 make supports nested variables... (cached) yes
# 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 libusb_init in -lusb... no
# checking for x86_64-unknown-linux-pkg-config... no
# checking for pkg-config... /usr/sbin/pkg-config
# configure: WARNING: using cross tools not prefixed with host triplet
# checking pkg-config is at least version 0.9.0... yes
# checking for USB... yes
# 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 windows.h usability... no
# checking windows.h presence... no
# checking for windows.h... no
# checking sysexits.h usability... yes
# checking sysexits.h presence... yes
# checking for sysexits.h... yes
# checking for unistd.h... (cached) yes
# checking for an ANSI C-conforming const... yes
# checking for size_t... yes
# checking for working memcmp... no
# checking for getpagesize... no
# checking for nanosleep... no
# checking for err... no
# 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 doc/Makefile
# config.status: creating config.h
# config.status: executing depfiles commands
# (CDPATH="${ZSH_VERSION+.}:" && cd . && autoheader)
# rm -f stamp-h1
# touch config.h.in
# cd . && /bin/sh ./config.status config.h
# config.status: creating config.h
# config.status: config.h is unchanged
# make all-recursive
# make[1]: Entering directory '/tmp/dfu-util/src/dfu-util-0.9'
# Making all in src
# make[2]: Entering directory '/tmp/dfu-util/src/dfu-util-0.9/src'
# CC main.o
# CC dfu_load.o
# CC dfu_util.o
# CC dfuse.o
# In file included from dfuse.c:30:
# ./portable.h:32:3: error: "Can't get no sleep! Please report"
# # error "Can't get no sleep! Please report"
# ^
# In file included from dfu_util.c:31:
# ./portable.h:32:3: error: "Can't get no sleep! Please report"
# # error "Can't get no sleep! Please report"
# ^
# 1 error generated.
# make[2]: *** [Makefile:397: dfu_util.o] Error 1
# make[2]: *** Waiting for unfinished jobs....
# dfuse.c:241:3: warning: implicit declaration of function 'milli_sleep' is invalid in C99 [-Wimplicit-function-declaration]
# milli_sleep(dst.bwPollTimeout);
# ^
# 1 warning and 1 error generated.
# In file included from make[2]: *** [Makefile:397: dfuse.o] Error 1
# dfu_load.c:36:
# ./portable.h:32:3: error: "Can't get no sleep! Please report"
# # error "Can't get no sleep! Please report"
# ^
# In file included from main.c:36:
# ./portable.h:32:3: error: "Can't get no sleep! Please report"
# # error "Can't get no sleep! Please report"
# ^
# dfu_load.c:140:4: warning: implicit declaration of function 'milli_sleep' is invalid in C99 [-Wimplicit-function-declaration]
# milli_sleep(dst.bwPollTimeout);
# ^
# 1 warning and 1 error generated.
# make[2]: *** [Makefile:397: dfu_load.o] Error 1
# main.c:430:3: warning: implicit declaration of function 'milli_sleep' is invalid in C99 [-Wimplicit-function-declaration]
# milli_sleep(status.bwPollTimeout);
# ^
# 1 warning and 1 error generated.
# make[2]: *** [Makefile:397: main.o] Error 1
# make[2]: Leaving directory '/tmp/dfu-util/src/dfu-util-0.9/src'
# make[1]: *** [Makefile:358: all-recursive] Error 1
# make[1]: Leaving directory '/tmp/dfu-util/src/dfu-util-0.9'
# make: *** [Makefile:299: all] Error 2
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/dfu-util/src/dfu-util-0.9/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 dfu-util configure 0.9, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure --host=x86_64-unknown-linux --prefix=/usr
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 9a4f045ee28d
# 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:2431: WARNING: 'missing' script is too old or missing
# 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:2837: checking whether make supports nested variables
# configure:2854: result: yes
# configure:2875: checking for x86_64-unknown-linux-gcc
# configure:2902: result: clang
# configure:3171: checking for C compiler version
# configure:3180: clang --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:3191: $? = 0
# configure:3180: 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:3191: $? = 0
# configure:3180: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:3191: $? = 1
# configure:3180: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:3191: $? = 1
# configure:3211: checking whether the C compiler works
# configure:3233: clang conftest.c >&5
# configure:3237: $? = 0
# configure:3285: result: yes
# configure:3288: checking for C compiler default output file name
# configure:3290: result: a.out
# configure:3296: checking for suffix of executables
# configure:3303: clang -o conftest conftest.c >&5
# configure:3307: $? = 0
# configure:3329: result:
# configure:3351: checking whether we are cross compiling
# configure:3359: clang -o conftest conftest.c >&5
# configure:3363: $? = 0
# configure:3370: ./conftest
# ./conftest: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# configure:3374: $? = 127
# configure:3389: result: yes
# configure:3394: checking for suffix of object files
# configure:3416: clang -c conftest.c >&5
# configure:3420: $? = 0
# configure:3441: result: o
# configure:3445: checking whether we are using the GNU C compiler
# configure:3464: clang -c conftest.c >&5
# configure:3464: $? = 0
# configure:3473: result: yes
# configure:3482: checking whether clang accepts -g
# configure:3502: clang -c -g conftest.c >&5
# configure:3502: $? = 0
# configure:3543: result: yes
# configure:3560: checking for clang option to accept ISO C89
# configure:3623: clang -c conftest.c >&5
# configure:3623: $? = 0
# configure:3636: result: none needed
# configure:3661: checking whether clang understands -c and -o together
# configure:3683: clang -c conftest.c -o conftest2.o
# configure:3686: $? = 0
# configure:3683: clang -c conftest.c -o conftest2.o
# configure:3686: $? = 0
# configure:3698: result: yes
# configure:3726: checking for style of include used by make
# configure:3754: result: GNU
# configure:3780: checking dependency style of clang
# configure:3891: result: gcc3
# configure:3910: checking for libusb_init in -lusb
# configure:3935: clang -o conftest conftest.c -lusb >&5
# /sysroot/bin/ld: error: cannot find -lusb
# /tmp/conftest-32f050.o:conftest.c:function main: error: undefined reference to 'libusb_init'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:3935: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "dfu-util"
# | #define PACKAGE_TARNAME "dfu-util"
# | #define PACKAGE_VERSION "0.9"
# | #define PACKAGE_STRING "dfu-util 0.9"
# | #define PACKAGE_BUGREPORT "http://sourceforge.net/p/dfu-util/tickets/"
# | #define PACKAGE_URL "http://dfu-util.sourceforge.net"
# | #define PACKAGE "dfu-util"
# | #define VERSION "0.9"
# | /* 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 libusb_init ();
# | int
# | main ()
# | {
# | return libusb_init ();
# | ;
# | return 0;
# | }
# configure:3944: result: no
# configure:3968: checking for x86_64-unknown-linux-pkg-config
# configure:4001: result: no
# configure:4011: checking for pkg-config
# configure:4029: found /usr/sbin/pkg-config
# configure:4041: result: /usr/sbin/pkg-config
# configure:4053: WARNING: using cross tools not prefixed with host triplet
# configure:4066: checking pkg-config is at least version 0.9.0
# configure:4069: result: yes
# configure:4081: checking for USB
# configure:4088: $PKG_CONFIG --exists --print-errors "libusb-1.0 >= 1.0.0"
# configure:4091: $? = 0
# configure:4105: $PKG_CONFIG --exists --print-errors "libusb-1.0 >= 1.0.0"
# configure:4108: $? = 0
# configure:4146: result: yes
# configure:4162: checking how to run the C preprocessor
# configure:4193: clang -E conftest.c
# configure:4193: $? = 0
# configure:4207: clang -E conftest.c
# conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:4207: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "dfu-util"
# | #define PACKAGE_TARNAME "dfu-util"
# | #define PACKAGE_VERSION "0.9"
# | #define PACKAGE_STRING "dfu-util 0.9"
# | #define PACKAGE_BUGREPORT "http://sourceforge.net/p/dfu-util/tickets/"
# | #define PACKAGE_URL "http://dfu-util.sourceforge.net"
# | #define PACKAGE "dfu-util"
# | #define VERSION "0.9"
# | /* end confdefs.h. */
# | #include
# configure:4232: result: clang -E
# configure:4252: clang -E conftest.c
# configure:4252: $? = 0
# configure:4266: clang -E conftest.c
# conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:4266: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "dfu-util"
# | #define PACKAGE_TARNAME "dfu-util"
# | #define PACKAGE_VERSION "0.9"
# | #define PACKAGE_STRING "dfu-util 0.9"
# | #define PACKAGE_BUGREPORT "http://sourceforge.net/p/dfu-util/tickets/"
# | #define PACKAGE_URL "http://dfu-util.sourceforge.net"
# | #define PACKAGE "dfu-util"
# | #define VERSION "0.9"
# | /* end confdefs.h. */
# | #include
# configure:4295: checking for grep that handles long lines and -e
# configure:4353: result: /usr/sbin/grep
# configure:4358: checking for egrep
# configure:4420: result: /usr/sbin/grep -E
# configure:4425: checking for ANSI C header files
# configure:4445: clang -c -I/usr/include/libusb-1.0 conftest.c >&5
# configure:4445: $? = 0
# configure:4529: result: yes
# configure:4542: checking for sys/types.h
# configure:4542: clang -c -I/usr/include/libusb-1.0 conftest.c >&5
# configure:4542: $? = 0
# configure:4542: result: yes
# configure:4542: checking for sys/stat.h
# configure:4542: clang -c -I/usr/include/libusb-1.0 conftest.c >&5
# configure:4542: $? = 0
# configure:4542: result: yes
# configure:4542: checking for stdlib.h
# configure:4542: clang -c -I/usr/include/libusb-1.0 conftest.c >&5
# configure:4542: $? = 0
# configure:4542: result: yes
# configure:4542: checking for string.h
# configure:4542: clang -c -I/usr/include/libusb-1.0 conftest.c >&5
# configure:4542: $? = 0
# configure:4542: result: yes
# configure:4542: checking for memory.h
# configure:4542: clang -c -I/usr/include/libusb-1.0 conftest.c >&5
# configure:4542: $? = 0
# configure:4542: result: yes
# configure:4542: checking for strings.h
# configure:4542: clang -c -I/usr/include/libusb-1.0 conftest.c >&5
# configure:4542: $? = 0
# configure:4542: result: yes
# configure:4542: checking for inttypes.h
# configure:4542: clang -c -I/usr/include/libusb-1.0 conftest.c >&5
# configure:4542: $? = 0
# configure:4542: result: yes
# configure:4542: checking for stdint.h
# configure:4542: clang -c -I/usr/include/libusb-1.0 conftest.c >&5
# configure:4542: $? = 0
# configure:4542: result: yes
# configure:4542: checking for unistd.h
# configure:4542: clang -c -I/usr/include/libusb-1.0 conftest.c >&5
# configure:4542: $? = 0
# configure:4542: result: yes
# configure:4557: checking windows.h usability
# configure:4557: clang -c -I/usr/include/libusb-1.0 conftest.c >&5
# conftest.c:54:10: fatal error: 'windows.h' file not found
# #include
# ^
# 1 error generated.
# configure:4557: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "dfu-util"
# | #define PACKAGE_TARNAME "dfu-util"
# | #define PACKAGE_VERSION "0.9"
# | #define PACKAGE_STRING "dfu-util 0.9"
# | #define PACKAGE_BUGREPORT "http://sourceforge.net/p/dfu-util/tickets/"
# | #define PACKAGE_URL "http://dfu-util.sourceforge.net"
# | #define PACKAGE "dfu-util"
# | #define VERSION "0.9"
# | #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:4557: result: no
# configure:4557: checking windows.h presence
# configure:4557: clang -E conftest.c
# conftest.c:21:10: fatal error: 'windows.h' file not found
# #include
# ^
# 1 error generated.
# configure:4557: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "dfu-util"
# | #define PACKAGE_TARNAME "dfu-util"
# | #define PACKAGE_VERSION "0.9"
# | #define PACKAGE_STRING "dfu-util 0.9"
# | #define PACKAGE_BUGREPORT "http://sourceforge.net/p/dfu-util/tickets/"
# | #define PACKAGE_URL "http://dfu-util.sourceforge.net"
# | #define PACKAGE "dfu-util"
# | #define VERSION "0.9"
# | #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:4557: result: no
# configure:4557: checking for windows.h
# configure:4557: result: no
# configure:4557: checking sysexits.h usability
# configure:4557: clang -c -I/usr/include/libusb-1.0 conftest.c >&5
# configure:4557: $? = 0
# configure:4557: result: yes
# configure:4557: checking sysexits.h presence
# configure:4557: clang -E conftest.c
# configure:4557: $? = 0
# configure:4557: result: yes
# configure:4557: checking for sysexits.h
# configure:4557: result: yes
# configure:4557: checking for unistd.h
# configure:4557: result: yes
# configure:4569: checking for an ANSI C-conforming const
# configure:4635: clang -c -I/usr/include/libusb-1.0 conftest.c >&5
# configure:4635: $? = 0
# configure:4642: result: yes
# configure:4650: checking for size_t
# configure:4650: clang -c -I/usr/include/libusb-1.0 conftest.c >&5
# configure:4650: $? = 0
# configure:4650: clang -c -I/usr/include/libusb-1.0 conftest.c >&5
# conftest.c:59:21: error: expected expression
# if (sizeof ((size_t)))
# ^
# 1 error generated.
# configure:4650: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "dfu-util"
# | #define PACKAGE_TARNAME "dfu-util"
# | #define PACKAGE_VERSION "0.9"
# | #define PACKAGE_STRING "dfu-util 0.9"
# | #define PACKAGE_BUGREPORT "http://sourceforge.net/p/dfu-util/tickets/"
# | #define PACKAGE_URL "http://dfu-util.sourceforge.net"
# | #define PACKAGE "dfu-util"
# | #define VERSION "0.9"
# | #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_SYSEXITS_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:4650: result: yes
# configure:4663: checking for working memcmp
# configure:4716: result: no
# configure:4728: checking for getpagesize
# configure:4728: clang -o conftest -I/usr/include/libusb-1.0 conftest.c -lusb-1.0 >&5
# /sysroot/bin/ld: error: cannot find -lusb-1.0
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:4728: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "dfu-util"
# | #define PACKAGE_TARNAME "dfu-util"
# | #define PACKAGE_VERSION "0.9"
# | #define PACKAGE_STRING "dfu-util 0.9"
# | #define PACKAGE_BUGREPORT "http://sourceforge.net/p/dfu-util/tickets/"
# | #define PACKAGE_URL "http://dfu-util.sourceforge.net"
# | #define PACKAGE "dfu-util"
# | #define VERSION "0.9"
# | #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_SYSEXITS_H 1
# | #define HAVE_UNISTD_H 1
# | /* end confdefs.h. */
# | /* Define getpagesize to an innocuous variant, in case declares getpagesize.
# | For example, HP-UX 11i declares gettimeofday. */
# | #define getpagesize innocuous_getpagesize
# |
# | /* System header to define __stub macros and hopefully few prototypes,
# | which can conflict with char getpagesize (); below.
# | Prefer to if __STDC__ is defined, since
# | exists even on freestanding compilers. */
# |
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# |
# | #undef getpagesize
# |
# | /* 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 getpagesize ();
# | /* 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_getpagesize || defined __stub___getpagesize
# | choke me
# | #endif
# |
# | int
# | main ()
# | {
# | return getpagesize ();
# | ;
# | return 0;
# | }
# configure:4728: result: no
# configure:4728: checking for nanosleep
# configure:4728: clang -o conftest -I/usr/include/libusb-1.0 conftest.c -lusb-1.0 >&5
# /sysroot/bin/ld: error: cannot find -lusb-1.0
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:4728: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "dfu-util"
# | #define PACKAGE_TARNAME "dfu-util"
# | #define PACKAGE_VERSION "0.9"
# | #define PACKAGE_STRING "dfu-util 0.9"
# | #define PACKAGE_BUGREPORT "http://sourceforge.net/p/dfu-util/tickets/"
# | #define PACKAGE_URL "http://dfu-util.sourceforge.net"
# | #define PACKAGE "dfu-util"
# | #define VERSION "0.9"
# | #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_SYSEXITS_H 1
# | #define HAVE_UNISTD_H 1
# | /* end confdefs.h. */
# | /* Define nanosleep to an innocuous variant, in case declares nanosleep.
# | For example, HP-UX 11i declares gettimeofday. */
# | #define nanosleep innocuous_nanosleep
# |
# | /* System header to define __stub macros and hopefully few prototypes,
# | which can conflict with char nanosleep (); below.
# | Prefer to if __STDC__ is defined, since
# | exists even on freestanding compilers. */
# |
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# |
# | #undef nanosleep
# |
# | /* 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 nanosleep ();
# | /* 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_nanosleep || defined __stub___nanosleep
# | choke me
# | #endif
# |
# | int
# | main ()
# | {
# | return nanosleep ();
# | ;
# | return 0;
# | }
# configure:4728: result: no
# configure:4728: checking for err
# configure:4728: clang -o conftest -I/usr/include/libusb-1.0 conftest.c -lusb-1.0 >&5
# /sysroot/bin/ld: error: cannot find -lusb-1.0
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:4728: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "dfu-util"
# | #define PACKAGE_TARNAME "dfu-util"
# | #define PACKAGE_VERSION "0.9"
# | #define PACKAGE_STRING "dfu-util 0.9"
# | #define PACKAGE_BUGREPORT "http://sourceforge.net/p/dfu-util/tickets/"
# | #define PACKAGE_URL "http://dfu-util.sourceforge.net"
# | #define PACKAGE "dfu-util"
# | #define VERSION "0.9"
# | #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_SYSEXITS_H 1
# | #define HAVE_UNISTD_H 1
# | /* end confdefs.h. */
# | /* Define err to an innocuous variant, in case declares err.
# | For example, HP-UX 11i declares gettimeofday. */
# | #define err innocuous_err
# |
# | /* System header to define __stub macros and hopefully few prototypes,
# | which can conflict with char err (); below.
# | Prefer to if __STDC__ is defined, since
# | exists even on freestanding compilers. */
# |
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# |
# | #undef err
# |
# | /* 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 err ();
# | /* 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_err || defined __stub___err
# | choke me
# | #endif
# |
# | int
# | main ()
# | {
# | return err ();
# | ;
# | return 0;
# | }
# configure:4728: result: no
# configure:4849: checking that generated files are newer than configure
# configure:4855: result: done
# configure:4878: creating ./config.status
#
# ## ---------------------- ##
# ## Running config.status. ##
# ## ---------------------- ##
#
# This file was extended by dfu-util config.status 0.9, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# CONFIG_FILES =
# CONFIG_HEADERS =
# CONFIG_LINKS =
# CONFIG_COMMANDS =
# $ ./config.status
#
# on 9a4f045ee28d
#
# config.status:862: creating Makefile
# config.status:862: creating src/Makefile
# config.status:862: creating doc/Makefile
# config.status:862: creating config.h
# config.status:1091: executing depfiles commands
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_c_compiler_gnu=yes
# ac_cv_c_const=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_PKG_CONFIG_LIBDIR_set=
# ac_cv_env_PKG_CONFIG_LIBDIR_value=
# ac_cv_env_PKG_CONFIG_PATH_set=
# ac_cv_env_PKG_CONFIG_PATH_value=
# ac_cv_env_PKG_CONFIG_set=
# ac_cv_env_PKG_CONFIG_value=
# ac_cv_env_USB_CFLAGS_set=
# ac_cv_env_USB_CFLAGS_value=
# ac_cv_env_USB_LIBS_set=
# ac_cv_env_USB_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_err=no
# ac_cv_func_getpagesize=no
# ac_cv_func_memcmp_working=no
# ac_cv_func_nanosleep=no
# 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_sysexits_h=yes
# ac_cv_header_unistd_h=yes
# ac_cv_header_windows_h=no
# ac_cv_lib_usb_libusb_init=no
# ac_cv_objext=o
# ac_cv_path_EGREP='/usr/sbin/grep -E'
# ac_cv_path_GREP=/usr/sbin/grep
# ac_cv_path_ac_pt_PKG_CONFIG=/usr/sbin/pkg-config
# 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_make_make_set=yes
# ac_cv_type_size_t=yes
# am_cv_CC_dependencies_compiler_type=gcc3
# am_cv_make_support_nested_variables=yes
# am_cv_prog_cc_c_o=yes
# pkg_cv_USB_CFLAGS=-I/usr/include/libusb-1.0
# pkg_cv_USB_LIBS=-lusb-1.0
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# ACLOCAL='aclocal-1.15'
# AMDEPBACKSLASH='\'
# AMDEP_FALSE='#'
# AMDEP_TRUE=''
# AMTAR='$${TAR-tar}'
# AM_BACKSLASH='\'
# AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
# AM_DEFAULT_VERBOSITY='0'
# AM_V='$(V)'
# AUTOCONF='autoconf'
# AUTOHEADER='autoheader'
# AUTOMAKE='automake-1.15'
# AWK='gawk'
# CC='clang'
# CCDEPMODE='depmode=gcc3'
# CFLAGS=' -I/usr/include/libusb-1.0'
# 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}memcmp$U.o'
# LIBS=' -lusb-1.0'
# LTLIBOBJS=' ${LIBOBJDIR}memcmp$U.lo'
# MAKEINFO='makeinfo'
# MKDIR_P='/usr/sbin/mkdir -p'
# OBJEXT='o'
# PACKAGE='dfu-util'
# PACKAGE_BUGREPORT='http://sourceforge.net/p/dfu-util/tickets/'
# PACKAGE_NAME='dfu-util'
# PACKAGE_STRING='dfu-util 0.9'
# PACKAGE_TARNAME='dfu-util'
# PACKAGE_URL='http://dfu-util.sourceforge.net'
# PACKAGE_VERSION='0.9'
# PATH_SEPARATOR=':'
# PKG_CONFIG='/usr/sbin/pkg-config'
# PKG_CONFIG_LIBDIR=''
# PKG_CONFIG_PATH=''
# SET_MAKE=''
# SHELL='/bin/sh'
# STRIP='strip'
# USB_CFLAGS='-I/usr/include/libusb-1.0'
# USB_LIBS='-lusb-1.0'
# VERSION='0.9'
# 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_TARNAME}'
# dvidir='${docdir}'
# exec_prefix='${prefix}'
# host_alias='x86_64-unknown-linux'
# htmldir='${docdir}'
# includedir='${prefix}/include'
# infodir='${datarootdir}/info'
# install_sh='${SHELL} /tmp/dfu-util/src/dfu-util-0.9/m4/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='${exec_prefix}/sbin'
# sharedstatedir='${prefix}/com'
# sysconfdir='${prefix}/etc'
# target_alias=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# /* confdefs.h */
# #define PACKAGE_NAME "dfu-util"
# #define PACKAGE_TARNAME "dfu-util"
# #define PACKAGE_VERSION "0.9"
# #define PACKAGE_STRING "dfu-util 0.9"
# #define PACKAGE_BUGREPORT "http://sourceforge.net/p/dfu-util/tickets/"
# #define PACKAGE_URL "http://dfu-util.sourceforge.net"
# #define PACKAGE "dfu-util"
# #define VERSION "0.9"
# #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_SYSEXITS_H 1
# #define HAVE_UNISTD_H 1
#
# configure: exit 0
#
# ## ---------------------- ##
# ## Running config.status. ##
# ## ---------------------- ##
#
# This file was extended by dfu-util config.status 0.9, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# CONFIG_FILES =
# CONFIG_HEADERS =
# CONFIG_LINKS =
# CONFIG_COMMANDS =
# $ ./config.status config.h
#
# on 9a4f045ee28d
#
# config.status:862: creating config.h
# config.status:1043: config.h is unchanged