This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure --prefix=/usr --sysconfdir=/etc/mail/spamassassin --datadir=/usr/share/spamassassin --enable-ssl=yes ## --------- ## ## Platform. ## ## --------- ## hostname = localhost uname -m = x86_64 uname -r = 6.1.12-gentoo-x86_64 uname -s = Linux uname -v = #1 SMP Fri Feb 17 14:33:01 EST 2023 /usr/bin/uname -p = AMD EPYC 7571 /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/lib/portage/python3.10/ebuild-helpers/xattr PATH: /usr/lib/portage/python3.10/ebuild-helpers PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /opt/bin PATH: /usr/x86_64-pc-linux-gnu/gnat-gcc-bin/4.6 PATH: /usr/libexec/gnat-gcc/x86_64-pc-linux-gnu/4.6 ## ----------- ## ## Core tests. ## ## ----------- ## configure:1355: checking for gcc configure:1381: result: x86_64-pc-linux-gnu-gcc configure:1625: checking for C compiler version configure:1628: x86_64-pc-linux-gnu-gcc --version &5 x86_64-pc-linux-gnu-gcc (Gentoo Hardened 12.2.1_p20230121-r1 p10) 12.2.1 20230121 Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:1631: $? = 0 configure:1633: x86_64-pc-linux-gnu-gcc -v &5 Using built-in specs. COLLECT_GCC=x86_64-pc-linux-gnu-gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/12/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-12.2.1_p20230121-r1/work/gcc-12-20230121/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/12 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/12/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/12 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/12/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/12/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/12/python --enable-languages=c,c++ --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --disable-nls --disable-libunwind-exceptions --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo Hardened 12.2.1_p20230121-r1 p10' --with-gcc-major-version-only --enable-esp --enable-libstdcxx-time --disable-libstdcxx-pch --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-fixed-point --enable-targets=all --enable-libgomp --disable-libssp --disable-libada --enable-cet --disable-systemtap --disable-valgrind-annotations --disable-vtable-verify --disable-libvtv --with-zstd --enable-lto --without-isl --enable-default-pie --enable-default-ssp --with-build-config=bootstrap-cet Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.2.1 20230121 (Gentoo Hardened 12.2.1_p20230121-r1 p10) configure:1636: $? = 0 configure:1638: x86_64-pc-linux-gnu-gcc -V &5 x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option '-V' x86_64-pc-linux-gnu-gcc: fatal error: no input files compilation terminated. configure:1641: $? = 1 configure:1664: checking for C compiler default output file name configure:1667: x86_64-pc-linux-gnu-gcc -O2 -pipe -mtune=generic -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:1670: $? = 0 configure:1716: result: a.out configure:1721: checking whether the C compiler works configure:1727: ./a.out configure:1730: $? = 0 configure:1747: result: yes configure:1754: checking whether we are cross compiling configure:1756: result: no configure:1759: checking for suffix of executables configure:1761: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -mtune=generic -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:1764: $? = 0 configure:1789: result: configure:1795: checking for suffix of object files configure:1816: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -mtune=generic conftest.c >&5 configure:1819: $? = 0 configure:1841: result: o configure:1845: checking whether we are using the GNU C compiler configure:1869: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -mtune=generic conftest.c >&5 configure:1875: $? = 0 configure:1879: test -z || test ! -s conftest.err configure:1882: $? = 0 configure:1885: test -s conftest.o configure:1888: $? = 0 configure:1901: result: yes configure:1907: checking whether x86_64-pc-linux-gnu-gcc accepts -g configure:1928: x86_64-pc-linux-gnu-gcc -c -g conftest.c >&5 configure:1934: $? = 0 configure:1938: test -z || test ! -s conftest.err configure:1941: $? = 0 configure:1944: test -s conftest.o configure:1947: $? = 0 configure:1958: result: yes configure:1975: checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C configure:2045: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -mtune=generic conftest.c >&5 configure:2051: $? = 0 configure:2055: test -z || test ! -s conftest.err configure:2058: $? = 0 configure:2061: test -s conftest.o configure:2064: $? = 0 configure:2082: result: none needed configure:2100: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -mtune=generic conftest.c >&5 conftest.c:2:3: error: unknown type name 'choke' 2 | choke me | ^~~~~ conftest.c:2:3: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input configure:2106: $? = 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif configure:2254: checking how to run the C preprocessor configure:2289: x86_64-pc-linux-gnu-gcc -E conftest.c configure:2295: $? = 0 configure:2327: x86_64-pc-linux-gnu-gcc -E conftest.c conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory 9 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:2333: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include configure:2372: result: x86_64-pc-linux-gnu-gcc -E configure:2396: x86_64-pc-linux-gnu-gcc -E conftest.c configure:2402: $? = 0 configure:2434: x86_64-pc-linux-gnu-gcc -E conftest.c conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory 9 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:2440: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include configure:2484: checking for egrep configure:2494: result: grep -E configure:2499: checking for ANSI C header files configure:2524: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -mtune=generic conftest.c >&5 configure:2530: $? = 0 configure:2534: test -z || test ! -s conftest.err configure:2537: $? = 0 configure:2540: test -s conftest.o configure:2543: $? = 0 configure:2632: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -mtune=generic -Wl,-O1 -Wl,--as-needed conftest.c >&5 conftest.c: In function 'main': conftest.c:26:7: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 26 | exit(2); | ^~~~ conftest.c:10:1: note: include '' or provide a declaration of 'exit' 9 | #include +++ |+#include 10 | #if ((' ' & 0x0FF) == 0x020) conftest.c:26:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 26 | exit(2); | ^~~~ conftest.c:26:7: note: include '' or provide a declaration of 'exit' conftest.c:27:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 27 | exit (0); | ^~~~ conftest.c:27:3: note: include '' or provide a declaration of 'exit' configure:2635: $? = 0 configure:2637: ./conftest configure:2640: $? = 0 configure:2655: result: yes configure:2679: checking for sys/types.h configure:2695: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -mtune=generic conftest.c >&5 configure:2701: $? = 0 configure:2705: test -z || test ! -s conftest.err configure:2708: $? = 0 configure:2711: test -s conftest.o configure:2714: $? = 0 configure:2725: result: yes configure:2679: checking for sys/stat.h configure:2695: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -mtune=generic conftest.c >&5 configure:2701: $? = 0 configure:2705: test -z || test ! -s conftest.err configure:2708: $? = 0 configure:2711: test -s conftest.o configure:2714: $? = 0 configure:2725: result: yes configure:2679: checking for stdlib.h configure:2695: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -mtune=generic conftest.c >&5 configure:2701: $? = 0 configure:2705: test -z || test ! -s conftest.err configure:2708: $? = 0 configure:2711: test -s conftest.o configure:2714: $? = 0 configure:2725: result: yes configure:2679: checking for string.h configure:2695: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -mtune=generic conftest.c >&5 configure:2701: $? = 0 configure:2705: test -z || test ! -s conftest.err configure:2708: $? = 0 configure:2711: test -s conftest.o configure:2714: $? = 0 configure:2725: result: yes configure:2679: checking for memory.h configure:2695: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -mtune=generic conftest.c >&5 configure:2701: $? = 0 configure:2705: test -z || test ! -s conftest.err configure:2708: $? = 0 configure:2711: test -s conftest.o configure:2714: $? = 0 configure:2725: result: yes configure:2679: checking for strings.h configure:2695: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -mtune=generic conftest.c >&5 configure:2701: $? = 0 configure:2705: test -z || test ! -s conftest.err configure:2708: $? = 0 configure:2711: test -s conftest.o configure:2714: $? = 0 configure:2725: result: yes configure:2679: checking for inttypes.h configure:2695: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -mtune=generic conftest.c >&5 configure:2701: $? = 0 configure:2705: test -z || test ! -s conftest.err configure:2708: $? = 0 configure:2711: test -s conftest.o configure:2714: $? = 0 configure:2725: result: yes configure:2679: checking for stdint.h configure:2695: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -mtune=generic conftest.c >&5 configure:2701: $? = 0 configure:2705: test -z || test ! -s conftest.err configure:2708: $? = 0 configure:2711: test -s conftest.o configure:2714: $? = 0 configure:2725: result: yes configure:2679: checking for unistd.h configure:2695: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -mtune=generic conftest.c >&5 configure:2701: $? = 0 configure:2705: test -z || test ! -s conftest.err configure:2708: $? = 0 configure:2711: test -s conftest.o configure:2714: $? = 0 configure:2725: result: yes configure:2755: checking sys/time.h usability configure:2767: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -mtune=generic conftest.c >&5 configure:2773: $? = 0 configure:2777: test -z || test ! -s conftest.err configure:2780: $? = 0 configure:2783: test -s conftest.o configure:2786: $? = 0 configure:2796: result: yes configure:2800: checking sys/time.h presence configure:2810: x86_64-pc-linux-gnu-gcc -E conftest.c configure:2816: $? = 0 configure:2836: result: yes configure:2871: checking for sys/time.h configure:2878: result: yes configure:2755: checking syslog.h usability configure:2767: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -mtune=generic conftest.c >&5 configure:2773: $? = 0 configure:2777: test -z || test ! -s conftest.err configure:2780: $? = 0 configure:2783: test -s conftest.o configure:2786: $? = 0 configure:2796: result: yes configure:2800: checking syslog.h presence configure:2810: x86_64-pc-linux-gnu-gcc -E conftest.c configure:2816: $? = 0 configure:2836: result: yes configure:2871: checking for syslog.h configure:2878: result: yes configure:2746: checking for unistd.h configure:2751: result: yes configure:2755: checking errno.h usability configure:2767: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -mtune=generic conftest.c >&5 configure:2773: $? = 0 configure:2777: test -z || test ! -s conftest.err configure:2780: $? = 0 configure:2783: test -s conftest.o configure:2786: $? = 0 configure:2796: result: yes configure:2800: checking errno.h presence configure:2810: x86_64-pc-linux-gnu-gcc -E conftest.c configure:2816: $? = 0 configure:2836: result: yes configure:2871: checking for errno.h configure:2878: result: yes configure:2755: checking sys/errno.h usability configure:2767: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -mtune=generic conftest.c >&5 configure:2773: $? = 0 configure:2777: test -z || test ! -s conftest.err configure:2780: $? = 0 configure:2783: test -s conftest.o configure:2786: $? = 0 configure:2796: result: yes configure:2800: checking sys/errno.h presence configure:2810: x86_64-pc-linux-gnu-gcc -E conftest.c configure:2816: $? = 0 configure:2836: result: yes configure:2871: checking for sys/errno.h configure:2878: result: yes configure:2909: checking time.h usability configure:2921: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -mtune=generic conftest.c >&5 configure:2927: $? = 0 configure:2931: test -z || test ! -s conftest.err configure:2934: $? = 0 configure:2937: test -s conftest.o configure:2940: $? = 0 configure:2950: result: yes configure:2954: checking time.h presence configure:2964: x86_64-pc-linux-gnu-gcc -E conftest.c configure:2970: $? = 0 configure:2990: result: yes configure:3025: checking for time.h configure:3032: result: yes configure:2909: checking sysexits.h usability configure:2921: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -mtune=generic conftest.c >&5 configure:2927: $? = 0 configure:2931: test -z || test ! -s conftest.err configure:2934: $? = 0 configure:2937: test -s conftest.o configure:2940: $? = 0 configure:2950: result: yes configure:2954: checking sysexits.h presence configure:2964: x86_64-pc-linux-gnu-gcc -E conftest.c configure:2970: $? = 0 configure:2990: result: yes configure:3025: checking for sysexits.h configure:3032: result: yes configure:2909: checking sys/socket.h usability configure:2921: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -mtune=generic conftest.c >&5 configure:2927: $? = 0 configure:2931: test -z || test ! -s conftest.err configure:2934: $? = 0 configure:2937: test -s conftest.o configure:2940: $? = 0 configure:2950: result: yes configure:2954: checking sys/socket.h presence configure:2964: x86_64-pc-linux-gnu-gcc -E conftest.c configure:2970: $? = 0 configure:2990: result: yes configure:3025: checking for sys/socket.h configure:3032: result: yes configure:2909: checking netdb.h usability configure:2921: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -mtune=generic conftest.c >&5 configure:2927: $? = 0 configure:2931: test -z || test ! -s conftest.err configure:2934: $? = 0 configure:2937: test -s conftest.o configure:2940: $? = 0 configure:2950: result: yes configure:2954: checking netdb.h presence configure:2964: x86_64-pc-linux-gnu-gcc -E conftest.c configure:2970: $? = 0 configure:2990: result: yes configure:3025: checking for netdb.h configure:3032: result: yes configure:2909: checking netinet/in.h usability configure:2921: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -mtune=generic conftest.c >&5 configure:2927: $? = 0 configure:2931: test -z || test ! -s conftest.err configure:2934: $? = 0 configure:2937: test -s conftest.o configure:2940: $? = 0 configure:2950: result: yes configure:2954: checking netinet/in.h presence configure:2964: x86_64-pc-linux-gnu-gcc -E conftest.c configure:2970: $? = 0 configure:2990: result: yes configure:3025: checking for netinet/in.h configure:3032: result: yes configure:3062: checking pwd.h usability configure:3074: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -mtune=generic conftest.c >&5 configure:3080: $? = 0 configure:3084: test -z || test ! -s conftest.err configure:3087: $? = 0 configure:3090: test -s conftest.o configure:3093: $? = 0 configure:3103: result: yes configure:3107: checking pwd.h presence configure:3117: x86_64-pc-linux-gnu-gcc -E conftest.c configure:3123: $? = 0 configure:3143: result: yes configure:3178: checking for pwd.h configure:3185: result: yes configure:3062: checking signal.h usability configure:3074: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -mtune=generic conftest.c >&5 configure:3080: $? = 0 configure:3084: test -z || test ! -s conftest.err configure:3087: $? = 0 configure:3090: test -s conftest.o configure:3093: $? = 0 configure:3103: result: yes configure:3107: checking signal.h presence configure:3117: x86_64-pc-linux-gnu-gcc -E conftest.c configure:3123: $? = 0 configure:3143: result: yes configure:3178: checking for signal.h configure:3185: result: yes configure:3062: checking openssl/crypto.h usability configure:3074: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -mtune=generic conftest.c >&5 configure:3080: $? = 0 configure:3084: test -z || test ! -s conftest.err configure:3087: $? = 0 configure:3090: test -s conftest.o configure:3093: $? = 0 configure:3103: result: yes configure:3107: checking openssl/crypto.h presence configure:3117: x86_64-pc-linux-gnu-gcc -E conftest.c configure:3123: $? = 0 configure:3143: result: yes configure:3178: checking for openssl/crypto.h configure:3185: result: yes configure:3062: checking zlib.h usability configure:3074: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -mtune=generic conftest.c >&5 configure:3080: $? = 0 configure:3084: test -z || test ! -s conftest.err configure:3087: $? = 0 configure:3090: test -s conftest.o configure:3093: $? = 0 configure:3103: result: yes configure:3107: checking zlib.h presence configure:3117: x86_64-pc-linux-gnu-gcc -E conftest.c configure:3123: $? = 0 configure:3143: result: yes configure:3178: checking for zlib.h configure:3185: result: yes configure:3199: checking for an ANSI C-conforming const configure:3266: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -mtune=generic conftest.c >&5 configure:3272: $? = 0 configure:3276: test -z || test ! -s conftest.err configure:3279: $? = 0 configure:3282: test -s conftest.o configure:3285: $? = 0 configure:3296: result: yes configure:3306: checking for off_t configure:3330: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -mtune=generic conftest.c >&5 configure:3336: $? = 0 configure:3340: test -z || test ! -s conftest.err configure:3343: $? = 0 configure:3346: test -s conftest.o configure:3349: $? = 0 configure:3360: result: yes configure:3372: checking for pid_t configure:3396: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -mtune=generic conftest.c >&5 configure:3402: $? = 0 configure:3406: test -z || test ! -s conftest.err configure:3409: $? = 0 configure:3412: test -s conftest.o configure:3415: $? = 0 configure:3426: result: yes configure:3438: checking for uid_t in sys/types.h configure:3461: result: yes configure:3476: checking for size_t configure:3500: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -mtune=generic conftest.c >&5 configure:3506: $? = 0 configure:3510: test -z || test ! -s conftest.err configure:3513: $? = 0 configure:3516: test -s conftest.o configure:3519: $? = 0 configure:3530: result: yes configure:3544: checking for SHUT_RD configure:3568: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -mtune=generic conftest.c >&5 configure:3574: $? = 0 configure:3578: test -z || test ! -s conftest.err configure:3581: $? = 0 configure:3584: test -s conftest.o configure:3587: $? = 0 configure:3599: result: yes configure:3610: checking for socket in -lsocket configure:3640: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -mtune=generic -Wl,-O1 -Wl,--as-needed conftest.c -lsocket >&5 /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lsocket: No such file or directory collect2: error: ld returned 1 exit status configure:3646: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_SYS_ERRNO_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYSEXITS_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define HAVE_ZLIB_H 1 | #define HAVE_SHUT_RD 1 | /* end confdefs.h. */ | | /* Override any gcc2 internal prototype to avoid an error. */ | #ifdef __cplusplus | extern "C" | #endif | /* We use char because int might match the return type of a gcc2 | builtin and then its argument prototype would still apply. */ | char socket (); | int | main () | { | socket (); | ; | return 0; | } configure:3672: result: no configure:3687: checking for CRYPTO_malloc in -lcrypto configure:3717: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -mtune=generic -Wl,-O1 -Wl,--as-needed conftest.c -lcrypto >&5 configure:3723: $? = 0 configure:3727: test -z || test ! -s conftest.err configure:3730: $? = 0 configure:3733: test -s conftest configure:3736: $? = 0 configure:3749: result: yes configure:3755: checking for SSL_CTX_free in -lssl configure:3785: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -mtune=generic -Wl,-O1 -Wl,--as-needed conftest.c -lssl -lcrypto >&5 configure:3791: $? = 0 configure:3795: test -z || test ! -s conftest.err configure:3798: $? = 0 configure:3801: test -s conftest configure:3804: $? = 0 configure:3817: result: yes configure:3839: checking for connect in -linet configure:3869: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -mtune=generic -Wl,-O1 -Wl,--as-needed conftest.c -linet >&5 /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -linet: No such file or directory collect2: error: ld returned 1 exit status configure:3875: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_SYS_ERRNO_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYSEXITS_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define HAVE_ZLIB_H 1 | #define HAVE_SHUT_RD 1 | /* end confdefs.h. */ | | /* Override any gcc2 internal prototype to avoid an error. */ | #ifdef __cplusplus | extern "C" | #endif | /* We use char because int might match the return type of a gcc2 | builtin and then its argument prototype would still apply. */ | char connect (); | int | main () | { | connect (); | ; | return 0; | } configure:3901: result: no configure:3913: checking for t_accept in -lnsl configure:3943: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -mtune=generic -Wl,-O1 -Wl,--as-needed conftest.c -lnsl >&5 /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/mail-filter/spamassassin-4.0.0-r1/temp/ccWxq23o.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `t_accept' collect2: error: ld returned 1 exit status configure:3949: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_SYS_ERRNO_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYSEXITS_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define HAVE_ZLIB_H 1 | #define HAVE_SHUT_RD 1 | /* end confdefs.h. */ | | /* Override any gcc2 internal prototype to avoid an error. */ | #ifdef __cplusplus | extern "C" | #endif | /* We use char because int might match the return type of a gcc2 | builtin and then its argument prototype would still apply. */ | char t_accept (); | int | main () | { | t_accept (); | ; | return 0; | } configure:3975: result: no configure:3987: checking for deflate in -lz configure:4017: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -mtune=generic -Wl,-O1 -Wl,--as-needed conftest.c -lz >&5 configure:4023: $? = 0 configure:4027: test -z || test ! -s conftest.err configure:4030: $? = 0 configure:4033: test -s conftest configure:4036: $? = 0 configure:4049: result: yes configure:4061: checking for dlopen in -ldl configure:4091: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -mtune=generic -Wl,-O1 -Wl,--as-needed conftest.c -ldl -lz >&5 configure:4097: $? = 0 configure:4101: test -z || test ! -s conftest.err configure:4104: $? = 0 configure:4107: test -s conftest configure:4110: $? = 0 configure:4123: result: yes configure:4144: checking for socket configure:4201: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -mtune=generic -Wl,-O1 -Wl,--as-needed conftest.c -ldl -lz >&5 configure:4207: $? = 0 configure:4211: test -z || test ! -s conftest.err configure:4214: $? = 0 configure:4217: test -s conftest configure:4220: $? = 0 configure:4232: result: yes configure:4144: checking for strdup configure:4201: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -mtune=generic -Wl,-O1 -Wl,--as-needed conftest.c -ldl -lz >&5 conftest.c:61:6: warning: conflicting types for built-in function 'strdup'; expected 'char *(const char *)' [-Wbuiltin-declaration-mismatch] 61 | char strdup (); | ^~~~~~ configure:4207: $? = 0 configure:4211: test -z || test ! -s conftest.err configure:4214: $? = 0 configure:4217: test -s conftest configure:4220: $? = 0 configure:4232: result: yes configure:4144: checking for strtod configure:4201: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -mtune=generic -Wl,-O1 -Wl,--as-needed conftest.c -ldl -lz >&5 configure:4207: $? = 0 configure:4211: test -z || test ! -s conftest.err configure:4214: $? = 0 configure:4217: test -s conftest configure:4220: $? = 0 configure:4232: result: yes configure:4144: checking for strtol configure:4201: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -mtune=generic -Wl,-O1 -Wl,--as-needed conftest.c -ldl -lz >&5 configure:4207: $? = 0 configure:4211: test -z || test ! -s conftest.err configure:4214: $? = 0 configure:4217: test -s conftest configure:4220: $? = 0 configure:4232: result: yes configure:4144: checking for snprintf configure:4201: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -mtune=generic -Wl,-O1 -Wl,--as-needed conftest.c -ldl -lz >&5 conftest.c:64:6: warning: conflicting types for built-in function 'snprintf'; expected 'int(char *, long unsigned int, const char *, ...)' [-Wbuiltin-declaration-mismatch] 64 | char snprintf (); | ^~~~~~~~ conftest.c:51:1: note: 'snprintf' is declared in header '' 50 | # include 51 | #else configure:4207: $? = 0 configure:4211: test -z || test ! -s conftest.err configure:4214: $? = 0 configure:4217: test -s conftest configure:4220: $? = 0 configure:4232: result: yes configure:4144: checking for shutdown configure:4201: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -mtune=generic -Wl,-O1 -Wl,--as-needed conftest.c -ldl -lz >&5 configure:4207: $? = 0 configure:4211: test -z || test ! -s conftest.err configure:4214: $? = 0 configure:4217: test -s conftest configure:4220: $? = 0 configure:4232: result: yes configure:4244: checking for h_errno configure:4267: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -mtune=generic conftest.c >&5 configure:4273: $? = 0 configure:4277: test -z || test ! -s conftest.err configure:4280: $? = 0 configure:4283: test -s conftest.o configure:4286: $? = 0 configure:4298: result: yes configure:4310: checking for in_addr_t configure:4333: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -mtune=generic conftest.c >&5 configure:4339: $? = 0 configure:4343: test -z || test ! -s conftest.err configure:4346: $? = 0 configure:4349: test -s conftest.o configure:4352: $? = 0 configure:4364: result: yes configure:4436: checking for INADDR_NONE configure:4459: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -mtune=generic conftest.c >&5 configure:4465: $? = 0 configure:4469: test -z || test ! -s conftest.err configure:4472: $? = 0 configure:4475: test -s conftest.o configure:4478: $? = 0 configure:4490: result: yes configure:4500: checking for EX__MAX configure:4525: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -mtune=generic conftest.c >&5 configure:4531: $? = 0 configure:4535: test -z || test ! -s conftest.err configure:4538: $? = 0 configure:4541: test -s conftest.o configure:4544: $? = 0 configure:4556: result: yes configure:4566: checking for EAI_ADDRFAMILY configure:4590: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -mtune=generic conftest.c >&5 conftest.c: In function 'main': conftest.c:51:11: error: 'EAI_ADDRFAMILY' undeclared (first use in this function); did you mean 'EAI_FAMILY'? 51 | int foo = EAI_ADDRFAMILY; return 0; | ^~~~~~~~~~~~~~ | EAI_FAMILY conftest.c:51:11: note: each undeclared identifier is reported only once for each function it appears in configure:4596: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_SYS_ERRNO_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYSEXITS_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define HAVE_ZLIB_H 1 | #define HAVE_SHUT_RD 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBDL 1 | #define HAVE_SOCKET 1 | #define HAVE_STRDUP 1 | #define HAVE_STRTOD 1 | #define HAVE_STRTOL 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SHUTDOWN 1 | #define HAVE_H_ERRNO 1 | #define HAVE_INADDR_NONE 1 | #define HAVE_EX__MAX 1 | /* end confdefs.h. */ | #include | #include | #include | int | main () | { | int foo = EAI_ADDRFAMILY; return 0; | ; | return 0; | } configure:4621: result: no configure:4631: checking for EAI_SYSTEM configure:4686: result: no configure:4696: checking for EAI_NODATA configure:4751: result: no configure:4870: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by config.status, which was generated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on localhost config.status:647: creating Makefile config.status:647: creating spamc.h config.status:743: creating config.h ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_c_compiler_gnu=yes ac_cv_c_const=yes ac_cv_c_undeclared_builtin_options='none needed' ac_cv_env_CC_set=set ac_cv_env_CC_value=x86_64-pc-linux-gnu-gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-O2 -pipe -mtune=generic' 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=set ac_cv_env_LDFLAGS_value='-Wl,-O1 -Wl,--as-needed' 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_exeext= ac_cv_func_shutdown=yes ac_cv_func_snprintf=yes ac_cv_func_socket=yes ac_cv_func_strdup=yes ac_cv_func_strtod=yes ac_cv_func_strtol=yes ac_cv_header_errno_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_netdb_h=yes ac_cv_header_netinet_in_h=yes ac_cv_header_openssl_crypto_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_errno_h=yes ac_cv_header_sys_socket_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_time_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_sysexits_h=yes ac_cv_header_syslog_h=yes ac_cv_header_time_h=yes ac_cv_header_unistd_h=yes ac_cv_header_zlib_h=yes ac_cv_lib_crypto_CRYPTO_malloc=yes ac_cv_lib_dl_dlopen=yes ac_cv_lib_inet_connect=no ac_cv_lib_nsl_t_accept=no ac_cv_lib_socket_socket=no ac_cv_lib_ssl_SSL_CTX_free=yes ac_cv_lib_z_deflate=yes ac_cv_objext=o ac_cv_prog_CPP='x86_64-pc-linux-gnu-gcc -E' ac_cv_prog_ac_ct_CC=x86_64-pc-linux-gnu-gcc ac_cv_prog_cc_g=yes ac_cv_prog_cc_stdc= ac_cv_prog_egrep='grep -E' ac_cv_type_off_t=yes ac_cv_type_pid_t=yes ac_cv_type_size_t=yes ac_cv_type_uid_t=yes gl_cv_compiler_check_decl_option=-Werror=implicit-function-declaration ## ----------------- ## ## Output variables. ## ## ----------------- ## CC='x86_64-pc-linux-gnu-gcc' CCCDLFLAGS='-fPIC' CFLAGS='-O2 -pipe -mtune=generic' CPP='x86_64-pc-linux-gnu-gcc -E' CPPFLAGS='' DEFS='-DHAVE_CONFIG_H' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='grep -E' EXEEXT='' HAVE_SHUT_RD='' LDDLFLAGS='-shared -O2 -pipe -mtune=generic -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed' LDFLAGS='-Wl,-O1 -Wl,--as-needed' LIBOBJS='' LIBS='-ldl -lz ' LTLIBOBJS='' OBJEXT='o' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' SHELL='/bin/sh' SSLCFLAGS='-DSPAMC_SSL' SSLLIBS='-lssl -lcrypto ' ac_ct_CC='x86_64-pc-linux-gnu-gcc' bindir='${exec_prefix}/bin' build_alias='' datadir='/usr/share/spamassassin' exec_prefix='${prefix}' host_alias='' includedir='${prefix}/include' infodir='${prefix}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' mandir='${prefix}/man' oldincludedir='/usr/include' prefix='/usr' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='/etc/mail/spamassassin' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define HAVE_ERRNO_H 1 #define HAVE_EX__MAX 1 #define HAVE_H_ERRNO 1 #define HAVE_INADDR_NONE 1 #define HAVE_INTTYPES_H 1 #define HAVE_LIBDL 1 #define HAVE_LIBZ 1 #define HAVE_MEMORY_H 1 #define HAVE_NETDB_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_OPENSSL_CRYPTO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHUTDOWN 1 #define HAVE_SHUT_RD 1 #define HAVE_SIGNAL_H 1 #define HAVE_SNPRINTF 1 #define HAVE_SOCKET 1 #define HAVE_STDINT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRDUP 1 #define HAVE_STRINGS_H 1 #define HAVE_STRING_H 1 #define HAVE_STRTOD 1 #define HAVE_STRTOL 1 #define HAVE_SYSEXITS_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_ERRNO_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_TIME_H 1 #define HAVE_UNISTD_H 1 #define HAVE_UNISTD_H 1 #define HAVE_ZLIB_H 1 #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define STDC_HEADERS 1 configure: exit 0