rename __environ so it is compatible with static linking #2988

Closed
andrewrynhard opened this Issue Apr 30, 2016 · 8 comments

Projects

None yet

4 participants

@andrewrynhard

Building fish-shell against musl I get the following:

x86_64-musl-linux-g++ -static -L/test/lib64 -I/test/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  -Ipcre2-10.21/src -iquote. -iquote./src/ -DLOCALEDIR=\"/test/share/locale\" -DPREFIX=L\"/test\" -DDATADIR=L\"/test/share\" -DSYSCONFDIR=L\"/test/etc\" -DBINDIR=L\"/test/bin\" -DDOCDIR=L\"/test/share/doc/fish\"  -DFISH_BUILD_VERSION=\"2.3b1\" 
 -rdynamic obj/function.o obj/builtin.o obj/complete.o obj/env.o obj/exec.o obj/expand.o obj/highlight.o obj/history.o obj/kill.o obj/parser.o obj/proc.o obj/reader.o obj/sanity.o obj/tokenizer.o obj/wildcard.o obj/wgetopt.o obj/wutil.o obj/input.o obj/output.o obj/intern.o obj/env_universal_common.o obj/input_common.o obj/event.o obj/signal.o obj/io.o obj/parse_util.o obj/common.o obj/screen.o obj/path.o obj/autoload.o obj/parser_keywords.o obj/iothread.o obj/color.o obj/postfork.o obj/builtin_string.o obj/builtin_test.o obj/parse_tree.o obj/parse_productions.o obj/parse_execution.o obj/pager.o obj/utf8.o obj/fish_version.o obj/wcstringutil.o obj/fish.o -lncursesw  -Lpcre2-10.21/.libs -lpcre2-32 -o fish
/test/bin/../lib/gcc/x86_64-linux-musl/5.3.0/../../../../x86_64-linux-musl/lib/libc.a(__environ.o):(.bss+0x0): multiple definition of `__environ'
obj/common.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make: *** [fish] Error 1

I have made the changes in the source to get passed this but before I make a PR, is there a reason fish-shell uses __environ instread of something like __environ_?

@ridiculousfish
Member
ridiculousfish commented Apr 30, 2016 edited

fish defines __environ if HAVE___ENVIRON is undefined, i.e. fish thinks libc doesn't define __environ. This is normally detected in the ./configure script. Did you perhaps run ./configure against a different libc than you're compiling with? Can you post the config.log ?

@andrewrynhard

Sure:

$ cat fish-shell-2.3b1/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 fish configure unknown, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --prefix=/chief --includedir=/chief/include --libdir=/chief/lib64 CFLAGS=-L/chief/lib64 -I/chief/include CXXFLAGS=-L/chief/lib64 -I/chief/include LDFLAGS=-Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include

## --------- ##
## Platform. ##
## --------- ##

hostname = devbox-chieftain
uname -m = x86_64
uname -r = 3.10.0-327.13.1.el7.x86_64
uname -s = Linux
uname -v = #1 SMP Thu Mar 31 16:04:38 UTC 2016

/usr/bin/uname -p = x86_64
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /chief/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2462: checking if autoconf needs to be run
configure:2484: result: no
configure:2496: checking if autoheader needs to be run
configure:2499: result: yes
configure:2502: running autoheader
configure:2634: checking for C++ compiler version
configure:2643: x86_64-musl-linux-g++ -static --version >&5
x86_64-musl-linux-g++ (GCC) 5.3.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2654: $? = 0
configure:2643: x86_64-musl-linux-g++ -static -v >&5
Using built-in specs.
COLLECT_GCC=x86_64-musl-linux-g++
COLLECT_LTO_WRAPPER=/chief/bin/../libexec/gcc/x86_64-linux-musl/5.3.0/lto-wrapper
Target: x86_64-linux-musl
Configured with: ../configure --prefix=/opt/cross/musl/x86_64-linux-musl --target=x86_64-linux-musl --with-sysroot=/opt/cross/musl/x86_64-linux-musl/x86_64-linux-musl --enable-languages=c,c++ --disable-libmudflap --disable-libsanitizer --disable-nls --disable-multilib --with-multilib-list= --disable-lto-plugin
Thread model: posix
gcc version 5.3.0 (GCC)
configure:2654: $? = 0
configure:2643: x86_64-musl-linux-g++ -static -V >&5
x86_64-musl-linux-g++: error: unrecognized command line option '-V'
x86_64-musl-linux-g++: fatal error: no input files
compilation terminated.
configure:2654: $? = 1
configure:2643: x86_64-musl-linux-g++ -static -qversion >&5
x86_64-musl-linux-g++: error: unrecognized command line option '-qversion'
x86_64-musl-linux-g++: fatal error: no input files
compilation terminated.
configure:2654: $? = 1
configure:2674: checking whether the C++ compiler works
configure:2696: x86_64-musl-linux-g++ -static -L/chief/lib64 -I/chief/include  -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp  >&5
configure:2700: $? = 0
configure:2748: result: yes
configure:2751: checking for C++ compiler default output file name
configure:2753: result: a.out
configure:2759: checking for suffix of executables
configure:2766: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include  -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp  >&5
configure:2770: $? = 0
configure:2792: result:
configure:2814: checking whether we are cross compiling
configure:2822: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include  -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp  >&5
configure:2826: $? = 0
configure:2833: ./conftest
configure:2837: $? = 0
configure:2852: result: no
configure:2857: checking for suffix of object files
configure:2879: x86_64-musl-linux-g++ -static -c -L/chief/lib64 -I/chief/include  conftest.cpp >&5
configure:2883: $? = 0
configure:2904: result: o
configure:2908: checking whether we are using the GNU C++ compiler
configure:2927: x86_64-musl-linux-g++ -static -c -L/chief/lib64 -I/chief/include  conftest.cpp >&5
configure:2927: $? = 0
configure:2936: result: yes
configure:2945: checking whether x86_64-musl-linux-g++ -static accepts -g
configure:2965: x86_64-musl-linux-g++ -static -c -g  conftest.cpp >&5
configure:2965: $? = 0
configure:3006: result: yes
configure:3072: checking for a BSD-compatible install
configure:3140: result: /usr/bin/install -c
configure:3151: checking for a sed that does not truncate output
configure:3215: result: /usr/bin/sed
configure:3263: checking for msgfmt
configure:3279: found /usr/bin/msgfmt
configure:3290: result: msgfmt
configure:3339: checking for doxygen
configure:3355: found /usr/bin/doxygen
configure:3366: result: doxygen
configure:3380: checking the doxygen version
configure:3383: result: 1.8.5
configure:3391: WARNING: doxygen version 1.8.5 found, but 1.8.7 required
configure:3444: checking for -rdynamic linker flag
configure:3460: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include -rdynamic conftest.cpp  >&5
configure:3460: $? = 0
configure:3462: result: yes
configure:3484: checking if we are compiling against glibc
configure:3515: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp  >&5
configure:3515: $? = 0
configure:3515: ./conftest
configure:3515: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "fish"
| #define PACKAGE_TARNAME "fish"
| #define PACKAGE_VERSION "unknown"
| #define PACKAGE_STRING "fish unknown"
| #define PACKAGE_BUGREPORT "fish-users@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define USE_GETTEXT 1
| /* end confdefs.h.  */
|
|
|         #include <stdlib.h>
|         #ifdef __GLIBC__
|         #define STATUS 0
|         #else
|         #define STATUS 1
|         #endif
|
| int
| main ()
| {
|
|         return STATUS;
|
|
|   ;
|   return 0;
| }
|
configure:3539: result: no
configure:3559: checking build system type
configure:3573: result: x86_64-unknown-linux-gnu
configure:3593: checking host system type
configure:3606: result: x86_64-unknown-linux-gnu
configure:3626: checking target system type
configure:3639: result: x86_64-unknown-linux-gnu
configure:3677: checking if we are under Solaris
configure:3688: result: no
configure:3697: checking if we are under BSD
configure:3711: result: no
configure:3722: checking for /proc/self/stat
configure:3735: result: yes
configure:3772: checking for library containing connect
configure:3803: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp  >&5
configure:3803: $? = 0
configure:3820: result: none required
configure:3830: checking for library containing nanosleep
configure:3861: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp  >&5
configure:3861: $? = 0
configure:3878: result: none required
configure:3888: checking for library containing shm_open
configure:3919: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp  >&5
configure:3919: $? = 0
configure:3936: result: none required
configure:3946: checking for library containing pthread_create
configure:3977: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp  >&5
configure:3977: $? = 0
configure:3994: result: none required
configure:4004: checking for library containing setupterm
configure:4035: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp  >&5
/tmp/ccFiIbcO.o: In function `main':
conftest.cpp:(.text+0x5): undefined reference to `setupterm'
collect2: error: ld returned 1 exit status
configure:4035: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "fish"
| #define PACKAGE_TARNAME "fish"
| #define PACKAGE_VERSION "unknown"
| #define PACKAGE_STRING "fish unknown"
| #define PACKAGE_BUGREPORT "fish-users@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define USE_GETTEXT 1
| #define HAVE__PROC_SELF_STAT 1
| #define HAVE_TRANSLATE_H 1
| #define NCURSES_NOMACROS 1
| #define NOMACROS 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 setupterm ();
| int
| main ()
| {
| return setupterm ();
|   ;
|   return 0;
| }
configure:4035: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw   >&5
configure:4035: $? = 0
configure:4052: result: -lncursesw
configure:4062: checking for library containing nan
configure:4093: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
configure:4093: $? = 0
configure:4110: result: none required
configure:4120: checking for library containing backtrace_symbols_fd
configure:4151: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
/tmp/ccCGjiLf.o: In function `main':
conftest.cpp:(.text+0x5): undefined reference to `backtrace_symbols_fd'
collect2: error: ld returned 1 exit status
configure:4151: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "fish"
| #define PACKAGE_TARNAME "fish"
| #define PACKAGE_VERSION "unknown"
| #define PACKAGE_STRING "fish unknown"
| #define PACKAGE_BUGREPORT "fish-users@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define USE_GETTEXT 1
| #define HAVE__PROC_SELF_STAT 1
| #define HAVE_TRANSLATE_H 1
| #define NCURSES_NOMACROS 1
| #define NOMACROS 1
| #define HAVE_NAN 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 backtrace_symbols_fd ();
| int
| main ()
| {
| return backtrace_symbols_fd ();
|   ;
|   return 0;
| }
configure:4151: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lexecinfo  -lncursesw  >&5
/chief/bin/../lib/gcc/x86_64-linux-musl/5.3.0/../../../../x86_64-linux-musl/bin/ld: cannot find -lexecinfo
collect2: error: ld returned 1 exit status
configure:4151: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "fish"
| #define PACKAGE_TARNAME "fish"
| #define PACKAGE_VERSION "unknown"
| #define PACKAGE_STRING "fish unknown"
| #define PACKAGE_BUGREPORT "fish-users@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define USE_GETTEXT 1
| #define HAVE__PROC_SELF_STAT 1
| #define HAVE_TRANSLATE_H 1
| #define NCURSES_NOMACROS 1
| #define NOMACROS 1
| #define HAVE_NAN 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 backtrace_symbols_fd ();
| int
| main ()
| {
| return backtrace_symbols_fd ();
|   ;
|   return 0;
| }
configure:4168: result: no
configure:4178: checking for library containing gettext
configure:4209: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
configure:4209: $? = 0
configure:4226: result: none required
configure:4245: checking how to run the C++ preprocessor
configure:4272: x86_64-musl-linux-g++ -static -E  conftest.cpp
configure:4272: $? = 0
configure:4286: x86_64-musl-linux-g++ -static -E  conftest.cpp
conftest.cpp:15:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:4286: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "fish"
| #define PACKAGE_TARNAME "fish"
| #define PACKAGE_VERSION "unknown"
| #define PACKAGE_STRING "fish unknown"
| #define PACKAGE_BUGREPORT "fish-users@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define USE_GETTEXT 1
| #define HAVE__PROC_SELF_STAT 1
| #define HAVE_TRANSLATE_H 1
| #define NCURSES_NOMACROS 1
| #define NOMACROS 1
| #define HAVE_NAN 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4311: result: x86_64-musl-linux-g++ -static -E
configure:4331: x86_64-musl-linux-g++ -static -E  conftest.cpp
configure:4331: $? = 0
configure:4345: x86_64-musl-linux-g++ -static -E  conftest.cpp
conftest.cpp:15:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:4345: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "fish"
| #define PACKAGE_TARNAME "fish"
| #define PACKAGE_VERSION "unknown"
| #define PACKAGE_STRING "fish unknown"
| #define PACKAGE_BUGREPORT "fish-users@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define USE_GETTEXT 1
| #define HAVE__PROC_SELF_STAT 1
| #define HAVE_TRANSLATE_H 1
| #define NCURSES_NOMACROS 1
| #define NOMACROS 1
| #define HAVE_NAN 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4374: checking for grep that handles long lines and -e
configure:4432: result: /usr/bin/grep
configure:4437: checking for egrep
configure:4499: result: /usr/bin/grep -E
configure:4504: checking for ANSI C header files
configure:4524: x86_64-musl-linux-g++ -static -c -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  conftest.cpp >&5
configure:4524: $? = 0
configure:4597: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
configure:4597: $? = 0
configure:4597: ./conftest
configure:4597: $? = 0
configure:4608: result: yes
configure:4621: checking for sys/types.h
configure:4621: x86_64-musl-linux-g++ -static -c -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  conftest.cpp >&5
configure:4621: $? = 0
configure:4621: result: yes
configure:4621: checking for sys/stat.h
configure:4621: x86_64-musl-linux-g++ -static -c -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  conftest.cpp >&5
configure:4621: $? = 0
configure:4621: result: yes
configure:4621: checking for stdlib.h
configure:4621: x86_64-musl-linux-g++ -static -c -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  conftest.cpp >&5
configure:4621: $? = 0
configure:4621: result: yes
configure:4621: checking for string.h
configure:4621: x86_64-musl-linux-g++ -static -c -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  conftest.cpp >&5
configure:4621: $? = 0
configure:4621: result: yes
configure:4621: checking for memory.h
configure:4621: x86_64-musl-linux-g++ -static -c -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  conftest.cpp >&5
configure:4621: $? = 0
configure:4621: result: yes
configure:4621: checking for strings.h
configure:4621: x86_64-musl-linux-g++ -static -c -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  conftest.cpp >&5
configure:4621: $? = 0
configure:4621: result: yes
configure:4621: checking for inttypes.h
configure:4621: x86_64-musl-linux-g++ -static -c -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  conftest.cpp >&5
configure:4621: $? = 0
configure:4621: result: yes
configure:4621: checking for stdint.h
configure:4621: x86_64-musl-linux-g++ -static -c -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  conftest.cpp >&5
configure:4621: $? = 0
configure:4621: result: yes
configure:4621: checking for unistd.h
configure:4621: x86_64-musl-linux-g++ -static -c -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  conftest.cpp >&5
configure:4621: $? = 0
configure:4621: result: yes
configure:4636: checking getopt.h usability
configure:4636: x86_64-musl-linux-g++ -static -c -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  conftest.cpp >&5
configure:4636: $? = 0
configure:4636: result: yes
configure:4636: checking getopt.h presence
configure:4636: x86_64-musl-linux-g++ -static -E  conftest.cpp
configure:4636: $? = 0
configure:4636: result: yes
configure:4636: checking for getopt.h
configure:4636: result: yes
configure:4636: checking termios.h usability
configure:4636: x86_64-musl-linux-g++ -static -c -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  conftest.cpp >&5
configure:4636: $? = 0
configure:4636: result: yes
configure:4636: checking termios.h presence
configure:4636: x86_64-musl-linux-g++ -static -E  conftest.cpp
configure:4636: $? = 0
configure:4636: result: yes
configure:4636: checking for termios.h
configure:4636: result: yes
configure:4636: checking sys/resource.h usability
configure:4636: x86_64-musl-linux-g++ -static -c -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  conftest.cpp >&5
configure:4636: $? = 0
configure:4636: result: yes
configure:4636: checking sys/resource.h presence
configure:4636: x86_64-musl-linux-g++ -static -E  conftest.cpp
configure:4636: $? = 0
configure:4636: result: yes
configure:4636: checking for sys/resource.h
configure:4636: result: yes
configure:4636: checking term.h usability
configure:4636: x86_64-musl-linux-g++ -static -c -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  conftest.cpp >&5
configure:4636: $? = 0
configure:4636: result: yes
configure:4636: checking term.h presence
configure:4636: x86_64-musl-linux-g++ -static -E  conftest.cpp
conftest.cpp:28:18: fatal error: term.h: No such file or directory
compilation terminated.
configure:4636: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "fish"
| #define PACKAGE_TARNAME "fish"
| #define PACKAGE_VERSION "unknown"
| #define PACKAGE_STRING "fish unknown"
| #define PACKAGE_BUGREPORT "fish-users@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define USE_GETTEXT 1
| #define HAVE__PROC_SELF_STAT 1
| #define HAVE_TRANSLATE_H 1
| #define NCURSES_NOMACROS 1
| #define NOMACROS 1
| #define HAVE_NAN 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_GETOPT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_RESOURCE_H 1
| /* end confdefs.h.  */
| #include <term.h>
configure:4636: result: no
configure:4636: WARNING: term.h: accepted by the compiler, rejected by the preprocessor!
configure:4636: WARNING: term.h: proceeding with the compiler's result
configure:4636: checking for term.h
configure:4636: result: yes
configure:4636: checking ncurses/term.h usability
configure:4636: x86_64-musl-linux-g++ -static -c -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  conftest.cpp >&5
conftest.cpp:62:26: fatal error: ncurses/term.h: No such file or directory
compilation terminated.
configure:4636: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "fish"
| #define PACKAGE_TARNAME "fish"
| #define PACKAGE_VERSION "unknown"
| #define PACKAGE_STRING "fish unknown"
| #define PACKAGE_BUGREPORT "fish-users@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define USE_GETTEXT 1
| #define HAVE__PROC_SELF_STAT 1
| #define HAVE_TRANSLATE_H 1
| #define NCURSES_NOMACROS 1
| #define NOMACROS 1
| #define HAVE_NAN 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_GETOPT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_TERM_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <ncurses/term.h>
configure:4636: result: no
configure:4636: checking ncurses/term.h presence
configure:4636: x86_64-musl-linux-g++ -static -E  conftest.cpp
conftest.cpp:29:26: fatal error: ncurses/term.h: No such file or directory
compilation terminated.
configure:4636: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "fish"
| #define PACKAGE_TARNAME "fish"
| #define PACKAGE_VERSION "unknown"
| #define PACKAGE_STRING "fish unknown"
| #define PACKAGE_BUGREPORT "fish-users@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define USE_GETTEXT 1
| #define HAVE__PROC_SELF_STAT 1
| #define HAVE_TRANSLATE_H 1
| #define NCURSES_NOMACROS 1
| #define NOMACROS 1
| #define HAVE_NAN 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_GETOPT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_TERM_H 1
| /* end confdefs.h.  */
| #include <ncurses/term.h>
configure:4636: result: no
configure:4636: checking for ncurses/term.h
configure:4636: result: no
configure:4636: checking ncurses.h usability
configure:4636: x86_64-musl-linux-g++ -static -c -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  conftest.cpp >&5
configure:4636: $? = 0
configure:4636: result: yes
configure:4636: checking ncurses.h presence
configure:4636: x86_64-musl-linux-g++ -static -E  conftest.cpp
conftest.cpp:29:21: fatal error: ncurses.h: No such file or directory
compilation terminated.
configure:4636: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "fish"
| #define PACKAGE_TARNAME "fish"
| #define PACKAGE_VERSION "unknown"
| #define PACKAGE_STRING "fish unknown"
| #define PACKAGE_BUGREPORT "fish-users@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define USE_GETTEXT 1
| #define HAVE__PROC_SELF_STAT 1
| #define HAVE_TRANSLATE_H 1
| #define NCURSES_NOMACROS 1
| #define NOMACROS 1
| #define HAVE_NAN 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_GETOPT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_TERM_H 1
| /* end confdefs.h.  */
| #include <ncurses.h>
configure:4636: result: no
configure:4636: WARNING: ncurses.h: accepted by the compiler, rejected by the preprocessor!
configure:4636: WARNING: ncurses.h: proceeding with the compiler's result
configure:4636: checking for ncurses.h
configure:4636: result: yes
configure:4636: checking ncurses/curses.h usability
configure:4636: x86_64-musl-linux-g++ -static -c -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  conftest.cpp >&5
conftest.cpp:63:28: fatal error: ncurses/curses.h: No such file or directory
compilation terminated.
configure:4636: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "fish"
| #define PACKAGE_TARNAME "fish"
| #define PACKAGE_VERSION "unknown"
| #define PACKAGE_STRING "fish unknown"
| #define PACKAGE_BUGREPORT "fish-users@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define USE_GETTEXT 1
| #define HAVE__PROC_SELF_STAT 1
| #define HAVE_TRANSLATE_H 1
| #define NCURSES_NOMACROS 1
| #define NOMACROS 1
| #define HAVE_NAN 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_GETOPT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_TERM_H 1
| #define HAVE_NCURSES_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <ncurses/curses.h>
configure:4636: result: no
configure:4636: checking ncurses/curses.h presence
configure:4636: x86_64-musl-linux-g++ -static -E  conftest.cpp
conftest.cpp:30:28: fatal error: ncurses/curses.h: No such file or directory
compilation terminated.
configure:4636: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "fish"
| #define PACKAGE_TARNAME "fish"
| #define PACKAGE_VERSION "unknown"
| #define PACKAGE_STRING "fish unknown"
| #define PACKAGE_BUGREPORT "fish-users@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define USE_GETTEXT 1
| #define HAVE__PROC_SELF_STAT 1
| #define HAVE_TRANSLATE_H 1
| #define NCURSES_NOMACROS 1
| #define NOMACROS 1
| #define HAVE_NAN 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_GETOPT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_TERM_H 1
| #define HAVE_NCURSES_H 1
| /* end confdefs.h.  */
| #include <ncurses/curses.h>
configure:4636: result: no
configure:4636: checking for ncurses/curses.h
configure:4636: result: no
configure:4636: checking curses.h usability
configure:4636: x86_64-musl-linux-g++ -static -c -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  conftest.cpp >&5
configure:4636: $? = 0
configure:4636: result: yes
configure:4636: checking curses.h presence
configure:4636: x86_64-musl-linux-g++ -static -E  conftest.cpp
conftest.cpp:30:20: fatal error: curses.h: No such file or directory
compilation terminated.
configure:4636: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "fish"
| #define PACKAGE_TARNAME "fish"
| #define PACKAGE_VERSION "unknown"
| #define PACKAGE_STRING "fish unknown"
| #define PACKAGE_BUGREPORT "fish-users@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define USE_GETTEXT 1
| #define HAVE__PROC_SELF_STAT 1
| #define HAVE_TRANSLATE_H 1
| #define NCURSES_NOMACROS 1
| #define NOMACROS 1
| #define HAVE_NAN 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_GETOPT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_TERM_H 1
| #define HAVE_NCURSES_H 1
| /* end confdefs.h.  */
| #include <curses.h>
configure:4636: result: no
configure:4636: WARNING: curses.h: accepted by the compiler, rejected by the preprocessor!
configure:4636: WARNING: curses.h: proceeding with the compiler's result
configure:4636: checking for curses.h
configure:4636: result: yes
configure:4636: checking stropts.h usability
configure:4636: x86_64-musl-linux-g++ -static -c -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  conftest.cpp >&5
configure:4636: $? = 0
configure:4636: result: yes
configure:4636: checking stropts.h presence
configure:4636: x86_64-musl-linux-g++ -static -E  conftest.cpp
configure:4636: $? = 0
configure:4636: result: yes
configure:4636: checking for stropts.h
configure:4636: result: yes
configure:4636: checking siginfo.h usability
configure:4636: x86_64-musl-linux-g++ -static -c -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  conftest.cpp >&5
conftest.cpp:65:21: fatal error: siginfo.h: No such file or directory
compilation terminated.
configure:4636: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "fish"
| #define PACKAGE_TARNAME "fish"
| #define PACKAGE_VERSION "unknown"
| #define PACKAGE_STRING "fish unknown"
| #define PACKAGE_BUGREPORT "fish-users@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define USE_GETTEXT 1
| #define HAVE__PROC_SELF_STAT 1
| #define HAVE_TRANSLATE_H 1
| #define NCURSES_NOMACROS 1
| #define NOMACROS 1
| #define HAVE_NAN 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_GETOPT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_TERM_H 1
| #define HAVE_NCURSES_H 1
| #define HAVE_CURSES_H 1
| #define HAVE_STROPTS_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <siginfo.h>
configure:4636: result: no
configure:4636: checking siginfo.h presence
configure:4636: x86_64-musl-linux-g++ -static -E  conftest.cpp
conftest.cpp:32:21: fatal error: siginfo.h: No such file or directory
compilation terminated.
configure:4636: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "fish"
| #define PACKAGE_TARNAME "fish"
| #define PACKAGE_VERSION "unknown"
| #define PACKAGE_STRING "fish unknown"
| #define PACKAGE_BUGREPORT "fish-users@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define USE_GETTEXT 1
| #define HAVE__PROC_SELF_STAT 1
| #define HAVE_TRANSLATE_H 1
| #define NCURSES_NOMACROS 1
| #define NOMACROS 1
| #define HAVE_NAN 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_GETOPT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_TERM_H 1
| #define HAVE_NCURSES_H 1
| #define HAVE_CURSES_H 1
| #define HAVE_STROPTS_H 1
| /* end confdefs.h.  */
| #include <siginfo.h>
configure:4636: result: no
configure:4636: checking for siginfo.h
configure:4636: result: no
configure:4636: checking sys/select.h usability
configure:4636: x86_64-musl-linux-g++ -static -c -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  conftest.cpp >&5
configure:4636: $? = 0
configure:4636: result: yes
configure:4636: checking sys/select.h presence
configure:4636: x86_64-musl-linux-g++ -static -E  conftest.cpp
configure:4636: $? = 0
configure:4636: result: yes
configure:4636: checking for sys/select.h
configure:4636: result: yes
configure:4636: checking sys/ioctl.h usability
configure:4636: x86_64-musl-linux-g++ -static -c -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  conftest.cpp >&5
configure:4636: $? = 0
configure:4636: result: yes
configure:4636: checking sys/ioctl.h presence
configure:4636: x86_64-musl-linux-g++ -static -E  conftest.cpp
configure:4636: $? = 0
configure:4636: result: yes
configure:4636: checking for sys/ioctl.h
configure:4636: result: yes
configure:4636: checking execinfo.h usability
configure:4636: x86_64-musl-linux-g++ -static -c -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  conftest.cpp >&5
conftest.cpp:67:22: fatal error: execinfo.h: No such file or directory
compilation terminated.
configure:4636: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "fish"
| #define PACKAGE_TARNAME "fish"
| #define PACKAGE_VERSION "unknown"
| #define PACKAGE_STRING "fish unknown"
| #define PACKAGE_BUGREPORT "fish-users@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define USE_GETTEXT 1
| #define HAVE__PROC_SELF_STAT 1
| #define HAVE_TRANSLATE_H 1
| #define NCURSES_NOMACROS 1
| #define NOMACROS 1
| #define HAVE_NAN 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_GETOPT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_TERM_H 1
| #define HAVE_NCURSES_H 1
| #define HAVE_CURSES_H 1
| #define HAVE_STROPTS_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_IOCTL_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <execinfo.h>
configure:4636: result: no
configure:4636: checking execinfo.h presence
configure:4636: x86_64-musl-linux-g++ -static -E  conftest.cpp
conftest.cpp:34:22: fatal error: execinfo.h: No such file or directory
compilation terminated.
configure:4636: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "fish"
| #define PACKAGE_TARNAME "fish"
| #define PACKAGE_VERSION "unknown"
| #define PACKAGE_STRING "fish unknown"
| #define PACKAGE_BUGREPORT "fish-users@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define USE_GETTEXT 1
| #define HAVE__PROC_SELF_STAT 1
| #define HAVE_TRANSLATE_H 1
| #define NCURSES_NOMACROS 1
| #define NOMACROS 1
| #define HAVE_NAN 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_GETOPT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_TERM_H 1
| #define HAVE_NCURSES_H 1
| #define HAVE_CURSES_H 1
| #define HAVE_STROPTS_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_IOCTL_H 1
| /* end confdefs.h.  */
| #include <execinfo.h>
configure:4636: result: no
configure:4636: checking for execinfo.h
configure:4636: result: no
configure:4636: checking spawn.h usability
configure:4636: x86_64-musl-linux-g++ -static -c -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  conftest.cpp >&5
configure:4636: $? = 0
configure:4636: result: yes
configure:4636: checking spawn.h presence
configure:4636: x86_64-musl-linux-g++ -static -E  conftest.cpp
configure:4636: $? = 0
configure:4636: result: yes
configure:4636: checking for spawn.h
configure:4636: result: yes
configure:4636: checking sys/sysctl.h usability
configure:4636: x86_64-musl-linux-g++ -static -c -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  conftest.cpp >&5
conftest.cpp:68:24: fatal error: sys/sysctl.h: No such file or directory
compilation terminated.
configure:4636: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "fish"
| #define PACKAGE_TARNAME "fish"
| #define PACKAGE_VERSION "unknown"
| #define PACKAGE_STRING "fish unknown"
| #define PACKAGE_BUGREPORT "fish-users@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define USE_GETTEXT 1
| #define HAVE__PROC_SELF_STAT 1
| #define HAVE_TRANSLATE_H 1
| #define NCURSES_NOMACROS 1
| #define NOMACROS 1
| #define HAVE_NAN 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_GETOPT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_TERM_H 1
| #define HAVE_NCURSES_H 1
| #define HAVE_CURSES_H 1
| #define HAVE_STROPTS_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SPAWN_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <sys/sysctl.h>
configure:4636: result: no
configure:4636: checking sys/sysctl.h presence
configure:4636: x86_64-musl-linux-g++ -static -E  conftest.cpp
conftest.cpp:35:24: fatal error: sys/sysctl.h: No such file or directory
compilation terminated.
configure:4636: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "fish"
| #define PACKAGE_TARNAME "fish"
| #define PACKAGE_VERSION "unknown"
| #define PACKAGE_STRING "fish unknown"
| #define PACKAGE_BUGREPORT "fish-users@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define USE_GETTEXT 1
| #define HAVE__PROC_SELF_STAT 1
| #define HAVE_TRANSLATE_H 1
| #define NCURSES_NOMACROS 1
| #define NOMACROS 1
| #define HAVE_NAN 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_GETOPT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_TERM_H 1
| #define HAVE_NCURSES_H 1
| #define HAVE_CURSES_H 1
| #define HAVE_STROPTS_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SPAWN_H 1
| /* end confdefs.h.  */
| #include <sys/sysctl.h>
configure:4636: result: no
configure:4636: checking for sys/sysctl.h
configure:4636: result: no
configure:4650: checking libintl.h usability
configure:4650: x86_64-musl-linux-g++ -static -c -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  conftest.cpp >&5
configure:4650: $? = 0
configure:4650: result: yes
configure:4650: checking libintl.h presence
configure:4650: x86_64-musl-linux-g++ -static -E  conftest.cpp
configure:4650: $? = 0
configure:4650: result: yes
configure:4650: checking for libintl.h
configure:4650: result: yes
configure:4672: checking size of wchar_t
configure:4677: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
configure:4677: $? = 0
configure:4677: ./conftest
configure:4677: $? = 0
configure:4691: result: 4
configure:4745: checking if switches "" works
configure:4812: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
configure:4812: $? = 0
configure:4821: result: yes
configure:4845: checking for struct stat.st_mtimespec.tv_nsec
configure:4845: x86_64-musl-linux-g++ -static -c -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   conftest.cpp >&5
conftest.cpp: In function 'int main()':
conftest.cpp:75:13: error: 'struct stat' has no member named 'st_mtimespec'
 if (ac_aggr.st_mtimespec.tv_nsec)
             ^
configure:4845: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "fish"
| #define PACKAGE_TARNAME "fish"
| #define PACKAGE_VERSION "unknown"
| #define PACKAGE_STRING "fish unknown"
| #define PACKAGE_BUGREPORT "fish-users@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define USE_GETTEXT 1
| #define HAVE__PROC_SELF_STAT 1
| #define HAVE_TRANSLATE_H 1
| #define NCURSES_NOMACROS 1
| #define NOMACROS 1
| #define HAVE_NAN 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_GETOPT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_TERM_H 1
| #define HAVE_NCURSES_H 1
| #define HAVE_CURSES_H 1
| #define HAVE_STROPTS_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SPAWN_H 1
| #define HAVE_LIBINTL_H 1
| #define SIZEOF_WCHAR_T 4
| #define WCHAR_T_BITS 32
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| static struct stat ac_aggr;
| if (ac_aggr.st_mtimespec.tv_nsec)
| return 0;
|   ;
|   return 0;
| }
configure:4845: x86_64-musl-linux-g++ -static -c -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   conftest.cpp >&5
conftest.cpp: In function 'int main()':
conftest.cpp:75:20: error: 'struct stat' has no member named 'st_mtimespec'
 if (sizeof ac_aggr.st_mtimespec.tv_nsec)
                    ^
configure:4845: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "fish"
| #define PACKAGE_TARNAME "fish"
| #define PACKAGE_VERSION "unknown"
| #define PACKAGE_STRING "fish unknown"
| #define PACKAGE_BUGREPORT "fish-users@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define USE_GETTEXT 1
| #define HAVE__PROC_SELF_STAT 1
| #define HAVE_TRANSLATE_H 1
| #define NCURSES_NOMACROS 1
| #define NOMACROS 1
| #define HAVE_NAN 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_GETOPT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_TERM_H 1
| #define HAVE_NCURSES_H 1
| #define HAVE_CURSES_H 1
| #define HAVE_STROPTS_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SPAWN_H 1
| #define HAVE_LIBINTL_H 1
| #define SIZEOF_WCHAR_T 4
| #define WCHAR_T_BITS 32
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| static struct stat ac_aggr;
| if (sizeof ac_aggr.st_mtimespec.tv_nsec)
| return 0;
|   ;
|   return 0;
| }
configure:4845: result: no
configure:4855: checking for struct stat.st_mtim.tv_nsec
configure:4855: x86_64-musl-linux-g++ -static -c -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   conftest.cpp >&5
configure:4855: $? = 0
configure:4855: result: yes
configure:4872: checking for dirent.h that defines DIR
configure:4891: x86_64-musl-linux-g++ -static -c -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   conftest.cpp >&5
configure:4891: $? = 0
configure:4899: result: yes
configure:4912: checking for library containing opendir
configure:4943: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
configure:4943: $? = 0
configure:4960: result: none required
configure:5029: checking for struct dirent.d_type
configure:5029: x86_64-musl-linux-g++ -static -c -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   conftest.cpp >&5
configure:5029: $? = 0
configure:5029: result: yes
configure:5065: checking for wcsdup
configure:5065: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
configure:5065: $? = 0
configure:5065: result: yes
configure:5065: checking for wcsndup
configure:5065: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
/tmp/ccMpKCgB.o: In function `main':
conftest.cpp:(.text+0x5): undefined reference to `wcsndup'
collect2: error: ld returned 1 exit status
configure:5065: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "fish"
| #define PACKAGE_TARNAME "fish"
| #define PACKAGE_VERSION "unknown"
| #define PACKAGE_STRING "fish unknown"
| #define PACKAGE_BUGREPORT "fish-users@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define USE_GETTEXT 1
| #define HAVE__PROC_SELF_STAT 1
| #define HAVE_TRANSLATE_H 1
| #define NCURSES_NOMACROS 1
| #define NOMACROS 1
| #define HAVE_NAN 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_GETOPT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_TERM_H 1
| #define HAVE_NCURSES_H 1
| #define HAVE_CURSES_H 1
| #define HAVE_STROPTS_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SPAWN_H 1
| #define HAVE_LIBINTL_H 1
| #define SIZEOF_WCHAR_T 4
| #define WCHAR_T_BITS 32
| #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1
| #define HAVE_DIRENT_H 1
| #define HAVE_STRUCT_DIRENT_D_TYPE 1
| #define HAVE_WCSDUP 1
| /* end confdefs.h.  */
| /* Define wcsndup to an innocuous variant, in case <limits.h> declares wcsndup.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define wcsndup innocuous_wcsndup
|
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char wcsndup (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef wcsndup
|
| /* 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 wcsndup ();
| /* 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_wcsndup || defined __stub___wcsndup
| choke me
| #endif
|
| int
| main ()
| {
| return wcsndup ();
|   ;
|   return 0;
| }
configure:5065: result: no
configure:5065: checking for wcslen
configure:5065: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
configure:5065: $? = 0
configure:5065: result: yes
configure:5065: checking for wcscasecmp
configure:5065: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
configure:5065: $? = 0
configure:5065: result: yes
configure:5065: checking for wcsncasecmp
configure:5065: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
configure:5065: $? = 0
configure:5065: result: yes
configure:5065: checking for fwprintf
configure:5065: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
configure:5065: $? = 0
configure:5065: result: yes
configure:5077: checking for futimes
configure:5077: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
configure:5077: $? = 0
configure:5077: result: yes
configure:5077: checking for wcwidth
configure:5077: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
configure:5077: $? = 0
configure:5077: result: yes
configure:5077: checking for wcswidth
configure:5077: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
configure:5077: $? = 0
configure:5077: result: yes
configure:5077: checking for wcstok
configure:5077: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
configure:5077: $? = 0
configure:5077: result: yes
configure:5077: checking for fputwc
configure:5077: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
configure:5077: $? = 0
configure:5077: result: yes
configure:5077: checking for fgetwc
configure:5077: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
configure:5077: $? = 0
configure:5077: result: yes
configure:5089: checking for wcstol
configure:5089: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
configure:5089: $? = 0
configure:5089: result: yes
configure:5089: checking for wcslcat
configure:5089: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
/tmp/ccOkGgOe.o: In function `main':
conftest.cpp:(.text+0x5): undefined reference to `wcslcat'
collect2: error: ld returned 1 exit status
configure:5089: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "fish"
| #define PACKAGE_TARNAME "fish"
| #define PACKAGE_VERSION "unknown"
| #define PACKAGE_STRING "fish unknown"
| #define PACKAGE_BUGREPORT "fish-users@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define USE_GETTEXT 1
| #define HAVE__PROC_SELF_STAT 1
| #define HAVE_TRANSLATE_H 1
| #define NCURSES_NOMACROS 1
| #define NOMACROS 1
| #define HAVE_NAN 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_GETOPT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_TERM_H 1
| #define HAVE_NCURSES_H 1
| #define HAVE_CURSES_H 1
| #define HAVE_STROPTS_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SPAWN_H 1
| #define HAVE_LIBINTL_H 1
| #define SIZEOF_WCHAR_T 4
| #define WCHAR_T_BITS 32
| #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1
| #define HAVE_DIRENT_H 1
| #define HAVE_STRUCT_DIRENT_D_TYPE 1
| #define HAVE_WCSDUP 1
| #define HAVE_WCSLEN 1
| #define HAVE_WCSCASECMP 1
| #define HAVE_WCSNCASECMP 1
| #define HAVE_FWPRINTF 1
| #define HAVE_FUTIMES 1
| #define HAVE_WCWIDTH 1
| #define HAVE_WCSWIDTH 1
| #define HAVE_WCSTOK 1
| #define HAVE_FPUTWC 1
| #define HAVE_FGETWC 1
| #define HAVE_WCSTOL 1
| /* end confdefs.h.  */
| /* Define wcslcat to an innocuous variant, in case <limits.h> declares wcslcat.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define wcslcat innocuous_wcslcat
|
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char wcslcat (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef wcslcat
|
| /* 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 wcslcat ();
| /* 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_wcslcat || defined __stub___wcslcat
| choke me
| #endif
|
| int
| main ()
| {
| return wcslcat ();
|   ;
|   return 0;
| }
configure:5089: result: no
configure:5089: checking for wcslcpy
configure:5089: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
/tmp/ccaFFnGm.o: In function `main':
conftest.cpp:(.text+0x5): undefined reference to `wcslcpy'
collect2: error: ld returned 1 exit status
configure:5089: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "fish"
| #define PACKAGE_TARNAME "fish"
| #define PACKAGE_VERSION "unknown"
| #define PACKAGE_STRING "fish unknown"
| #define PACKAGE_BUGREPORT "fish-users@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define USE_GETTEXT 1
| #define HAVE__PROC_SELF_STAT 1
| #define HAVE_TRANSLATE_H 1
| #define NCURSES_NOMACROS 1
| #define NOMACROS 1
| #define HAVE_NAN 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_GETOPT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_TERM_H 1
| #define HAVE_NCURSES_H 1
| #define HAVE_CURSES_H 1
| #define HAVE_STROPTS_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SPAWN_H 1
| #define HAVE_LIBINTL_H 1
| #define SIZEOF_WCHAR_T 4
| #define WCHAR_T_BITS 32
| #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1
| #define HAVE_DIRENT_H 1
| #define HAVE_STRUCT_DIRENT_D_TYPE 1
| #define HAVE_WCSDUP 1
| #define HAVE_WCSLEN 1
| #define HAVE_WCSCASECMP 1
| #define HAVE_WCSNCASECMP 1
| #define HAVE_FWPRINTF 1
| #define HAVE_FUTIMES 1
| #define HAVE_WCWIDTH 1
| #define HAVE_WCSWIDTH 1
| #define HAVE_WCSTOK 1
| #define HAVE_FPUTWC 1
| #define HAVE_FGETWC 1
| #define HAVE_WCSTOL 1
| /* end confdefs.h.  */
| /* Define wcslcpy to an innocuous variant, in case <limits.h> declares wcslcpy.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define wcslcpy innocuous_wcslcpy
|
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char wcslcpy (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef wcslcpy
|
| /* 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 wcslcpy ();
| /* 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_wcslcpy || defined __stub___wcslcpy
| choke me
| #endif
|
| int
| main ()
| {
| return wcslcpy ();
|   ;
|   return 0;
| }
configure:5089: result: no
configure:5089: checking for lrand48_r
configure:5089: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
/tmp/ccEGJDcK.o: In function `main':
conftest.cpp:(.text+0x5): undefined reference to `lrand48_r'
collect2: error: ld returned 1 exit status
configure:5089: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "fish"
| #define PACKAGE_TARNAME "fish"
| #define PACKAGE_VERSION "unknown"
| #define PACKAGE_STRING "fish unknown"
| #define PACKAGE_BUGREPORT "fish-users@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define USE_GETTEXT 1
| #define HAVE__PROC_SELF_STAT 1
| #define HAVE_TRANSLATE_H 1
| #define NCURSES_NOMACROS 1
| #define NOMACROS 1
| #define HAVE_NAN 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_GETOPT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_TERM_H 1
| #define HAVE_NCURSES_H 1
| #define HAVE_CURSES_H 1
| #define HAVE_STROPTS_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SPAWN_H 1
| #define HAVE_LIBINTL_H 1
| #define SIZEOF_WCHAR_T 4
| #define WCHAR_T_BITS 32
| #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1
| #define HAVE_DIRENT_H 1
| #define HAVE_STRUCT_DIRENT_D_TYPE 1
| #define HAVE_WCSDUP 1
| #define HAVE_WCSLEN 1
| #define HAVE_WCSCASECMP 1
| #define HAVE_WCSNCASECMP 1
| #define HAVE_FWPRINTF 1
| #define HAVE_FUTIMES 1
| #define HAVE_WCWIDTH 1
| #define HAVE_WCSWIDTH 1
| #define HAVE_WCSTOK 1
| #define HAVE_FPUTWC 1
| #define HAVE_FGETWC 1
| #define HAVE_WCSTOL 1
| /* end confdefs.h.  */
| /* Define lrand48_r to an innocuous variant, in case <limits.h> declares lrand48_r.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define lrand48_r innocuous_lrand48_r
|
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char lrand48_r (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef lrand48_r
|
| /* 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 lrand48_r ();
| /* 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_lrand48_r || defined __stub___lrand48_r
| choke me
| #endif
|
| int
| main ()
| {
| return lrand48_r ();
|   ;
|   return 0;
| }
configure:5089: result: no
configure:5089: checking for killpg
configure:5089: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
configure:5089: $? = 0
configure:5089: result: yes
configure:5089: checking for mkostemp
configure:5089: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
configure:5089: $? = 0
configure:5089: result: yes
configure:5101: checking for backtrace
configure:5101: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
/tmp/ccpFCFeJ.o: In function `main':
conftest.cpp:(.text+0x5): undefined reference to `backtrace'
collect2: error: ld returned 1 exit status
configure:5101: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "fish"
| #define PACKAGE_TARNAME "fish"
| #define PACKAGE_VERSION "unknown"
| #define PACKAGE_STRING "fish unknown"
| #define PACKAGE_BUGREPORT "fish-users@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define USE_GETTEXT 1
| #define HAVE__PROC_SELF_STAT 1
| #define HAVE_TRANSLATE_H 1
| #define NCURSES_NOMACROS 1
| #define NOMACROS 1
| #define HAVE_NAN 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_GETOPT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_TERM_H 1
| #define HAVE_NCURSES_H 1
| #define HAVE_CURSES_H 1
| #define HAVE_STROPTS_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SPAWN_H 1
| #define HAVE_LIBINTL_H 1
| #define SIZEOF_WCHAR_T 4
| #define WCHAR_T_BITS 32
| #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1
| #define HAVE_DIRENT_H 1
| #define HAVE_STRUCT_DIRENT_D_TYPE 1
| #define HAVE_WCSDUP 1
| #define HAVE_WCSLEN 1
| #define HAVE_WCSCASECMP 1
| #define HAVE_WCSNCASECMP 1
| #define HAVE_FWPRINTF 1
| #define HAVE_FUTIMES 1
| #define HAVE_WCWIDTH 1
| #define HAVE_WCSWIDTH 1
| #define HAVE_WCSTOK 1
| #define HAVE_FPUTWC 1
| #define HAVE_FGETWC 1
| #define HAVE_WCSTOL 1
| #define HAVE_KILLPG 1
| #define HAVE_MKOSTEMP 1
| /* end confdefs.h.  */
| /* Define backtrace to an innocuous variant, in case <limits.h> declares backtrace.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define backtrace innocuous_backtrace
|
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char backtrace (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef backtrace
|
| /* 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 backtrace ();
| /* 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_backtrace || defined __stub___backtrace
| choke me
| #endif
|
| int
| main ()
| {
| return backtrace ();
|   ;
|   return 0;
| }
configure:5101: result: no
configure:5101: checking for backtrace_symbols_fd
configure:5101: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
/tmp/ccggcDpO.o: In function `main':
conftest.cpp:(.text+0x5): undefined reference to `backtrace_symbols_fd'
collect2: error: ld returned 1 exit status
configure:5101: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "fish"
| #define PACKAGE_TARNAME "fish"
| #define PACKAGE_VERSION "unknown"
| #define PACKAGE_STRING "fish unknown"
| #define PACKAGE_BUGREPORT "fish-users@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define USE_GETTEXT 1
| #define HAVE__PROC_SELF_STAT 1
| #define HAVE_TRANSLATE_H 1
| #define NCURSES_NOMACROS 1
| #define NOMACROS 1
| #define HAVE_NAN 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_GETOPT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_TERM_H 1
| #define HAVE_NCURSES_H 1
| #define HAVE_CURSES_H 1
| #define HAVE_STROPTS_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SPAWN_H 1
| #define HAVE_LIBINTL_H 1
| #define SIZEOF_WCHAR_T 4
| #define WCHAR_T_BITS 32
| #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1
| #define HAVE_DIRENT_H 1
| #define HAVE_STRUCT_DIRENT_D_TYPE 1
| #define HAVE_WCSDUP 1
| #define HAVE_WCSLEN 1
| #define HAVE_WCSCASECMP 1
| #define HAVE_WCSNCASECMP 1
| #define HAVE_FWPRINTF 1
| #define HAVE_FUTIMES 1
| #define HAVE_WCWIDTH 1
| #define HAVE_WCSWIDTH 1
| #define HAVE_WCSTOK 1
| #define HAVE_FPUTWC 1
| #define HAVE_FGETWC 1
| #define HAVE_WCSTOL 1
| #define HAVE_KILLPG 1
| #define HAVE_MKOSTEMP 1
| /* end confdefs.h.  */
| /* Define backtrace_symbols_fd to an innocuous variant, in case <limits.h> declares backtrace_symbols_fd.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define backtrace_symbols_fd innocuous_backtrace_symbols_fd
|
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char backtrace_symbols_fd (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef backtrace_symbols_fd
|
| /* 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 backtrace_symbols_fd ();
| /* 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_backtrace_symbols_fd || defined __stub___backtrace_symbols_fd
| choke me
| #endif
|
| int
| main ()
| {
| return backtrace_symbols_fd ();
|   ;
|   return 0;
| }
configure:5101: result: no
configure:5101: checking for sysconf
configure:5101: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
configure:5101: $? = 0
configure:5101: result: yes
configure:5101: checking for getifaddrs
configure:5101: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
configure:5101: $? = 0
configure:5101: result: yes
configure:5113: checking for futimens
configure:5113: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
configure:5113: $? = 0
configure:5113: result: yes
configure:5113: checking for clock_gettime
configure:5113: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
configure:5113: $? = 0
configure:5113: result: yes
configure:5127: checking for gettext
configure:5127: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
configure:5127: $? = 0
configure:5127: result: yes
configure:5127: checking for dcgettext
configure:5127: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
configure:5127: $? = 0
configure:5127: result: yes
configure:5141: checking for gettext
configure:5141: result: yes
configure:5160: checking if realpath accepts null for its second argument
configure:5192: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
configure:5192: $? = 0
configure:5192: ./conftest
configure:5192: $? = 0
configure:5204: result: yes
configure:5219: checking if struct winsize and TIOCGWINSZ exist
configure:5246: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
conftest.cpp: In function 'int main()':
conftest.cpp:77:19: warning: statement has no effect [-Wunused-value]
         TIOCGWINSZ;
                   ^
conftest.cpp:76:24: warning: unused variable 'termsize' [-Wunused-variable]
         struct winsize termsize = {0};
                        ^
configure:5246: $? = 0
configure:5248: result: yes
configure:5272: checking if fwprintf is broken
configure:5302: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
configure:5302: $? = 0
configure:5302: ./conftest
fish:configure:5302: $? = 0
configure:5304: result: no
configure:5326: checking for _nl_msg_cat_cntr symbol
configure:5347: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
conftest.cpp: In function 'int main()':
conftest.cpp:74:13: error: 'exit' was not declared in this scope
     exit(tmp);
             ^
configure:5347: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "fish"
| #define PACKAGE_TARNAME "fish"
| #define PACKAGE_VERSION "unknown"
| #define PACKAGE_STRING "fish unknown"
| #define PACKAGE_BUGREPORT "fish-users@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define USE_GETTEXT 1
| #define HAVE__PROC_SELF_STAT 1
| #define HAVE_TRANSLATE_H 1
| #define NCURSES_NOMACROS 1
| #define NOMACROS 1
| #define HAVE_NAN 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_GETOPT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_TERM_H 1
| #define HAVE_NCURSES_H 1
| #define HAVE_CURSES_H 1
| #define HAVE_STROPTS_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SPAWN_H 1
| #define HAVE_LIBINTL_H 1
| #define SIZEOF_WCHAR_T 4
| #define WCHAR_T_BITS 32
| #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1
| #define HAVE_DIRENT_H 1
| #define HAVE_STRUCT_DIRENT_D_TYPE 1
| #define HAVE_WCSDUP 1
| #define HAVE_WCSLEN 1
| #define HAVE_WCSCASECMP 1
| #define HAVE_WCSNCASECMP 1
| #define HAVE_FWPRINTF 1
| #define HAVE_FUTIMES 1
| #define HAVE_WCWIDTH 1
| #define HAVE_WCSWIDTH 1
| #define HAVE_WCSTOK 1
| #define HAVE_FPUTWC 1
| #define HAVE_FGETWC 1
| #define HAVE_WCSTOL 1
| #define HAVE_KILLPG 1
| #define HAVE_MKOSTEMP 1
| #define HAVE_SYSCONF 1
| #define HAVE_GETIFADDRS 1
| #define HAVE_FUTIMENS 1
| #define HAVE_CLOCK_GETTIME 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define HAVE_REALPATH_NULL 1
| #define HAVE_WINSIZE 1
| /* end confdefs.h.  */
|
|     #if HAVE_LIBINTL_H
|     #include <libintl.h>
|     #endif
|
| int
| main ()
| {
|
|     extern int  _nl_msg_cat_cntr;
|     int tmp = _nl_msg_cat_cntr;
|     exit(tmp);
|
|   ;
|   return 0;
| }
configure:5362: result: no
configure:5367: checking for __environ symbol
configure:5386: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
conftest.cpp: In function 'int main()':
conftest.cpp:72:16: error: 'exit' was not declared in this scope
     exit(tmp!=0);
                ^
configure:5386: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "fish"
| #define PACKAGE_TARNAME "fish"
| #define PACKAGE_VERSION "unknown"
| #define PACKAGE_STRING "fish unknown"
| #define PACKAGE_BUGREPORT "fish-users@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define USE_GETTEXT 1
| #define HAVE__PROC_SELF_STAT 1
| #define HAVE_TRANSLATE_H 1
| #define NCURSES_NOMACROS 1
| #define NOMACROS 1
| #define HAVE_NAN 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_GETOPT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_TERM_H 1
| #define HAVE_NCURSES_H 1
| #define HAVE_CURSES_H 1
| #define HAVE_STROPTS_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SPAWN_H 1
| #define HAVE_LIBINTL_H 1
| #define SIZEOF_WCHAR_T 4
| #define WCHAR_T_BITS 32
| #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1
| #define HAVE_DIRENT_H 1
| #define HAVE_STRUCT_DIRENT_D_TYPE 1
| #define HAVE_WCSDUP 1
| #define HAVE_WCSLEN 1
| #define HAVE_WCSCASECMP 1
| #define HAVE_WCSNCASECMP 1
| #define HAVE_FWPRINTF 1
| #define HAVE_FUTIMES 1
| #define HAVE_WCWIDTH 1
| #define HAVE_WCSWIDTH 1
| #define HAVE_WCSTOK 1
| #define HAVE_FPUTWC 1
| #define HAVE_FGETWC 1
| #define HAVE_WCSTOL 1
| #define HAVE_KILLPG 1
| #define HAVE_MKOSTEMP 1
| #define HAVE_SYSCONF 1
| #define HAVE_GETIFADDRS 1
| #define HAVE_FUTIMENS 1
| #define HAVE_CLOCK_GETTIME 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define HAVE_REALPATH_NULL 1
| #define HAVE_WINSIZE 1
| /* end confdefs.h.  */
|
|     #include <unistd.h>
|
| int
| main ()
| {
|
|     extern char **__environ;
|     char **tmp = __environ;
|     exit(tmp!=0);
|
|   ;
|   return 0;
| }
configure:5401: result: no
configure:5406: checking for sys_errlist array
configure:5424: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
conftest.cpp: In function 'int main()':
conftest.cpp:71:9: error: 'sys_errlist' was not declared in this scope
     p = sys_errlist[sys_nerr];
         ^
conftest.cpp:71:21: error: 'sys_nerr' was not declared in this scope
     p = sys_errlist[sys_nerr];
                     ^
configure:5424: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "fish"
| #define PACKAGE_TARNAME "fish"
| #define PACKAGE_VERSION "unknown"
| #define PACKAGE_STRING "fish unknown"
| #define PACKAGE_BUGREPORT "fish-users@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define USE_GETTEXT 1
| #define HAVE__PROC_SELF_STAT 1
| #define HAVE_TRANSLATE_H 1
| #define NCURSES_NOMACROS 1
| #define NOMACROS 1
| #define HAVE_NAN 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_GETOPT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_TERM_H 1
| #define HAVE_NCURSES_H 1
| #define HAVE_CURSES_H 1
| #define HAVE_STROPTS_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SPAWN_H 1
| #define HAVE_LIBINTL_H 1
| #define SIZEOF_WCHAR_T 4
| #define WCHAR_T_BITS 32
| #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1
| #define HAVE_DIRENT_H 1
| #define HAVE_STRUCT_DIRENT_D_TYPE 1
| #define HAVE_WCSDUP 1
| #define HAVE_WCSLEN 1
| #define HAVE_WCSCASECMP 1
| #define HAVE_WCSNCASECMP 1
| #define HAVE_FWPRINTF 1
| #define HAVE_FUTIMES 1
| #define HAVE_WCWIDTH 1
| #define HAVE_WCSWIDTH 1
| #define HAVE_WCSTOK 1
| #define HAVE_FPUTWC 1
| #define HAVE_FGETWC 1
| #define HAVE_WCSTOL 1
| #define HAVE_KILLPG 1
| #define HAVE_MKOSTEMP 1
| #define HAVE_SYSCONF 1
| #define HAVE_GETIFADDRS 1
| #define HAVE_FUTIMENS 1
| #define HAVE_CLOCK_GETTIME 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define HAVE_REALPATH_NULL 1
| #define HAVE_WINSIZE 1
| /* end confdefs.h.  */
|
|    #include <stdio.h>
|
| int
| main ()
| {
|
|     const char *p;
|     p = sys_errlist[sys_nerr];
|
|   ;
|   return 0;
| }
configure:5439: result: no
configure:5444: checking for _sys_errs array
configure:5464: x86_64-musl-linux-g++ -static -o conftest -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   -Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include conftest.cpp -lncursesw  >&5
/tmp/ccbkbgfc.o: In function `main':
conftest.cpp:(.text+0x17): undefined reference to `_sys_index'
conftest.cpp:(.text+0x20): undefined reference to `_sys_errs'
collect2: error: ld returned 1 exit status
configure:5464: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "fish"
| #define PACKAGE_TARNAME "fish"
| #define PACKAGE_VERSION "unknown"
| #define PACKAGE_STRING "fish unknown"
| #define PACKAGE_BUGREPORT "fish-users@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define USE_GETTEXT 1
| #define HAVE__PROC_SELF_STAT 1
| #define HAVE_TRANSLATE_H 1
| #define NCURSES_NOMACROS 1
| #define NOMACROS 1
| #define HAVE_NAN 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_GETOPT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_TERM_H 1
| #define HAVE_NCURSES_H 1
| #define HAVE_CURSES_H 1
| #define HAVE_STROPTS_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SPAWN_H 1
| #define HAVE_LIBINTL_H 1
| #define SIZEOF_WCHAR_T 4
| #define WCHAR_T_BITS 32
| #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1
| #define HAVE_DIRENT_H 1
| #define HAVE_STRUCT_DIRENT_D_TYPE 1
| #define HAVE_WCSDUP 1
| #define HAVE_WCSLEN 1
| #define HAVE_WCSCASECMP 1
| #define HAVE_WCSNCASECMP 1
| #define HAVE_FWPRINTF 1
| #define HAVE_FUTIMES 1
| #define HAVE_WCWIDTH 1
| #define HAVE_WCSWIDTH 1
| #define HAVE_WCSTOK 1
| #define HAVE_FPUTWC 1
| #define HAVE_FGETWC 1
| #define HAVE_WCSTOL 1
| #define HAVE_KILLPG 1
| #define HAVE_MKOSTEMP 1
| #define HAVE_SYSCONF 1
| #define HAVE_GETIFADDRS 1
| #define HAVE_FUTIMENS 1
| #define HAVE_CLOCK_GETTIME 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define HAVE_REALPATH_NULL 1
| #define HAVE_WINSIZE 1
| /* end confdefs.h.  */
|
|    #include <string>
|
| int
| main ()
| {
|
|     std::string p;
|     extern const char _sys_errs[];
|     extern const int _sys_index[];
|     p = _sys_errs[_sys_index[0]];
|
|   ;
|   return 0;
| }
configure:5479: result: no
configure:5484: checking if we are using non varargs tparm.
configure:5516: x86_64-musl-linux-g++ -static -c -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare   conftest.cpp >&5
conftest.cpp: In function 'int main()':
conftest.cpp:83:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         tparm( "" );
                   ^
configure:5516: $? = 0
configure:5530: result: no
configure:5551: checking for pcre2-config
configure:5581: result: no
configure:5684: using included PCRE2 library
configure:5850: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by fish config.status unknown, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  CONFIG_FILES    =
  CONFIG_HEADERS  =
  CONFIG_LINKS    =
  CONFIG_COMMANDS =
  $ ./config.status

on devbox-chieftain

config.status:870: creating Makefile
config.status:870: creating config.h
configure:7080: === configuring in pcre2-10.21 (/chief/fish-shell-2.3b1/pcre2-10.21)
configure:7143: running /bin/sh ./configure --disable-option-checking '--prefix=/chief'  '--includedir=/chief/include' '--libdir=/chief/lib64' 'CFLAGS=-L/chief/lib64 -I/chief/include' 'CXXFLAGS=-L/chief/lib64 -I/chief/include' 'LDFLAGS=-Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include' 'CXX=x86_64-musl-linux-g++ -static' '--disable-pcre2-8' '--enable-pcre2-32' '--disable-shared' --cache-file=/dev/null --srcdir=.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-L/chief/lib64 -I/chief/include'
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value='x86_64-musl-linux-g++ -static'
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include'
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_file__proc_self_stat=yes
ac_cv_func_backtrace=no
ac_cv_func_backtrace_symbols_fd=no
ac_cv_func_clock_gettime=yes
ac_cv_func_dcgettext=yes
ac_cv_func_fgetwc=yes
ac_cv_func_fputwc=yes
ac_cv_func_futimens=yes
ac_cv_func_futimes=yes
ac_cv_func_fwprintf=yes
ac_cv_func_getifaddrs=yes
ac_cv_func_gettext=yes
ac_cv_func_killpg=yes
ac_cv_func_lrand48_r=no
ac_cv_func_mkostemp=yes
ac_cv_func_sysconf=yes
ac_cv_func_wcscasecmp=yes
ac_cv_func_wcsdup=yes
ac_cv_func_wcslcat=no
ac_cv_func_wcslcpy=no
ac_cv_func_wcslen=yes
ac_cv_func_wcsncasecmp=yes
ac_cv_func_wcsndup=no
ac_cv_func_wcstok=yes
ac_cv_func_wcstol=yes
ac_cv_func_wcswidth=yes
ac_cv_func_wcwidth=yes
ac_cv_header_curses_h=yes
ac_cv_header_dirent_dirent_h=yes
ac_cv_header_execinfo_h=no
ac_cv_header_getopt_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_libintl_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_ncurses_curses_h=no
ac_cv_header_ncurses_h=yes
ac_cv_header_ncurses_term_h=no
ac_cv_header_siginfo_h=no
ac_cv_header_spawn_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_stropts_h=yes
ac_cv_header_sys_ioctl_h=yes
ac_cv_header_sys_resource_h=yes
ac_cv_header_sys_select_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_sysctl_h=no
ac_cv_header_sys_types_h=yes
ac_cv_header_term_h=yes
ac_cv_header_termios_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_member_struct_dirent_d_type=yes
ac_cv_member_struct_stat_st_mtim_tv_nsec=yes
ac_cv_member_struct_stat_st_mtimespec_tv_nsec=no
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_SED=/usr/bin/sed
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_CXXCPP='x86_64-musl-linux-g++ -static -E'
ac_cv_prog_cxx_g=yes
ac_cv_prog_found_doxygen=doxygen
ac_cv_prog_found_msgfmt=msgfmt
ac_cv_search_backtrace_symbols_fd=no
ac_cv_search_connect='none required'
ac_cv_search_gettext='none required'
ac_cv_search_nan='none required'
ac_cv_search_nanosleep='none required'
ac_cv_search_opendir='none required'
ac_cv_search_pthread_create='none required'
ac_cv_search_setupterm=-lncursesw
ac_cv_search_shm_open='none required'
ac_cv_sizeof_wchar_t=4
ac_cv_target=x86_64-unknown-linux-gnu
local_cv_use__posix_c_source=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

CPPFLAGS=''
CXX='x86_64-musl-linux-g++ -static'
CXXCPP='x86_64-musl-linux-g++ -static -E'
CXXFLAGS='-L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  -I$(PCRE2_DIR)/src'
DEFS='-DHAVE_CONFIG_H'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/bin/grep -E'
EXEEXT=''
EXTRA_PCRE2='$(PCRE2_LIB)'
GREP='/usr/bin/grep'
HAVE_DOXYGEN='0'
HAVE_GETTEXT='1'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LDFLAGS='-Wl,-rpath=\$$ORIGIN/../lib64,--enable-new-dtags -L/chief/lib64 -I/chief/include'
LDFLAGS_FISH=' -rdynamic'
LIBOBJS=''
LIBS='-lncursesw  -L$(PCRE2_LIBDIR) -lpcre2-$(PCRE2_WIDTH)'
LTLIBOBJS=''
OBJEXT='o'
PACKAGE_BUGREPORT='fish-users@lists.sourceforge.net'
PACKAGE_NAME='fish'
PACKAGE_STRING='fish unknown'
PACKAGE_TARNAME='fish'
PACKAGE_URL=''
PACKAGE_VERSION='unknown'
PATH_SEPARATOR=':'
PCRE2_CONFIG=''
SED='/usr/bin/sed'
SHELL='/bin/sh'
WCHAR_T_BITS='32'
ac_ct_CXX=''
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}'
extra_completionsdir='${datadir}/fish/vendor_completions.d'
extra_confdir='${datadir}/fish/vendor_conf.d'
extra_functionsdir='${datadir}/fish/vendor_functions.d'
found_doxygen='doxygen'
found_msgfmt='msgfmt'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='/chief/include'
infodir='${datarootdir}/info'
libdir='/chief/lib64'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/chief'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=' pcre2-10.21'
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 "fish"
#define PACKAGE_TARNAME "fish"
#define PACKAGE_VERSION "unknown"
#define PACKAGE_STRING "fish unknown"
#define PACKAGE_BUGREPORT "fish-users@lists.sourceforge.net"
#define PACKAGE_URL ""
#define USE_GETTEXT 1
#define HAVE__PROC_SELF_STAT 1
#define HAVE_TRANSLATE_H 1
#define NCURSES_NOMACROS 1
#define NOMACROS 1
#define HAVE_NAN 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_GETOPT_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_TERM_H 1
#define HAVE_NCURSES_H 1
#define HAVE_CURSES_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SPAWN_H 1
#define HAVE_LIBINTL_H 1
#define SIZEOF_WCHAR_T 4
#define WCHAR_T_BITS 32
#define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1
#define HAVE_DIRENT_H 1
#define HAVE_STRUCT_DIRENT_D_TYPE 1
#define HAVE_WCSDUP 1
#define HAVE_WCSLEN 1
#define HAVE_WCSCASECMP 1
#define HAVE_WCSNCASECMP 1
#define HAVE_FWPRINTF 1
#define HAVE_FUTIMES 1
#define HAVE_WCWIDTH 1
#define HAVE_WCSWIDTH 1
#define HAVE_WCSTOK 1
#define HAVE_FPUTWC 1
#define HAVE_FGETWC 1
#define HAVE_WCSTOL 1
#define HAVE_KILLPG 1
#define HAVE_MKOSTEMP 1
#define HAVE_SYSCONF 1
#define HAVE_GETIFADDRS 1
#define HAVE_FUTIMENS 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_GETTEXT 1
#define HAVE_DCGETTEXT 1
#define HAVE_REALPATH_NULL 1
#define HAVE_WINSIZE 1

configure: exit 0
@andrewrynhard

By the way I am using a musl cross compiler on a system that uses glibc

@ridiculousfish
Member
ridiculousfish commented May 1, 2016 edited

Thanks, and oh wow! The program that tests for __environ is failing because exit() is not in scope. I think this is busted on every platform, and I suspect only musl defines __environ.

I think we ought to eliminate the use of __environ entirely. This has apparently never worked, and we have no reports about systems that get the wrong environment variables.

@ridiculousfish ridiculousfish added a commit that closed this issue May 1, 2016
@ridiculousfish ridiculousfish Remove use of __environ
It has apparently never worked. Fixes #2988
58d7c4b
@ridiculousfish
Member

I've pushed a change to remove __environ. Does master work for you now?

@andrewrynhard
andrewrynhard commented May 1, 2016 edited

Sorry for the delay, here is what I did:

git clone https://github.com/fish-shell/fish-shell.git
cd fish-shell
git checkout 2.3b1
git cherry-pick --strategy=recursive -X theirs 58d7c4b388067771e0ce1cf0dffd376c6b7fb9f2
[RAN MY BUILD AGAINST MUSL]

and it worked. However, the current tip of master failed for unrelated reasons. So It is safe to say this fixes it. Thank you.

@andrewrynhard andrewrynhard added a commit to chieftain/component that referenced this issue May 1, 2016
@andrewrynhard andrewrynhard Patch with upstream commit 58d7c4b 4c2ee96
@ridiculousfish
Member

Cool, thanks! If I may ask, what was the failure on master?

@andrewrynhard

Sure, here is the error:

x86_64-musl-linux-g++ -static -L/chief/lib64 -I/chief/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  -Ipcre2-10.21/src -iquote. -iquote./src/ -DLOCALEDIR=\"/chief/share/locale\" -DPREFIX=L\"/chief\" -DDATADIR=L\"/chief/share\" -DSYSCONFDIR=L\"/chief/etc\" -DBINDIR=L\"/chief/bin\" -DDOCDIR=L\"/chief/share/doc/fish\"  -DFISH_BUILD_VERSION=\"unknown\" -c src/common.cpp -o obj/common.o
src/common.cpp: In function 'void show_stackframe()':
src/common.cpp:77:37: error: 'backtrace' was not declared in this scope
     trace_size = backtrace(trace, 32);
                                     ^
src/common.cpp:79:58: error: 'backtrace_symbols_fd' was not declared in this scope
     backtrace_symbols_fd(trace, trace_size, STDERR_FILENO);
                                                          ^
make: *** [obj/common.o] Error 1
@zanchey zanchey added this to the next-2.x milestone May 20, 2016
@faho faho added bug cleanup labels Sep 4, 2016
@faho faho modified the milestone: fish 2.4.0, next-2.x Sep 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment