Build of the_silver_searcher with clang_glibc toolchain

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

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

SLOCLanguage
4,515 ansic
828 makefile
447 sh
18 python
5,808 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: the_silver_searcher 0.32.0-1 (Thu Apr 13 17:11:34 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /usr/bin/automake line 3936.
# configure.ac:10: installing './compile'
# configure.ac:21: installing './config.guess'
# configure.ac:21: installing './config.sub'
# configure.ac:8: installing './install-sh'
# configure.ac:8: installing './missing'
# Makefile.am: installing './depcomp'
# checking for a BSD-compatible install... /usr/bin/install -c
# checking whether build environment is sane... yes
# checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
# checking for gawk... gawk
# checking whether make sets $(MAKE)... yes
# checking whether make supports nested variables... yes
# checking for 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 clang understands -c and -o together... yes
# checking for style of include used by make... GNU
# checking dependency style of clang... gcc3
# checking whether make supports nested variables... (cached) yes
# checking for pkg-config... /usr/bin/pkg-config
# checking pkg-config is at least version 0.9.0... yes
# checking for PCRE... yes
# checking build system type... x86_64-unknown-linux-gnu
# checking host system type... x86_64-unknown-linux-gnu
# 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 if compiler needs -Werror to reject unknown flags... yes
# checking for the pthreads library -lpthreads... no
# checking whether pthreads work without any flags... no
# checking whether pthreads work with -Kthread... no
# checking whether pthreads work with -kthread... no
# checking for the pthreads library -llthread... no
# checking whether pthreads work with -pthread... yes
# checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
# checking if more special flags are required for pthreads... no
# checking for PTHREAD_PRIO_INHERIT... yes
# checking pthread.h usability... yes
# checking pthread.h presence... yes
# checking for pthread.h... yes
# checking zlib.h usability... yes
# checking zlib.h presence... yes
# checking for zlib.h... yes
# checking for library containing inflate... -lz
# checking lzma.h usability... yes
# checking lzma.h presence... yes
# checking for lzma.h... yes
# checking for LZMA... yes
# checking whether PCRE_CONFIG_JIT is declared... yes
# checking whether CPU_ZERO, CPU_SET is declared... yes
# checking for struct dirent.d_type... yes
# checking for struct dirent.d_namlen... no
# checking for fgetln... no
# checking for getline... yes
# checking for realpath... yes
# checking for strlcpy... no
# checking for strndup... yes
# checking for vasprintf... yes
# checking for madvise... yes
# checking for posix_fadvise... yes
# checking for pthread_setaffinity_np... yes
# checking for pledge... no
# checking for clang-format-3.7... no
# checking for clang-format-3.6... no
# checking for clang-format... clang-format
# configure: clang-format found. 'make test' will detect improperly-formatted files.
# checking that generated files are newer than configure... done
# configure: creating ./config.status
# config.status: creating Makefile
# config.status: creating the_silver_searcher.spec
# config.status: creating src/config.h
# config.status: executing depfiles commands
# CC src/ignore.o
# CC src/log.o
# CC src/print.o
# CC src/options.o
# CC src/print_w32.o
# CC src/scandir.o
# CC src/search.o
# CC src/lang.o
# CC src/util.o
# CC src/decompress.o
# CC src/main.o
# src/decompress.c:52:31: warning: cast from 'const void *' to 'unsigned char *' drops const qualifier [-Wcast-qual]
# stream.next_in = (Bytef *)buf;
# ^
# 1 warning generated.
# CCLD ag
# ==> Entering fakeroot environment...
# ==> Starting package()...
# make: Entering directory '/tmp/the_silver_searcher/src/the_silver_searcher'
# make[1]: Entering directory '/tmp/the_silver_searcher/src/the_silver_searcher'
# /usr/bin/mkdir -p '/tmp/the_silver_searcher/pkg/the_silver_searcher/usr/local/bin'
# /usr/bin/install -c ag '/tmp/the_silver_searcher/pkg/the_silver_searcher/usr/local/bin'
# /usr/bin/mkdir -p '/tmp/the_silver_searcher/pkg/the_silver_searcher/usr/local/share/the_silver_searcher/completions'
# /usr/bin/install -c -m 644 ag.bashcomp.sh '/tmp/the_silver_searcher/pkg/the_silver_searcher/usr/local/share/the_silver_searcher/completions'
# /usr/bin/mkdir -p '/tmp/the_silver_searcher/pkg/the_silver_searcher/usr/local/share/man/man1'
# /usr/bin/install -c -m 644 doc/ag.1 '/tmp/the_silver_searcher/pkg/the_silver_searcher/usr/local/share/man/man1'
# make[1]: Leaving directory '/tmp/the_silver_searcher/src/the_silver_searcher'
# make: Leaving directory '/tmp/the_silver_searcher/src/the_silver_searcher'
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "the_silver_searcher"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: the_silver_searcher 0.32.0-1 (Thu Apr 13 17:12:03 UTC 2017)

CMD: pacman --query --file the_silver_searcher-0.32.0-1-x86_64.pkg.tar.xz
# the_silver_searcher 0.32.0-1

Creating hybrid package for 'the_silver_searcher'

Trying to find vanilla package 'the_silver_searcher'...

CMD: pacman --query --file /mirror/the_silver_searcher-0.32.0-1.pkg.tar.xz
# the_silver_searcher 0.32.0-1

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /usr/bin/ag
# /usr/share/man/man1/ag.1.gz
# /usr/share/the_silver_searcher/completions/ag.bashcomp.sh

Generating .MTREE

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

Tar-ing up files

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

CMD: xz -c -z

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

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

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

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/the_silver_searcher.pkg.tar.xz
# ==> Extracting database to a temporary location...
# ==> Extracting database to a temporary location...
# ==> Adding package '/var/cache/pacman/pkg/the_silver_searcher.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/the_silver_searcher/src/the_silver_searcher/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 the_silver_searcher configure 0.32.0, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = edc15b4194c7
# 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
# PATH: /usr/local/bin
#
#
# ## ----------- ##
# ## Core tests. ##
# ## ----------- ##
#
# configure:2340: checking for a BSD-compatible install
# configure:2408: result: /usr/bin/install -c
# configure:2419: checking whether build environment is sane
# configure:2474: result: yes
# configure:2625: checking for a thread-safe mkdir -p
# configure:2664: result: /usr/bin/mkdir -p
# configure:2671: checking for gawk
# configure:2687: found /usr/bin/gawk
# configure:2698: result: gawk
# configure:2709: checking whether make sets $(MAKE)
# configure:2731: result: yes
# configure:2760: checking whether make supports nested variables
# configure:2777: result: yes
# configure:2943: checking for gcc
# configure:2970: result: clang
# configure:3199: checking for C compiler version
# configure:3208: 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:3219: $? = 0
# configure:3208: 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:3219: $? = 0
# configure:3208: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:3219: $? = 1
# configure:3208: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:3219: $? = 1
# configure:3239: checking whether the C compiler works
# configure:3261: clang conftest.c >&5
# configure:3265: $? = 0
# configure:3313: result: yes
# configure:3316: checking for C compiler default output file name
# configure:3318: result: a.out
# configure:3324: checking for suffix of executables
# configure:3331: clang -o conftest conftest.c >&5
# configure:3335: $? = 0
# configure:3357: result:
# configure:3379: checking whether we are cross compiling
# configure:3387: clang -o conftest conftest.c >&5
# configure:3391: $? = 0
# configure:3398: ./conftest
# configure:3402: $? = 0
# configure:3417: result: no
# configure:3422: checking for suffix of object files
# configure:3444: clang -c conftest.c >&5
# configure:3448: $? = 0
# configure:3469: result: o
# configure:3473: checking whether we are using the GNU C compiler
# configure:3492: clang -c conftest.c >&5
# configure:3492: $? = 0
# configure:3501: result: yes
# configure:3510: checking whether clang accepts -g
# configure:3530: clang -c -g conftest.c >&5
# configure:3530: $? = 0
# configure:3571: result: yes
# configure:3588: checking for clang option to accept ISO C89
# configure:3651: clang -c conftest.c >&5
# configure:3651: $? = 0
# configure:3664: result: none needed
# configure:3689: checking whether clang understands -c and -o together
# configure:3711: clang -c conftest.c -o conftest2.o
# configure:3714: $? = 0
# configure:3711: clang -c conftest.c -o conftest2.o
# configure:3714: $? = 0
# configure:3726: result: yes
# configure:3754: checking for style of include used by make
# configure:3782: result: GNU
# configure:3808: checking dependency style of clang
# configure:3919: result: gcc3
# configure:3948: checking whether make supports nested variables
# configure:3965: result: yes
# configure:4031: checking for pkg-config
# configure:4049: found /usr/bin/pkg-config
# configure:4061: result: /usr/bin/pkg-config
# configure:4086: checking pkg-config is at least version 0.9.0
# configure:4089: result: yes
# configure:4099: checking for PCRE
# configure:4106: $PKG_CONFIG --exists --print-errors "libpcre"
# configure:4109: $? = 0
# configure:4123: $PKG_CONFIG --exists --print-errors "libpcre"
# configure:4126: $? = 0
# configure:4184: result: yes
# configure:4299: checking build system type
# configure:4313: result: x86_64-unknown-linux-gnu
# configure:4333: checking host system type
# configure:4346: result: x86_64-unknown-linux-gnu
# configure:4372: checking how to run the C preprocessor
# configure:4403: clang -E conftest.c
# configure:4403: $? = 0
# configure:4417: clang -E conftest.c
# conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:4417: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "the_silver_searcher"
# | #define PACKAGE_TARNAME "the_silver_searcher"
# | #define PACKAGE_VERSION "0.32.0"
# | #define PACKAGE_STRING "the_silver_searcher 0.32.0"
# | #define PACKAGE_BUGREPORT "https://github.com/ggreer/the_silver_searcher/issues"
# | #define PACKAGE_URL "https://github.com/ggreer/the_silver_searcher"
# | /* end confdefs.h. */
# | #include
# configure:4442: result: clang -E
# configure:4462: clang -E conftest.c
# configure:4462: $? = 0
# configure:4476: clang -E conftest.c
# conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:4476: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "the_silver_searcher"
# | #define PACKAGE_TARNAME "the_silver_searcher"
# | #define PACKAGE_VERSION "0.32.0"
# | #define PACKAGE_STRING "the_silver_searcher 0.32.0"
# | #define PACKAGE_BUGREPORT "https://github.com/ggreer/the_silver_searcher/issues"
# | #define PACKAGE_URL "https://github.com/ggreer/the_silver_searcher"
# | /* end confdefs.h. */
# | #include
# configure:4505: checking for grep that handles long lines and -e
# configure:4563: result: /usr/bin/grep
# configure:4568: checking for egrep
# configure:4630: result: /usr/bin/grep -E
# configure:4635: checking for ANSI C header files
# configure:4655: clang -c conftest.c >&5
# configure:4655: $? = 0
# configure:4728: clang -o conftest conftest.c >&5
# configure:4728: $? = 0
# configure:4728: ./conftest
# configure:4728: $? = 0
# configure:4739: result: yes
# configure:4752: checking for sys/types.h
# configure:4752: clang -c conftest.c >&5
# configure:4752: $? = 0
# configure:4752: result: yes
# configure:4752: checking for sys/stat.h
# configure:4752: clang -c conftest.c >&5
# configure:4752: $? = 0
# configure:4752: result: yes
# configure:4752: checking for stdlib.h
# configure:4752: clang -c conftest.c >&5
# configure:4752: $? = 0
# configure:4752: result: yes
# configure:4752: checking for string.h
# configure:4752: clang -c conftest.c >&5
# configure:4752: $? = 0
# configure:4752: result: yes
# configure:4752: checking for memory.h
# configure:4752: clang -c conftest.c >&5
# configure:4752: $? = 0
# configure:4752: result: yes
# configure:4752: checking for strings.h
# configure:4752: clang -c conftest.c >&5
# configure:4752: $? = 0
# configure:4752: result: yes
# configure:4752: checking for inttypes.h
# configure:4752: clang -c conftest.c >&5
# configure:4752: $? = 0
# configure:4752: result: yes
# configure:4752: checking for stdint.h
# configure:4752: clang -c conftest.c >&5
# configure:4752: $? = 0
# configure:4752: result: yes
# configure:4752: checking for unistd.h
# configure:4752: clang -c conftest.c >&5
# configure:4752: $? = 0
# configure:4752: result: yes
# configure:4876: checking if compiler needs -Werror to reject unknown flags
# configure:4892: clang -c -Werror -Wunknown-warning-option -Wsizeof-array-argument conftest.c >&5
# configure:4892: $? = 0
# configure:4893: result: yes
# configure:4963: checking for the pthreads library -lpthreads
# configure:5001: clang -o conftest -Werror conftest.c -lpthreads >&5
# /usr/bin/ld: cannot find -lpthreads
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:5001: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "the_silver_searcher"
# | #define PACKAGE_TARNAME "the_silver_searcher"
# | #define PACKAGE_VERSION "0.32.0"
# | #define PACKAGE_STRING "the_silver_searcher 0.32.0"
# | #define PACKAGE_BUGREPORT "https://github.com/ggreer/the_silver_searcher/issues"
# | #define PACKAGE_URL "https://github.com/ggreer/the_silver_searcher"
# | #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
# | static void routine(void *a) { a = 0; }
# | static void *start_routine(void *a) { return a; }
# | int
# | main ()
# | {
# | pthread_t th; pthread_attr_t attr;
# | pthread_create(&th, 0, start_routine, 0);
# | pthread_join(th, 0);
# | pthread_attr_init(&attr);
# | pthread_cleanup_push(routine, 0);
# | pthread_cleanup_pop(0) /* ; */
# | ;
# | return 0;
# | }
# configure:5010: result: no
# configure:4908: checking whether pthreads work without any flags
# configure:5001: clang -o conftest -Werror conftest.c >&5
# /tmp/conftest-165dca.o: In function `main':
# conftest.c:(.text+0x28): undefined reference to `pthread_create'
# conftest.c:(.text+0x3d): undefined reference to `pthread_join'
# conftest.c:(.text+0xbe): undefined reference to `__pthread_register_cancel'
# conftest.c:(.text+0xd9): undefined reference to `__pthread_unregister_cancel'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:5001: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "the_silver_searcher"
# | #define PACKAGE_TARNAME "the_silver_searcher"
# | #define PACKAGE_VERSION "0.32.0"
# | #define PACKAGE_STRING "the_silver_searcher 0.32.0"
# | #define PACKAGE_BUGREPORT "https://github.com/ggreer/the_silver_searcher/issues"
# | #define PACKAGE_URL "https://github.com/ggreer/the_silver_searcher"
# | #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
# | static void routine(void *a) { a = 0; }
# | static void *start_routine(void *a) { return a; }
# | int
# | main ()
# | {
# | pthread_t th; pthread_attr_t attr;
# | pthread_create(&th, 0, start_routine, 0);
# | pthread_join(th, 0);
# | pthread_attr_init(&attr);
# | pthread_cleanup_push(routine, 0);
# | pthread_cleanup_pop(0) /* ; */
# | ;
# | return 0;
# | }
# configure:5010: result: no
# configure:4913: checking whether pthreads work with -Kthread
# configure:5001: clang -o conftest -Kthread -Werror conftest.c >&5
# clang-3.8: error: unknown argument: '-Kthread'
# configure:5001: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "the_silver_searcher"
# | #define PACKAGE_TARNAME "the_silver_searcher"
# | #define PACKAGE_VERSION "0.32.0"
# | #define PACKAGE_STRING "the_silver_searcher 0.32.0"
# | #define PACKAGE_BUGREPORT "https://github.com/ggreer/the_silver_searcher/issues"
# | #define PACKAGE_URL "https://github.com/ggreer/the_silver_searcher"
# | #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
# | static void routine(void *a) { a = 0; }
# | static void *start_routine(void *a) { return a; }
# | int
# | main ()
# | {
# | pthread_t th; pthread_attr_t attr;
# | pthread_create(&th, 0, start_routine, 0);
# | pthread_join(th, 0);
# | pthread_attr_init(&attr);
# | pthread_cleanup_push(routine, 0);
# | pthread_cleanup_pop(0) /* ; */
# | ;
# | return 0;
# | }
# configure:5010: result: no
# configure:4913: checking whether pthreads work with -kthread
# configure:5001: clang -o conftest -kthread -Werror conftest.c >&5
# clang-3.8: error: unknown argument: '-kthread'
# configure:5001: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "the_silver_searcher"
# | #define PACKAGE_TARNAME "the_silver_searcher"
# | #define PACKAGE_VERSION "0.32.0"
# | #define PACKAGE_STRING "the_silver_searcher 0.32.0"
# | #define PACKAGE_BUGREPORT "https://github.com/ggreer/the_silver_searcher/issues"
# | #define PACKAGE_URL "https://github.com/ggreer/the_silver_searcher"
# | #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
# | static void routine(void *a) { a = 0; }
# | static void *start_routine(void *a) { return a; }
# | int
# | main ()
# | {
# | pthread_t th; pthread_attr_t attr;
# | pthread_create(&th, 0, start_routine, 0);
# | pthread_join(th, 0);
# | pthread_attr_init(&attr);
# | pthread_cleanup_push(routine, 0);
# | pthread_cleanup_pop(0) /* ; */
# | ;
# | return 0;
# | }
# configure:5010: result: no
# configure:4963: checking for the pthreads library -llthread
# configure:5001: clang -o conftest -Werror conftest.c -llthread >&5
# /usr/bin/ld: cannot find -llthread
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:5001: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "the_silver_searcher"
# | #define PACKAGE_TARNAME "the_silver_searcher"
# | #define PACKAGE_VERSION "0.32.0"
# | #define PACKAGE_STRING "the_silver_searcher 0.32.0"
# | #define PACKAGE_BUGREPORT "https://github.com/ggreer/the_silver_searcher/issues"
# | #define PACKAGE_URL "https://github.com/ggreer/the_silver_searcher"
# | #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
# | static void routine(void *a) { a = 0; }
# | static void *start_routine(void *a) { return a; }
# | int
# | main ()
# | {
# | pthread_t th; pthread_attr_t attr;
# | pthread_create(&th, 0, start_routine, 0);
# | pthread_join(th, 0);
# | pthread_attr_init(&attr);
# | pthread_cleanup_push(routine, 0);
# | pthread_cleanup_pop(0) /* ; */
# | ;
# | return 0;
# | }
# configure:5010: result: no
# configure:4913: checking whether pthreads work with -pthread
# configure:5001: clang -o conftest -pthread -Werror conftest.c >&5
# configure:5001: $? = 0
# configure:5010: result: yes
# configure:5029: checking for joinable pthread attribute
# configure:5044: clang -o conftest -pthread conftest.c >&5
# configure:5044: $? = 0
# configure:5050: result: PTHREAD_CREATE_JOINABLE
# configure:5060: checking if more special flags are required for pthreads
# configure:5075: result: no
# configure:5081: checking for PTHREAD_PRIO_INHERIT
# configure:5098: clang -o conftest -pthread conftest.c >&5
# configure:5098: $? = 0
# configure:5107: result: yes
# configure:5193: checking pthread.h usability
# configure:5193: clang -c conftest.c >&5
# configure:5193: $? = 0
# configure:5193: result: yes
# configure:5193: checking pthread.h presence
# configure:5193: clang -E conftest.c
# configure:5193: $? = 0
# configure:5193: result: yes
# configure:5193: checking for pthread.h
# configure:5193: result: yes
# configure:5279: checking zlib.h usability
# configure:5279: clang -c -pthread -Wall -Wextra -Wformat=2 -Wno-format-nonliteral -Wshadow -Wpointer-arith -Wcast-qual -Wmissing-prototypes -Wno-missing-braces -std=gnu89 -D_GNU_SOURCE -O2 conftest.c >&5
# configure:5279: $? = 0
# configure:5279: result: yes
# configure:5279: checking zlib.h presence
# configure:5279: clang -E conftest.c
# configure:5279: $? = 0
# configure:5279: result: yes
# configure:5279: checking for zlib.h
# configure:5279: result: yes
# configure:5289: checking for library containing inflate
# configure:5320: clang -o conftest -pthread -Wall -Wextra -Wformat=2 -Wno-format-nonliteral -Wshadow -Wpointer-arith -Wcast-qual -Wmissing-prototypes -Wno-missing-braces -std=gnu89 -D_GNU_SOURCE -O2 conftest.c >&5
# /tmp/conftest-9a2340.o: In function `main':
# conftest.c:(.text+0x4): undefined reference to `inflate'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:5320: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "the_silver_searcher"
# | #define PACKAGE_TARNAME "the_silver_searcher"
# | #define PACKAGE_VERSION "0.32.0"
# | #define PACKAGE_STRING "the_silver_searcher 0.32.0"
# | #define PACKAGE_BUGREPORT "https://github.com/ggreer/the_silver_searcher/issues"
# | #define PACKAGE_URL "https://github.com/ggreer/the_silver_searcher"
# | #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_PTHREAD_PRIO_INHERIT 1
# | #define HAVE_PTHREAD_H 1
# | #define HAVE_ZLIB_H 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 inflate ();
# | int
# | main ()
# | {
# | return inflate ();
# | ;
# | return 0;
# | }
# configure:5320: clang -o conftest -pthread -Wall -Wextra -Wformat=2 -Wno-format-nonliteral -Wshadow -Wpointer-arith -Wcast-qual -Wmissing-prototypes -Wno-missing-braces -std=gnu89 -D_GNU_SOURCE -O2 conftest.c -lzlib, >&5
# /usr/bin/ld: cannot find -lzlib,
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:5320: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "the_silver_searcher"
# | #define PACKAGE_TARNAME "the_silver_searcher"
# | #define PACKAGE_VERSION "0.32.0"
# | #define PACKAGE_STRING "the_silver_searcher 0.32.0"
# | #define PACKAGE_BUGREPORT "https://github.com/ggreer/the_silver_searcher/issues"
# | #define PACKAGE_URL "https://github.com/ggreer/the_silver_searcher"
# | #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_PTHREAD_PRIO_INHERIT 1
# | #define HAVE_PTHREAD_H 1
# | #define HAVE_ZLIB_H 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 inflate ();
# | int
# | main ()
# | {
# | return inflate ();
# | ;
# | return 0;
# | }
# configure:5320: clang -o conftest -pthread -Wall -Wextra -Wformat=2 -Wno-format-nonliteral -Wshadow -Wpointer-arith -Wcast-qual -Wmissing-prototypes -Wno-missing-braces -std=gnu89 -D_GNU_SOURCE -O2 conftest.c -lz >&5
# configure:5320: $? = 0
# configure:5337: result: -lz
# configure:5358: checking lzma.h usability
# configure:5358: clang -c -pthread -Wall -Wextra -Wformat=2 -Wno-format-nonliteral -Wshadow -Wpointer-arith -Wcast-qual -Wmissing-prototypes -Wno-missing-braces -std=gnu89 -D_GNU_SOURCE -O2 conftest.c >&5
# configure:5358: $? = 0
# configure:5358: result: yes
# configure:5358: checking lzma.h presence
# configure:5358: clang -E conftest.c
# configure:5358: $? = 0
# configure:5358: result: yes
# configure:5358: checking for lzma.h
# configure:5358: result: yes
# configure:5370: checking for LZMA
# configure:5377: $PKG_CONFIG --exists --print-errors "liblzma"
# configure:5380: $? = 0
# configure:5394: $PKG_CONFIG --exists --print-errors "liblzma"
# configure:5397: $? = 0
# configure:5455: result: yes
# configure:5462: checking whether PCRE_CONFIG_JIT is declared
# configure:5462: clang -c -pthread -Wall -Wextra -Wformat=2 -Wno-format-nonliteral -Wshadow -Wpointer-arith -Wcast-qual -Wmissing-prototypes -Wno-missing-braces -std=gnu89 -D_GNU_SOURCE -O2 conftest.c >&5
# configure:5462: $? = 0
# configure:5462: result: yes
# configure:5471: checking whether CPU_ZERO, CPU_SET is declared
# configure:5471: clang -c -pthread -Wall -Wextra -Wformat=2 -Wno-format-nonliteral -Wshadow -Wpointer-arith -Wcast-qual -Wmissing-prototypes -Wno-missing-braces -std=gnu89 -D_GNU_SOURCE -O2 conftest.c >&5
# conftest.c:29:17: warning: extra tokens at end of #ifndef directive [-Wextra-tokens]
# #ifndef CPU_ZERO, CPU_SET
# ^
# //
# 1 warning generated.
# configure:5471: $? = 0
# configure:5471: result: yes
# configure:5480: checking for struct dirent.d_type
# configure:5480: clang -c -pthread -Wall -Wextra -Wformat=2 -Wno-format-nonliteral -Wshadow -Wpointer-arith -Wcast-qual -Wmissing-prototypes -Wno-missing-braces -std=gnu89 -D_GNU_SOURCE -O2 conftest.c >&5
# configure:5480: $? = 0
# configure:5480: result: yes
# configure:5488: checking for struct dirent.d_namlen
# configure:5488: clang -c -pthread -Wall -Wextra -Wformat=2 -Wno-format-nonliteral -Wshadow -Wpointer-arith -Wcast-qual -Wmissing-prototypes -Wno-missing-braces -std=gnu89 -D_GNU_SOURCE -O2 conftest.c >&5
# conftest.c:32:13: error: no member named 'd_namlen' in 'struct dirent'; did you mean 'd_name'?
# if (ac_aggr.d_namlen)
# ^~~~~~~~
# d_name
# /usr/include/bits/dirent.h:33:10: note: 'd_name' declared here
# char d_name[256]; /* We must not include limits.h! */
# ^
# conftest.c:32:13: warning: address of array 'ac_aggr.d_name' will always evaluate to 'true' [-Wpointer-bool-conversion]
# if (ac_aggr.d_namlen)
# ~~ ~~~~~~~~^~~~~~~~
# 1 warning and 1 error generated.
# configure:5488: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "the_silver_searcher"
# | #define PACKAGE_TARNAME "the_silver_searcher"
# | #define PACKAGE_VERSION "0.32.0"
# | #define PACKAGE_STRING "the_silver_searcher 0.32.0"
# | #define PACKAGE_BUGREPORT "https://github.com/ggreer/the_silver_searcher/issues"
# | #define PACKAGE_URL "https://github.com/ggreer/the_silver_searcher"
# | #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_PTHREAD_PRIO_INHERIT 1
# | #define HAVE_PTHREAD_H 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LZMA_H 1
# | #define USE_PCRE_JIT /**/
# | #define USE_CPU_SET /**/
# | #define HAVE_DIRENT_DTYPE /**/
# | /* end confdefs.h. */
# | #include
# |
# | int
# | main ()
# | {
# | static struct dirent ac_aggr;
# | if (ac_aggr.d_namlen)
# | return 0;
# | ;
# | return 0;
# | }
# configure:5488: clang -c -pthread -Wall -Wextra -Wformat=2 -Wno-format-nonliteral -Wshadow -Wpointer-arith -Wcast-qual -Wmissing-prototypes -Wno-missing-braces -std=gnu89 -D_GNU_SOURCE -O2 conftest.c >&5
# conftest.c:32:20: error: no member named 'd_namlen' in 'struct dirent'; did you mean 'd_name'?
# if (sizeof ac_aggr.d_namlen)
# ^~~~~~~~
# d_name
# /usr/include/bits/dirent.h:33:10: note: 'd_name' declared here
# char d_name[256]; /* We must not include limits.h! */
# ^
# 1 error generated.
# configure:5488: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "the_silver_searcher"
# | #define PACKAGE_TARNAME "the_silver_searcher"
# | #define PACKAGE_VERSION "0.32.0"
# | #define PACKAGE_STRING "the_silver_searcher 0.32.0"
# | #define PACKAGE_BUGREPORT "https://github.com/ggreer/the_silver_searcher/issues"
# | #define PACKAGE_URL "https://github.com/ggreer/the_silver_searcher"
# | #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_PTHREAD_PRIO_INHERIT 1
# | #define HAVE_PTHREAD_H 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LZMA_H 1
# | #define USE_PCRE_JIT /**/
# | #define USE_CPU_SET /**/
# | #define HAVE_DIRENT_DTYPE /**/
# | /* end confdefs.h. */
# | #include
# |
# | int
# | main ()
# | {
# | static struct dirent ac_aggr;
# | if (sizeof ac_aggr.d_namlen)
# | return 0;
# | ;
# | return 0;
# | }
# configure:5488: result: no
# configure:5500: checking for fgetln
# configure:5500: clang -o conftest -pthread -Wall -Wextra -Wformat=2 -Wno-format-nonliteral -Wshadow -Wpointer-arith -Wcast-qual -Wmissing-prototypes -Wno-missing-braces -std=gnu89 -D_GNU_SOURCE -O2 conftest.c -lz >&5
# /tmp/conftest-ff7493.o: In function `main':
# conftest.c:(.text+0x4): undefined reference to `fgetln'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:5500: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "the_silver_searcher"
# | #define PACKAGE_TARNAME "the_silver_searcher"
# | #define PACKAGE_VERSION "0.32.0"
# | #define PACKAGE_STRING "the_silver_searcher 0.32.0"
# | #define PACKAGE_BUGREPORT "https://github.com/ggreer/the_silver_searcher/issues"
# | #define PACKAGE_URL "https://github.com/ggreer/the_silver_searcher"
# | #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_PTHREAD_PRIO_INHERIT 1
# | #define HAVE_PTHREAD_H 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LZMA_H 1
# | #define USE_PCRE_JIT /**/
# | #define USE_CPU_SET /**/
# | #define HAVE_DIRENT_DTYPE /**/
# | /* end confdefs.h. */
# | /* Define fgetln to an innocuous variant, in case declares fgetln.
# | For example, HP-UX 11i declares gettimeofday. */
# | #define fgetln innocuous_fgetln
# |
# | /* System header to define __stub macros and hopefully few prototypes,
# | which can conflict with char fgetln (); below.
# | Prefer to if __STDC__ is defined, since
# | exists even on freestanding compilers. */
# |
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# |
# | #undef fgetln
# |
# | /* 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 fgetln ();
# | /* 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_fgetln || defined __stub___fgetln
# | choke me
# | #endif
# |
# | int
# | main ()
# | {
# | return fgetln ();
# | ;
# | return 0;
# | }
# configure:5500: result: no
# configure:5500: checking for getline
# configure:5500: clang -o conftest -pthread -Wall -Wextra -Wformat=2 -Wno-format-nonliteral -Wshadow -Wpointer-arith -Wcast-qual -Wmissing-prototypes -Wno-missing-braces -std=gnu89 -D_GNU_SOURCE -O2 conftest.c -lz >&5
# configure:5500: $? = 0
# configure:5500: result: yes
# configure:5500: checking for realpath
# configure:5500: clang -o conftest -pthread -Wall -Wextra -Wformat=2 -Wno-format-nonliteral -Wshadow -Wpointer-arith -Wcast-qual -Wmissing-prototypes -Wno-missing-braces -std=gnu89 -D_GNU_SOURCE -O2 conftest.c -lz >&5
# configure:5500: $? = 0
# configure:5500: result: yes
# configure:5500: checking for strlcpy
# configure:5500: clang -o conftest -pthread -Wall -Wextra -Wformat=2 -Wno-format-nonliteral -Wshadow -Wpointer-arith -Wcast-qual -Wmissing-prototypes -Wno-missing-braces -std=gnu89 -D_GNU_SOURCE -O2 conftest.c -lz >&5
# conftest.c:51:6: warning: incompatible redeclaration of library function 'strlcpy' [-Wincompatible-library-redeclaration]
# char strlcpy ();
# ^
# conftest.c:51:6: note: 'strlcpy' is a builtin with type 'unsigned long (char *, const char *, unsigned long)'
# 1 warning generated.
# /tmp/conftest-9a674a.o: In function `main':
# conftest.c:(.text+0x4): undefined reference to `strlcpy'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:5500: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "the_silver_searcher"
# | #define PACKAGE_TARNAME "the_silver_searcher"
# | #define PACKAGE_VERSION "0.32.0"
# | #define PACKAGE_STRING "the_silver_searcher 0.32.0"
# | #define PACKAGE_BUGREPORT "https://github.com/ggreer/the_silver_searcher/issues"
# | #define PACKAGE_URL "https://github.com/ggreer/the_silver_searcher"
# | #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_PTHREAD_PRIO_INHERIT 1
# | #define HAVE_PTHREAD_H 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LZMA_H 1
# | #define USE_PCRE_JIT /**/
# | #define USE_CPU_SET /**/
# | #define HAVE_DIRENT_DTYPE /**/
# | #define HAVE_GETLINE 1
# | #define HAVE_REALPATH 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:5500: result: no
# configure:5500: checking for strndup
# configure:5500: clang -o conftest -pthread -Wall -Wextra -Wformat=2 -Wno-format-nonliteral -Wshadow -Wpointer-arith -Wcast-qual -Wmissing-prototypes -Wno-missing-braces -std=gnu89 -D_GNU_SOURCE -O2 conftest.c -lz >&5
# conftest.c:51:6: warning: incompatible redeclaration of library function 'strndup' [-Wincompatible-library-redeclaration]
# char strndup ();
# ^
# conftest.c:51:6: note: 'strndup' is a builtin with type 'char *(const char *, unsigned long)'
# 1 warning generated.
# configure:5500: $? = 0
# configure:5500: result: yes
# configure:5500: checking for vasprintf
# configure:5500: clang -o conftest -pthread -Wall -Wextra -Wformat=2 -Wno-format-nonliteral -Wshadow -Wpointer-arith -Wcast-qual -Wmissing-prototypes -Wno-missing-braces -std=gnu89 -D_GNU_SOURCE -O2 conftest.c -lz >&5
# conftest.c:63:19: warning: format string missing [-Wformat]
# return vasprintf ();
# ~~~~~~~~~ ^
# 1 warning generated.
# configure:5500: $? = 0
# configure:5500: result: yes
# configure:5500: checking for madvise
# configure:5500: clang -o conftest -pthread -Wall -Wextra -Wformat=2 -Wno-format-nonliteral -Wshadow -Wpointer-arith -Wcast-qual -Wmissing-prototypes -Wno-missing-braces -std=gnu89 -D_GNU_SOURCE -O2 conftest.c -lz >&5
# configure:5500: $? = 0
# configure:5500: result: yes
# configure:5500: checking for posix_fadvise
# configure:5500: clang -o conftest -pthread -Wall -Wextra -Wformat=2 -Wno-format-nonliteral -Wshadow -Wpointer-arith -Wcast-qual -Wmissing-prototypes -Wno-missing-braces -std=gnu89 -D_GNU_SOURCE -O2 conftest.c -lz >&5
# configure:5500: $? = 0
# configure:5500: result: yes
# configure:5500: checking for pthread_setaffinity_np
# configure:5500: clang -o conftest -pthread -Wall -Wextra -Wformat=2 -Wno-format-nonliteral -Wshadow -Wpointer-arith -Wcast-qual -Wmissing-prototypes -Wno-missing-braces -std=gnu89 -D_GNU_SOURCE -O2 conftest.c -lz >&5
# configure:5500: $? = 0
# configure:5500: result: yes
# configure:5500: checking for pledge
# configure:5500: clang -o conftest -pthread -Wall -Wextra -Wformat=2 -Wno-format-nonliteral -Wshadow -Wpointer-arith -Wcast-qual -Wmissing-prototypes -Wno-missing-braces -std=gnu89 -D_GNU_SOURCE -O2 conftest.c -lz >&5
# /tmp/conftest-011289.o: In function `main':
# conftest.c:(.text+0x4): undefined reference to `pledge'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:5500: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "the_silver_searcher"
# | #define PACKAGE_TARNAME "the_silver_searcher"
# | #define PACKAGE_VERSION "0.32.0"
# | #define PACKAGE_STRING "the_silver_searcher 0.32.0"
# | #define PACKAGE_BUGREPORT "https://github.com/ggreer/the_silver_searcher/issues"
# | #define PACKAGE_URL "https://github.com/ggreer/the_silver_searcher"
# | #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_PTHREAD_PRIO_INHERIT 1
# | #define HAVE_PTHREAD_H 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LZMA_H 1
# | #define USE_PCRE_JIT /**/
# | #define USE_CPU_SET /**/
# | #define HAVE_DIRENT_DTYPE /**/
# | #define HAVE_GETLINE 1
# | #define HAVE_REALPATH 1
# | #define HAVE_STRNDUP 1
# | #define HAVE_VASPRINTF 1
# | #define HAVE_MADVISE 1
# | #define HAVE_POSIX_FADVISE 1
# | #define HAVE_PTHREAD_SETAFFINITY_NP 1
# | /* end confdefs.h. */
# | /* Define pledge to an innocuous variant, in case declares pledge.
# | For example, HP-UX 11i declares gettimeofday. */
# | #define pledge innocuous_pledge
# |
# | /* System header to define __stub macros and hopefully few prototypes,
# | which can conflict with char pledge (); below.
# | Prefer to if __STDC__ is defined, since
# | exists even on freestanding compilers. */
# |
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# |
# | #undef pledge
# |
# | /* 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 pledge ();
# | /* 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_pledge || defined __stub___pledge
# | choke me
# | #endif
# |
# | int
# | main ()
# | {
# | return pledge ();
# | ;
# | return 0;
# | }
# configure:5500: result: no
# configure:5519: checking for clang-format-3.7
# configure:5549: result: no
# configure:5519: checking for clang-format-3.6
# configure:5549: result: no
# configure:5519: checking for clang-format
# configure:5535: found /usr/bin/clang-format
# configure:5546: result: clang-format
# configure:5568: clang-format found. 'make test' will detect improperly-formatted files.
# configure:5685: checking that generated files are newer than configure
# configure:5691: result: done
# configure:5718: creating ./config.status
#
# ## ---------------------- ##
# ## Running config.status. ##
# ## ---------------------- ##
#
# This file was extended by the_silver_searcher config.status 0.32.0, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# CONFIG_FILES =
# CONFIG_HEADERS =
# CONFIG_LINKS =
# CONFIG_COMMANDS =
# $ ./config.status
#
# on edc15b4194c7
#
# config.status:889: creating Makefile
# config.status:889: creating the_silver_searcher.spec
# config.status:889: creating src/config.h
# config.status:1118: executing depfiles commands
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_build=x86_64-unknown-linux-gnu
# ac_cv_c_compiler_gnu=yes
# ac_cv_env_CC_set=set
# ac_cv_env_CC_value=clang
# ac_cv_env_CFLAGS_set=set
# ac_cv_env_CFLAGS_value=
# ac_cv_env_CPPFLAGS_set=set
# ac_cv_env_CPPFLAGS_value=
# ac_cv_env_CPP_set=
# ac_cv_env_CPP_value=
# ac_cv_env_LDFLAGS_set=set
# ac_cv_env_LDFLAGS_value=
# ac_cv_env_LIBS_set=
# ac_cv_env_LIBS_value=
# ac_cv_env_LZMA_CFLAGS_set=
# ac_cv_env_LZMA_CFLAGS_value=
# ac_cv_env_LZMA_LIBS_set=
# ac_cv_env_LZMA_LIBS_value=
# ac_cv_env_PCRE_CFLAGS_set=
# ac_cv_env_PCRE_CFLAGS_value=
# ac_cv_env_PCRE_LIBS_set=
# ac_cv_env_PCRE_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_build_alias_set=
# ac_cv_env_build_alias_value=
# ac_cv_env_host_alias_set=
# ac_cv_env_host_alias_value=
# ac_cv_env_target_alias_set=
# ac_cv_env_target_alias_value=
# ac_cv_func_fgetln=no
# ac_cv_func_getline=yes
# ac_cv_func_madvise=yes
# ac_cv_func_pledge=no
# ac_cv_func_posix_fadvise=yes
# ac_cv_func_pthread_setaffinity_np=yes
# ac_cv_func_realpath=yes
# ac_cv_func_strlcpy=no
# ac_cv_func_strndup=yes
# ac_cv_func_vasprintf=yes
# ac_cv_have_decl_CPU_ZERO__CPU_SET=yes
# ac_cv_have_decl_PCRE_CONFIG_JIT=yes
# ac_cv_header_inttypes_h=yes
# ac_cv_header_lzma_h=yes
# ac_cv_header_memory_h=yes
# ac_cv_header_pthread_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_header_zlib_h=yes
# ac_cv_host=x86_64-unknown-linux-gnu
# ac_cv_member_struct_dirent_d_namlen=no
# ac_cv_member_struct_dirent_d_type=yes
# ac_cv_objext=o
# ac_cv_path_EGREP='/usr/bin/grep -E'
# ac_cv_path_GREP=/usr/bin/grep
# ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config
# ac_cv_path_install='/usr/bin/install -c'
# ac_cv_path_mkdir=/usr/bin/mkdir
# ac_cv_prog_AWK=gawk
# ac_cv_prog_CLANG_FORMAT=clang-format
# ac_cv_prog_CPP='clang -E'
# ac_cv_prog_ac_ct_CC=clang
# ac_cv_prog_cc_c89=
# ac_cv_prog_cc_g=yes
# ac_cv_prog_make_make_set=yes
# ac_cv_search_inflate=-lz
# am_cv_CC_dependencies_compiler_type=gcc3
# am_cv_make_support_nested_variables=yes
# am_cv_prog_cc_c_o=yes
# ax_cv_PTHREAD_PRIO_INHERIT=yes
# pkg_cv_LZMA_CFLAGS=
# pkg_cv_LZMA_LIBS=-llzma
# pkg_cv_PCRE_CFLAGS=
# pkg_cv_PCRE_LIBS=-lpcre
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# ACLOCAL='${SHELL} /tmp/the_silver_searcher/src/the_silver_searcher/missing 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='${SHELL} /tmp/the_silver_searcher/src/the_silver_searcher/missing autoconf'
# AUTOHEADER='${SHELL} /tmp/the_silver_searcher/src/the_silver_searcher/missing autoheader'
# AUTOMAKE='${SHELL} /tmp/the_silver_searcher/src/the_silver_searcher/missing automake-1.15'
# AWK='gawk'
# CC='clang'
# CCDEPMODE='depmode=gcc3'
# CFLAGS=' -pthread -Wall -Wextra -Wformat=2 -Wno-format-nonliteral -Wshadow -Wpointer-arith -Wcast-qual -Wmissing-prototypes -Wno-missing-braces -std=gnu89 -D_GNU_SOURCE -O2'
# CLANG_FORMAT='clang-format'
# CPP='clang -E'
# CPPFLAGS=''
# CYGPATH_W='echo'
# DEFS='-DHAVE_CONFIG_H'
# DEPDIR='.deps'
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP='/usr/bin/grep -E'
# EXEEXT=''
# GREP='/usr/bin/grep'
# HAS_CLANG_FORMAT_FALSE='#'
# HAS_CLANG_FORMAT_TRUE=''
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
# LDFLAGS=''
# LIBOBJS=''
# LIBS='-lz '
# LTLIBOBJS=''
# LZMA_CFLAGS=''
# LZMA_LIBS='-llzma'
# MAKEINFO='${SHELL} /tmp/the_silver_searcher/src/the_silver_searcher/missing makeinfo'
# MKDIR_P='/usr/bin/mkdir -p'
# OBJEXT='o'
# PACKAGE='the_silver_searcher'
# PACKAGE_BUGREPORT='https://github.com/ggreer/the_silver_searcher/issues'
# PACKAGE_NAME='the_silver_searcher'
# PACKAGE_STRING='the_silver_searcher 0.32.0'
# PACKAGE_TARNAME='the_silver_searcher'
# PACKAGE_URL='https://github.com/ggreer/the_silver_searcher'
# PACKAGE_VERSION='0.32.0'
# PATH_SEPARATOR=':'
# PCRE_CFLAGS=''
# PCRE_LIBS='-lpcre'
# PKG_CONFIG='/usr/bin/pkg-config'
# PKG_CONFIG_LIBDIR=''
# PKG_CONFIG_PATH=''
# PTHREAD_CC='clang'
# PTHREAD_CFLAGS='-pthread'
# PTHREAD_LIBS=''
# SET_MAKE=''
# SHELL='/bin/sh'
# STRIP=''
# VERSION='0.32.0'
# ac_ct_CC='clang'
# 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 -'
# ax_pthread_config=''
# 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=''
# host_cpu='x86_64'
# host_os='linux-gnu'
# host_vendor='unknown'
# htmldir='${docdir}'
# includedir='${prefix}/include'
# infodir='${datarootdir}/info'
# install_sh='${SHELL} /tmp/the_silver_searcher/src/the_silver_searcher/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/local'
# 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 "the_silver_searcher"
# #define PACKAGE_TARNAME "the_silver_searcher"
# #define PACKAGE_VERSION "0.32.0"
# #define PACKAGE_STRING "the_silver_searcher 0.32.0"
# #define PACKAGE_BUGREPORT "https://github.com/ggreer/the_silver_searcher/issues"
# #define PACKAGE_URL "https://github.com/ggreer/the_silver_searcher"
# #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_PTHREAD_PRIO_INHERIT 1
# #define HAVE_PTHREAD_H 1
# #define HAVE_ZLIB_H 1
# #define HAVE_LZMA_H 1
# #define USE_PCRE_JIT /**/
# #define USE_CPU_SET /**/
# #define HAVE_DIRENT_DTYPE /**/
# #define HAVE_GETLINE 1
# #define HAVE_REALPATH 1
# #define HAVE_STRNDUP 1
# #define HAVE_VASPRINTF 1
# #define HAVE_MADVISE 1
# #define HAVE_POSIX_FADVISE 1
# #define HAVE_PTHREAD_SETAFFINITY_NP 1
#
# configure: exit 0