Build of hexedit with clang_glibc toolchain

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

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

SLOCLanguage
1,592 ansic
152 sh
32 makefile
1,776 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: hexedit 1.2.13-3 (Thu Apr 13 16:24:53 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# 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 for a BSD-compatible install... /usr/bin/install -c
# checking for initscr in -lcurses... ./configure: line 3086: ac_fn_c_try_link: command not found
# no
# checking for initscr in -lncurses... yes
# checking for use_default_colors... yes
# checking for special C compiler options needed for large files... no
# checking for _FILE_OFFSET_BITS value needed for large files... no
# 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 whether stat file-mode macros are broken... no
# checking for sys/wait.h that is POSIX.1 compatible... 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 fcntl.h usability... yes
# checking fcntl.h presence... yes
# checking for fcntl.h... yes
# checking for unistd.h... (cached) yes
# checking libgen.h usability... yes
# checking libgen.h presence... yes
# checking for libgen.h... yes
# checking sys/mount.h usability... yes
# checking sys/mount.h presence... yes
# checking for sys/mount.h... yes
# checking for an ANSI C-conforming const... yes
# checking for size_t... yes
# checking for memcmp... yes
# checking for memmem... yes
# checking for memrmem... no
# checking for memrchr... yes
# checking for strdup... yes
# checking for strerror... yes
# checking for basename... yes
# checking whether dirname is declared... yes
# checking whether basename is declared... yes
# checking whether memrchr is declared... yes
# checking whether memmem is declared... yes
# checking whether memrmem is declared... no
# configure: creating ./config.status
# config.status: creating Makefile
# config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting
# config.status: creating Makefile-build
# config.status: WARNING: 'Makefile-build.in' seems to ignore the --datarootdir setting
# config.status: creating config.h
# clang -DHAVE_CONFIG_H -Wall -c hexedit.c
# clang -DHAVE_CONFIG_H -Wall -c display.c
# display.c:274:46: warning: format specifies type 'unsigned long long *' but the argument has type 'off_t *' (aka 'long *') [-Wformat]
# err = sscanf(tmp + strlen("0x"), "%llx", i);
# ~~~~ ^
# %lx
# display.c:276:31: warning: format specifies type 'long long *' but the argument has type 'off_t *' (aka 'long *') [-Wformat]
# err = sscanf(tmp, "%lld", i);
# ~~~~ ^
# %ld
# 2 warnings generated.
# clang -DHAVE_CONFIG_H -Wall -c mark.c
# clang -DHAVE_CONFIG_H -Wall -c page.c
# clang -DHAVE_CONFIG_H -Wall -c file.c
# clang -DHAVE_CONFIG_H -Wall -c interact.c
# clang -DHAVE_CONFIG_H -Wall -c misc.c
# clang -DHAVE_CONFIG_H -Wall -c search.c
# clang -o hexedit hexedit.o display.o mark.o page.o file.o interact.o misc.o search.o -lncurses
# ==> Entering fakeroot environment...
# ==> Starting package()...
# /usr/bin/install -c -d -m 755 /tmp/hexedit/pkg/hexedit/usr/bin
# /usr/bin/install -c -s -m 755 hexedit /tmp/hexedit/pkg/hexedit/usr/bin
# /usr/bin/install -c -d -m 755 /tmp/hexedit/pkg/hexedit/usr/share/man/man1
# /usr/bin/install -c -m 644 hexedit.1 /tmp/hexedit/pkg/hexedit/usr/share/man/man1
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "hexedit"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: hexedit 1.2.13-3 (Thu Apr 13 16:24:59 UTC 2017)

CMD: pacman --query --file hexedit-1.2.13-3-x86_64.pkg.tar.xz
# hexedit 1.2.13-3

Creating hybrid package for 'hexedit'

Trying to find vanilla package 'hexedit'...

CMD: pacman --query --file /mirror/hexedit-1.2.13-3.pkg.tar.xz
# hexedit 1.2.13-3

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/bin/hexedit
# /usr/share/man/man1/hexedit.1.gz

Generating .MTREE

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

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO usr .MTREE

CMD: xz -c -z

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

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

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

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/hexedit.pkg.tar.xz
# ==> Extracting database to a temporary location...
# ==> Extracting database to a temporary location...
# ==> Adding package '/var/cache/pacman/pkg/hexedit.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/hexedit/src/hexedit/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 configure, which was
# generated by GNU Autoconf 2.68. Invocation command line was
#
# $ ./configure
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 9af5a6694f92
# 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:2196: checking for gcc
# configure:2223: result: clang
# configure:2452: checking for C compiler version
# configure:2461: 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:2472: $? = 0
# configure:2461: 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:2472: $? = 0
# configure:2461: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:2472: $? = 1
# configure:2461: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:2472: $? = 1
# configure:2492: checking whether the C compiler works
# configure:2514: clang -Wall conftest.c >&5
# configure:2518: $? = 0
# configure:2566: result: yes
# configure:2569: checking for C compiler default output file name
# configure:2571: result: a.out
# configure:2577: checking for suffix of executables
# configure:2584: clang -o conftest -Wall conftest.c >&5
# configure:2588: $? = 0
# configure:2610: result:
# configure:2632: checking whether we are cross compiling
# configure:2640: clang -o conftest -Wall conftest.c >&5
# configure:2644: $? = 0
# configure:2651: ./conftest
# configure:2655: $? = 0
# configure:2670: result: no
# configure:2675: checking for suffix of object files
# configure:2697: clang -c -Wall conftest.c >&5
# configure:2701: $? = 0
# configure:2722: result: o
# configure:2726: checking whether we are using the GNU C compiler
# configure:2745: clang -c -Wall conftest.c >&5
# configure:2745: $? = 0
# configure:2754: result: yes
# configure:2763: checking whether clang accepts -g
# configure:2783: clang -c -g conftest.c >&5
# configure:2783: $? = 0
# configure:2824: result: yes
# configure:2841: checking for clang option to accept ISO C89
# configure:2905: clang -c -Wall conftest.c >&5
# configure:2905: $? = 0
# configure:2918: result: none needed
# configure:2981: checking for a BSD-compatible install
# configure:3049: result: /usr/bin/install -c
# configure:3061: checking for initscr in -lcurses
# configure:3095: result: no
# configure:3100: checking for initscr in -lncurses
# configure:3172: clang -o conftest -Wall conftest.c -lncurses >&5
# configure:3172: $? = 0
# configure:3181: result: yes
# configure:3190: checking for use_default_colors
# configure:3190: clang -o conftest -Wall conftest.c -lncurses >&5
# configure:3190: $? = 0
# configure:3190: result: yes
# configure:3206: checking for special C compiler options needed for large files
# configure:3251: result: no
# configure:3257: checking for _FILE_OFFSET_BITS value needed for large files
# configure:3282: clang -c -Wall conftest.c >&5
# configure:3282: $? = 0
# configure:3314: result: no
# configure:3403: checking how to run the C preprocessor
# configure:3434: clang -E conftest.c
# configure:3434: $? = 0
# configure:3448: clang -E conftest.c
# conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:3448: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define _GNU_SOURCE 1
# | #define HAVE_COLORS /**/
# | /* end confdefs.h. */
# | #include
# configure:3473: result: clang -E
# configure:3493: clang -E conftest.c
# configure:3493: $? = 0
# configure:3507: clang -E conftest.c
# conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:3507: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define _GNU_SOURCE 1
# | #define HAVE_COLORS /**/
# | /* end confdefs.h. */
# | #include
# configure:3536: checking for grep that handles long lines and -e
# configure:3594: result: /usr/bin/grep
# configure:3599: checking for egrep
# configure:3661: result: /usr/bin/grep -E
# configure:3666: checking for ANSI C header files
# configure:3686: clang -c -Wall conftest.c >&5
# configure:3686: $? = 0
# configure:3759: clang -o conftest -Wall conftest.c -lncurses >&5
# configure:3759: $? = 0
# configure:3759: ./conftest
# configure:3759: $? = 0
# configure:3770: result: yes
# configure:3778: checking whether stat file-mode macros are broken
# configure:3805: clang -c -Wall conftest.c >&5
# configure:3805: $? = 0
# configure:3812: result: no
# configure:3820: checking for sys/wait.h that is POSIX.1 compatible
# configure:3846: clang -c -Wall conftest.c >&5
# configure:3846: $? = 0
# configure:3853: result: yes
# configure:3866: checking for sys/types.h
# configure:3866: clang -c -Wall conftest.c >&5
# configure:3866: $? = 0
# configure:3866: result: yes
# configure:3866: checking for sys/stat.h
# configure:3866: clang -c -Wall conftest.c >&5
# configure:3866: $? = 0
# configure:3866: result: yes
# configure:3866: checking for stdlib.h
# configure:3866: clang -c -Wall conftest.c >&5
# configure:3866: $? = 0
# configure:3866: result: yes
# configure:3866: checking for string.h
# configure:3866: clang -c -Wall conftest.c >&5
# configure:3866: $? = 0
# configure:3866: result: yes
# configure:3866: checking for memory.h
# configure:3866: clang -c -Wall conftest.c >&5
# configure:3866: $? = 0
# configure:3866: result: yes
# configure:3866: checking for strings.h
# configure:3866: clang -c -Wall conftest.c >&5
# configure:3866: $? = 0
# configure:3866: result: yes
# configure:3866: checking for inttypes.h
# configure:3866: clang -c -Wall conftest.c >&5
# configure:3866: $? = 0
# configure:3866: result: yes
# configure:3866: checking for stdint.h
# configure:3866: clang -c -Wall conftest.c >&5
# configure:3866: $? = 0
# configure:3866: result: yes
# configure:3866: checking for unistd.h
# configure:3866: clang -c -Wall conftest.c >&5
# configure:3866: $? = 0
# configure:3866: result: yes
# configure:3881: checking fcntl.h usability
# configure:3881: clang -c -Wall conftest.c >&5
# configure:3881: $? = 0
# configure:3881: result: yes
# configure:3881: checking fcntl.h presence
# configure:3881: clang -E conftest.c
# configure:3881: $? = 0
# configure:3881: result: yes
# configure:3881: checking for fcntl.h
# configure:3881: result: yes
# configure:3881: checking for unistd.h
# configure:3881: result: yes
# configure:3881: checking libgen.h usability
# configure:3881: clang -c -Wall conftest.c >&5
# configure:3881: $? = 0
# configure:3881: result: yes
# configure:3881: checking libgen.h presence
# configure:3881: clang -E conftest.c
# configure:3881: $? = 0
# configure:3881: result: yes
# configure:3881: checking for libgen.h
# configure:3881: result: yes
# configure:3881: checking sys/mount.h usability
# configure:3881: clang -c -Wall conftest.c >&5
# configure:3881: $? = 0
# configure:3881: result: yes
# configure:3881: checking sys/mount.h presence
# configure:3881: clang -E conftest.c
# configure:3881: $? = 0
# configure:3881: result: yes
# configure:3881: checking for sys/mount.h
# configure:3881: result: yes
# configure:3892: checking for an ANSI C-conforming const
# configure:3957: clang -c -Wall conftest.c >&5
# conftest.c:71:18: warning: variable 'b' is uninitialized when used here [-Wuninitialized]
# struct s *b; b->j = 5;
# ^
# conftest.c:71:16: note: initialize the variable 'b' to silence this warning
# struct s *b; b->j = 5;
# ^
# = 0
# conftest.c:55:6: warning: variable 't' is uninitialized when used here [-Wuninitialized]
# *t++ = 0;
# ^
# conftest.c:52:12: note: initialize the variable 't' to silence this warning
# char *t;
# ^
# = 0
# 2 warnings generated.
# configure:3957: $? = 0
# configure:3964: result: yes
# configure:3972: checking for size_t
# configure:3972: clang -c -Wall conftest.c >&5
# configure:3972: $? = 0
# configure:3972: clang -c -Wall conftest.c >&5
# conftest.c:62:21: error: expected expression
# if (sizeof ((size_t)))
# ^
# 1 error generated.
# configure:3972: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define _GNU_SOURCE 1
# | #define HAVE_COLORS /**/
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_WAIT_H 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_FCNTL_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_SYS_MOUNT_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:3972: result: yes
# configure:3987: checking for memcmp
# configure:3987: clang -o conftest -Wall conftest.c -lncurses >&5
# conftest.c:49:6: warning: incompatible redeclaration of library function 'memcmp' [-Wincompatible-library-redeclaration]
# char memcmp ();
# ^
# conftest.c:49:6: note: 'memcmp' is a builtin with type 'int (const void *, const void *, unsigned long)'
# 1 warning generated.
# configure:3987: $? = 0
# configure:3987: result: yes
# configure:3987: checking for memmem
# configure:3987: clang -o conftest -Wall conftest.c -lncurses >&5
# configure:3987: $? = 0
# configure:3987: result: yes
# configure:3987: checking for memrmem
# configure:3987: clang -o conftest -Wall conftest.c -lncurses >&5
# /tmp/conftest-22ca08.o: In function `main':
# conftest.c:(.text+0x12): undefined reference to `memrmem'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:3987: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define _GNU_SOURCE 1
# | #define HAVE_COLORS /**/
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_WAIT_H 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_FCNTL_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_SYS_MOUNT_H 1
# | #define HAVE_MEMCMP 1
# | #define HAVE_MEMMEM 1
# | /* end confdefs.h. */
# | /* Define memrmem to an innocuous variant, in case declares memrmem.
# | For example, HP-UX 11i declares gettimeofday. */
# | #define memrmem innocuous_memrmem
# |
# | /* System header to define __stub macros and hopefully few prototypes,
# | which can conflict with char memrmem (); below.
# | Prefer to if __STDC__ is defined, since
# | exists even on freestanding compilers. */
# |
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# |
# | #undef memrmem
# |
# | /* 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 memrmem ();
# | /* 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_memrmem || defined __stub___memrmem
# | choke me
# | #endif
# |
# | int
# | main ()
# | {
# | return memrmem ();
# | ;
# | return 0;
# | }
# configure:3987: result: no
# configure:3987: checking for memrchr
# configure:3987: clang -o conftest -Wall conftest.c -lncurses >&5
# configure:3987: $? = 0
# configure:3987: result: yes
# configure:3987: checking for strdup
# configure:3987: clang -o conftest -Wall conftest.c -lncurses >&5
# conftest.c:52:6: warning: incompatible redeclaration of library function 'strdup' [-Wincompatible-library-redeclaration]
# char strdup ();
# ^
# conftest.c:52:6: note: 'strdup' is a builtin with type 'char *(const char *)'
# 1 warning generated.
# configure:3987: $? = 0
# configure:3987: result: yes
# configure:3987: checking for strerror
# configure:3987: clang -o conftest -Wall conftest.c -lncurses >&5
# conftest.c:53:6: warning: incompatible redeclaration of library function 'strerror' [-Wincompatible-library-redeclaration]
# char strerror ();
# ^
# conftest.c:53:6: note: 'strerror' is a builtin with type 'char *(int)'
# 1 warning generated.
# configure:3987: $? = 0
# configure:3987: result: yes
# configure:3987: checking for basename
# configure:3987: clang -o conftest -Wall conftest.c -lncurses >&5
# configure:3987: $? = 0
# configure:3987: result: yes
# configure:4042: checking whether dirname is declared
# configure:4042: clang -c -Wall conftest.c >&5
# configure:4042: $? = 0
# configure:4042: result: yes
# configure:4057: checking whether basename is declared
# configure:4057: clang -c -Wall conftest.c >&5
# configure:4057: $? = 0
# configure:4057: result: yes
# configure:4072: checking whether memrchr is declared
# configure:4072: clang -c -Wall conftest.c >&5
# configure:4072: $? = 0
# configure:4072: result: yes
# configure:4087: checking whether memmem is declared
# configure:4087: clang -c -Wall conftest.c >&5
# configure:4087: $? = 0
# configure:4087: result: yes
# configure:4102: checking whether memrmem is declared
# configure:4102: clang -c -Wall conftest.c >&5
# conftest.c:81:10: error: use of undeclared identifier 'memrmem'
# (void) memrmem;
# ^
# 1 error generated.
# configure:4102: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define _GNU_SOURCE 1
# | #define HAVE_COLORS /**/
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_WAIT_H 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_FCNTL_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_SYS_MOUNT_H 1
# | #define HAVE_MEMCMP 1
# | #define HAVE_MEMMEM 1
# | #define HAVE_MEMRCHR 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR 1
# | #define HAVE_BASENAME 1
# | #define HAVE_DECL_DIRNAME 1
# | #define HAVE_DECL_BASENAME 1
# | #define HAVE_DECL_MEMRCHR 1
# | #define HAVE_DECL_MEMMEM 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
# | #if HAVE_LIBGEN_H
# | #include
# | #endif
# |
# |
# | int
# | main ()
# | {
# | #ifndef memrmem
# | #ifdef __cplusplus
# | (void) memrmem;
# | #else
# | (void) memrmem;
# | #endif
# | #endif
# |
# | ;
# | return 0;
# | }
# configure:4102: result: no
# configure:4235: creating ./config.status
#
# ## ---------------------- ##
# ## Running config.status. ##
# ## ---------------------- ##
#
# This file was extended by config.status, which was
# generated by GNU Autoconf 2.68. Invocation command line was
#
# CONFIG_FILES =
# CONFIG_HEADERS =
# CONFIG_LINKS =
# CONFIG_COMMANDS =
# $ ./config.status
#
# on 9af5a6694f92
#
# config.status:837: creating Makefile
# config.status:940: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting
# config.status:837: creating Makefile-build
# config.status:940: WARNING: 'Makefile-build.in' seems to ignore the --datarootdir setting
# config.status:837: creating config.h
#
# ## ---------------- ##
# ## 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=' -Wall'
# 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=
# ac_cv_env_host_alias_value=
# ac_cv_env_target_alias_set=
# ac_cv_env_target_alias_value=
# ac_cv_func_basename=yes
# ac_cv_func_memcmp=yes
# ac_cv_func_memmem=yes
# ac_cv_func_memrchr=yes
# ac_cv_func_memrmem=no
# ac_cv_func_strdup=yes
# ac_cv_func_strerror=yes
# ac_cv_func_use_default_colors=yes
# ac_cv_have_decl_basename=yes
# ac_cv_have_decl_dirname=yes
# ac_cv_have_decl_memmem=yes
# ac_cv_have_decl_memrchr=yes
# ac_cv_have_decl_memrmem=no
# ac_cv_header_fcntl_h=yes
# ac_cv_header_inttypes_h=yes
# ac_cv_header_libgen_h=yes
# ac_cv_header_memory_h=yes
# ac_cv_header_stat_broken=no
# 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_mount_h=yes
# ac_cv_header_sys_stat_h=yes
# ac_cv_header_sys_types_h=yes
# ac_cv_header_sys_wait_h=yes
# ac_cv_header_unistd_h=yes
# ac_cv_lib_curses_initscr=no
# ac_cv_lib_ncurses_initscr=yes
# 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_CPP='clang -E'
# ac_cv_prog_ac_ct_CC=clang
# ac_cv_prog_cc_c89=
# ac_cv_prog_cc_g=yes
# ac_cv_sys_file_offset_bits=no
# ac_cv_sys_largefile_CC=no
# ac_cv_type_size_t=yes
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# CC='clang'
# CFLAGS=' -Wall'
# CPP='clang -E'
# CPPFLAGS=''
# DEFS='-DHAVE_CONFIG_H'
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP='/usr/bin/grep -E'
# EXEEXT=''
# GREP='/usr/bin/grep'
# INCL='hexedit.h'
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# LDFLAGS=''
# LIBOBJS=''
# LIBS=' -lncurses'
# LTLIBOBJS=''
# OBJEXT='o'
# OTHER='COPYING Changes TODO install-sh configure config.h.in hexedit.1 hexedit-1.2.13.lsm Makefile.in configure.in Makefile-build.in'
# PACKAGE_BUGREPORT=''
# PACKAGE_NAME=''
# PACKAGE_STRING=''
# PACKAGE_TARNAME=''
# PACKAGE_URL=''
# PACKAGE_VERSION=''
# PATH_SEPARATOR=':'
# PRODUCT='hexedit'
# SHELL='/bin/sh'
# SRCS='hexedit.c display.c mark.c page.c file.c interact.c misc.c search.c'
# VERSION='1.2.13'
# ac_ct_CC='clang'
# bindir='${exec_prefix}/bin'
# build_alias=''
# datadir='${datarootdir}'
# datarootdir='${prefix}/share'
# docdir='${datarootdir}/doc/${PACKAGE}'
# dvidir='${docdir}'
# exec_prefix='${prefix}'
# host_alias=''
# 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/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 ""
# #define PACKAGE_TARNAME ""
# #define PACKAGE_VERSION ""
# #define PACKAGE_STRING ""
# #define PACKAGE_BUGREPORT ""
# #define PACKAGE_URL ""
# #define _GNU_SOURCE 1
# #define HAVE_COLORS /**/
# #define STDC_HEADERS 1
# #define HAVE_SYS_WAIT_H 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_FCNTL_H 1
# #define HAVE_UNISTD_H 1
# #define HAVE_LIBGEN_H 1
# #define HAVE_SYS_MOUNT_H 1
# #define HAVE_MEMCMP 1
# #define HAVE_MEMMEM 1
# #define HAVE_MEMRCHR 1
# #define HAVE_STRDUP 1
# #define HAVE_STRERROR 1
# #define HAVE_BASENAME 1
# #define HAVE_DECL_DIRNAME 1
# #define HAVE_DECL_BASENAME 1
# #define HAVE_DECL_MEMRCHR 1
# #define HAVE_DECL_MEMMEM 1
# #define HAVE_DECL_MEMRMEM 0
#
# configure: exit 0