Page MenuHome GnuPG

libgpg-error 1.43 fails t-lock-single-thread test on x86_64 with musl
Testing, NormalPublic

Description

The newly added t-lock-single-thread test works fine on x86_64/glibc, but fails on x86_64/musl:

libgpg-error-1.43/tests # ./t-lock-single-posix --verbose --debug
t-lock-single: syscall pre called
t-lock-single: syscall post called
t-lock-single: Single thread situation is not correctly handled
t-lock-single: syscall pre called
t-lock-single: syscall post called

With the following changes to the test:

--- t-lock-single-posix.c.orig  2021-11-19 12:59:08.731296130 +0000
+++ t-lock-single-posix.c       2021-11-19 13:00:52.636530421 +0000
@@ -34,7 +34,7 @@

 GPGRT_LOCK_DEFINE (the_lock);

-static int locking_used;
+static int locking_used = 0;

 #ifdef USE_POSIX_THREADS_FROM_LIBC
 #include <pthread.h>
@@ -52,6 +52,7 @@
 {
   gpg_err_code_t rc;

+  show("run_test start\n");
   rc = gpgrt_lock_lock (&the_lock);
   if (rc)
     fail ("gpgrt_lock_lock failed at %d: %s", __LINE__, gpg_strerror (rc));
@@ -60,6 +61,8 @@
   if (rc)
     fail ("gpgrt_lock_unlock failed at %d: %s", __LINE__,gpg_strerror (rc));

+  show ("locking_used after lock/unlock: %d\n", locking_used);
+
   if (locking_used)
     /*It was incremented, even with single thread.  */
     fail ("Single thread situation is not correctly handled\n");
@@ -91,6 +94,8 @@
       fail ("Multiple threads situation is not correctly handled\n");
   }
 #endif
+
+  show("run_test end\n");
 }


@@ -100,6 +105,8 @@
   if (debug)
     show ("syscall pre called\n");
   locking_used++;
+
+  show ("locking used: %d\n", locking_used);
 }

 static void

I get this debug output:

libgpg-error-1.43/tests # ./t-lock-single-posix --verbose --debug
t-lock-single: run_test start
t-lock-single: syscall pre called
t-lock-single: locking used: 1
t-lock-single: syscall post called
t-lock-single: locking_used after lock/unlock: 1
t-lock-single: Single thread situation is not correctly handled
t-lock-single: run_test end
t-lock-single: syscall pre called
t-lock-single: locking used: 2
t-lock-single: syscall post called

For comparison, on x86_64/glibc I get this output with the same changes applied:

libgpg-error-1.43/tests # ./t-lock-single-posix --verbose --debug
t-lock-single: run_test start
t-lock-single: locking_used after lock/unlock: 0
t-lock-single: syscall pre called
t-lock-single: locking used: 1
t-lock-single: syscall post called
t-lock-single: run_test end
t-lock-single: syscall pre called
t-lock-single: locking used: 2
t-lock-single: syscall post called

Any idea what's going on here?

Details

Version
1.43

Event Timeline

In the libgpg-error implementation, it may skip synchronization when it can detect an application is single threaded. The t-lock-single-thread test checks if it really skips as intended.

With newer GNU C library, the detection is done by __libc_single_threaded.
https://www.gnu.org/software/libc/manual/html_node/Single_002dThreaded.html

Is there anything equivalent in musl?

gniibe triaged this task as Normal priority.Wed, Nov 24, 3:20 AM
gniibe changed the task status from Open to Testing.EditedThu, Nov 25, 4:11 AM

Reading the documentation of musl, it seems that there are no equivalent feature which detects if an application is single-threaded or not.

So, I pushed a fix to exclude t-lock-single-posix.

I'm getting the same error even when compiling with x86_64/glibc (from Apple clang-1200.0.32.28) :(

I've just confirmed that the fixes in the commit "rE50e0f32b1935" above to configure.ca & tests/makefile.am do NOT fix the problem under MacOSX Catalina 10.15.7 using Xcode 12.4, gcc Apple clang-1200.0.32.28.

This comment was removed by gniibe.

If you see wrong result for the decision of the HAVE_LOCK_OPTIMIZATION (for running the test), it's better to contribute to gnulib (https://www.gnu.org/software/gnulib/) for the detection of thread features.

At configure time, it's computed using results of m4/threadlib.m4, which is from gnulib.

I’m not that geeky anymore.

Here’s what I _have_ tried:

libgpg-error-1.43 % ./configure --enable-threads=posix --enable-log-clock --disable-nls
[...]
PASS: t-malloc
t-lock-single: Single thread situation is not correctly handled

FAIL: t-lock-single-posix

1 of 12 tests failed

Please report to https://bugs.gnupg.org

make[2]: * [check-TESTS] Error 1
make[1]:
* [check-am] Error 2
make: *** [check-recursive] Error 1
outer@Khime libgpg-error-1.43 %

libgpg-error-1.43 % ./configure --enable-threads=isoc+posix --enable-log-clock --disable-nls
[...]
PASS: t-malloc
t-lock-single: Single thread situation is not correctly handled

FAIL: t-lock-single-posix

1 of 12 tests failed

Please report to https://bugs.gnupg.org

make[2]: * [check-TESTS] Error 1
make[1]:
* [check-am] Error 2
make: *** [check-recursive] Error 1
outer@Khime libgpg-error-1.43 %

libgpg-error-1.43 % ./configure --enable-log-clock --disable-nls
[...]
PASS: t-malloc
t-lock-single: Single thread situation is not correctly handled

FAIL: t-lock-single-posix

1 of 12 tests failed

Please report to https://bugs.gnupg.org

make[2]: * [check-TESTS] Error 1
make[1]:
* [check-am] Error 2
make: *** [check-recursive] Error 1
outer@Khime libgpg-error-1.43 %

Please show us the log of configure, not just the result of the failure.

Here is ”config.log", or did you want just the screen output?

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 libgpg-error configure 1.43, which was
generated by GNU Autoconf 2.69. Invocation command line was

$ ./configure --disable-nls --enable-log-clock
  1. --------- ##
  2. Platform. ##
  3. --------- ##

hostname = Khime.local
uname -m = x86_64
uname -r = 19.6.0
uname -s = Darwin
uname -v = Darwin Kernel Version 19.6.0: Tue Oct 12 18:34:05 PDT 2021; root:xnu-6153.141.43~1/RELEASE_X86_64

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

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = Mach kernel version:

	 Darwin Kernel Version 19.6.0: Tue Oct 12 18:34:05 PDT 2021; root:xnu-6153.141.43~1/RELEASE_X86_64

Kernel configured for up to 8 processors.
4 processors are physically available.
8 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1 2 3 4 5 6 7
Primary memory available: 16.00 gigabytes
Default processor set: 442 tasks, 1508 threads, 8 processors
Load average: 1.31, Mach factor: 6.68
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /Applications/Wireshark.app/Contents/MacOS
PATH: /opt/X11/bin
PATH: /Library/Apple/usr/bin

  1. ----------- ##
  2. Core tests. ##
  3. ----------- ##

configure:2682: checking for a BSD-compatible install
configure:2750: result: /usr/bin/install -c
configure:2761: checking whether build environment is sane
configure:2816: result: yes
configure:2962: checking for a thread-safe mkdir -p
configure:3001: result: build-aux/install-sh -c -d
configure:3008: checking for gawk
configure:3038: result: no
configure:3008: checking for mawk
configure:3038: result: no
configure:3008: checking for nawk
configure:3038: result: no
configure:3008: checking for awk
configure:3024: found /usr/bin/awk
configure:3035: result: awk
configure:3046: checking whether make sets $(MAKE)
configure:3068: result: yes
configure:3097: checking whether make supports nested variables
configure:3114: result: yes
configure:3241: checking whether to enable maintainer-specific portions of Makefiles
configure:3250: result: no
configure:3278: checking whether make supports nested variables
configure:3295: result: yes
configure:3313: checking build system type
configure:3327: result: x86_64-apple-darwin19.6.0
configure:3347: checking host system type
configure:3360: result: x86_64-apple-darwin19.6.0
configure:3384: autobuild project... libgpg-error
configure:3386: autobuild revision... 1.43
configure:3390: autobuild hostname... Khime.local
configure:3399: autobuild timestamp... 20211125-233240
configure:3453: checking for gcc
configure:3469: found /usr/bin/gcc
configure:3480: result: gcc
configure:3709: checking for C compiler version
configure:3718: gcc --version >&5
Apple clang version 12.0.0 (clang-1200.0.32.28)
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
configure:3729: $? = 0
configure:3718: gcc -v >&5
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 12.0.0 (clang-1200.0.32.28)
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
configure:3729: $? = 0
configure:3718: gcc -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:3729: $? = 1
configure:3718: gcc -qversion >&5
clang: error: unknown argument '-qversion'; did you mean '--version'?
clang: error: no input files
configure:3729: $? = 1
configure:3749: checking whether the C compiler works
configure:3771: gcc conftest.c >&5
configure:3775: $? = 0
configure:3823: result: yes
configure:3826: checking for C compiler default output file name
configure:3828: result: a.out
configure:3834: checking for suffix of executables
configure:3841: gcc -o conftest conftest.c >&5
configure:3845: $? = 0
configure:3867: result:
configure:3889: checking whether we are cross compiling
configure:3897: gcc -o conftest conftest.c >&5
configure:3901: $? = 0
configure:3908: ./conftest
configure:3912: $? = 0
configure:3927: result: no
configure:3932: checking for suffix of object files
configure:3954: gcc -c conftest.c >&5
configure:3958: $? = 0
configure:3979: result: o
configure:3983: checking whether we are using the GNU C compiler
configure:4002: gcc -c conftest.c >&5
configure:4002: $? = 0
configure:4011: result: yes
configure:4020: checking whether gcc accepts -g
configure:4040: gcc -c -g conftest.c >&5
configure:4040: $? = 0
configure:4081: result: yes
configure:4098: checking for gcc option to accept ISO C89
configure:4161: gcc -c -g -O2 conftest.c >&5
configure:4161: $? = 0
configure:4174: result: none needed
configure:4199: checking whether gcc understands -c and -o together
configure:4221: gcc -c conftest.c -o conftest2.o
configure:4224: $? = 0
configure:4221: gcc -c conftest.c -o conftest2.o
configure:4224: $? = 0
configure:4236: result: yes
configure:4256: checking whether make supports the include directive
configure:4271: make -f confmf.GNU && cat confinc.out
this is the am__doit target
configure:4274: $? = 0
configure:4293: result: yes (GNU style)
configure:4318: checking dependency style of gcc
configure:4429: result: gcc3
configure:4450: checking how to run the C preprocessor
configure:4481: gcc -E conftest.c
configure:4481: $? = 0
configure:4495: gcc -E conftest.c
conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>

^~~~~~~~~~~~~~~~~~

1 error generated.
configure:4495: $? = 1
configure: failed program was:

/* confdefs.h */
#define PACKAGE_NAME "libgpg-error"
#define PACKAGE_TARNAME "libgpg-error"
#define PACKAGE_VERSION "1.43"
#define PACKAGE_STRING "libgpg-error 1.43"
#define PACKAGE_BUGREPORT "https://bugs.gnupg.org"
#define PACKAGE_URL ""
#define PACKAGE "libgpg-error"
#define VERSION "1.43"
/* end confdefs.h. */
#include <ac_nonexistent.h>

configure:4520: result: gcc -E
configure:4540: gcc -E conftest.c
configure:4540: $? = 0
configure:4554: gcc -E conftest.c
conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>

^~~~~~~~~~~~~~~~~~

1 error generated.
configure:4554: $? = 1
configure: failed program was:

/* confdefs.h */
#define PACKAGE_NAME "libgpg-error"
#define PACKAGE_TARNAME "libgpg-error"
#define PACKAGE_VERSION "1.43"
#define PACKAGE_STRING "libgpg-error 1.43"
#define PACKAGE_BUGREPORT "https://bugs.gnupg.org"
#define PACKAGE_URL ""
#define PACKAGE "libgpg-error"
#define VERSION "1.43"
/* end confdefs.h. */
#include <ac_nonexistent.h>

configure:4586: checking for gawk
configure:4613: result: awk
configure:4667: checking for ar
configure:4683: found /usr/bin/ar
configure:4694: result: ar
configure:4718: checking for grep that handles long lines and -e
configure:4776: result: /usr/bin/grep
configure:4781: checking for egrep
configure:4843: result: /usr/bin/grep -E
configure:4848: checking for ANSI C header files
configure:4868: gcc -c -g -O2 conftest.c >&5
configure:4868: $? = 0
configure:4941: gcc -o conftest -g -O2 conftest.c >&5
configure:4941: $? = 0
configure:4941: ./conftest
configure:4941: $? = 0
configure:4952: result: yes
configure:4965: checking for sys/types.h
configure:4965: gcc -c -g -O2 conftest.c >&5
configure:4965: $? = 0
configure:4965: result: yes
configure:4965: checking for sys/stat.h
configure:4965: gcc -c -g -O2 conftest.c >&5
configure:4965: $? = 0
configure:4965: result: yes
configure:4965: checking for stdlib.h
configure:4965: gcc -c -g -O2 conftest.c >&5
configure:4965: $? = 0
configure:4965: result: yes
configure:4965: checking for string.h
configure:4965: gcc -c -g -O2 conftest.c >&5
configure:4965: $? = 0
configure:4965: result: yes
configure:4965: checking for memory.h
configure:4965: gcc -c -g -O2 conftest.c >&5
configure:4965: $? = 0
configure:4965: result: yes
configure:4965: checking for strings.h
configure:4965: gcc -c -g -O2 conftest.c >&5
configure:4965: $? = 0
configure:4965: result: yes
configure:4965: checking for inttypes.h
configure:4965: gcc -c -g -O2 conftest.c >&5
configure:4965: $? = 0
configure:4965: result: yes
configure:4965: checking for stdint.h
configure:4965: gcc -c -g -O2 conftest.c >&5
configure:4965: $? = 0
configure:4965: result: yes
configure:4965: checking for unistd.h
configure:4965: gcc -c -g -O2 conftest.c >&5
configure:4965: $? = 0
configure:4965: result: yes
configure:4978: checking minix/config.h usability
configure:4978: gcc -c -g -O2 conftest.c >&5
conftest.c:54:10: fatal error: 'minix/config.h' file not found
#include <minix/config.h>

^~~~~~~~~~~~~~~~

1 error generated.
configure:4978: $? = 1
configure: failed program was:

/* confdefs.h */
#define PACKAGE_NAME "libgpg-error"
#define PACKAGE_TARNAME "libgpg-error"
#define PACKAGE_VERSION "1.43"
#define PACKAGE_STRING "libgpg-error 1.43"
#define PACKAGE_BUGREPORT "https://bugs.gnupg.org"
#define PACKAGE_URL ""
#define PACKAGE "libgpg-error"
#define VERSION "1.43"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
/* end confdefs.h. */
#include <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 <minix/config.h>

configure:4978: result: no
configure:4978: checking minix/config.h presence
configure:4978: gcc -E conftest.c
conftest.c:21:10: fatal error: 'minix/config.h' file not found
#include <minix/config.h>

^~~~~~~~~~~~~~~~

1 error generated.
configure:4978: $? = 1
configure: failed program was:

/* confdefs.h */
#define PACKAGE_NAME "libgpg-error"
#define PACKAGE_TARNAME "libgpg-error"
#define PACKAGE_VERSION "1.43"
#define PACKAGE_STRING "libgpg-error 1.43"
#define PACKAGE_BUGREPORT "https://bugs.gnupg.org"
#define PACKAGE_URL ""
#define PACKAGE "libgpg-error"
#define VERSION "1.43"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
/* end confdefs.h. */
#include <minix/config.h>

configure:4978: result: no
configure:4978: checking for minix/config.h
configure:4978: result: no
configure:4999: checking whether it is safe to define EXTENSIONS
configure:5017: gcc -c -g -O2 conftest.c >&5
configure:5017: $? = 0
configure:5024: result: yes
configure:5040: checking for nl_langinfo and CODESET
configure:5056: gcc -o conftest -g -O2 conftest.c >&5
configure:5056: $? = 0
configure:5065: result: yes
configure:5220: checking for special C compiler options needed for large files
configure:5265: result: no
configure:5271: checking for _FILE_OFFSET_BITS value needed for large files
configure:5296: gcc -c -g -O2 conftest.c >&5
configure:5296: $? = 0
configure:5328: result: no
configure:5462: checking how to print strings
configure:5489: result: printf
configure:5510: checking for a sed that does not truncate output
configure:5574: result: /usr/bin/sed
configure:5592: checking for fgrep
configure:5654: result: /usr/bin/grep -F
configure:5689: checking for ld used by gcc
configure:5756: result: /Library/Developer/CommandLineTools/usr/bin/ld
configure:5763: checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld
configure:5778: result: no
configure:5790: checking for BSD- or MS-compatible name lister (nm)
configure:5839: result: /usr/bin/nm -B
configure:5969: checking the name lister (/usr/bin/nm -B) interface
configure:5976: gcc -c -g -O2 conftest.c >&5
configure:5979: /usr/bin/nm -B "conftest.o"
configure:5982: output
0000000000000234 S _some_variable
configure:5989: result: BSD nm
configure:5992: checking whether ln -s works
configure:5996: result: yes
configure:6004: checking the maximum length of command line arguments
configure:6134: result: 196608
configure:6151: checking whether the shell understands some XSI constructs
configure:6161: result: yes
configure:6165: checking whether the shell understands "+="
configure:6171: result: yes
configure:6206: checking how to convert x86_64-apple-darwin19.6.0 file names to x86_64-apple-darwin19.6.0 format
configure:6246: result: func_convert_file_noop
configure:6253: checking how to convert x86_64-apple-darwin19.6.0 file names to toolchain format
configure:6273: result: func_convert_file_noop
configure:6280: checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files
configure:6287: result: -r
configure:6361: checking for objdump
configure:6377: found /usr/bin/objdump
configure:6388: result: objdump
configure:6417: checking how to recognize dependent libraries
configure:6619: result: pass_all
configure:6704: checking for dlltool
configure:6734: result: no
configure:6761: checking how to associate runtime and link libraries
configure:6788: result: printf %s\n
configure:6912: checking for archiver @FILE support
configure:6929: gcc -c -g -O2 conftest.c >&5
configure:6929: $? = 0
configure:6932: ar cru libconftest.a @conftest.lst >&5
ar: @conftest.lst: No such file or directory
configure:6935: $? = 1
configure:6955: result: no
configure:7013: checking for strip
configure:7029: found /usr/bin/strip
configure:7040: result: strip
configure:7112: checking for ranlib
configure:7128: found /usr/bin/ranlib
configure:7139: result: ranlib
configure:7241: checking command to parse /usr/bin/nm -B output from gcc object
configure:7361: gcc -c -g -O2 conftest.c >&5
configure:7364: $? = 0
configure:7368: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ gnu_lto/d' \> conftest.nm
configure:7371: $? = 0
cannot find nm_test_var in conftest.nm
configure:7361: gcc -c -g -O2 conftest.c >&5
configure:7364: $? = 0
configure:7368: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | sed '/
gnu_lto/d' \> conftest.nm
configure:7371: $? = 0
configure:7437: gcc -o conftest -g -O2 conftest.c conftstm.o >&5
warning: (x86_64) could not find object file symbol for symbol _main
configure:7440: $? = 0
configure:7478: result: ok
configure:7515: checking for sysroot
configure:7545: result: no
configure:7807: checking for mt
configure:7837: result: no
configure:7857: checking if : is a manifest tool
configure:7863: : '-?'
configure:7871: result: no
configure:7927: checking for dsymutil
configure:7943: found /usr/bin/dsymutil
configure:7954: result: dsymutil
configure:8019: checking for nmedit
configure:8035: found /usr/bin/nmedit
configure:8046: result: nmedit
configure:8111: checking for lipo
configure:8127: found /usr/bin/lipo
configure:8138: result: lipo
configure:8203: checking for otool
configure:8219: found /usr/bin/otool
configure:8230: result: otool
configure:8295: checking for otool64
configure:8325: result: no
configure:8370: checking for -single_module linker flag
gcc -g -O2 -o libconftest.dylib -dynamiclib -Wl,-single_module conftest.c
configure:8403: result: yes
configure:8406: checking for -exported_symbols_list linker flag
configure:8426: gcc -o conftest -g -O2 -Wl,-exported_symbols_list,conftest.sym conftest.c >&5
configure:8426: $? = 0
configure:8436: result: yes
configure:8439: checking for -force_load linker flag
gcc -g -O2 -c -o conftest.o conftest.c
ar cru libconftest.a conftest.o
ranlib libconftest.a
gcc -g -O2 -o conftest conftest.c -Wl,-force_load,./libconftest.a
configure:8471: result: yes
configure:8505: checking for dlfcn.h
configure:8505: gcc -c -g -O2 conftest.c >&5
configure:8505: $? = 0
configure:8505: result: yes
configure:9008: checking for objdir
configure:9023: result: .libs
configure:9294: checking if gcc supports -fno-rtti -fno-exceptions
configure:9312: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5
configure:9316: $? = 0
configure:9329: result: yes
configure:9656: checking for gcc option to produce PIC
configure:9663: result: -fno-common -DPIC
configure:9671: checking if gcc PIC flag -fno-common -DPIC works
configure:9689: gcc -c -g -O2 -fno-common -DPIC -DPIC conftest.c >&5
configure:9693: $? = 0
configure:9706: result: yes
configure:9735: checking if gcc static flag -static works
configure:9763: result: no
configure:9778: checking if gcc supports -c -o file.o
configure:9799: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5
configure:9803: $? = 0
configure:9825: result: yes
configure:9833: checking if gcc supports -c -o file.o
configure:9880: result: yes
configure:9913: checking whether the gcc linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries
configure:11070: result: yes
configure:11310: checking dynamic linker characteristics
configure:12075: result: darwin19.6.0 dyld
configure:12182: checking how to hardcode library paths into programs
configure:12207: result: immediate
configure:12747: checking whether stripping libraries is possible
configure:12761: result: yes
configure:12787: checking if libtool supports shared libraries
configure:12789: result: yes
configure:12792: checking whether to build shared libraries
configure:12813: result: yes
configure:12816: checking whether to build static libraries
configure:12820: result: no
configure:12900: checking for windres
configure:12930: result: no
configure:13081: checking whether NLS is requested
configure:13090: result: no
configure:13130: checking for msgfmt
configure: trying /usr/local/bin/msgfmt...
0 translated messages.
configure:13162: result: /usr/local/bin/msgfmt
configure:13171: checking for gmsgfmt
configure:13202: result: /usr/local/bin/msgfmt
configure:13252: checking for xgettext
configure: trying /usr/local/bin/xgettext...
/usr/local/bin/xgettext: warning: file '/dev/null' extension '' is unknown; will try C
configure:13284: result: /usr/local/bin/xgettext
configure:13329: checking for msgmerge
configure: trying /usr/local/bin/msgmerge...
configure:13360: result: /usr/local/bin/msgmerge
configure:13418: checking for ld used by gcc
configure:13485: result: /Library/Developer/CommandLineTools/usr/bin/ld
configure:13492: checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld
configure:13507: result: no
configure:13514: checking for shared library run path origin
configure:13527: result: done
configure:14099: checking for CFPreferencesCopyAppValue
configure:14117: gcc -o conftest -g -O2 conftest.c -Wl,-framework -Wl,CoreFoundation >&5
conftest.c:34:37: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
CFPreferencesCopyAppValue(NULL, NULL)

~~~~      ^

conftest.c:34:37: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
CFPreferencesCopyAppValue(NULL, NULL)

~~~~^

2 warnings generated.
configure:14117: $? = 0
configure:14126: result: yes
configure:14133: checking for CFLocaleCopyCurrent
configure:14151: gcc -o conftest -g -O2 conftest.c -Wl,-framework -Wl,CoreFoundation >&5
configure:14151: $? = 0
configure:14160: result: yes
configure:15091: checking whether to use NLS
configure:15093: result: no
configure:15166: checking for ANSI C header files
configure:15270: result: yes
configure:15282: checking locale.h usability
configure:15282: gcc -c -g -O2 conftest.c >&5
configure:15282: $? = 0
configure:15282: result: yes
configure:15282: checking locale.h presence
configure:15282: gcc -E conftest.c
configure:15282: $? = 0
configure:15282: result: yes
configure:15282: checking for locale.h
configure:15282: result: yes
configure:15282: checking for stdint.h
configure:15282: result: yes
configure:15282: checking sys/select.h usability
configure:15282: gcc -c -g -O2 conftest.c >&5
configure:15282: $? = 0
configure:15282: result: yes
configure:15282: checking sys/select.h presence
configure:15282: gcc -E conftest.c
configure:15282: $? = 0
configure:15282: result: yes
configure:15282: checking for sys/select.h
configure:15282: result: yes
configure:15282: checking sys/time.h usability
configure:15282: gcc -c -g -O2 conftest.c >&5
configure:15282: $? = 0
configure:15282: result: yes
configure:15282: checking sys/time.h presence
configure:15282: gcc -E conftest.c
configure:15282: $? = 0
configure:15282: result: yes
configure:15282: checking for sys/time.h
configure:15282: result: yes
configure:15282: checking signal.h usability
configure:15282: gcc -c -g -O2 conftest.c >&5
configure:15282: $? = 0
configure:15282: result: yes
configure:15282: checking signal.h presence
configure:15282: gcc -E conftest.c
configure:15282: $? = 0
configure:15282: result: yes
configure:15282: checking for signal.h
configure:15282: result: yes
configure:15282: checking poll.h usability
configure:15282: gcc -c -g -O2 conftest.c >&5
configure:15282: $? = 0
configure:15282: result: yes
configure:15282: checking poll.h presence
configure:15282: gcc -E conftest.c
configure:15282: $? = 0
configure:15282: result: yes
configure:15282: checking for poll.h
configure:15282: result: yes
configure:15282: checking pwd.h usability
configure:15282: gcc -c -g -O2 conftest.c >&5
configure:15282: $? = 0
configure:15282: result: yes
configure:15282: checking pwd.h presence
configure:15282: gcc -E conftest.c
configure:15282: $? = 0
configure:15282: result: yes
configure:15282: checking for pwd.h
configure:15282: result: yes
configure:15293: checking whether strerror_r is declared
configure:15293: gcc -c -g -O2 conftest.c >&5
configure:15293: $? = 0
configure:15293: result: yes
configure:15306: checking for strerror_r
configure:15306: gcc -o conftest -g -O2 conftest.c >&5
configure:15306: $? = 0
configure:15306: result: yes
configure:15315: checking whether strerror_r returns char *
configure:15339: gcc -c -g -O2 conftest.c >&5
conftest.c:80:13: error: indirection requires pointer operand ('int' invalid)

char x = *strerror_r (0, buf, sizeof buf);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

conftest.c:81:10: warning: incompatible integer to pointer conversion initializing 'char *' with an expression of type 'int' [-Wint-conversion]

char *p = strerror_r (0, buf, sizeof buf);
      ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 warning and 1 error generated.
configure:15339: $? = 1
configure: failed program was:

/* confdefs.h */
#define PACKAGE_NAME "libgpg-error"
#define PACKAGE_TARNAME "libgpg-error"
#define PACKAGE_VERSION "1.43"
#define PACKAGE_STRING "libgpg-error 1.43"
#define PACKAGE_BUGREPORT "https://bugs.gnupg.org"
#define PACKAGE_URL ""
#define PACKAGE "libgpg-error"
#define VERSION "1.43"
#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 EXTENSIONS 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define HAVE_LANGINFO_CODESET 1
#define _DARWIN_C_SOURCE 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_CFPREFERENCESCOPYAPPVALUE 1
#define HAVE_CFLOCALECOPYCURRENT 1
#define STDC_HEADERS 1
#define HAVE_LOCALE_H 1
#define HAVE_STDINT_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SIGNAL_H 1
#define HAVE_POLL_H 1
#define HAVE_PWD_H 1
#define HAVE_DECL_STRERROR_R 1
#define HAVE_STRERROR_R 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
int
main ()
{
char buf[100];
char x = *strerror_r (0, buf, sizeof buf);
char *p = strerror_r (0, buf, sizeof buf);
return !px;
;
return 0;
}

configure:15377: result: no
configure:15401: checking for strerror_r
configure:15401: result: yes
configure:15413: checking for pid_t
configure:15413: gcc -c -g -O2 conftest.c >&5
configure:15413: $? = 0
configure:15413: gcc -c -g -O2 conftest.c >&5
conftest.c:78:20: error: expected expression
if (sizeof ((pid_t)))

^

1 error generated.
configure:15413: $? = 1
configure: failed program was:

/* confdefs.h */
#define PACKAGE_NAME "libgpg-error"
#define PACKAGE_TARNAME "libgpg-error"
#define PACKAGE_VERSION "1.43"
#define PACKAGE_STRING "libgpg-error 1.43"
#define PACKAGE_BUGREPORT "https://bugs.gnupg.org"
#define PACKAGE_URL ""
#define PACKAGE "libgpg-error"
#define VERSION "1.43"
#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 EXTENSIONS 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define HAVE_LANGINFO_CODESET 1
#define _DARWIN_C_SOURCE 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_CFPREFERENCESCOPYAPPVALUE 1
#define HAVE_CFLOCALECOPYCURRENT 1
#define STDC_HEADERS 1
#define HAVE_LOCALE_H 1
#define HAVE_STDINT_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SIGNAL_H 1
#define HAVE_POLL_H 1
#define HAVE_PWD_H 1
#define HAVE_DECL_STRERROR_R 1
#define HAVE_STRERROR_R 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
int
main ()
{
if (sizeof ((pid_t)))
return 0;
;
return 0;
}

configure:15413: result: yes
configure:15426: checking vfork.h usability
configure:15426: gcc -c -g -O2 conftest.c >&5
conftest.c:75:10: fatal error: 'vfork.h' file not found
#include <vfork.h>

^~~~~~~~~

1 error generated.
configure:15426: $? = 1
configure: failed program was:

/* confdefs.h */
#define PACKAGE_NAME "libgpg-error"
#define PACKAGE_TARNAME "libgpg-error"
#define PACKAGE_VERSION "1.43"
#define PACKAGE_STRING "libgpg-error 1.43"
#define PACKAGE_BUGREPORT "https://bugs.gnupg.org"
#define PACKAGE_URL ""
#define PACKAGE "libgpg-error"
#define VERSION "1.43"
#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 EXTENSIONS 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define HAVE_LANGINFO_CODESET 1
#define _DARWIN_C_SOURCE 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_CFPREFERENCESCOPYAPPVALUE 1
#define HAVE_CFLOCALECOPYCURRENT 1
#define STDC_HEADERS 1
#define HAVE_LOCALE_H 1
#define HAVE_STDINT_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SIGNAL_H 1
#define HAVE_POLL_H 1
#define HAVE_PWD_H 1
#define HAVE_DECL_STRERROR_R 1
#define HAVE_STRERROR_R 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 <vfork.h>

configure:15426: result: no
configure:15426: checking vfork.h presence
configure:15426: gcc -E conftest.c
conftest.c:42:10: fatal error: 'vfork.h' file not found
#include <vfork.h>

^~~~~~~~~

1 error generated.
configure:15426: $? = 1
configure: failed program was:

/* confdefs.h */
#define PACKAGE_NAME "libgpg-error"
#define PACKAGE_TARNAME "libgpg-error"
#define PACKAGE_VERSION "1.43"
#define PACKAGE_STRING "libgpg-error 1.43"
#define PACKAGE_BUGREPORT "https://bugs.gnupg.org"
#define PACKAGE_URL ""
#define PACKAGE "libgpg-error"
#define VERSION "1.43"
#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 EXTENSIONS 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define HAVE_LANGINFO_CODESET 1
#define _DARWIN_C_SOURCE 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_CFPREFERENCESCOPYAPPVALUE 1
#define HAVE_CFLOCALECOPYCURRENT 1
#define STDC_HEADERS 1
#define HAVE_LOCALE_H 1
#define HAVE_STDINT_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SIGNAL_H 1
#define HAVE_POLL_H 1
#define HAVE_PWD_H 1
#define HAVE_DECL_STRERROR_R 1
#define HAVE_STRERROR_R 1
/* end confdefs.h. */
#include <vfork.h>

configure:15426: result: no
configure:15426: checking for vfork.h
configure:15426: result: no
configure:15439: checking for fork
configure:15439: gcc -o conftest -g -O2 conftest.c >&5
configure:15439: $? = 0
configure:15439: result: yes
configure:15439: checking for vfork
configure:15439: gcc -o conftest -g -O2 conftest.c >&5
conftest.c:66:6: warning: incompatible redeclaration of library function 'vfork' [-Wincompatible-library-redeclaration]
char vfork ();

^

conftest.c:66:6: note: 'vfork' is a builtin with type 'int (void)'
1 warning generated.
configure:15439: $? = 0
configure:15439: result: yes
configure:15449: checking for working fork
configure:15471: gcc -o conftest -g -O2 conftest.c >&5
configure:15471: $? = 0
configure:15471: ./conftest
configure:15471: $? = 0
configure:15481: result: yes
configure:15502: checking for working vfork
configure:15612: result: yes
configure:15641: checking for flockfile
configure:15641: gcc -o conftest -g -O2 conftest.c >&5
configure:15641: $? = 0
configure:15641: result: yes
configure:15641: checking for vasprintf
configure:15641: gcc -o conftest -g -O2 conftest.c >&5
conftest.c:81:19: warning: format string missing [-Wformat]
return vasprintf ();

~~~~~~~~~  ^

1 warning generated.
configure:15641: $? = 0
configure:15641: result: yes
configure:15641: checking for mmap
configure:15641: gcc -o conftest -g -O2 conftest.c >&5
configure:15641: $? = 0
configure:15641: result: yes
configure:15641: checking for rand
configure:15641: gcc -o conftest -g -O2 conftest.c >&5
configure:15641: $? = 0
configure:15641: result: yes
configure:15641: checking for strlwr
configure:15641: gcc -o conftest -g -O2 conftest.c >&5
Undefined symbols for architecture x86_64:

"_strlwr", referenced from:
    _main in conftest-55e1f8.o

ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:15641: $? = 1
configure: failed program was:

/* confdefs.h */
#define PACKAGE_NAME "libgpg-error"
#define PACKAGE_TARNAME "libgpg-error"
#define PACKAGE_VERSION "1.43"
#define PACKAGE_STRING "libgpg-error 1.43"
#define PACKAGE_BUGREPORT "https://bugs.gnupg.org"
#define PACKAGE_URL ""
#define PACKAGE "libgpg-error"
#define VERSION "1.43"
#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 EXTENSIONS 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define HAVE_LANGINFO_CODESET 1
#define _DARWIN_C_SOURCE 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_CFPREFERENCESCOPYAPPVALUE 1
#define HAVE_CFLOCALECOPYCURRENT 1
#define STDC_HEADERS 1
#define HAVE_LOCALE_H 1
#define HAVE_STDINT_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SIGNAL_H 1
#define HAVE_POLL_H 1
#define HAVE_PWD_H 1
#define HAVE_DECL_STRERROR_R 1
#define HAVE_STRERROR_R 1
#define HAVE_FORK 1
#define HAVE_VFORK 1
#define HAVE_WORKING_VFORK 1
#define HAVE_WORKING_FORK 1
#define HAVE_FLOCKFILE 1
#define HAVE_VASPRINTF 1
#define HAVE_MMAP 1
#define HAVE_RAND 1
/* end confdefs.h. */
/* Define strlwr to an innocuous variant, in case <limits.h> declares strlwr.
For example, HP-UX 11i <limits.h> declares gettimeofday. */
#define strlwr innocuous_strlwr
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strlwr (); 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 strlwr
/* 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 strlwr ();
/* 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_strlwrdefined stub_strlwr
choke me
#endif
int
main ()
{
return strlwr ();
;
return 0;
}

configure:15641: result: no
configure:15641: checking for stpcpy
configure:15641: gcc -o conftest -g -O2 conftest.c >&5
conftest.c:73:6: warning: incompatible redeclaration of library function 'stpcpy' [-Wincompatible-library-redeclaration]
char stpcpy ();

^

conftest.c:73:6: note: 'stpcpy' is a builtin with type 'char *(char *, const char *)'
1 warning generated.
configure:15641: $? = 0
configure:15641: result: yes
configure:15641: checking for setenv
configure:15641: gcc -o conftest -g -O2 conftest.c >&5
configure:15641: $? = 0
configure:15641: result: yes
configure:15641: checking for stat
configure:15641: gcc -o conftest -g -O2 conftest.c >&5
configure:15641: $? = 0
configure:15641: result: yes
configure:15641: checking for getrlimit
configure:15641: gcc -o conftest -g -O2 conftest.c >&5
configure:15641: $? = 0
configure:15641: result: yes
configure:15641: checking for getpwnam
configure:15641: gcc -o conftest -g -O2 conftest.c >&5
configure:15641: $? = 0
configure:15641: result: yes
configure:15641: checking for getpwuid
configure:15641: gcc -o conftest -g -O2 conftest.c >&5
configure:15641: $? = 0
configure:15641: result: yes
configure:15641: checking for getpwnam_r
configure:15641: gcc -o conftest -g -O2 conftest.c >&5
configure:15641: $? = 0
configure:15641: result: yes
configure:15641: checking for getpwuid_r
configure:15641: gcc -o conftest -g -O2 conftest.c >&5
configure:15641: $? = 0
configure:15641: result: yes
configure:15655: checking for an ANSI C-conforming const
configure:15721: gcc -c -g -O2 conftest.c >&5
configure:15721: $? = 0
configure:15728: result: yes
configure:15741: checking size of int
configure:15746: gcc -o conftest -g -O2 conftest.c >&5
configure:15746: $? = 0
configure:15746: ./conftest
configure:15746: $? = 0
configure:15760: result: 4
configure:15774: checking size of long
configure:15779: gcc -o conftest -g -O2 conftest.c >&5
configure:15779: $? = 0
configure:15779: ./conftest
configure:15779: $? = 0
configure:15793: result: 8
configure:15807: checking size of long long
configure:15812: gcc -o conftest -g -O2 conftest.c >&5
configure:15812: $? = 0
configure:15812: ./conftest
configure:15812: $? = 0
configure:15826: result: 8
configure:15836: checking whether time.h and sys/time.h may both be included
configure:15856: gcc -c -g -O2 conftest.c >&5
configure:15856: $? = 0
configure:15863: result: yes
configure:15875: checking size of time_t
configure:15880: gcc -o conftest -g -O2 conftest.c >&5
configure:15880: $? = 0
configure:15880: ./conftest
configure:15880: $? = 0
configure:15907: result: 8
configure:15921: checking for sys/stat.h
configure:15921: result: yes
configure:15921: checking for unistd.h
configure:15921: result: yes
configure:15921: checking direct.h usability
configure:15921: gcc -c -g -O2 conftest.c >&5
conftest.c:98:10: fatal error: 'direct.h' file not found
#include <direct.h>

^~~~~~~~~~

1 error generated.
configure:15921: $? = 1
configure: failed program was:

/* confdefs.h */
#define PACKAGE_NAME "libgpg-error"
#define PACKAGE_TARNAME "libgpg-error"
#define PACKAGE_VERSION "1.43"
#define PACKAGE_STRING "libgpg-error 1.43"
#define PACKAGE_BUGREPORT "https://bugs.gnupg.org"
#define PACKAGE_URL ""
#define PACKAGE "libgpg-error"
#define VERSION "1.43"
#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 EXTENSIONS 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define HAVE_LANGINFO_CODESET 1
#define _DARWIN_C_SOURCE 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_CFPREFERENCESCOPYAPPVALUE 1
#define HAVE_CFLOCALECOPYCURRENT 1
#define STDC_HEADERS 1
#define HAVE_LOCALE_H 1
#define HAVE_STDINT_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SIGNAL_H 1
#define HAVE_POLL_H 1
#define HAVE_PWD_H 1
#define HAVE_DECL_STRERROR_R 1
#define HAVE_STRERROR_R 1
#define HAVE_FORK 1
#define HAVE_VFORK 1
#define HAVE_WORKING_VFORK 1
#define HAVE_WORKING_FORK 1
#define HAVE_FLOCKFILE 1
#define HAVE_VASPRINTF 1
#define HAVE_MMAP 1
#define HAVE_RAND 1
#define HAVE_STPCPY 1
#define HAVE_SETENV 1
#define HAVE_STAT 1
#define HAVE_GETRLIMIT 1
#define HAVE_GETPWNAM 1
#define HAVE_GETPWUID 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define SIZEOF_INT 4
#define SIZEOF_LONG 8
#define SIZEOF_LONG_LONG 8
#define TIME_WITH_SYS_TIME 1
#define SIZEOF_TIME_T 8
#define HAVE_SYS_STAT_H 1
#define HAVE_UNISTD_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 <direct.h>

configure:15921: result: no
configure:15921: checking direct.h presence
configure:15921: gcc -E conftest.c
conftest.c:65:10: fatal error: 'direct.h' file not found
#include <direct.h>

^~~~~~~~~~

1 error generated.
configure:15921: $? = 1
configure: failed program was:

/* confdefs.h */
#define PACKAGE_NAME "libgpg-error"
#define PACKAGE_TARNAME "libgpg-error"
#define PACKAGE_VERSION "1.43"
#define PACKAGE_STRING "libgpg-error 1.43"
#define PACKAGE_BUGREPORT "https://bugs.gnupg.org"
#define PACKAGE_URL ""
#define PACKAGE "libgpg-error"
#define VERSION "1.43"
#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 EXTENSIONS 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define HAVE_LANGINFO_CODESET 1
#define _DARWIN_C_SOURCE 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_CFPREFERENCESCOPYAPPVALUE 1
#define HAVE_CFLOCALECOPYCURRENT 1
#define STDC_HEADERS 1
#define HAVE_LOCALE_H 1
#define HAVE_STDINT_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SIGNAL_H 1
#define HAVE_POLL_H 1
#define HAVE_PWD_H 1
#define HAVE_DECL_STRERROR_R 1
#define HAVE_STRERROR_R 1
#define HAVE_FORK 1
#define HAVE_VFORK 1
#define HAVE_WORKING_VFORK 1
#define HAVE_WORKING_FORK 1
#define HAVE_FLOCKFILE 1
#define HAVE_VASPRINTF 1
#define HAVE_MMAP 1
#define HAVE_RAND 1
#define HAVE_STPCPY 1
#define HAVE_SETENV 1
#define HAVE_STAT 1
#define HAVE_GETRLIMIT 1
#define HAVE_GETPWNAM 1
#define HAVE_GETPWUID 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define SIZEOF_INT 4
#define SIZEOF_LONG 8
#define SIZEOF_LONG_LONG 8
#define TIME_WITH_SYS_TIME 1
#define SIZEOF_TIME_T 8
#define HAVE_SYS_STAT_H 1
#define HAVE_UNISTD_H 1
/* end confdefs.h. */
#include <direct.h>

configure:15921: result: no
configure:15921: checking for direct.h
configure:15921: result: no
configure:15931: checking if mkdir takes one argument
configure:15957: gcc -c -g -O2 conftest.c >&5
configure:15957: $? = 0
configure:15964: result: no
configure:16000: checking for cc features
configure:16005: checking if gcc ignores unknown -Wno-* options
configure:16021: gcc -c -g -O2 conftest.c >&5
conftest.c:68:2: error: invalid preprocessing directive
#kickerror
^
1 error generated.
configure:16021: $? = 1
configure: failed program was:

/* confdefs.h */
#define PACKAGE_NAME "libgpg-error"
#define PACKAGE_TARNAME "libgpg-error"
#define PACKAGE_VERSION "1.43"
#define PACKAGE_STRING "libgpg-error 1.43"
#define PACKAGE_BUGREPORT "https://bugs.gnupg.org"
#define PACKAGE_URL ""
#define PACKAGE "libgpg-error"
#define VERSION "1.43"
#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 EXTENSIONS 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define HAVE_LANGINFO_CODESET 1
#define _DARWIN_C_SOURCE 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_CFPREFERENCESCOPYAPPVALUE 1
#define HAVE_CFLOCALECOPYCURRENT 1
#define STDC_HEADERS 1
#define HAVE_LOCALE_H 1
#define HAVE_STDINT_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SIGNAL_H 1
#define HAVE_POLL_H 1
#define HAVE_PWD_H 1
#define HAVE_DECL_STRERROR_R 1
#define HAVE_STRERROR_R 1
#define HAVE_FORK 1
#define HAVE_VFORK 1
#define HAVE_WORKING_VFORK 1
#define HAVE_WORKING_FORK 1
#define HAVE_FLOCKFILE 1
#define HAVE_VASPRINTF 1
#define HAVE_MMAP 1
#define HAVE_RAND 1
#define HAVE_STPCPY 1
#define HAVE_SETENV 1
#define HAVE_STAT 1
#define HAVE_GETRLIMIT 1
#define HAVE_GETPWNAM 1
#define HAVE_GETPWUID 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define SIZEOF_INT 4
#define SIZEOF_LONG 8
#define SIZEOF_LONG_LONG 8
#define TIME_WITH_SYS_TIME 1
#define SIZEOF_TIME_T 8
#define HAVE_SYS_STAT_H 1
#define HAVE_UNISTD_H 1
#define REPLACEMENT_FOR_OFF_T "long"
/* end confdefs.h. */
#if GNUC < 4(GNUC == 4 && GNUC_MINOR < 6 )
#kickerror
#endif
int
main ()
{
;
return 0;
}

configure:16027: result: no
configure:16103: checking if gcc supports -Wpointer-arith
configure:16118: gcc -c -Wpointer-arith conftest.c >&5
configure:16118: $? = 0
configure:16124: result: yes
configure:16143: checking whether the GCC style aligned attribute is supported
configure:16153: gcc -c -g -O2 -Wall -Wpointer-arith conftest.c >&5
configure:16153: $? = 0
configure:16158: result: yes
configure:16169: checking whether the visibility attribute is supported
conftest.c:68:37: error: target does not support 'protected' visibility; using 'default' [-Werror,-Wunsupported-visibility]

int bar __attribute__ ((visibility ("protected"))) = 1;
                        ^

1 error generated.
configure:16192: result: no
configure:16349: checking for threads.h
configure:16349: gcc -c -g -O2 -Wall -Wpointer-arith conftest.c >&5
conftest.c:101:10: fatal error: 'threads.h' file not found
#include <threads.h>

^~~~~~~~~~~

1 error generated.
configure:16349: $? = 1
configure: failed program was:

/* confdefs.h */
#define PACKAGE_NAME "libgpg-error"
#define PACKAGE_TARNAME "libgpg-error"
#define PACKAGE_VERSION "1.43"
#define PACKAGE_STRING "libgpg-error 1.43"
#define PACKAGE_BUGREPORT "https://bugs.gnupg.org"
#define PACKAGE_URL ""
#define PACKAGE "libgpg-error"
#define VERSION "1.43"
#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 EXTENSIONS 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define HAVE_LANGINFO_CODESET 1
#define _DARWIN_C_SOURCE 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_CFPREFERENCESCOPYAPPVALUE 1
#define HAVE_CFLOCALECOPYCURRENT 1
#define STDC_HEADERS 1
#define HAVE_LOCALE_H 1
#define HAVE_STDINT_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SIGNAL_H 1
#define HAVE_POLL_H 1
#define HAVE_PWD_H 1
#define HAVE_DECL_STRERROR_R 1
#define HAVE_STRERROR_R 1
#define HAVE_FORK 1
#define HAVE_VFORK 1
#define HAVE_WORKING_VFORK 1
#define HAVE_WORKING_FORK 1
#define HAVE_FLOCKFILE 1
#define HAVE_VASPRINTF 1
#define HAVE_MMAP 1
#define HAVE_RAND 1
#define HAVE_STPCPY 1
#define HAVE_SETENV 1
#define HAVE_STAT 1
#define HAVE_GETRLIMIT 1
#define HAVE_GETPWNAM 1
#define HAVE_GETPWUID 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define SIZEOF_INT 4
#define SIZEOF_LONG 8
#define SIZEOF_LONG_LONG 8
#define TIME_WITH_SYS_TIME 1
#define SIZEOF_TIME_T 8
#define HAVE_SYS_STAT_H 1
#define HAVE_UNISTD_H 1
#define REPLACEMENT_FOR_OFF_T "long"
#define HAVE_GCC_ATTRIBUTE_ALIGNED 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 <threads.h>

configure:16349: result: no
configure:16372: checking whether imported symbols can be declared weak
configure:16390: gcc -o conftest -g -O2 -Wall -Wpointer-arith conftest.c >&5
Undefined symbols for architecture x86_64:

"_xyzzy", referenced from:
    _main in conftest-6d19c9.o

ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:16390: $? = 1
configure: failed program was:

/* confdefs.h */
#define PACKAGE_NAME "libgpg-error"
#define PACKAGE_TARNAME "libgpg-error"
#define PACKAGE_VERSION "1.43"
#define PACKAGE_STRING "libgpg-error 1.43"
#define PACKAGE_BUGREPORT "https://bugs.gnupg.org"
#define PACKAGE_URL ""
#define PACKAGE "libgpg-error"
#define VERSION "1.43"
#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 EXTENSIONS 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define HAVE_LANGINFO_CODESET 1
#define _DARWIN_C_SOURCE 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_CFPREFERENCESCOPYAPPVALUE 1
#define HAVE_CFLOCALECOPYCURRENT 1
#define STDC_HEADERS 1
#define HAVE_LOCALE_H 1
#define HAVE_STDINT_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SIGNAL_H 1
#define HAVE_POLL_H 1
#define HAVE_PWD_H 1
#define HAVE_DECL_STRERROR_R 1
#define HAVE_STRERROR_R 1
#define HAVE_FORK 1
#define HAVE_VFORK 1
#define HAVE_WORKING_VFORK 1
#define HAVE_WORKING_FORK 1
#define HAVE_FLOCKFILE 1
#define HAVE_VASPRINTF 1
#define HAVE_MMAP 1
#define HAVE_RAND 1
#define HAVE_STPCPY 1
#define HAVE_SETENV 1
#define HAVE_STAT 1
#define HAVE_GETRLIMIT 1
#define HAVE_GETPWNAM 1
#define HAVE_GETPWUID 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define SIZEOF_INT 4
#define SIZEOF_LONG 8
#define SIZEOF_LONG_LONG 8
#define TIME_WITH_SYS_TIME 1
#define SIZEOF_TIME_T 8
#define HAVE_SYS_STAT_H 1
#define HAVE_UNISTD_H 1
#define REPLACEMENT_FOR_OFF_T "long"
#define HAVE_GCC_ATTRIBUTE_ALIGNED 1
/* end confdefs.h. */
extern void xyzzy ();
#pragma weak xyzzy
int
main ()
{
xyzzy();
;
return 0;
}

configure:16460: result: no
configure:16489: checking pthread.h usability
configure:16489: gcc -c -g -O2 -Wall -Wpointer-arith conftest.c >&5
configure:16489: $? = 0
configure:16489: result: yes
configure:16489: checking pthread.h presence
configure:16489: gcc -E conftest.c
configure:16489: $? = 0
configure:16489: result: yes
configure:16489: checking for pthread.h
configure:16489: result: yes
configure:16526: gcc -o conftest -g -O2 -Wall -Wpointer-arith conftest.c >&5
configure:16526: $? = 0
configure:16536: gl_pthread_api=yes
configure:16537: LIBPTHREAD=
configure:16562: gl_pthread_in_glibc=no
configure:16569: checking for pthread_kill in -lpthread
configure:16594: gcc -o conftest -g -O2 -Wall -Wpointer-arith conftest.c -lpthread >&5
configure:16594: $? = 0
configure:16603: result: yes
configure:16716: LIBPMULTITHREAD=-lpthread
configure:16718: checking whether POSIX threads API is available
configure:16720: result: yes
configure:16741: gcc -o conftest -g -O2 -Wall -Wpointer-arith conftest.c >&5
configure:16741: $? = 0
configure:17342: checking for multithread API to use
configure:17344: result: posix
configure:17360: checking for pthread_rwlock_t
configure:17360: gcc -c -g -O2 -Wall -Wpointer-arith conftest.c >&5
configure:17360: $? = 0
configure:17360: gcc -c -g -O2 -Wall -Wpointer-arith conftest.c >&5
conftest.c:74:31: error: expected expression
if (sizeof ((pthread_rwlock_t)))

^

1 error generated.
configure:17360: $? = 1
configure: failed program was:

/* confdefs.h */
#define PACKAGE_NAME "libgpg-error"
#define PACKAGE_TARNAME "libgpg-error"
#define PACKAGE_VERSION "1.43"
#define PACKAGE_STRING "libgpg-error 1.43"
#define PACKAGE_BUGREPORT "https://bugs.gnupg.org"
#define PACKAGE_URL ""
#define PACKAGE "libgpg-error"
#define VERSION "1.43"
#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 EXTENSIONS 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define HAVE_LANGINFO_CODESET 1
#define _DARWIN_C_SOURCE 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_CFPREFERENCESCOPYAPPVALUE 1
#define HAVE_CFLOCALECOPYCURRENT 1
#define STDC_HEADERS 1
#define HAVE_LOCALE_H 1
#define HAVE_STDINT_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SIGNAL_H 1
#define HAVE_POLL_H 1
#define HAVE_PWD_H 1
#define HAVE_DECL_STRERROR_R 1
#define HAVE_STRERROR_R 1
#define HAVE_FORK 1
#define HAVE_VFORK 1
#define HAVE_WORKING_VFORK 1
#define HAVE_WORKING_FORK 1
#define HAVE_FLOCKFILE 1
#define HAVE_VASPRINTF 1
#define HAVE_MMAP 1
#define HAVE_RAND 1
#define HAVE_STPCPY 1
#define HAVE_SETENV 1
#define HAVE_STAT 1
#define HAVE_GETRLIMIT 1
#define HAVE_GETPWNAM 1
#define HAVE_GETPWUID 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define SIZEOF_INT 4
#define SIZEOF_LONG 8
#define SIZEOF_LONG_LONG 8
#define TIME_WITH_SYS_TIME 1
#define SIZEOF_TIME_T 8
#define HAVE_SYS_STAT_H 1
#define HAVE_UNISTD_H 1
#define REPLACEMENT_FOR_OFF_T "long"
#define HAVE_GCC_ATTRIBUTE_ALIGNED 1
#define HAVE_PTHREAD_API 1
#define USE_POSIX_THREADS 1
/* end confdefs.h. */
#include <pthread.h>
int
main ()
{
if (sizeof ((pthread_rwlock_t)))
return 0;
;
return 0;
}

configure:17360: result: yes
configure:17391: gcc -c -g -O2 -Wall -Wpointer-arith conftest.c >&5
configure:17391: $? = 0
configure:17405: checking size of pthread_mutex_t
configure:17410: gcc -o conftest -g -O2 -Wall -Wpointer-arith conftest.c >&5
configure:17410: $? = 0
configure:17410: ./conftest
configure:17410: $? = 0
configure:17426: result: 64
configure:17438: checking sys/single_threaded.h usability
configure:17438: gcc -c -g -O2 -Wall -Wpointer-arith conftest.c >&5
conftest.c:105:10: fatal error: 'sys/single_threaded.h' file not found
#include <sys/single_threaded.h>

^~~~~~~~~~~~~~~~~~~~~~~

1 error generated.
configure:17438: $? = 1
configure: failed program was:

/* confdefs.h */
#define PACKAGE_NAME "libgpg-error"
#define PACKAGE_TARNAME "libgpg-error"
#define PACKAGE_VERSION "1.43"
#define PACKAGE_STRING "libgpg-error 1.43"
#define PACKAGE_BUGREPORT "https://bugs.gnupg.org"
#define PACKAGE_URL ""
#define PACKAGE "libgpg-error"
#define VERSION "1.43"
#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 EXTENSIONS 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define HAVE_LANGINFO_CODESET 1
#define _DARWIN_C_SOURCE 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_CFPREFERENCESCOPYAPPVALUE 1
#define HAVE_CFLOCALECOPYCURRENT 1
#define STDC_HEADERS 1
#define HAVE_LOCALE_H 1
#define HAVE_STDINT_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SIGNAL_H 1
#define HAVE_POLL_H 1
#define HAVE_PWD_H 1
#define HAVE_DECL_STRERROR_R 1
#define HAVE_STRERROR_R 1
#define HAVE_FORK 1
#define HAVE_VFORK 1
#define HAVE_WORKING_VFORK 1
#define HAVE_WORKING_FORK 1
#define HAVE_FLOCKFILE 1
#define HAVE_VASPRINTF 1
#define HAVE_MMAP 1
#define HAVE_RAND 1
#define HAVE_STPCPY 1
#define HAVE_SETENV 1
#define HAVE_STAT 1
#define HAVE_GETRLIMIT 1
#define HAVE_GETPWNAM 1
#define HAVE_GETPWUID 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define SIZEOF_INT 4
#define SIZEOF_LONG 8
#define SIZEOF_LONG_LONG 8
#define TIME_WITH_SYS_TIME 1
#define SIZEOF_TIME_T 8
#define HAVE_SYS_STAT_H 1
#define HAVE_UNISTD_H 1
#define REPLACEMENT_FOR_OFF_T "long"
#define HAVE_GCC_ATTRIBUTE_ALIGNED 1
#define HAVE_PTHREAD_API 1
#define USE_POSIX_THREADS 1
#define HAVE_PTHREAD_RWLOCK 1
#define HAVE_PTHREAD_MUTEX_RECURSIVE 1
#define SIZEOF_PTHREAD_MUTEX_T 64
/* 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/single_threaded.h>

configure:17438: result: no
configure:17438: checking sys/single_threaded.h presence
configure:17438: gcc -E conftest.c
conftest.c:72:10: fatal error: 'sys/single_threaded.h' file not found
#include <sys/single_threaded.h>

^~~~~~~~~~~~~~~~~~~~~~~

1 error generated.
configure:17438: $? = 1
configure: failed program was:

/* confdefs.h */
#define PACKAGE_NAME "libgpg-error"
#define PACKAGE_TARNAME "libgpg-error"
#define PACKAGE_VERSION "1.43"
#define PACKAGE_STRING "libgpg-error 1.43"
#define PACKAGE_BUGREPORT "https://bugs.gnupg.org"
#define PACKAGE_URL ""
#define PACKAGE "libgpg-error"
#define VERSION "1.43"
#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 EXTENSIONS 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define HAVE_LANGINFO_CODESET 1
#define _DARWIN_C_SOURCE 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_CFPREFERENCESCOPYAPPVALUE 1
#define HAVE_CFLOCALECOPYCURRENT 1
#define STDC_HEADERS 1
#define HAVE_LOCALE_H 1
#define HAVE_STDINT_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SIGNAL_H 1
#define HAVE_POLL_H 1
#define HAVE_PWD_H 1
#define HAVE_DECL_STRERROR_R 1
#define HAVE_STRERROR_R 1
#define HAVE_FORK 1
#define HAVE_VFORK 1
#define HAVE_WORKING_VFORK 1
#define HAVE_WORKING_FORK 1
#define HAVE_FLOCKFILE 1
#define HAVE_VASPRINTF 1
#define HAVE_MMAP 1
#define HAVE_RAND 1
#define HAVE_STPCPY 1
#define HAVE_SETENV 1
#define HAVE_STAT 1
#define HAVE_GETRLIMIT 1
#define HAVE_GETPWNAM 1
#define HAVE_GETPWUID 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define SIZEOF_INT 4
#define SIZEOF_LONG 8
#define SIZEOF_LONG_LONG 8
#define TIME_WITH_SYS_TIME 1
#define SIZEOF_TIME_T 8
#define HAVE_SYS_STAT_H 1
#define HAVE_UNISTD_H 1
#define REPLACEMENT_FOR_OFF_T "long"
#define HAVE_GCC_ATTRIBUTE_ALIGNED 1
#define HAVE_PTHREAD_API 1
#define USE_POSIX_THREADS 1
#define HAVE_PTHREAD_RWLOCK 1
#define HAVE_PTHREAD_MUTEX_RECURSIVE 1
#define SIZEOF_PTHREAD_MUTEX_T 64
/* end confdefs.h. */
#include <sys/single_threaded.h>

configure:17438: result: no
configure:17438: checking for sys/single_threaded.h
configure:17438: result: no
configure:17459: checking for library containing sched_yield
configure:17490: gcc -o conftest -g -O2 -Wall -Wpointer-arith conftest.c >&5
configure:17490: $? = 0
configure:17507: result: none required
configure:17521: checking for library containing inet_addr
configure:17552: gcc -o conftest -g -O2 -Wall -Wpointer-arith conftest.c >&5
configure:17552: $? = 0
configure:17569: result: none required
configure:17579: checking for library containing socket
configure:17610: gcc -o conftest -g -O2 -Wall -Wpointer-arith conftest.c >&5
configure:17610: $? = 0
configure:17627: result: none required
configure:17664: checking whether readline via "-lreadline" is present and sane
configure:17689: gcc -o conftest -g -O2 -Wall -Wpointer-arith conftest.c -lreadline >&5
conftest.c:81:1: error: unknown type name 'rl_completion_func_t'; did you mean 'rl_compentry_func_t'?
rl_completion_func_t *completer;
^~~~~~~~~~~~~~~~~~~~
rl_compentry_func_t
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/readline/history.h:45:19: note: 'rl_compentry_func_t' declared here
typedef char *rl_compentry_func_t(const char *, int);

^

conftest.c:83:1: error: use of undeclared identifier 'rl_catch_signals'
rl_catch_signals=0;
^
2 errors generated.
configure:17689: $? = 1
configure: failed program was:

/* confdefs.h */
#define PACKAGE_NAME "libgpg-error"
#define PACKAGE_TARNAME "libgpg-error"
#define PACKAGE_VERSION "1.43"
#define PACKAGE_STRING "libgpg-error 1.43"
#define PACKAGE_BUGREPORT "https://bugs.gnupg.org"
#define PACKAGE_URL ""
#define PACKAGE "libgpg-error"
#define VERSION "1.43"
#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 EXTENSIONS 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define HAVE_LANGINFO_CODESET 1
#define _DARWIN_C_SOURCE 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_CFPREFERENCESCOPYAPPVALUE 1
#define HAVE_CFLOCALECOPYCURRENT 1
#define STDC_HEADERS 1
#define HAVE_LOCALE_H 1
#define HAVE_STDINT_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SIGNAL_H 1
#define HAVE_POLL_H 1
#define HAVE_PWD_H 1
#define HAVE_DECL_STRERROR_R 1
#define HAVE_STRERROR_R 1
#define HAVE_FORK 1
#define HAVE_VFORK 1
#define HAVE_WORKING_VFORK 1
#define HAVE_WORKING_FORK 1
#define HAVE_FLOCKFILE 1
#define HAVE_VASPRINTF 1
#define HAVE_MMAP 1
#define HAVE_RAND 1
#define HAVE_STPCPY 1
#define HAVE_SETENV 1
#define HAVE_STAT 1
#define HAVE_GETRLIMIT 1
#define HAVE_GETPWNAM 1
#define HAVE_GETPWUID 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define SIZEOF_INT 4
#define SIZEOF_LONG 8
#define SIZEOF_LONG_LONG 8
#define TIME_WITH_SYS_TIME 1
#define SIZEOF_TIME_T 8
#define HAVE_SYS_STAT_H 1
#define HAVE_UNISTD_H 1
#define REPLACEMENT_FOR_OFF_T "long"
#define HAVE_GCC_ATTRIBUTE_ALIGNED 1
#define HAVE_PTHREAD_API 1
#define USE_POSIX_THREADS 1
#define HAVE_PTHREAD_RWLOCK 1
#define HAVE_PTHREAD_MUTEX_RECURSIVE 1
#define SIZEOF_PTHREAD_MUTEX_T 64
/* end confdefs.h. */
#include <stdio.h>
#include <readline/readline.h>
#include <readline/history.h>
int
main ()
{
rl_completion_func_t *completer;
add_history("foobar");
rl_catch_signals=0;
rl_inhibit_completion=0;
rl_attempted_completion_function=NULL;
rl_completion_matches(NULL,NULL);
;
return 0;
}

configure:17697: result: no
configure:17664: checking whether readline via "-lreadline -ltermcap" is present and sane
configure:17689: gcc -o conftest -g -O2 -Wall -Wpointer-arith conftest.c -lreadline -ltermcap >&5
conftest.c:81:1: error: unknown type name 'rl_completion_func_t'; did you mean 'rl_compentry_func_t'?
rl_completion_func_t *completer;
^~~~~~~~~~~~~~~~~~~~
rl_compentry_func_t
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/readline/history.h:45:19: note: 'rl_compentry_func_t' declared here
typedef char *rl_compentry_func_t(const char *, int);

^

conftest.c:83:1: error: use of undeclared identifier 'rl_catch_signals'
rl_catch_signals=0;
^
2 errors generated.
configure:17689: $? = 1
configure: failed program was:

/* confdefs.h */
#define PACKAGE_NAME "libgpg-error"
#define PACKAGE_TARNAME "libgpg-error"
#define PACKAGE_VERSION "1.43"
#define PACKAGE_STRING "libgpg-error 1.43"
#define PACKAGE_BUGREPORT "https://bugs.gnupg.org"
#define PACKAGE_URL ""
#define PACKAGE "libgpg-error"
#define VERSION "1.43"
#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 EXTENSIONS 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define HAVE_LANGINFO_CODESET 1
#define _DARWIN_C_SOURCE 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_CFPREFERENCESCOPYAPPVALUE 1
#define HAVE_CFLOCALECOPYCURRENT 1
#define STDC_HEADERS 1
#define HAVE_LOCALE_H 1
#define HAVE_STDINT_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SIGNAL_H 1
#define HAVE_POLL_H 1
#define HAVE_PWD_H 1
#define HAVE_DECL_STRERROR_R 1
#define HAVE_STRERROR_R 1
#define HAVE_FORK 1
#define HAVE_VFORK 1
#define HAVE_WORKING_VFORK 1
#define HAVE_WORKING_FORK 1
#define HAVE_FLOCKFILE 1
#define HAVE_VASPRINTF 1
#define HAVE_MMAP 1
#define HAVE_RAND 1
#define HAVE_STPCPY 1
#define HAVE_SETENV 1
#define HAVE_STAT 1
#define HAVE_GETRLIMIT 1
#define HAVE_GETPWNAM 1
#define HAVE_GETPWUID 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define SIZEOF_INT 4
#define SIZEOF_LONG 8
#define SIZEOF_LONG_LONG 8
#define TIME_WITH_SYS_TIME 1
#define SIZEOF_TIME_T 8
#define HAVE_SYS_STAT_H 1
#define HAVE_UNISTD_H 1
#define REPLACEMENT_FOR_OFF_T "long"
#define HAVE_GCC_ATTRIBUTE_ALIGNED 1
#define HAVE_PTHREAD_API 1
#define USE_POSIX_THREADS 1
#define HAVE_PTHREAD_RWLOCK 1
#define HAVE_PTHREAD_MUTEX_RECURSIVE 1
#define SIZEOF_PTHREAD_MUTEX_T 64
/* end confdefs.h. */
#include <stdio.h>
#include <readline/readline.h>
#include <readline/history.h>
int
main ()
{
rl_completion_func_t *completer;
add_history("foobar");
rl_catch_signals=0;
rl_inhibit_completion=0;
rl_attempted_completion_function=NULL;
rl_completion_matches(NULL,NULL);
;
return 0;
}

configure:17697: result: no
configure:17664: checking whether readline via "-lreadline -lcurses" is present and sane
configure:17689: gcc -o conftest -g -O2 -Wall -Wpointer-arith conftest.c -lreadline -lcurses >&5
conftest.c:81:1: error: unknown type name 'rl_completion_func_t'; did you mean 'rl_compentry_func_t'?
rl_completion_func_t *completer;
^~~~~~~~~~~~~~~~~~~~
rl_compentry_func_t
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/readline/history.h:45:19: note: 'rl_compentry_func_t' declared here
typedef char *rl_compentry_func_t(const char *, int);

^

conftest.c:83:1: error: use of undeclared identifier 'rl_catch_signals'
rl_catch_signals=0;
^
2 errors generated.
configure:17689: $? = 1
configure: failed program was:

/* confdefs.h */
#define PACKAGE_NAME "libgpg-error"
#define PACKAGE_TARNAME "libgpg-error"
#define PACKAGE_VERSION "1.43"
#define PACKAGE_STRING "libgpg-error 1.43"
#define PACKAGE_BUGREPORT "https://bugs.gnupg.org"
#define PACKAGE_URL ""
#define PACKAGE "libgpg-error"
#define VERSION "1.43"
#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 EXTENSIONS 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define HAVE_LANGINFO_CODESET 1
#define _DARWIN_C_SOURCE 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_CFPREFERENCESCOPYAPPVALUE 1
#define HAVE_CFLOCALECOPYCURRENT 1
#define STDC_HEADERS 1
#define HAVE_LOCALE_H 1
#define HAVE_STDINT_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SIGNAL_H 1
#define HAVE_POLL_H 1
#define HAVE_PWD_H 1
#define HAVE_DECL_STRERROR_R 1
#define HAVE_STRERROR_R 1
#define HAVE_FORK 1
#define HAVE_VFORK 1
#define HAVE_WORKING_VFORK 1
#define HAVE_WORKING_FORK 1
#define HAVE_FLOCKFILE 1
#define HAVE_VASPRINTF 1
#define HAVE_MMAP 1
#define HAVE_RAND 1
#define HAVE_STPCPY 1
#define HAVE_SETENV 1
#define HAVE_STAT 1
#define HAVE_GETRLIMIT 1
#define HAVE_GETPWNAM 1
#define HAVE_GETPWUID 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define SIZEOF_INT 4
#define SIZEOF_LONG 8
#define SIZEOF_LONG_LONG 8
#define TIME_WITH_SYS_TIME 1
#define SIZEOF_TIME_T 8
#define HAVE_SYS_STAT_H 1
#define HAVE_UNISTD_H 1
#define REPLACEMENT_FOR_OFF_T "long"
#define HAVE_GCC_ATTRIBUTE_ALIGNED 1
#define HAVE_PTHREAD_API 1
#define USE_POSIX_THREADS 1
#define HAVE_PTHREAD_RWLOCK 1
#define HAVE_PTHREAD_MUTEX_RECURSIVE 1
#define SIZEOF_PTHREAD_MUTEX_T 64
/* end confdefs.h. */
#include <stdio.h>
#include <readline/readline.h>
#include <readline/history.h>
int
main ()
{
rl_completion_func_t *completer;
add_history("foobar");
rl_catch_signals=0;
rl_inhibit_completion=0;
rl_attempted_completion_function=NULL;
rl_completion_matches(NULL,NULL);
;
return 0;
}

configure:17697: result: no
configure:17664: checking whether readline via "-lreadline -lncurses" is present and sane
configure:17689: gcc -o conftest -g -O2 -Wall -Wpointer-arith conftest.c -lreadline -lncurses >&5
conftest.c:81:1: error: unknown type name 'rl_completion_func_t'; did you mean 'rl_compentry_func_t'?
rl_completion_func_t *completer;
^~~~~~~~~~~~~~~~~~~~
rl_compentry_func_t
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/readline/history.h:45:19: note: 'rl_compentry_func_t' declared here
typedef char *rl_compentry_func_t(const char *, int);

^

conftest.c:83:1: error: use of undeclared identifier 'rl_catch_signals'
rl_catch_signals=0;
^
2 errors generated.
configure:17689: $? = 1
configure: failed program was:

/* confdefs.h */
#define PACKAGE_NAME "libgpg-error"
#define PACKAGE_TARNAME "libgpg-error"
#define PACKAGE_VERSION "1.43"
#define PACKAGE_STRING "libgpg-error 1.43"
#define PACKAGE_BUGREPORT "https://bugs.gnupg.org"
#define PACKAGE_URL ""
#define PACKAGE "libgpg-error"
#define VERSION "1.43"
#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 EXTENSIONS 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define HAVE_LANGINFO_CODESET 1
#define _DARWIN_C_SOURCE 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_CFPREFERENCESCOPYAPPVALUE 1
#define HAVE_CFLOCALECOPYCURRENT 1
#define STDC_HEADERS 1
#define HAVE_LOCALE_H 1
#define HAVE_STDINT_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SIGNAL_H 1
#define HAVE_POLL_H 1
#define HAVE_PWD_H 1
#define HAVE_DECL_STRERROR_R 1
#define HAVE_STRERROR_R 1
#define HAVE_FORK 1
#define HAVE_VFORK 1
#define HAVE_WORKING_VFORK 1
#define HAVE_WORKING_FORK 1
#define HAVE_FLOCKFILE 1
#define HAVE_VASPRINTF 1
#define HAVE_MMAP 1
#define HAVE_RAND 1
#define HAVE_STPCPY 1
#define HAVE_SETENV 1
#define HAVE_STAT 1
#define HAVE_GETRLIMIT 1
#define HAVE_GETPWNAM 1
#define HAVE_GETPWUID 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define SIZEOF_INT 4
#define SIZEOF_LONG 8
#define SIZEOF_LONG_LONG 8
#define TIME_WITH_SYS_TIME 1
#define SIZEOF_TIME_T 8
#define HAVE_SYS_STAT_H 1
#define HAVE_UNISTD_H 1
#define REPLACEMENT_FOR_OFF_T "long"
#define HAVE_GCC_ATTRIBUTE_ALIGNED 1
#define HAVE_PTHREAD_API 1
#define USE_POSIX_THREADS 1
#define HAVE_PTHREAD_RWLOCK 1
#define HAVE_PTHREAD_MUTEX_RECURSIVE 1
#define SIZEOF_PTHREAD_MUTEX_T 64
/* end confdefs.h. */
#include <stdio.h>
#include <readline/readline.h>
#include <readline/history.h>
int
main ()
{
rl_completion_func_t *completer;
add_history("foobar");
rl_catch_signals=0;
rl_inhibit_completion=0;
rl_attempted_completion_function=NULL;
rl_completion_matches(NULL,NULL);
;
return 0;
}

configure:17697: result: no
configure:17725: checking for unsigned long long int
configure:17764: gcc -o conftest -g -O2 -Wall -Wpointer-arith conftest.c >&5
configure:17764: $? = 0
configure:17773: result: yes
configure:17782: checking system features for estream-printf
configure:17786: checking for stdint.h
configure:17786: result: yes
configure:17798: checking for long long int
configure:17836: gcc -o conftest -g -O2 -Wall -Wpointer-arith conftest.c >&5
configure:17836: $? = 0
configure:17836: ./conftest
configure:17836: $? = 0
configure:17848: result: yes
configure:17857: checking for long double
configure:17890: result: yes
configure:17900: checking for intmax_t
configure:17900: gcc -c -g -O2 -Wall -Wpointer-arith conftest.c >&5
configure:17900: $? = 0
configure:17900: gcc -c -g -O2 -Wall -Wpointer-arith conftest.c >&5
conftest.c:112:23: error: expected expression
if (sizeof ((intmax_t)))

^

1 error generated.
configure:17900: $? = 1
configure: failed program was:

/* confdefs.h */
#define PACKAGE_NAME "libgpg-error"
#define PACKAGE_TARNAME "libgpg-error"
#define PACKAGE_VERSION "1.43"
#define PACKAGE_STRING "libgpg-error 1.43"
#define PACKAGE_BUGREPORT "https://bugs.gnupg.org"
#define PACKAGE_URL ""
#define PACKAGE "libgpg-error"
#define VERSION "1.43"
#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 EXTENSIONS 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define HAVE_LANGINFO_CODESET 1
#define _DARWIN_C_SOURCE 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_CFPREFERENCESCOPYAPPVALUE 1
#define HAVE_CFLOCALECOPYCURRENT 1
#define STDC_HEADERS 1
#define HAVE_LOCALE_H 1
#define HAVE_STDINT_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SIGNAL_H 1
#define HAVE_POLL_H 1
#define HAVE_PWD_H 1
#define HAVE_DECL_STRERROR_R 1
#define HAVE_STRERROR_R 1
#define HAVE_FORK 1
#define HAVE_VFORK 1
#define HAVE_WORKING_VFORK 1
#define HAVE_WORKING_FORK 1
#define HAVE_FLOCKFILE 1
#define HAVE_VASPRINTF 1
#define HAVE_MMAP 1
#define HAVE_RAND 1
#define HAVE_STPCPY 1
#define HAVE_SETENV 1
#define HAVE_STAT 1
#define HAVE_GETRLIMIT 1
#define HAVE_GETPWNAM 1
#define HAVE_GETPWUID 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define SIZEOF_INT 4
#define SIZEOF_LONG 8
#define SIZEOF_LONG_LONG 8
#define TIME_WITH_SYS_TIME 1
#define SIZEOF_TIME_T 8
#define HAVE_SYS_STAT_H 1
#define HAVE_UNISTD_H 1
#define REPLACEMENT_FOR_OFF_T "long"
#define HAVE_GCC_ATTRIBUTE_ALIGNED 1
#define HAVE_PTHREAD_API 1
#define USE_POSIX_THREADS 1
#define HAVE_PTHREAD_RWLOCK 1
#define HAVE_PTHREAD_MUTEX_RECURSIVE 1
#define SIZEOF_PTHREAD_MUTEX_T 64
#define HAVE_UNSIGNED_LONG_LONG_INT 1
#define HAVE_STDINT_H 1
#define HAVE_LONG_LONG_INT 1
#define HAVE_LONG_DOUBLE 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
int
main ()
{
if (sizeof ((intmax_t)))
return 0;
;
return 0;
}

configure:17900: result: yes
configure:17919: checking for uintmax_t
configure:17919: gcc -c -g -O2 -Wall -Wpointer-arith conftest.c >&5
configure:17919: $? = 0
configure:17919: gcc -c -g -O2 -Wall -Wpointer-arith conftest.c >&5
conftest.c:113:24: error: expected expression
if (sizeof ((uintmax_t)))

^

1 error generated.
configure:17919: $? = 1
configure: failed program was:

/* confdefs.h */
#define PACKAGE_NAME "libgpg-error"
#define PACKAGE_TARNAME "libgpg-error"
#define PACKAGE_VERSION "1.43"
#define PACKAGE_STRING "libgpg-error 1.43"
#define PACKAGE_BUGREPORT "https://bugs.gnupg.org"
#define PACKAGE_URL ""
#define PACKAGE "libgpg-error"
#define VERSION "1.43"
#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 EXTENSIONS 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define HAVE_LANGINFO_CODESET 1
#define _DARWIN_C_SOURCE 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_CFPREFERENCESCOPYAPPVALUE 1
#define HAVE_CFLOCALECOPYCURRENT 1
#define STDC_HEADERS 1
#define HAVE_LOCALE_H 1
#define HAVE_STDINT_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SIGNAL_H 1
#define HAVE_POLL_H 1
#define HAVE_PWD_H 1
#define HAVE_DECL_STRERROR_R 1
#define HAVE_STRERROR_R 1
#define HAVE_FORK 1
#define HAVE_VFORK 1
#define HAVE_WORKING_VFORK 1
#define HAVE_WORKING_FORK 1
#define HAVE_FLOCKFILE 1
#define HAVE_VASPRINTF 1
#define HAVE_MMAP 1
#define HAVE_RAND 1
#define HAVE_STPCPY 1
#define HAVE_SETENV 1
#define HAVE_STAT 1
#define HAVE_GETRLIMIT 1
#define HAVE_GETPWNAM 1
#define HAVE_GETPWUID 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define SIZEOF_INT 4
#define SIZEOF_LONG 8
#define SIZEOF_LONG_LONG 8
#define TIME_WITH_SYS_TIME 1
#define SIZEOF_TIME_T 8
#define HAVE_SYS_STAT_H 1
#define HAVE_UNISTD_H 1
#define REPLACEMENT_FOR_OFF_T "long"
#define HAVE_GCC_ATTRIBUTE_ALIGNED 1
#define HAVE_PTHREAD_API 1
#define USE_POSIX_THREADS 1
#define HAVE_PTHREAD_RWLOCK 1
#define HAVE_PTHREAD_MUTEX_RECURSIVE 1
#define SIZEOF_PTHREAD_MUTEX_T 64
#define HAVE_UNSIGNED_LONG_LONG_INT 1
#define HAVE_STDINT_H 1
#define HAVE_LONG_LONG_INT 1
#define HAVE_LONG_DOUBLE 1
#define HAVE_INTMAX_T 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
int
main ()
{
if (sizeof ((uintmax_t)))
return 0;
;
return 0;
}

configure:17919: result: yes
configure:17936: checking for ptrdiff_t
configure:17936: gcc -c -g -O2 -Wall -Wpointer-arith conftest.c >&5
configure:17936: $? = 0
configure:17936: gcc -c -g -O2 -Wall -Wpointer-arith conftest.c >&5
conftest.c:114:24: error: expected expression
if (sizeof ((ptrdiff_t)))

^

1 error generated.
configure:17936: $? = 1
configure: failed program was:

/* confdefs.h */
#define PACKAGE_NAME "libgpg-error"
#define PACKAGE_TARNAME "libgpg-error"
#define PACKAGE_VERSION "1.43"
#define PACKAGE_STRING "libgpg-error 1.43"
#define PACKAGE_BUGREPORT "https://bugs.gnupg.org"
#define PACKAGE_URL ""
#define PACKAGE "libgpg-error"
#define VERSION "1.43"
#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 EXTENSIONS 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define HAVE_LANGINFO_CODESET 1
#define _DARWIN_C_SOURCE 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_CFPREFERENCESCOPYAPPVALUE 1
#define HAVE_CFLOCALECOPYCURRENT 1
#define STDC_HEADERS 1
#define HAVE_LOCALE_H 1
#define HAVE_STDINT_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SIGNAL_H 1
#define HAVE_POLL_H 1
#define HAVE_PWD_H 1
#define HAVE_DECL_STRERROR_R 1
#define HAVE_STRERROR_R 1
#define HAVE_FORK 1
#define HAVE_VFORK 1
#define HAVE_WORKING_VFORK 1
#define HAVE_WORKING_FORK 1
#define HAVE_FLOCKFILE 1
#define HAVE_VASPRINTF 1
#define HAVE_MMAP 1
#define HAVE_RAND 1
#define HAVE_STPCPY 1
#define HAVE_SETENV 1
#define HAVE_STAT 1
#define HAVE_GETRLIMIT 1
#define HAVE_GETPWNAM 1
#define HAVE_GETPWUID 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define SIZEOF_INT 4
#define SIZEOF_LONG 8
#define SIZEOF_LONG_LONG 8
#define TIME_WITH_SYS_TIME 1
#define SIZEOF_TIME_T 8
#define HAVE_SYS_STAT_H 1
#define HAVE_UNISTD_H 1
#define REPLACEMENT_FOR_OFF_T "long"
#define HAVE_GCC_ATTRIBUTE_ALIGNED 1
#define HAVE_PTHREAD_API 1
#define USE_POSIX_THREADS 1
#define HAVE_PTHREAD_RWLOCK 1
#define HAVE_PTHREAD_MUTEX_RECURSIVE 1
#define SIZEOF_PTHREAD_MUTEX_T 64
#define HAVE_UNSIGNED_LONG_LONG_INT 1
#define HAVE_STDINT_H 1
#define HAVE_LONG_LONG_INT 1
#define HAVE_LONG_DOUBLE 1
#define HAVE_INTMAX_T 1
#define HAVE_UINTMAX_T 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
int
main ()
{
if (sizeof ((ptrdiff_t)))
return 0;
;
return 0;
}

configure:17936: result: yes
configure:17950: checking size of unsigned long
configure:17955: gcc -o conftest -g -O2 -Wall -Wpointer-arith conftest.c >&5
configure:17955: $? = 0
configure:17955: ./conftest
configure:17955: $? = 0
configure:17969: result: 8
configure:17983: checking size of void *
configure:17988: gcc -o conftest -g -O2 -Wall -Wpointer-arith conftest.c >&5
configure:17988: $? = 0
configure:17988: ./conftest
configure:17988: $? = 0
configure:18002: result: 8
configure:18012: checking for nl_langinfo and THOUSEP
configure:18028: gcc -o conftest -g -O2 -Wall -Wpointer-arith conftest.c >&5
configure:18028: $? = 0
configure:18037: result: yes
configure:18047: checking system features for estream
configure:18051: checking for memrchr
configure:18051: gcc -o conftest -g -O2 -Wall -Wpointer-arith conftest.c >&5
Undefined symbols for architecture x86_64:

"_memrchr", referenced from:
    _main in conftest-421dd4.o

ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:18051: $? = 1
configure: failed program was:

/* confdefs.h */
#define PACKAGE_NAME "libgpg-error"
#define PACKAGE_TARNAME "libgpg-error"
#define PACKAGE_VERSION "1.43"
#define PACKAGE_STRING "libgpg-error 1.43"
#define PACKAGE_BUGREPORT "https://bugs.gnupg.org"
#define PACKAGE_URL ""
#define PACKAGE "libgpg-error"
#define VERSION "1.43"
#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 EXTENSIONS 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define HAVE_LANGINFO_CODESET 1
#define _DARWIN_C_SOURCE 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_CFPREFERENCESCOPYAPPVALUE 1
#define HAVE_CFLOCALECOPYCURRENT 1
#define STDC_HEADERS 1
#define HAVE_LOCALE_H 1
#define HAVE_STDINT_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SIGNAL_H 1
#define HAVE_POLL_H 1
#define HAVE_PWD_H 1
#define HAVE_DECL_STRERROR_R 1
#define HAVE_STRERROR_R 1
#define HAVE_FORK 1
#define HAVE_VFORK 1
#define HAVE_WORKING_VFORK 1
#define HAVE_WORKING_FORK 1
#define HAVE_FLOCKFILE 1
#define HAVE_VASPRINTF 1
#define HAVE_MMAP 1
#define HAVE_RAND 1
#define HAVE_STPCPY 1
#define HAVE_SETENV 1
#define HAVE_STAT 1
#define HAVE_GETRLIMIT 1
#define HAVE_GETPWNAM 1
#define HAVE_GETPWUID 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define SIZEOF_INT 4
#define SIZEOF_LONG 8
#define SIZEOF_LONG_LONG 8
#define TIME_WITH_SYS_TIME 1
#define SIZEOF_TIME_T 8
#define HAVE_SYS_STAT_H 1
#define HAVE_UNISTD_H 1
#define REPLACEMENT_FOR_OFF_T "long"
#define HAVE_GCC_ATTRIBUTE_ALIGNED 1
#define HAVE_PTHREAD_API 1
#define USE_POSIX_THREADS 1
#define HAVE_PTHREAD_RWLOCK 1
#define HAVE_PTHREAD_MUTEX_RECURSIVE 1
#define SIZEOF_PTHREAD_MUTEX_T 64
#define HAVE_UNSIGNED_LONG_LONG_INT 1
#define HAVE_STDINT_H 1
#define HAVE_LONG_LONG_INT 1
#define HAVE_LONG_DOUBLE 1
#define HAVE_INTMAX_T 1
#define HAVE_UINTMAX_T 1
#define HAVE_PTRDIFF_T 1
#define SIZEOF_UNSIGNED_LONG 8
#define SIZEOF_VOID_P 8
#define HAVE_LANGINFO_THOUSEP 1
/* end confdefs.h. */
/* Define memrchr to an innocuous variant, in case <limits.h> declares memrchr.
For example, HP-UX 11i <limits.h> declares gettimeofday. */
#define memrchr innocuous_memrchr
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char memrchr (); 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 memrchr
/* 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 memrchr ();
/* 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_memrchrdefined stub_memrchr
choke me
#endif
int
main ()
{
return memrchr ();
;
return 0;
}

configure:18051: result: no
configure:18330: checking whether to enable log_clock
configure:18339: result: yes
configure:18597: checking that generated files are newer than configure
configure:18603: result: done
configure:18674: creating ./config.status

  1. ---------------------- ##
  2. Running config.status. ##
  3. ---------------------- ##

This file was extended by libgpg-error config.status 1.43, which was
generated by GNU Autoconf 2.69. Invocation command line was

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

on Khime.local

config.status:1280: creating Makefile
config.status:1280: creating doc/Makefile
config.status:1280: creating po/Makefile.in
config.status:1280: creating m4/Makefile
config.status:1280: creating src/Makefile
config.status:1280: creating tests/Makefile
config.status:1280: creating lang/Makefile
config.status:1280: creating lang/cl/Makefile
config.status:1280: creating lang/cl/gpg-error.asd
config.status:1280: creating src/versioninfo.rc
config.status:1280: creating src/gpg-error.w32-manifest
config.status:1280: creating src/gpg-error.pc
config.status:1280: creating src/gpg-error-config-old
config.status:1280: creating src/gpgrt-config
config.status:1280: creating src/gpg-error-config-test.sh
config.status:1280: creating config.h
config.status:1461: config.h is unchanged
config.status:1509: executing depfiles commands
config.status:1586: cd doc && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles
make: Nothing to be done for `am--depfiles'.
config.status:1591: $? = 0
config.status:1586: cd src && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles
make: Nothing to be done for `am--depfiles'.
config.status:1591: $? = 0
config.status:1586: cd tests && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles
make: Nothing to be done for `am--depfiles'.
config.status:1591: $? = 0
config.status:1509: executing libtool commands
config.status:1509: executing po-directories commands

  1. ---------------- ##
  2. Cache variables. ##
  3. ---------------- ##

ac_cv_build=x86_64-apple-darwin19.6.0
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_flockfile=yes
ac_cv_func_fork=yes
ac_cv_func_fork_works=yes
ac_cv_func_getpwnam=yes
ac_cv_func_getpwnam_r=yes
ac_cv_func_getpwuid=yes
ac_cv_func_getpwuid_r=yes
ac_cv_func_getrlimit=yes
ac_cv_func_memrchr=no
ac_cv_func_mmap=yes
ac_cv_func_rand=yes
ac_cv_func_setenv=yes
ac_cv_func_stat=yes
ac_cv_func_stpcpy=yes
ac_cv_func_strerror_r=yes
ac_cv_func_strerror_r_char_p=no
ac_cv_func_strlwr=no
ac_cv_func_vasprintf=yes
ac_cv_func_vfork=yes
ac_cv_func_vfork_works=yes
ac_cv_have_decl_strerror_r=yes
ac_cv_header_direct_h=no
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_locale_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_minix_config_h=no
ac_cv_header_poll_h=yes
ac_cv_header_pthread_h=yes
ac_cv_header_pwd_h=yes
ac_cv_header_signal_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_select_h=yes
ac_cv_header_sys_single_threaded_h=no
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_time_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_threads_h=no
ac_cv_header_time=yes
ac_cv_header_unistd_h=yes
ac_cv_header_vfork_h=no
ac_cv_host=x86_64-apple-darwin19.6.0
ac_cv_lib_pthread_pthread_kill=yes
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_FGREP='/usr/bin/grep -F'
ac_cv_path_GMSGFMT=/usr/local/bin/msgfmt
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_MSGFMT=/usr/local/bin/msgfmt
ac_cv_path_MSGMERGE=/usr/local/bin/msgmerge
ac_cv_path_SED=/usr/bin/sed
ac_cv_path_XGETTEXT=/usr/local/bin/xgettext
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=awk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_DSYMUTIL=dsymutil
ac_cv_prog_ac_ct_LIPO=lipo
ac_cv_prog_ac_ct_NMEDIT=nmedit
ac_cv_prog_ac_ct_OBJDUMP=objdump
ac_cv_prog_ac_ct_OTOOL=otool
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_safe_to_define___extensions=yes
ac_cv_search_inet_addr='none required'
ac_cv_search_sched_yield='none required'
ac_cv_search_socket='none required'
ac_cv_sizeof_int=4
ac_cv_sizeof_long=8
ac_cv_sizeof_long_long=8
ac_cv_sizeof_pthread_mutex_t=64
ac_cv_sizeof_time_t=8
ac_cv_sizeof_unsigned_long=8
ac_cv_sizeof_void_p=8
ac_cv_sys_file_offset_bits=no
ac_cv_sys_largefile_CC=no
ac_cv_type_intmax_t=yes
ac_cv_type_long_double=yes
ac_cv_type_long_long_int=yes
ac_cv_type_pid_t=yes
ac_cv_type_pthread_rwlock_t=yes
ac_cv_type_ptrdiff_t=yes
ac_cv_type_uintmax_t=yes
ac_cv_type_unsigned_long_long_int=yes
acl_cv_hardcode_direct=no
acl_cv_hardcode_libdir_flag_spec=
acl_cv_hardcode_libdir_separator=
acl_cv_hardcode_minus_L=no
acl_cv_libext=a
acl_cv_libname_spec='lib$name'
acl_cv_library_names_spec='$libname$shrext'
acl_cv_path_LD=/Library/Developer/CommandLineTools/usr/bin/ld
acl_cv_prog_gnu_ld=no
acl_cv_rpath=done
acl_cv_shlibext=dylib
acl_cv_wl=-Wl,
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_langinfo_codeset=yes
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
estream_cv_langinfo_thousep=yes
gcry_cv_gcc_attribute_aligned=yes
gcry_cv_visibility_attribute=no
gl_cv_have_weak=no
gnupg_cv_have_readline=no
gnupg_cv_mkdir_takes_one_arg=no
gt_cv_func_CFLocaleCopyCurrent=yes
gt_cv_func_CFPreferencesCopyAppValue=yes
lt_cv_apple_cc_single_mod=yes
lt_cv_ar_at_file=no
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_exported_symbols_list=yes
lt_cv_ld_force_load=yes
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/Library/Developer/CommandLineTools/usr/bin/ld
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_c_o_RC=yes
lt_cv_prog_compiler_pic='-fno-common -DPIC'
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_rtti_exceptions=yes
lt_cv_prog_compiler_static_works=no
lt_cv_prog_gnu_ld=no
lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p'\'' | sed '\''/
gnu_lto/d'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[BCDEGRST]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_max_cmd_len=196608
lt_cv_to_host_file_cmd=func_convert_file_noop
lt_cv_to_tool_file_cmd=func_convert_file_noop

  1. ----------------- ##
  2. Output variables. ##
  3. ----------------- ##

ACLOCAL='${SHELL} '\''/Users/outer/Downloads/libpgp-error/libgpg-error-1.43/build-aux/missing'\'' aclocal-1.16'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR='ar'
AS='as'
AUTOCONF='${SHELL} '\''/Users/outer/Downloads/libpgp-error/libgpg-error-1.43/build-aux/missing'\'' autoconf'
AUTOHEADER='${SHELL} '\''/Users/outer/Downloads/libpgp-error/libgpg-error-1.43/build-aux/missing'\'' autoheader'
AUTOMAKE='${SHELL} '\''/Users/outer/Downloads/libpgp-error/libgpg-error-1.43/build-aux/missing'\'' automake-1.16'
AWK='awk'
BUILD_DOC_FALSE='#'
BUILD_DOC_TRUE=''
BUILD_FILEVERSION='1,43,0,55291'
BUILD_GPGSCM_FALSE=''
BUILD_GPGSCM_TRUE='#'
BUILD_REVISION='d7fb048'
BUILD_TESTS_FALSE='#'
BUILD_TESTS_TRUE=''
BUILD_TIMESTAMP='<none>'
BUILD_VERSION='1.43.0.55291'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CC_FOR_BUILD='$(CC)'
CFLAGS='-g -O2 -Wall -Wpointer-arith'
CPP='gcc -E'
CPPFLAGS=''
CROSS_COMPILING_FALSE=''
CROSS_COMPILING_TRUE='#'
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
DLLTOOL='false'
DSYMUTIL='dsymutil'
DUMPBIN=''
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP='/usr/bin/grep -E'
EXEEXT=''
EXEEXT_FOR_BUILD='$(EXEEXT)'
FGREP='/usr/bin/grep -F'
FORCE_USE_SYSCFG_FALSE=''
FORCE_USE_SYSCFG_TRUE='#'
GETTEXT_MACRO_VERSION='0.19'
GMSGFMT='/usr/local/bin/msgfmt'
GMSGFMT_015='/usr/local/bin/msgfmt'
GPG_ERROR_CONFIG_CFLAGS='-I${prefix}/include'
GPG_ERROR_CONFIG_HOST='x86_64-apple-darwin19.6.0'
GPG_ERROR_CONFIG_LIBS='-L${exec_prefix}/lib -lgpg-error'
GPG_ERROR_CONFIG_LIBS_PRIVATE=''
GPG_ERROR_CONFIG_MT_CFLAGS=''
GPG_ERROR_CONFIG_MT_LIBS='-lpthread'
GREP='/usr/bin/grep'
HAVE_GENERATED_LOCK_OBJ_H_FALSE=''
HAVE_GENERATED_LOCK_OBJ_H_TRUE='#'
HAVE_LD_VERSION_SCRIPT_FALSE=''
HAVE_LD_VERSION_SCRIPT_TRUE='#'
HAVE_W32CE_SYSTEM_FALSE=''
HAVE_W32CE_SYSTEM_TRUE='#'
HAVE_W32_SYSTEM_FALSE=''
HAVE_W32_SYSTEM_TRUE='#'
HAVE_W64_SYSTEM_FALSE=''
HAVE_W64_SYSTEM_TRUE='#'
INSTALLSHELLPATH='/bin/sh'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INTLLIBS=''
INTL_MACOSX_LIBS='-Wl,-framework -Wl,CoreFoundation'
LANGUAGES_SOME_FALSE='#'
LANGUAGES_SOME_TRUE=''
LD='/Library/Developer/CommandLineTools/usr/bin/ld'
LDADD_FOR_TESTS_KLUDGE=''
LDFLAGS=''
LIBGPG_ERROR_LT_AGE='32'
LIBGPG_ERROR_LT_CURRENT='32'
LIBGPG_ERROR_LT_REVISION='1'
LIBICONV='-liconv'
LIBINTL=''
LIBMULTITHREAD='-lpthread'
LIBOBJS=''
LIBPMULTITHREAD='-lpthread'
LIBPTHREAD=''
LIBREADLINE=''
LIBS=''
LIBSTDTHREAD=''
LIBTHREAD=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIB_NETWORK=''
LIB_SCHED_YIELD=''
LIPO='lipo'
LN_S='ln -s'
LTLIBICONV='-liconv'
LTLIBINTL=''
LTLIBMULTITHREAD='-lpthread'
LTLIBOBJS=''
LTLIBTHREAD=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} '\''/Users/outer/Downloads/libpgp-error/libgpg-error-1.43/build-aux/missing'\'' makeinfo'
MANIFEST_TOOL=':'
MKDIR_P='build-aux/install-sh -c -d'
MSGFMT='/usr/local/bin/msgfmt'
MSGFMT_015='/usr/local/bin/msgfmt'
MSGMERGE='/usr/local/bin/msgmerge'
NM='/usr/bin/nm -B'
NMEDIT='nmedit'
OBJDUMP='objdump'
OBJEXT='o'
OTOOL64=':'
OTOOL='otool'
PACKAGE='libgpg-error'
PACKAGE_BUGREPORT='https://bugs.gnupg.org'
PACKAGE_NAME='libgpg-error'
PACKAGE_STRING='libgpg-error 1.43'
PACKAGE_TARNAME='libgpg-error'
PACKAGE_URL=''
PACKAGE_VERSION='1.43'
PATH_SEPARATOR=':'
POSUB=''
RANLIB='ranlib'
RC=''
SED='/usr/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
STRIP='strip'
USE_NLS='no'
VERSION='1.43'
VERSION_NUMBER='0x012b00'
XGETTEXT='/usr/local/bin/xgettext'
XGETTEXT_015='/usr/local/bin/xgettext'
XGETTEXT_EXTRA_OPTIONS=''
ac_ct_AR='ar'
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
amEXEEXT_FALSE=''
am
EXEEXT_TRUE='#'
amfastdepCC_FALSE='#'
am
fastdepCC_TRUE=''
aminclude='include'
am
isrc=''
amleading_dot='.'
am
nodep='_no'
amquote=''
am
tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-apple-darwin19.6.0'
build_alias=''
build_cpu='x86_64'
build_os='darwin19.6.0'
build_vendor='apple'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='x86_64-apple-darwin19.6.0'
host_alias=''
host_cpu='x86_64'
host_os='darwin19.6.0'
host_vendor='apple'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /Users/outer/Downloads/libpgp-error/libgpg-error-1.43/build-aux/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

  1. ----------- ##
  2. confdefs.h. ##
  3. ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "libgpg-error"
#define PACKAGE_TARNAME "libgpg-error"
#define PACKAGE_VERSION "1.43"
#define PACKAGE_STRING "libgpg-error 1.43"
#define PACKAGE_BUGREPORT "https://bugs.gnupg.org"
#define PACKAGE_URL ""
#define PACKAGE "libgpg-error"
#define VERSION "1.43"
#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 EXTENSIONS 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define HAVE_LANGINFO_CODESET 1
#define _DARWIN_C_SOURCE 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_CFPREFERENCESCOPYAPPVALUE 1
#define HAVE_CFLOCALECOPYCURRENT 1
#define STDC_HEADERS 1
#define HAVE_LOCALE_H 1
#define HAVE_STDINT_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SIGNAL_H 1
#define HAVE_POLL_H 1
#define HAVE_PWD_H 1
#define HAVE_DECL_STRERROR_R 1
#define HAVE_STRERROR_R 1
#define HAVE_FORK 1
#define HAVE_VFORK 1
#define HAVE_WORKING_VFORK 1
#define HAVE_WORKING_FORK 1
#define HAVE_FLOCKFILE 1
#define HAVE_VASPRINTF 1
#define HAVE_MMAP 1
#define HAVE_RAND 1
#define HAVE_STPCPY 1
#define HAVE_SETENV 1
#define HAVE_STAT 1
#define HAVE_GETRLIMIT 1
#define HAVE_GETPWNAM 1
#define HAVE_GETPWUID 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define SIZEOF_INT 4
#define SIZEOF_LONG 8
#define SIZEOF_LONG_LONG 8
#define TIME_WITH_SYS_TIME 1
#define SIZEOF_TIME_T 8
#define HAVE_SYS_STAT_H 1
#define HAVE_UNISTD_H 1
#define REPLACEMENT_FOR_OFF_T "long"
#define HAVE_GCC_ATTRIBUTE_ALIGNED 1
#define HAVE_PTHREAD_API 1
#define USE_POSIX_THREADS 1
#define HAVE_PTHREAD_RWLOCK 1
#define HAVE_PTHREAD_MUTEX_RECURSIVE 1
#define SIZEOF_PTHREAD_MUTEX_T 64
#define HAVE_UNSIGNED_LONG_LONG_INT 1
#define HAVE_STDINT_H 1
#define HAVE_LONG_LONG_INT 1
#define HAVE_LONG_DOUBLE 1
#define HAVE_INTMAX_T 1
#define HAVE_UINTMAX_T 1
#define HAVE_PTRDIFF_T 1
#define SIZEOF_UNSIGNED_LONG 8
#define SIZEOF_VOID_P 8
#define HAVE_LANGINFO_THOUSEP 1
#define HOST_TRIPLET_STRING "x86_64-apple-darwin19.6.0"
#define ENABLE_LOG_CLOCK 1
#define BUILD_REVISION "d7fb048"
#define BUILD_TIMESTAMP "<none>"

configure: exit 0

Thank you for your log.

Please note that you need to follow the standard process described in README.GIT (that is, automake and autoconf things), when you apply patches from git directly.

The patch in question touches configure.ac, which require regeneration of configure script.

Or... please test after the release of libgpg-error, which will include new configure script.

Thanks for the help. After running make clean / aclocal / autoconf / autoupdate … &etc, the patch worked & make check passed all eleven 11 tests, ie the new 12th test was not performed.