Build of libguess with clang_glibc toolchain

The build took 00h 01m 21s and was SUCCESSFUL.

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

SLOCLanguage
2,925 sh
2,302 ansic
409 lisp
78 makefile
5,714 total

The process tree of the build process is here.

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...

Copied permanent toolchain into container-local sysroot
# /toolchain_root/sysroot --> /sysroot/sysroot
# /toolchain_root/lib --> /sysroot/lib
# /toolchain_root/sbin --> /sysroot/sbin
# /toolchain_root/lib64 --> /sysroot/lib64
# /toolchain_root/etc --> /sysroot/etc
# /toolchain_root/share --> /sysroot/share
# /toolchain_root/bin --> /sysroot/bin
# /toolchain_root/var --> /sysroot/var
# /toolchain_root/usr --> /sysroot/usr
# /toolchain_root/glibc-build --> /sysroot/glibc-build
# /toolchain_root/x86_64-pc-linux-gnu --> /sysroot/x86_64-pc-linux-gnu
# /toolchain_root/include --> /sysroot/include
# /toolchain_root/libexec --> /sysroot/libexec

CMD: sudo -u tuscan PATH=/usr/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: libguess 1.2-1 (Thu Apr 13 18:24:42 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# checking build system type... x86_64-unknown-linux-gnu
# checking host system type... x86_64-unknown-linux-gnu
# checking target system type... x86_64-unknown-linux-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... no
# 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 ln -s works... yes
# checking for a BSD-compatible install... /usr/bin/install -c
# checking whether make sets $(MAKE)... yes
# checking for library containing strerror... none required
# checking for shared library system... GNU
# checking for dirent.h that defines DIR... yes
# checking for library containing opendir... none required
# checking how to run the C preprocessor... clang -E
# checking for grep that handles long lines and -e... /usr/bin/grep
# checking for egrep... /usr/bin/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 limits.h usability... yes
# checking limits.h presence... yes
# checking for limits.h... yes
# checking for stdlib.h... (cached) yes
# checking for string.h... (cached) yes
# checking for unistd.h... (cached) yes
# checking locale.h usability... yes
# checking locale.h presence... yes
# checking for locale.h... yes
# checking stdarg.h usability... yes
# checking stdarg.h presence... yes
# checking for stdarg.h... yes
# checking for sys/types.h... (cached) yes
# checking for sys/stat.h... (cached) yes
# checking errno.h usability... yes
# checking errno.h presence... yes
# checking for errno.h... yes
# checking for an ANSI C-conforming const... yes
# checking whether closedir returns void... no
# checking for memset... yes
# checking for setlocale... yes
# checking for strcasecmp... yes
# checking for strchr... yes
# checking for strdup... yes
# checking for strerror... yes
# checking for strtol... yes
# checking for strtod... yes
# checking for printf... yes
# checking for sprintf... yes
# checking for snprintf... yes
# checking for vsnprintf... yes
# checking for gettimeofday... yes
# checking for strndup... yes
# checking for strlcpy... no
# checking for strlcat... no
# checking whether lstat correctly handles trailing slash... yes
# checking whether stat accepts an empty string... no
# configure: touching .deps files
# configure: creating ./config.status
# config.status: creating buildsys.mk
# config.status: creating extra.mk
# config.status: creating libguess.pc
# config.status: creating src/libguess/autoconf.h
#
# Configuration:
# No special features yet.
#
# Now type "make" to build, and "make install" to install.
# Thank you for using libguess.
#
# Entering directory src.
# Entering directory libguess.
# Generating dependencies...
# Successfully generated dependencies.
# Compiling guess.c...
# Successfully compiled guess.c.
# Compiling guess_impl.c...
# Successfully compiled guess_impl.c.
# Compiling dfa.c...
# Successfully compiled dfa.c.
# Linking libguess.so...
# Successfully linked libguess.so.
# Leaving directory libguess.
# Entering directory tests.
# Generating dependencies...
# Successfully generated dependencies.
# Compiling harness.c...
# Successfully compiled harness.c.
# Linking guess_testharness...
# Successfully linked guess_testharness.
# Leaving directory tests.
# Leaving directory src.
# ==> Entering fakeroot environment...
# ==> Starting package()...
# Installing libguess.pc...
# Successfully installed libguess.pc.
# Entering directory src.
# Entering directory libguess.
# Installing libguess.so...
# Successfully installed libguess.so.
# Installing libguess.h...
# Successfully installed libguess.h.
# Leaving directory libguess.
# Entering directory tests.
# Leaving directory tests.
# Leaving directory src.
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "libguess"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: libguess 1.2-1 (Thu Apr 13 18:24:55 UTC 2017)

CMD: pacman --query --file libguess-1.2-1-x86_64.pkg.tar.xz
# libguess 1.2-1

Creating hybrid package for 'libguess'

Trying to find vanilla package 'libguess'...

CMD: pacman --query --file /mirror/libguess-1.2-1.pkg.tar.xz
# libguess 1.2-1

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/include/libguess/libguess.h
# /usr/lib/libguess.so
# /usr/lib/libguess.so.1
# /usr/lib/libguess.so.1.0.0
# /usr/lib/pkgconfig/libguess.pc
# /usr/share/licenses/libguess/COPYING
# /sysroot/usr/lib/libguess.so.1.0.0
# /sysroot/usr/lib/libguess.so.1
# /sysroot/usr/lib/libguess.so
# /sysroot/usr/lib/pkgconfig/libguess.pc
# /sysroot/usr/include/libguess/libguess.h

Generating .MTREE

CMD: bsdtar -czf .MTREE --format=mtree --options=!all,use-set,type,uid,mode,time,size,md5,sha256,link .PKGINFO usr sysroot

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO usr sysroot .MTREE

CMD: xz -c -z

Successfully ran bsdtar -cf - .PKGINFO usr sysroot .MTREE | xz -c -z

CMD: bsdtar -tqf libguess.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/libguess.pkg.tar.xz

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/libguess.pkg.tar.xz
# ==> Extracting database to a temporary location...
# ==> Extracting database to a temporary location...
# ==> Adding package '/var/cache/pacman/pkg/libguess.pkg.tar.xz'
# -> Computing checksums...
# -> Creating 'desc' db entry...
# -> Creating 'files' db entry...
# ==> Creating updated database file '/var/cache/pacman/pkg/tuscan.db.tar'

Printing config logfiles

CMD: config logfiles '/tmp/libguess/src/libguess-1.2/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 libguess configure 1.2, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure --host=x86_64-unknown-linux --prefix=/usr
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = ea382ea2ab6d
# 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: /usr/bin
# PATH: /usr/local/sbin
# PATH: /usr/local/bin
# PATH: /usr/sbin
# PATH: /usr/bin
# PATH: /sbin
# PATH: /bin
#
#
# ## ----------- ##
# ## Core tests. ##
# ## ----------- ##
#
# configure:2168: checking build system type
# configure:2182: result: x86_64-unknown-linux-gnu
# configure:2202: checking host system type
# configure:2215: result: x86_64-unknown-linux-gnu
# configure:2235: checking target system type
# configure:2248: result: x86_64-unknown-linux-gnu
# configure:2284: checking for x86_64-unknown-linux-gcc
# configure:2311: result: clang
# configure:2580: checking for C compiler version
# configure:2589: clang --version >&5
# clang version 3.8.0 (tags/RELEASE_380/final)
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /usr/bin
# configure:2600: $? = 0
# configure:2589: clang -v >&5
# clang version 3.8.0 (tags/RELEASE_380/final)
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /usr/bin
# Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Selected GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Candidate multilib: .;@m64
# ... rest of stderr output deleted ...
# configure:2600: $? = 0
# configure:2589: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:2600: $? = 1
# configure:2589: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:2600: $? = 1
# configure:2620: checking whether the C compiler works
# configure:2642: clang conftest.c >&5
# configure:2646: $? = 0
# configure:2694: result: yes
# configure:2697: checking for C compiler default output file name
# configure:2699: result: a.out
# configure:2705: checking for suffix of executables
# configure:2712: clang -o conftest conftest.c >&5
# configure:2716: $? = 0
# configure:2738: result:
# configure:2760: checking whether we are cross compiling
# configure:2768: clang -o conftest conftest.c >&5
# configure:2772: $? = 0
# configure:2779: ./conftest
# configure:2783: $? = 0
# configure:2798: result: no
# configure:2803: checking for suffix of object files
# configure:2825: clang -c conftest.c >&5
# configure:2829: $? = 0
# configure:2850: result: o
# configure:2854: checking whether we are using the GNU C compiler
# configure:2873: clang -c conftest.c >&5
# configure:2873: $? = 0
# configure:2882: result: yes
# configure:2891: checking whether clang accepts -g
# configure:2911: clang -c -g conftest.c >&5
# configure:2911: $? = 0
# configure:2952: result: yes
# configure:2969: checking for clang option to accept ISO C89
# configure:3032: clang -c conftest.c >&5
# configure:3032: $? = 0
# configure:3045: result: none needed
# configure:3065: checking whether ln -s works
# configure:3069: result: yes
# configure:3090: checking for a BSD-compatible install
# configure:3158: result: /usr/bin/install -c
# configure:3169: checking whether make sets $(MAKE)
# configure:3191: result: yes
# configure:3201: checking for library containing strerror
# configure:3232: clang -o conftest conftest.c >&5
# conftest.c:16:6: warning: incompatible redeclaration of library function 'strerror' [-Wincompatible-library-redeclaration]
# char strerror ();
# ^
# conftest.c:16:6: note: 'strerror' is a builtin with type 'char *(int)'
# 1 warning generated.
# configure:3232: $? = 0
# configure:3249: result: none required
# configure:3267: checking for shared library system
# configure:3339: result: GNU
# configure:3377: checking for dirent.h that defines DIR
# configure:3396: clang -c -pipe -Wall conftest.c >&5
# configure:3396: $? = 0
# configure:3404: result: yes
# configure:3417: checking for library containing opendir
# configure:3448: clang -o conftest -pipe -Wall conftest.c >&5
# configure:3448: $? = 0
# configure:3465: result: none required
# configure:3537: checking how to run the C preprocessor
# configure:3568: clang -E conftest.c
# configure:3568: $? = 0
# configure:3582: clang -E conftest.c
# conftest.c:10:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:3582: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libguess"
# | #define PACKAGE_TARNAME "libguess"
# | #define PACKAGE_VERSION "1.2"
# | #define PACKAGE_STRING "libguess 1.2"
# | #define PACKAGE_BUGREPORT "bugs+libguess@atheme.org"
# | #define PACKAGE_URL ""
# | #define HAVE_DIRENT_H 1
# | /* end confdefs.h. */
# | #include
# configure:3607: result: clang -E
# configure:3627: clang -E conftest.c
# configure:3627: $? = 0
# configure:3641: clang -E conftest.c
# conftest.c:10:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:3641: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libguess"
# | #define PACKAGE_TARNAME "libguess"
# | #define PACKAGE_VERSION "1.2"
# | #define PACKAGE_STRING "libguess 1.2"
# | #define PACKAGE_BUGREPORT "bugs+libguess@atheme.org"
# | #define PACKAGE_URL ""
# | #define HAVE_DIRENT_H 1
# | /* end confdefs.h. */
# | #include
# configure:3670: checking for grep that handles long lines and -e
# configure:3728: result: /usr/bin/grep
# configure:3733: checking for egrep
# configure:3795: result: /usr/bin/grep -E
# configure:3800: checking for ANSI C header files
# configure:3820: clang -c -pipe -Wall conftest.c >&5
# configure:3820: $? = 0
# configure:3893: clang -o conftest -pipe -Wall conftest.c >&5
# configure:3893: $? = 0
# configure:3893: ./conftest
# configure:3893: $? = 0
# configure:3904: result: yes
# configure:3917: checking for sys/types.h
# configure:3917: clang -c -pipe -Wall conftest.c >&5
# configure:3917: $? = 0
# configure:3917: result: yes
# configure:3917: checking for sys/stat.h
# configure:3917: clang -c -pipe -Wall conftest.c >&5
# configure:3917: $? = 0
# configure:3917: result: yes
# configure:3917: checking for stdlib.h
# configure:3917: clang -c -pipe -Wall conftest.c >&5
# configure:3917: $? = 0
# configure:3917: result: yes
# configure:3917: checking for string.h
# configure:3917: clang -c -pipe -Wall conftest.c >&5
# configure:3917: $? = 0
# configure:3917: result: yes
# configure:3917: checking for memory.h
# configure:3917: clang -c -pipe -Wall conftest.c >&5
# configure:3917: $? = 0
# configure:3917: result: yes
# configure:3917: checking for strings.h
# configure:3917: clang -c -pipe -Wall conftest.c >&5
# configure:3917: $? = 0
# configure:3917: result: yes
# configure:3917: checking for inttypes.h
# configure:3917: clang -c -pipe -Wall conftest.c >&5
# configure:3917: $? = 0
# configure:3917: result: yes
# configure:3917: checking for stdint.h
# configure:3917: clang -c -pipe -Wall conftest.c >&5
# configure:3917: $? = 0
# configure:3917: result: yes
# configure:3917: checking for unistd.h
# configure:3917: clang -c -pipe -Wall conftest.c >&5
# configure:3917: $? = 0
# configure:3917: result: yes
# configure:3932: checking limits.h usability
# configure:3932: clang -c -pipe -Wall conftest.c >&5
# configure:3932: $? = 0
# configure:3932: result: yes
# configure:3932: checking limits.h presence
# configure:3932: clang -E conftest.c
# configure:3932: $? = 0
# configure:3932: result: yes
# configure:3932: checking for limits.h
# configure:3932: result: yes
# configure:3932: checking for stdlib.h
# configure:3932: result: yes
# configure:3932: checking for string.h
# configure:3932: result: yes
# configure:3932: checking for unistd.h
# configure:3932: result: yes
# configure:3932: checking locale.h usability
# configure:3932: clang -c -pipe -Wall conftest.c >&5
# configure:3932: $? = 0
# configure:3932: result: yes
# configure:3932: checking locale.h presence
# configure:3932: clang -E conftest.c
# configure:3932: $? = 0
# configure:3932: result: yes
# configure:3932: checking for locale.h
# configure:3932: result: yes
# configure:3932: checking stdarg.h usability
# configure:3932: clang -c -pipe -Wall conftest.c >&5
# configure:3932: $? = 0
# configure:3932: result: yes
# configure:3932: checking stdarg.h presence
# configure:3932: clang -E conftest.c
# configure:3932: $? = 0
# configure:3932: result: yes
# configure:3932: checking for stdarg.h
# configure:3932: result: yes
# configure:3932: checking for sys/types.h
# configure:3932: result: yes
# configure:3932: checking for sys/stat.h
# configure:3932: result: yes
# configure:3932: checking errno.h usability
# configure:3932: clang -c -pipe -Wall conftest.c >&5
# configure:3932: $? = 0
# configure:3932: result: yes
# configure:3932: checking errno.h presence
# configure:3932: clang -E conftest.c
# configure:3932: $? = 0
# configure:3932: result: yes
# configure:3932: checking for errno.h
# configure:3932: result: yes
# configure:3944: checking for an ANSI C-conforming const
# configure:4010: clang -c -pipe -Wall conftest.c >&5
# configure:4010: $? = 0
# configure:4017: result: yes
# configure:4027: checking whether closedir returns void
# configure:4051: clang -o conftest -pipe -Wall conftest.c >&5
# configure:4051: $? = 0
# configure:4051: ./conftest
# configure:4051: $? = 0
# configure:4061: result: no
# configure:4072: checking for memset
# configure:4072: clang -o conftest -pipe -Wall conftest.c >&5
# conftest.c:52:6: warning: incompatible redeclaration of library function 'memset' [-Wincompatible-library-redeclaration]
# char memset ();
# ^
# conftest.c:52:6: note: 'memset' is a builtin with type 'void *(void *, int, unsigned long)'
# 1 warning generated.
# configure:4072: $? = 0
# configure:4072: result: yes
# configure:4072: checking for setlocale
# configure:4072: clang -o conftest -pipe -Wall conftest.c >&5
# configure:4072: $? = 0
# configure:4072: result: yes
# configure:4072: checking for strcasecmp
# configure:4072: clang -o conftest -pipe -Wall conftest.c >&5
# conftest.c:54:6: warning: incompatible redeclaration of library function 'strcasecmp' [-Wincompatible-library-redeclaration]
# char strcasecmp ();
# ^
# conftest.c:54:6: note: 'strcasecmp' is a builtin with type 'int (const char *, const char *)'
# 1 warning generated.
# configure:4072: $? = 0
# configure:4072: result: yes
# configure:4072: checking for strchr
# configure:4072: clang -o conftest -pipe -Wall conftest.c >&5
# conftest.c:55:6: warning: incompatible redeclaration of library function 'strchr' [-Wincompatible-library-redeclaration]
# char strchr ();
# ^
# conftest.c:55:6: note: 'strchr' is a builtin with type 'char *(const char *, int)'
# 1 warning generated.
# configure:4072: $? = 0
# configure:4072: result: yes
# configure:4072: checking for strdup
# configure:4072: clang -o conftest -pipe -Wall conftest.c >&5
# conftest.c:56:6: warning: incompatible redeclaration of library function 'strdup' [-Wincompatible-library-redeclaration]
# char strdup ();
# ^
# conftest.c:56:6: note: 'strdup' is a builtin with type 'char *(const char *)'
# 1 warning generated.
# configure:4072: $? = 0
# configure:4072: result: yes
# configure:4072: checking for strerror
# configure:4072: clang -o conftest -pipe -Wall conftest.c >&5
# conftest.c:57:6: warning: incompatible redeclaration of library function 'strerror' [-Wincompatible-library-redeclaration]
# char strerror ();
# ^
# conftest.c:57:6: note: 'strerror' is a builtin with type 'char *(int)'
# 1 warning generated.
# configure:4072: $? = 0
# configure:4072: result: yes
# configure:4072: checking for strtol
# configure:4072: clang -o conftest -pipe -Wall conftest.c >&5
# configure:4072: $? = 0
# configure:4072: result: yes
# configure:4072: checking for strtod
# configure:4072: clang -o conftest -pipe -Wall conftest.c >&5
# configure:4072: $? = 0
# configure:4072: result: yes
# configure:4084: checking for printf
# configure:4084: clang -o conftest -pipe -Wall conftest.c >&5
# conftest.c:60:6: warning: incompatible redeclaration of library function 'printf' [-Wincompatible-library-redeclaration]
# char printf ();
# ^
# conftest.c:60:6: note: 'printf' is a builtin with type 'int (const char *, ...)'
# 1 warning generated.
# configure:4084: $? = 0
# configure:4084: result: yes
# configure:4084: checking for sprintf
# configure:4084: clang -o conftest -pipe -Wall conftest.c >&5
# conftest.c:61:6: warning: incompatible redeclaration of library function 'sprintf' [-Wincompatible-library-redeclaration]
# char sprintf ();
# ^
# conftest.c:61:6: note: 'sprintf' is a builtin with type 'int (char *, const char *, ...)'
# 1 warning generated.
# configure:4084: $? = 0
# configure:4084: result: yes
# configure:4084: checking for snprintf
# configure:4084: clang -o conftest -pipe -Wall conftest.c >&5
# conftest.c:62:6: warning: incompatible redeclaration of library function 'snprintf' [-Wincompatible-library-redeclaration]
# char snprintf ();
# ^
# conftest.c:62:6: note: 'snprintf' is a builtin with type 'int (char *, unsigned long, const char *, ...)'
# 1 warning generated.
# configure:4084: $? = 0
# configure:4084: result: yes
# configure:4084: checking for vsnprintf
# configure:4084: clang -o conftest -pipe -Wall conftest.c >&5
# conftest.c:63:6: warning: incompatible redeclaration of library function 'vsnprintf' [-Wincompatible-library-redeclaration]
# char vsnprintf ();
# ^
# conftest.c:63:6: note: 'vsnprintf' is a builtin with type 'int (char *, unsigned long, const char *, struct __va_list_tag *)'
# 1 warning generated.
# configure:4084: $? = 0
# configure:4084: result: yes
# configure:4084: checking for gettimeofday
# configure:4084: clang -o conftest -pipe -Wall conftest.c >&5
# configure:4084: $? = 0
# configure:4084: result: yes
# configure:4084: checking for strndup
# configure:4084: clang -o conftest -pipe -Wall conftest.c >&5
# conftest.c:65:6: warning: incompatible redeclaration of library function 'strndup' [-Wincompatible-library-redeclaration]
# char strndup ();
# ^
# conftest.c:65:6: note: 'strndup' is a builtin with type 'char *(const char *, unsigned long)'
# 1 warning generated.
# configure:4084: $? = 0
# configure:4084: result: yes
# configure:4084: checking for strlcpy
# configure:4084: clang -o conftest -pipe -Wall conftest.c >&5
# conftest.c:66:6: warning: incompatible redeclaration of library function 'strlcpy' [-Wincompatible-library-redeclaration]
# char strlcpy ();
# ^
# conftest.c:66:6: note: 'strlcpy' is a builtin with type 'unsigned long (char *, const char *, unsigned long)'
# 1 warning generated.
# /tmp/conftest-703cf5.o: In function `main':
# conftest.c:(.text+0x12): undefined reference to `strlcpy'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:4084: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libguess"
# | #define PACKAGE_TARNAME "libguess"
# | #define PACKAGE_VERSION "1.2"
# | #define PACKAGE_STRING "libguess 1.2"
# | #define PACKAGE_BUGREPORT "bugs+libguess@atheme.org"
# | #define PACKAGE_URL ""
# | #define HAVE_DIRENT_H 1
# | #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_LIMITS_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_STDARG_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_MEMSET 1
# | #define HAVE_SETLOCALE 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRCHR 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR 1
# | #define HAVE_STRTOL 1
# | #define HAVE_STRTOD 1
# | #define HAVE_PRINTF 1
# | #define HAVE_SPRINTF 1
# | #define HAVE_SNPRINTF 1
# | #define HAVE_VSNPRINTF 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_STRNDUP 1
# | /* end confdefs.h. */
# | /* Define strlcpy to an innocuous variant, in case declares strlcpy.
# | For example, HP-UX 11i declares gettimeofday. */
# | #define strlcpy innocuous_strlcpy
# |
# | /* System header to define __stub macros and hopefully few prototypes,
# | which can conflict with char strlcpy (); below.
# | Prefer to if __STDC__ is defined, since
# | exists even on freestanding compilers. */
# |
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# |
# | #undef strlcpy
# |
# | /* 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 strlcpy ();
# | /* 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_strlcpy || defined __stub___strlcpy
# | choke me
# | #endif
# |
# | int
# | main ()
# | {
# | return strlcpy ();
# | ;
# | return 0;
# | }
# configure:4084: result: no
# configure:4084: checking for strlcat
# configure:4084: clang -o conftest -pipe -Wall conftest.c >&5
# conftest.c:66:6: warning: incompatible redeclaration of library function 'strlcat' [-Wincompatible-library-redeclaration]
# char strlcat ();
# ^
# conftest.c:66:6: note: 'strlcat' is a builtin with type 'unsigned long (char *, const char *, unsigned long)'
# 1 warning generated.
# /tmp/conftest-cd12ea.o: In function `main':
# conftest.c:(.text+0x12): undefined reference to `strlcat'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:4084: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libguess"
# | #define PACKAGE_TARNAME "libguess"
# | #define PACKAGE_VERSION "1.2"
# | #define PACKAGE_STRING "libguess 1.2"
# | #define PACKAGE_BUGREPORT "bugs+libguess@atheme.org"
# | #define PACKAGE_URL ""
# | #define HAVE_DIRENT_H 1
# | #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_LIMITS_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_STDARG_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_MEMSET 1
# | #define HAVE_SETLOCALE 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRCHR 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR 1
# | #define HAVE_STRTOL 1
# | #define HAVE_STRTOD 1
# | #define HAVE_PRINTF 1
# | #define HAVE_SPRINTF 1
# | #define HAVE_SNPRINTF 1
# | #define HAVE_VSNPRINTF 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_STRNDUP 1
# | /* end confdefs.h. */
# | /* Define strlcat to an innocuous variant, in case declares strlcat.
# | For example, HP-UX 11i declares gettimeofday. */
# | #define strlcat innocuous_strlcat
# |
# | /* System header to define __stub macros and hopefully few prototypes,
# | which can conflict with char strlcat (); below.
# | Prefer to if __STDC__ is defined, since
# | exists even on freestanding compilers. */
# |
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# |
# | #undef strlcat
# |
# | /* 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 strlcat ();
# | /* 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_strlcat || defined __stub___strlcat
# | choke me
# | #endif
# |
# | int
# | main ()
# | {
# | return strlcat ();
# | ;
# | return 0;
# | }
# configure:4084: result: no
# configure:4093: checking whether lstat correctly handles trailing slash
# configure:4119: clang -o conftest -pipe -Wall conftest.c >&5
# configure:4119: $? = 0
# configure:4119: ./conftest
# configure:4119: $? = 0
# configure:4136: result: yes
# configure:4155: checking whether stat accepts an empty string
# configure:4175: clang -o conftest -pipe -Wall conftest.c >&5
# configure:4175: $? = 0
# configure:4175: ./conftest
# configure:4175: $? = 0
# configure:4185: result: no
# configure:4344: creating ./config.status
#
# ## ---------------------- ##
# ## Running config.status. ##
# ## ---------------------- ##
#
# This file was extended by libguess config.status 1.2, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# CONFIG_FILES =
# CONFIG_HEADERS =
# CONFIG_LINKS =
# CONFIG_COMMANDS =
# $ ./config.status
#
# on ea382ea2ab6d
#
# config.status:858: creating buildsys.mk
# config.status:858: creating extra.mk
# config.status:858: creating libguess.pc
# config.status:858: creating src/libguess/autoconf.h
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_build=x86_64-unknown-linux-gnu
# 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_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_closedir_void=no
# ac_cv_func_gettimeofday=yes
# ac_cv_func_lstat_dereferences_slashed_symlink=yes
# ac_cv_func_memset=yes
# ac_cv_func_printf=yes
# ac_cv_func_setlocale=yes
# ac_cv_func_snprintf=yes
# ac_cv_func_sprintf=yes
# ac_cv_func_stat_empty_string_bug=no
# ac_cv_func_strcasecmp=yes
# ac_cv_func_strchr=yes
# ac_cv_func_strdup=yes
# ac_cv_func_strerror=yes
# ac_cv_func_strlcat=no
# ac_cv_func_strlcpy=no
# ac_cv_func_strndup=yes
# ac_cv_func_strtod=yes
# ac_cv_func_strtol=yes
# ac_cv_func_vsnprintf=yes
# ac_cv_header_dirent_dirent_h=yes
# ac_cv_header_errno_h=yes
# ac_cv_header_inttypes_h=yes
# ac_cv_header_limits_h=yes
# ac_cv_header_locale_h=yes
# ac_cv_header_memory_h=yes
# ac_cv_header_stdarg_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_objext=o
# ac_cv_path_EGREP='/usr/bin/grep -E'
# ac_cv_path_GREP=/usr/bin/grep
# ac_cv_path_install='/usr/bin/install -c'
# ac_cv_prog_CC=clang
# ac_cv_prog_CPP='clang -E'
# ac_cv_prog_cc_c89=
# ac_cv_prog_cc_g=yes
# ac_cv_prog_make_make_set=yes
# ac_cv_search_opendir='none required'
# ac_cv_search_strerror='none required'
# ac_cv_target=x86_64-unknown-linux-gnu
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# CC='clang'
# CFLAGS=' -pipe -Wall'
# CLEAN_LIB=''
# CPP='clang -E'
# CPPFLAGS=''
# DEFS='-DHAVE_CONFIG_H'
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP='/usr/bin/grep -E'
# EXAMPLES_BUILD=''
# EXEEXT=''
# GREP='/usr/bin/grep'
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_LIB='${INSTALL} -m 755 $$i ${DESTDIR}${libdir}/$$i.${LIB_MAJOR}.${LIB_MINOR}.0 && ${LN_S} -f $$i.${LIB_MAJOR}.${LIB_MINOR}.0 ${DESTDIR}${libdir}/$$i.${LIB_MAJOR} && ${LN_S} -f $$i.${LIB_MAJOR}.${LIB_MINOR}.0 ${DESTDIR}${libdir}/$$i'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# LDFLAGS=''
# LDFLAGS_RPATH='-Wl,-rpath,${libdir}'
# LIBOBJS=''
# LIBS=' '
# LIB_CFLAGS='-fPIC'
# LIB_CPPFLAGS='-DPIC'
# LIB_LDFLAGS='-shared -fPIC -Wl,-soname=${LIB}.${LIB_MAJOR}'
# LIB_PREFIX='lib'
# LIB_SUFFIX='.so'
# LN_S='ln -s'
# LTLIBOBJS=''
# OBJEXT='o'
# PACKAGE='libguess'
# PACKAGE_BUGREPORT='bugs+libguess@atheme.org'
# PACKAGE_NAME='libguess'
# PACKAGE_STRING='libguess 1.2'
# PACKAGE_TARNAME='libguess'
# PACKAGE_URL=''
# PACKAGE_VERSION='1.2'
# PATH_SEPARATOR=':'
# PLUGIN_CFLAGS='-fPIC'
# PLUGIN_CPPFLAGS='-DPIC'
# PLUGIN_LDFLAGS='-shared -fPIC'
# PLUGIN_SUFFIX='.so'
# SET_MAKE=''
# SHELL='/bin/sh'
# UNINSTALL_LIB='rm -f ${DESTDIR}${libdir}/$$i ${DESTDIR}${libdir}/$$i.${LIB_MAJOR} ${DESTDIR}${libdir}/$$i.${LIB_MAJOR}.${LIB_MINOR}.0'
# ac_ct_CC=''
# 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'
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localedir='${datarootdir}/locale'
# localstatedir='${prefix}/var'
# mandir='${datarootdir}/man'
# 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='x86_64-unknown-linux-gnu'
# target_alias=''
# target_cpu='x86_64'
# target_os='linux-gnu'
# target_vendor='unknown'
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# /* confdefs.h */
# #define PACKAGE_NAME "libguess"
# #define PACKAGE_TARNAME "libguess"
# #define PACKAGE_VERSION "1.2"
# #define PACKAGE_STRING "libguess 1.2"
# #define PACKAGE_BUGREPORT "bugs+libguess@atheme.org"
# #define PACKAGE_URL ""
# #define HAVE_DIRENT_H 1
# #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_LIMITS_H 1
# #define HAVE_STDLIB_H 1
# #define HAVE_STRING_H 1
# #define HAVE_UNISTD_H 1
# #define HAVE_LOCALE_H 1
# #define HAVE_STDARG_H 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_STAT_H 1
# #define HAVE_ERRNO_H 1
# #define HAVE_MEMSET 1
# #define HAVE_SETLOCALE 1
# #define HAVE_STRCASECMP 1
# #define HAVE_STRCHR 1
# #define HAVE_STRDUP 1
# #define HAVE_STRERROR 1
# #define HAVE_STRTOL 1
# #define HAVE_STRTOD 1
# #define HAVE_PRINTF 1
# #define HAVE_SPRINTF 1
# #define HAVE_SNPRINTF 1
# #define HAVE_VSNPRINTF 1
# #define HAVE_GETTIMEOFDAY 1
# #define HAVE_STRNDUP 1
# #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
#
# configure: exit 0