microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
23.2k stars 6.39k forks source link

[cyrus-sasl] Build error on x64-linux #40885

Closed marekp0 closed 2 months ago

marekp0 commented 2 months ago

Package: cyrus-sasl:x64-linux@2.1.28#2

Host Environment

To Reproduce

vcpkg install cyrus-sasl

Failure logs

-- Using cached cyrus-sasl-2.1.28.tar.gz.
-- Cleaning sources at /home/mpokorny/vcpkg/buildtrees/cyrus-sasl/src/rus-sasl-2-ded79ef720.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /home/mpokorny/vcpkg/downloads/cyrus-sasl-2.1.28.tar.gz
-- Applying patch configure.diff
-- Using source at /home/mpokorny/vcpkg/buildtrees/cyrus-sasl/src/rus-sasl-2-ded79ef720.clean
-- Getting CMake variables for x64-linux-dbg
-- Getting CMake variables for x64-linux-rel
-- Generating configure for x64-linux
-- Finished generating configure for x64-linux
-- Configuring x64-linux-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
    Command failed: /usr/bin/bash -c "V=1 ./../src/rus-sasl-2-ded79ef720.clean/configure  \"--enable-sample=no\" \"--with-dblib=lmdb\" \"--with-gss_impl=mit\" \"--disable-macos-framework\" \"--disable-silent-rules\" \"--verbose\" \"--disable-shared\" \"--enable-static\" \"--prefix=/home/mpokorny/vcpkg/installed/x64-linux/debug\" \"--bindir=\\${prefix}/../tools/cyrus-sasl/debug/bin\" \"--sbindir=\\${prefix}/../tools/cyrus-sasl/debug/sbin\" \"--libdir=\\${prefix}/lib\" \"--includedir=\\${prefix}/../include\" \"--datarootdir=\\${prefix}/share/cyrus-sasl\""
    Working Directory: /home/mpokorny/vcpkg/buildtrees/cyrus-sasl/x64-linux-dbg
    Error code: 2
    See logs for more information:
      /home/mpokorny/vcpkg/buildtrees/cyrus-sasl/config-x64-linux-dbg-config.log
      /home/mpokorny/vcpkg/buildtrees/cyrus-sasl/config-x64-linux-dbg-out.log
      /home/mpokorny/vcpkg/buildtrees/cyrus-sasl/config-x64-linux-dbg-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_make.cmake:866 (vcpkg_execute_required_process)
  ports/cyrus-sasl/portfile.cmake:87 (vcpkg_configure_make)
  scripts/ports.cmake:192 (include)
/home/mpokorny/vcpkg/buildtrees/cyrus-sasl/config-x64-linux-dbg-err.log ``` ./../src/rus-sasl-2-ded79ef720.clean/configure: line 15551: syntax error near unexpected token `ac_fn_c_check_header_compile' ./../src/rus-sasl-2-ded79ef720.clean/configure: line 15551: ` ac_fn_c_check_header_compile "$LINENO" "lmdb.h" "ac_cv_header_lmdb_h" "$ac_includes_default"' ```
/home/mpokorny/vcpkg/buildtrees/cyrus-sasl/config-x64-linux-dbg-out.log ``` configure: creating cache ./config.cache checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether UID '101992445' is supported by ustar format... no checking whether GID '502' is supported by ustar format... yes checking how to create a ustar tar archive... none checking for gcc... /usr/bin/cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether /usr/bin/cc accepts -g... yes checking for /usr/bin/cc option to enable C11 features... none needed checking whether /usr/bin/cc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of /usr/bin/cc... gcc3 checking how to run the C preprocessor... /usr/bin/cc -E checking for gcc... /usr/bin/cc checking whether the compiler supports GNU C... (cached) yes checking whether /usr/bin/cc accepts -g... yes checking for /usr/bin/cc option to enable C11 features... (cached) none needed checking whether /usr/bin/cc understands -c and -o together... (cached) yes checking dependency style of /usr/bin/cc... (cached) gcc3 checking how to run the C preprocessor... /usr/bin/cc -E checking how to run the C preprocessor... /usr/bin/cc -E checking for gawk... (cached) gawk checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking for sys/time.h... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for runpath switch... -R checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by /usr/bin/cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm checking the name lister (/usr/bin/nm) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... /usr/bin/objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... @ checking for strip... /usr/bin/strip checking for ranlib... /usr/bin/ranlib checking command to parse /usr/bin/nm output from /usr/bin/cc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if /usr/bin/cc supports -fno-rtti -fno-exceptions... no checking for /usr/bin/cc option to produce PIC... -fPIC -DPIC checking if /usr/bin/cc PIC flag -fPIC -DPIC works... yes checking if /usr/bin/cc static flag -static works... yes checking if /usr/bin/cc supports -c -o file.o... yes checking if /usr/bin/cc supports -c -o file.o... (cached) yes checking whether the /usr/bin/cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking for sys/socket.h... yes checking for ws2tcpip.h... no checking for socket... yes checking for connect... yes checking for res_search... yes checking for dn_expand... yes checking for dns_lookup... no checking DB path to use... /etc/sasldb2 ```
/home/mpokorny/vcpkg/buildtrees/cyrus-sasl/config-x64-linux-dbg-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 cyrus-sasl configure 2.1.28, which was generated by GNU Autoconf 2.71. Invocation command line was $ ./../src/rus-sasl-2-ded79ef720.clean/configure --enable-sample=no --with-dblib=lmdb --with-gss_impl=mit --disable-macos-framework --disable-silent-rules --verbose --disable-shared --enable-static --prefix=/home/mpokorny/vcpkg/installed/x64-linux/debug '--bindir=${prefix}/../tools/cyrus-sasl/debug/bin' '--sbindir=${prefix}/../tools/cyrus-sasl/debug/sbin' '--libdir=${prefix}/lib' '--includedir=${prefix}/../include' '--datarootdir=${prefix}/share/cyrus-sasl' ## --------- ## ## Platform. ## ## --------- ## hostname = ip-10-43-225-60 uname -m = x86_64 uname -r = 5.15.0-1062-aws uname -s = Linux uname -v = #68-Ubuntu SMP Tue Apr 30 19:25:21 UTC 2024 /usr/bin/uname -p = x86_64 /bin/uname -X = unknown /bin/arch = x86_64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /home/mpokorny/.local/bin/ PATH: /home/mpokorny/.vscode-server/cli/servers/Stable-4849ca9bdf9666755eb463db297b69e5385090e3/server/bin/remote-cli/ PATH: /home/mpokorny/.local/bin/ PATH: /home/mpokorny/.local/bin/ PATH: /usr/local/sbin/ PATH: /usr/local/bin/ PATH: /usr/sbin/ PATH: /usr/bin/ PATH: /sbin/ PATH: /bin/ PATH: /usr/games/ PATH: /usr/local/games/ PATH: /snap/bin/ PATH: /home/mpokorny/vcpkg/downloads/tools/ninja/1.10.2-linux/ ## ----------- ## ## Core tests. ## ## ----------- ## configure:2981: looking for aux files: ltmain.sh compile missing install-sh config.guess config.sub configure:2994: trying ./../src/rus-sasl-2-ded79ef720.clean/config/ configure:3023: ./../src/rus-sasl-2-ded79ef720.clean/config/ltmain.sh found configure:3023: ./../src/rus-sasl-2-ded79ef720.clean/config/compile found configure:3023: ./../src/rus-sasl-2-ded79ef720.clean/config/missing found configure:3005: ./../src/rus-sasl-2-ded79ef720.clean/config/install-sh found configure:3023: ./../src/rus-sasl-2-ded79ef720.clean/config/config.guess found configure:3023: ./../src/rus-sasl-2-ded79ef720.clean/config/config.sub found configure:3151: creating cache ./config.cache configure:3166: checking build system type configure:3181: result: x86_64-pc-linux-gnu configure:3201: checking host system type configure:3215: result: x86_64-pc-linux-gnu configure:3235: checking target system type configure:3249: result: x86_64-pc-linux-gnu configure:3293: checking for a BSD-compatible install configure:3366: result: /usr/bin/install -c configure:3377: checking whether build environment is sane configure:3432: result: yes configure:3591: checking for a race-free mkdir -p configure:3635: result: /usr/bin/mkdir -p configure:3642: checking for gawk configure:3663: found /usr/bin/gawk configure:3674: result: gawk configure:3685: checking whether make sets $(MAKE) configure:3708: result: yes configure:3738: checking whether make supports nested variables configure:3756: result: yes configure:3841: checking whether UID '101992445' is supported by ustar format configure:3847: result: no configure:3851: checking whether GID '502' is supported by ustar format configure:3854: result: yes configure:3862: checking how to create a ustar tar archive configure:3916: tardir=conftest.dir && eval false >conftest.tar configure:3919: $? = 1 configure:3945: result: none configure:4110: checking for gcc configure:4142: result: /usr/bin/cc configure:4495: checking for C compiler version configure:4504: /usr/bin/cc --version >&5 cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Copyright (C) 2021 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:4515: $? = 0 configure:4504: /usr/bin/cc -v >&5 Using built-in specs. COLLECT_GCC=/usr/bin/cc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.4.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04) ... rest of stderr output deleted ... configure:4515: $? = 0 configure:4504: /usr/bin/cc -V >&5 cc: error: unrecognized command-line option '-V' cc: fatal error: no input files compilation terminated. configure:4515: $? = 1 configure:4504: /usr/bin/cc -qversion >&5 cc: error: unrecognized command-line option '-qversion'; did you mean '--version'? cc: fatal error: no input files compilation terminated. configure:4515: $? = 1 configure:4504: /usr/bin/cc -version >&5 cc: error: unrecognized command-line option '-version' cc: fatal error: no input files compilation terminated. configure:4515: $? = 1 configure:4535: checking whether the C compiler works configure:4557: /usr/bin/cc -fPIC -g -L/home/mpokorny/vcpkg/installed/x64-linux/debug/lib conftest.c >&5 configure:4561: $? = 0 configure:4611: result: yes configure:4614: checking for C compiler default output file name configure:4616: result: a.out configure:4622: checking for suffix of executables configure:4629: /usr/bin/cc -o conftest -fPIC -g -L/home/mpokorny/vcpkg/installed/x64-linux/debug/lib conftest.c >&5 configure:4633: $? = 0 configure:4656: result: configure:4678: checking whether we are cross compiling configure:4686: /usr/bin/cc -o conftest -fPIC -g -L/home/mpokorny/vcpkg/installed/x64-linux/debug/lib conftest.c >&5 configure:4690: $? = 0 configure:4697: ./conftest configure:4701: $? = 0 configure:4716: result: no configure:4721: checking for suffix of object files configure:4744: /usr/bin/cc -c -fPIC -g conftest.c >&5 configure:4748: $? = 0 configure:4770: result: o configure:4774: checking whether the compiler supports GNU C configure:4794: /usr/bin/cc -c -fPIC -g conftest.c >&5 configure:4794: $? = 0 configure:4804: result: yes configure:4815: checking whether /usr/bin/cc accepts -g configure:4836: /usr/bin/cc -c -g conftest.c >&5 configure:4836: $? = 0 configure:4880: result: yes configure:4900: checking for /usr/bin/cc option to enable C11 features configure:4915: /usr/bin/cc -c -fPIC -g conftest.c >&5 configure:4915: $? = 0 configure:4933: result: none needed configure:5049: checking whether /usr/bin/cc understands -c and -o together configure:5072: /usr/bin/cc -c conftest.c -o conftest2.o configure:5075: $? = 0 configure:5072: /usr/bin/cc -c conftest.c -o conftest2.o configure:5075: $? = 0 configure:5087: result: yes configure:5107: checking whether make supports the include directive configure:5122: make -f confmf.GNU && cat confinc.out this is the am__doit target configure:5125: $? = 0 configure:5144: result: yes (GNU style) configure:5170: checking dependency style of /usr/bin/cc configure:5282: result: gcc3 configure:5302: checking how to run the C preprocessor configure:5328: /usr/bin/cc -E conftest.c configure:5328: $? = 0 configure:5343: /usr/bin/cc -E conftest.c conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory 11 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:5343: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "cyrus-sasl" | #define PACKAGE_TARNAME "cyrus-sasl" | #define PACKAGE_VERSION "2.1.28" | #define PACKAGE_STRING "cyrus-sasl 2.1.28" | #define PACKAGE_BUGREPORT "https://github.com/cyrusimap/cyrus-sasl/issues" | #define PACKAGE_URL "https://www.cyrusimap.org" | #define PACKAGE "cyrus-sasl" | #define VERSION "2.1.28" | /* end confdefs.h. */ | #include configure:5370: result: /usr/bin/cc -E configure:5384: /usr/bin/cc -E conftest.c configure:5384: $? = 0 configure:5399: /usr/bin/cc -E conftest.c conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory 11 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:5399: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "cyrus-sasl" | #define PACKAGE_TARNAME "cyrus-sasl" | #define PACKAGE_VERSION "2.1.28" | #define PACKAGE_STRING "cyrus-sasl 2.1.28" | #define PACKAGE_BUGREPORT "https://github.com/cyrusimap/cyrus-sasl/issues" | #define PACKAGE_URL "https://www.cyrusimap.org" | #define PACKAGE "cyrus-sasl" | #define VERSION "2.1.28" | /* end confdefs.h. */ | #include configure:5490: checking for gcc configure:5522: result: /usr/bin/cc configure:5875: checking for C compiler version configure:5884: /usr/bin/cc --version >&5 cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Copyright (C) 2021 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:5895: $? = 0 configure:5884: /usr/bin/cc -v >&5 Using built-in specs. COLLECT_GCC=/usr/bin/cc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.4.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04) ... rest of stderr output deleted ... configure:5895: $? = 0 configure:5884: /usr/bin/cc -V >&5 cc: error: unrecognized command-line option '-V' cc: fatal error: no input files compilation terminated. configure:5895: $? = 1 configure:5884: /usr/bin/cc -qversion >&5 cc: error: unrecognized command-line option '-qversion'; did you mean '--version'? cc: fatal error: no input files compilation terminated. configure:5895: $? = 1 configure:5884: /usr/bin/cc -version >&5 cc: error: unrecognized command-line option '-version' cc: fatal error: no input files compilation terminated. configure:5895: $? = 1 configure:5899: checking whether the compiler supports GNU C configure:5929: result: yes configure:5940: checking whether /usr/bin/cc accepts -g configure:5961: /usr/bin/cc -c -fPIC -g conftest.c >&5 configure:5961: $? = 0 configure:6005: result: yes configure:6025: checking for /usr/bin/cc option to enable C11 features configure:6058: result: none needed configure:6174: checking whether /usr/bin/cc understands -c and -o together configure:6212: result: yes configure:6231: checking dependency style of /usr/bin/cc configure:6343: result: gcc3 configure:6363: checking how to run the C preprocessor configure:6431: result: /usr/bin/cc -E configure:6445: /usr/bin/cc -E conftest.c configure:6445: $? = 0 configure:6460: /usr/bin/cc -E conftest.c conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory 11 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:6460: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "cyrus-sasl" | #define PACKAGE_TARNAME "cyrus-sasl" | #define PACKAGE_VERSION "2.1.28" | #define PACKAGE_STRING "cyrus-sasl 2.1.28" | #define PACKAGE_BUGREPORT "https://github.com/cyrusimap/cyrus-sasl/issues" | #define PACKAGE_URL "https://www.cyrusimap.org" | #define PACKAGE "cyrus-sasl" | #define VERSION "2.1.28" | /* end confdefs.h. */ | #include configure:6504: checking how to run the C preprocessor configure:6572: result: /usr/bin/cc -E configure:6586: /usr/bin/cc -E conftest.c configure:6586: $? = 0 configure:6601: /usr/bin/cc -E conftest.c conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory 11 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:6601: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "cyrus-sasl" | #define PACKAGE_TARNAME "cyrus-sasl" | #define PACKAGE_VERSION "2.1.28" | #define PACKAGE_STRING "cyrus-sasl 2.1.28" | #define PACKAGE_BUGREPORT "https://github.com/cyrusimap/cyrus-sasl/issues" | #define PACKAGE_URL "https://www.cyrusimap.org" | #define PACKAGE "cyrus-sasl" | #define VERSION "2.1.28" | /* end confdefs.h. */ | #include configure:6635: checking for gawk configure:6667: result: gawk configure:6678: checking whether ln -s works configure:6682: result: yes configure:6689: checking whether make sets $(MAKE) configure:6712: result: yes configure:6727: checking for stdio.h configure:6727: /usr/bin/cc -c -fPIC -g conftest.c >&5 configure:6727: $? = 0 configure:6727: result: yes configure:6727: checking for stdlib.h configure:6727: /usr/bin/cc -c -fPIC -g conftest.c >&5 configure:6727: $? = 0 configure:6727: result: yes configure:6727: checking for string.h configure:6727: /usr/bin/cc -c -fPIC -g conftest.c >&5 configure:6727: $? = 0 configure:6727: result: yes configure:6727: checking for inttypes.h configure:6727: /usr/bin/cc -c -fPIC -g conftest.c >&5 configure:6727: $? = 0 configure:6727: result: yes configure:6727: checking for stdint.h configure:6727: /usr/bin/cc -c -fPIC -g conftest.c >&5 configure:6727: $? = 0 configure:6727: result: yes configure:6727: checking for strings.h configure:6727: /usr/bin/cc -c -fPIC -g conftest.c >&5 configure:6727: $? = 0 configure:6727: result: yes configure:6727: checking for sys/stat.h configure:6727: /usr/bin/cc -c -fPIC -g conftest.c >&5 configure:6727: $? = 0 configure:6727: result: yes configure:6727: checking for sys/types.h configure:6727: /usr/bin/cc -c -fPIC -g conftest.c >&5 configure:6727: $? = 0 configure:6727: result: yes configure:6727: checking for unistd.h configure:6727: /usr/bin/cc -c -fPIC -g conftest.c >&5 configure:6727: $? = 0 configure:6727: result: yes configure:6727: checking for wchar.h configure:6727: /usr/bin/cc -c -fPIC -g conftest.c >&5 configure:6727: $? = 0 configure:6727: result: yes configure:6727: checking for minix/config.h configure:6727: /usr/bin/cc -c -fPIC -g conftest.c >&5 conftest.c:49:10: fatal error: minix/config.h: No such file or directory 49 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:6727: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "cyrus-sasl" | #define PACKAGE_TARNAME "cyrus-sasl" | #define PACKAGE_VERSION "2.1.28" | #define PACKAGE_STRING "cyrus-sasl 2.1.28" | #define PACKAGE_BUGREPORT "https://github.com/cyrusimap/cyrus-sasl/issues" | #define PACKAGE_URL "https://www.cyrusimap.org" | #define PACKAGE "cyrus-sasl" | #define VERSION "2.1.28" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:6727: result: no configure:6727: checking for sys/time.h configure:6727: /usr/bin/cc -c -fPIC -g conftest.c >&5 configure:6727: $? = 0 configure:6727: result: yes configure:6758: checking whether it is safe to define __EXTENSIONS__ configure:6777: /usr/bin/cc -c -fPIC -g conftest.c >&5 configure:6777: $? = 0 configure:6785: result: yes configure:6788: checking whether _XOPEN_SOURCE should be defined configure:6810: /usr/bin/cc -c -fPIC -g conftest.c >&5 configure:6810: $? = 0 configure:6837: result: no configure:6896: checking for runpath switch configure:6917: /usr/bin/cc -o conftest -fPIC -g -R /usr/lib conftest.c >&5 configure:6917: $? = 0 configure:6949: result: -R configure:7049: checking how to print strings configure:7076: result: printf configure:7097: checking for a sed that does not truncate output configure:7167: result: /usr/bin/sed configure:7185: checking for grep that handles long lines and -e configure:7249: result: /usr/bin/grep configure:7254: checking for egrep configure:7322: result: /usr/bin/grep -E configure:7327: checking for fgrep configure:7395: result: /usr/bin/grep -F configure:7431: checking for ld used by /usr/bin/cc configure:7499: result: /usr/bin/ld configure:7506: checking if the linker (/usr/bin/ld) is GNU ld configure:7522: result: yes configure:7534: checking for BSD- or MS-compatible name lister (nm) configure:7589: result: /usr/bin/nm configure:7729: checking the name lister (/usr/bin/nm) interface configure:7737: /usr/bin/cc -c -fPIC -g conftest.c >&5 configure:7740: /usr/bin/nm "conftest.o" configure:7743: output 0000000000000000 B some_variable configure:7750: result: BSD nm configure:7754: checking the maximum length of command line arguments configure:7886: result: 1572864 configure:7934: checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format configure:7975: result: func_convert_file_noop configure:7982: checking how to convert x86_64-pc-linux-gnu file names to toolchain format configure:8003: result: func_convert_file_noop configure:8010: checking for /usr/bin/ld option to reload object files configure:8018: result: -r configure:8097: checking for objdump configure:8129: result: /usr/bin/objdump configure:8161: checking how to recognize dependent libraries configure:8362: result: pass_all configure:8452: checking for dlltool configure:8487: result: no configure:8517: checking how to associate runtime and link libraries configure:8545: result: printf %s\n configure:8679: checking for archiver @FILE support configure:8697: /usr/bin/cc -c -fPIC -g conftest.c >&5 configure:8697: $? = 0 configure:8701: /usr/bin/ar cr libconftest.a @conftest.lst >&5 configure:8704: $? = 0 configure:8709: /usr/bin/ar cr libconftest.a @conftest.lst >&5 /usr/bin/ar: conftest.o: No such file or directory configure:8712: $? = 1 configure:8724: result: @ configure:8787: checking for strip configure:8819: result: /usr/bin/strip configure:8896: checking for ranlib configure:8928: result: /usr/bin/ranlib configure:9030: checking command to parse /usr/bin/nm output from /usr/bin/cc object configure:9184: /usr/bin/cc -c -fPIC -g conftest.c >&5 configure:9187: $? = 0 configure:9191: /usr/bin/nm conftest.o | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' > conftest.nm configure:9257: /usr/bin/cc -o conftest -fPIC -g -L/home/mpokorny/vcpkg/installed/x64-linux/debug/lib conftest.c conftstm.o >&5 configure:9260: $? = 0 configure:9298: result: ok configure:9345: checking for sysroot configure:9376: result: no configure:9383: checking for a working dd configure:9427: result: /usr/bin/dd configure:9431: checking how to truncate binary pipes configure:9447: result: /usr/bin/dd bs=4096 count=1 configure:9584: /usr/bin/cc -c -fPIC -g conftest.c >&5 configure:9587: $? = 0 configure:9784: checking for mt configure:9805: found /usr/bin/mt configure:9816: result: mt configure:9839: checking if mt is a manifest tool configure:9846: mt '-?' configure:9854: result: no configure:10580: checking for dlfcn.h configure:10580: /usr/bin/cc -c -fPIC -g conftest.c >&5 configure:10580: $? = 0 configure:10580: result: yes configure:10808: checking for objdir configure:10824: result: .libs configure:11088: checking if /usr/bin/cc supports -fno-rtti -fno-exceptions configure:11107: /usr/bin/cc -c -fPIC -g -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command-line option '-fno-rtti' is valid for C++/D/ObjC++ but not for C configure:11111: $? = 0 configure:11124: result: no configure:11488: checking for /usr/bin/cc option to produce PIC configure:11496: result: -fPIC -DPIC configure:11504: checking if /usr/bin/cc PIC flag -fPIC -DPIC works configure:11523: /usr/bin/cc -c -fPIC -g -fPIC -DPIC -DPIC conftest.c >&5 configure:11527: $? = 0 configure:11540: result: yes configure:11569: checking if /usr/bin/cc static flag -static works configure:11598: result: yes configure:11613: checking if /usr/bin/cc supports -c -o file.o configure:11635: /usr/bin/cc -c -fPIC -g -o out/conftest2.o conftest.c >&5 configure:11639: $? = 0 configure:11661: result: yes configure:11669: checking if /usr/bin/cc supports -c -o file.o configure:11717: result: yes configure:11750: checking whether the /usr/bin/cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:13020: result: yes configure:13261: checking dynamic linker characteristics configure:13843: /usr/bin/cc -o conftest -fPIC -g -L/home/mpokorny/vcpkg/installed/x64-linux/debug/lib -Wl,-rpath -Wl,/foo conftest.c >&5 configure:13843: $? = 0 configure:14094: result: GNU/Linux ld.so configure:14216: checking how to hardcode library paths into programs configure:14241: result: immediate configure:14793: checking whether stripping libraries is possible configure:14798: result: yes configure:14833: checking if libtool supports shared libraries configure:14835: result: yes configure:14838: checking whether to build shared libraries configure:14863: result: no configure:14866: checking whether to build static libraries configure:14870: result: yes configure:15061: checking for sys/socket.h configure:15061: /usr/bin/cc -c -Wall -W -fPIC -g conftest.c >&5 configure:15061: $? = 0 configure:15061: result: yes configure:15067: checking for ws2tcpip.h configure:15067: /usr/bin/cc -c -Wall -W -fPIC -g conftest.c >&5 conftest.c:70:10: fatal error: ws2tcpip.h: No such file or directory 70 | #include | ^~~~~~~~~~~~ compilation terminated. configure:15067: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "cyrus-sasl" | #define PACKAGE_TARNAME "cyrus-sasl" | #define PACKAGE_VERSION "2.1.28" | #define PACKAGE_STRING "cyrus-sasl 2.1.28" | #define PACKAGE_BUGREPORT "https://github.com/cyrusimap/cyrus-sasl/issues" | #define PACKAGE_URL "https://www.cyrusimap.org" | #define PACKAGE "cyrus-sasl" | #define VERSION "2.1.28" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:15067: result: no configure:15074: checking for socket configure:15074: /usr/bin/cc -o conftest -Wall -W -fPIC -g -L/home/mpokorny/vcpkg/installed/x64-linux/debug/lib conftest.c >&5 configure:15074: $? = 0 configure:15074: result: yes configure:15158: checking for connect configure:15158: /usr/bin/cc -o conftest -Wall -W -fPIC -g -L/home/mpokorny/vcpkg/installed/x64-linux/debug/lib conftest.c >&5 configure:15158: $? = 0 configure:15158: result: yes configure:15247: checking for res_search configure:15247: /usr/bin/cc -o conftest -Wall -W -fPIC -g -L/home/mpokorny/vcpkg/installed/x64-linux/debug/lib conftest.c >&5 configure:15247: $? = 0 configure:15247: result: yes configure:15286: checking for dn_expand configure:15286: /usr/bin/cc -o conftest -Wall -W -fPIC -g -L/home/mpokorny/vcpkg/installed/x64-linux/debug/lib conftest.c >&5 configure:15286: $? = 0 configure:15286: result: yes configure:15292: checking for dns_lookup configure:15292: /usr/bin/cc -o conftest -Wall -W -fPIC -g -L/home/mpokorny/vcpkg/installed/x64-linux/debug/lib conftest.c >&5 /usr/bin/ld: /tmp/ccE4rTIV.o: in function `main': /home/mpokorny/vcpkg/buildtrees/cyrus-sasl/x64-linux-dbg/conftest.c:70: undefined reference to `dns_lookup' collect2: error: ld returned 1 exit status configure:15292: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "cyrus-sasl" | #define PACKAGE_TARNAME "cyrus-sasl" | #define PACKAGE_VERSION "2.1.28" | #define PACKAGE_STRING "cyrus-sasl 2.1.28" | #define PACKAGE_BUGREPORT "https://github.com/cyrusimap/cyrus-sasl/issues" | #define PACKAGE_URL "https://www.cyrusimap.org" | #define PACKAGE "cyrus-sasl" | #define VERSION "2.1.28" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_DN_EXPAND 1 | /* end confdefs.h. */ | /* Define dns_lookup to an innocuous variant, in case declares dns_lookup. | For example, HP-UX 11i declares gettimeofday. */ | #define dns_lookup innocuous_dns_lookup | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char dns_lookup (); below. */ | | #include | #undef dns_lookup | | /* 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 dns_lookup (); | /* 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_dns_lookup || defined __stub___dns_lookup | choke me | #endif | | int | main (void) | { | return dns_lookup (); | ; | return 0; | } configure:15292: result: no configure:15313: checking DB path to use configure:15315: result: /etc/sasldb2 ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_build_prog_CPP='/usr/bin/cc -E' ac_cv_build_prog_cc_g=yes ac_cv_c_compiler_gnu=yes ac_cv_env_CC_set=set ac_cv_env_CC_value=/usr/bin/cc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-fPIC -g' 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=-L/home/mpokorny/vcpkg/installed/x64-linux/debug/lib ac_cv_env_LIBCRYPTO_CFLAGS_set= ac_cv_env_LIBCRYPTO_CFLAGS_value= ac_cv_env_LIBCRYPTO_LIBS_set= ac_cv_env_LIBCRYPTO_LIBS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_LT_SYS_LIBRARY_PATH_set= ac_cv_env_LT_SYS_LIBRARY_PATH_value= ac_cv_env_MIT_KRB5_GSSAPI_CFLAGS_set= ac_cv_env_MIT_KRB5_GSSAPI_CFLAGS_value= ac_cv_env_MIT_KRB5_GSSAPI_LIBS_set= ac_cv_env_MIT_KRB5_GSSAPI_LIBS_value= ac_cv_env_PKG_CONFIG_LIBDIR_set= ac_cv_env_PKG_CONFIG_LIBDIR_value= ac_cv_env_PKG_CONFIG_PATH_set=set ac_cv_env_PKG_CONFIG_PATH_value=/home/mpokorny/vcpkg/packages/cyrus-sasl_x64-linux/debug/lib/pkgconfig:/home/mpokorny/vcpkg/packages/cyrus-sasl_x64-linux/share/pkgconfig:/home/mpokorny/vcpkg/installed/x64-linux/debug/lib/pkgconfig:/home/mpokorny/vcpkg/installed/x64-linux/share/pkgconfig ac_cv_env_PKG_CONFIG_set=set ac_cv_env_PKG_CONFIG_value=/bin/pkg-config ac_cv_env_SPHINX_BUILD_set= ac_cv_env_SPHINX_BUILD_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_connect=yes ac_cv_func_dn_expand=yes ac_cv_func_dns_lookup=no ac_cv_func_res_search=yes ac_cv_func_socket=yes ac_cv_header_dlfcn_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_minix_config_h=no ac_cv_header_stdint_h=yes ac_cv_header_stdio_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_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_unistd_h=yes ac_cv_header_wchar_h=yes ac_cv_header_ws2tcpip_h=no ac_cv_host=x86_64-pc-linux-gnu ac_cv_objext=o ac_cv_path_EGREP='/usr/bin/grep -E' ac_cv_path_FGREP='/usr/bin/grep -F' ac_cv_path_GREP=/usr/bin/grep ac_cv_path_SED=/usr/bin/sed ac_cv_path_install='/usr/bin/install -c' ac_cv_path_lt_DD=/usr/bin/dd ac_cv_path_mkdir=/usr/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_CPP='/usr/bin/cc -E' ac_cv_prog_ac_ct_CC=/usr/bin/cc ac_cv_prog_ac_ct_CC_FOR_BUILD=/usr/bin/cc ac_cv_prog_ac_ct_MANIFEST_TOOL=mt ac_cv_prog_ac_ct_OBJDUMP=/usr/bin/objdump ac_cv_prog_ac_ct_RANLIB=/usr/bin/ranlib ac_cv_prog_ac_ct_STRIP=/usr/bin/strip ac_cv_prog_cc_c11= ac_cv_prog_cc_g=yes ac_cv_prog_cc_stdc= ac_cv_prog_make_make_set=yes ac_cv_safe_to_define___extensions__=yes ac_cv_should_define__xopen_source=no ac_cv_target=x86_64-pc-linux-gnu am_cv_CC_dependencies_compiler_type=gcc3 am_cv_make_support_nested_variables=yes am_cv_prog_cc_c_o=yes am_cv_prog_tar_ustar=none andrew_cv_runpath_switch=-R lt_cv_ar_at_file=@ lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_nm_interface='BSD nm' lt_cv_objdir=.libs lt_cv_path_LD=/usr/bin/ld lt_cv_path_NM=/usr/bin/nm lt_cv_path_mainfest_tool=no lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_pic='-fPIC -DPIC' lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_compiler_static_works=yes lt_cv_prog_gnu_ld=yes lt_cv_sharedlib_from_linklib_cmd='printf %s\n' lt_cv_shlibpath_overrides_runpath=yes lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_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/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\''' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/ {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"lib\1", (void *) \&\1},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' lt_cv_sys_global_symbol_to_import= lt_cv_sys_max_cmd_len=1572864 lt_cv_to_host_file_cmd=func_convert_file_noop lt_cv_to_tool_file_cmd=func_convert_file_noop lt_cv_truncate_bin='/usr/bin/dd bs=4096 count=1' ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} '\''/home/mpokorny/vcpkg/buildtrees/cyrus-sasl/src/rus-sasl-2-ded79ef720.clean/config/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='/usr/bin/ar' AUTH_SASLDB_FALSE='' AUTH_SASLDB_TRUE='' AUTOCONF='${SHELL} '\''/home/mpokorny/vcpkg/buildtrees/cyrus-sasl/src/rus-sasl-2-ded79ef720.clean/config/missing'\'' autoconf' AUTOHEADER='${SHELL} '\''/home/mpokorny/vcpkg/buildtrees/cyrus-sasl/src/rus-sasl-2-ded79ef720.clean/config/missing'\'' autoheader' AUTOMAKE='${SHELL} '\''/home/mpokorny/vcpkg/buildtrees/cyrus-sasl/src/rus-sasl-2-ded79ef720.clean/config/missing'\'' automake-1.16' AWK='gawk' BUILD_EXEEXT='' BUILD_LIBOBJ_FALSE='' BUILD_LIBOBJ_TRUE='' BUILD_OBJEXT='' CC='/usr/bin/cc' CCDEPMODE='depmode=gcc3' CC_FOR_BUILD='/usr/bin/cc' CFLAGS='-Wall -W -fPIC -g' CFLAGS_FOR_BUILD='-fPIC -g' CMU_LIB_SUBDIR='' CPP='/usr/bin/cc -E' CPPFLAGS='' CPPFLAGS_FOR_BUILD='' CPP_FOR_BUILD='/usr/bin/cc -E' CSCOPE='cscope' CTAGS='ctags' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' DIRS='' DLLTOOL='false' DMALLOC_LIBS='' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/usr/bin/grep -E' ETAGS='etags' EXEEXT='' FGREP='/usr/bin/grep -F' GETADDRINFOOBJS='' GETNAMEINFOOBJS='' GETSUBOPT='' GREP='/usr/bin/grep' GSSAPIBASE_LIBS='' HAVE_SPHINX_BUILD_FALSE='' HAVE_SPHINX_BUILD_TRUE='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' IPCTYPE='' LD='/usr/bin/ld -m elf_x86_64' LDAP_LIBS='' LDFLAGS='-L/home/mpokorny/vcpkg/installed/x64-linux/debug/lib' LDFLAGS_FOR_BUILD='-L/home/mpokorny/vcpkg/installed/x64-linux/debug/lib' LIBCRYPTO_CFLAGS='' LIBCRYPTO_LIBS='' LIBOBJS='' LIBS='' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIB_CRYPT='' LIB_DES='' LIB_DOOR='' LIB_LDAP='' LIB_MYSQL='' LIB_PAM='' LIB_PGSQL='' LIB_SIA='' LIB_SOCKET='' LIB_SQLITE3='' LIB_SQLITE='' LIPO='' LN_S='ln -s' LTGETADDRINFOOBJS='' LTGETNAMEINFOOBJS='' LTLIBOBJS='' LTSNPRINTFOBJS='' LT_SYS_LIBRARY_PATH='' MACOSX_FALSE='' MACOSX_TRUE='' MAKEINFO='${SHELL} '\''/home/mpokorny/vcpkg/buildtrees/cyrus-sasl/src/rus-sasl-2-ded79ef720.clean/config/missing'\'' makeinfo' MANIFEST_TOOL=':' MIT_KRB5_GSSAPI_CFLAGS='' MIT_KRB5_GSSAPI_LIBS='' MKDIR_P='/usr/bin/mkdir -p' NM='/usr/bin/nm' NMEDIT='' NO_SASL_DB_MANS_FALSE='' NO_SASL_DB_MANS_TRUE='' NTLM_LIBS='' OBJDUMP='/usr/bin/objdump' OBJEXT='o' OTOOL64='' OTOOL='' OTP_LIBS='' PACKAGE='cyrus-sasl' PACKAGE_BUGREPORT='https://github.com/cyrusimap/cyrus-sasl/issues' PACKAGE_NAME='cyrus-sasl' PACKAGE_STRING='cyrus-sasl 2.1.28' PACKAGE_TARNAME='cyrus-sasl' PACKAGE_URL='https://www.cyrusimap.org' PACKAGE_VERSION='2.1.28' PASSDSS_LIBS='' PATH_SEPARATOR=':' PERL='' PKG_CONFIG='/bin/pkg-config' PKG_CONFIG_LIBDIR='' PKG_CONFIG_PATH='/home/mpokorny/vcpkg/packages/cyrus-sasl_x64-linux/debug/lib/pkgconfig:/home/mpokorny/vcpkg/packages/cyrus-sasl_x64-linux/share/pkgconfig:/home/mpokorny/vcpkg/installed/x64-linux/debug/lib/pkgconfig:/home/mpokorny/vcpkg/installed/x64-linux/share/pkgconfig' PLAIN_LIBS='' PURECOV='' PURIFY='' PWCHECKMETH='' PWCHECK_FALSE='' PWCHECK_TRUE='' RANLIB='/usr/bin/ranlib' SAMPLE_FALSE='' SAMPLE_TRUE='#' SASLAUTHD_FALSE='' SASLAUTHD_TRUE='' SASL_DB_BACKEND='' SASL_DB_BACKEND_STATIC='' SASL_DB_INC='' SASL_DB_LIB='' SASL_DB_MANS='' SASL_DB_UTILS='' SASL_DL_LIB='' SASL_KRB_LIB='' SASL_MECHS='' SASL_STATIC_LIB='libsasl2.a' SASL_STATIC_LIBS='' SASL_STATIC_OBJS='' SASL_STATIC_SRCS='' SASL_UTIL_HEADERS_EXTRA='' SASL_UTIL_LIBS_EXTRA='' SCRAM_LIBS='' SED='/usr/bin/sed' SET_MAKE='' SFIO_INC_FLAGS='' SFIO_LIB_FLAGS='' SHELL='/bin/bash' SMTPTEST_PROGRAM='' SNPRINTFOBJS='' SPHINX_BUILD='' SRP_LIBS='' STRIP='/usr/bin/strip' VERSION='2.1.28' WINDOWS_FALSE='' WINDOWS_TRUE='' ac_ct_AR='' ac_ct_CC='/usr/bin/cc' ac_ct_CC_FOR_BUILD='/usr/bin/cc' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__include='include' am__isrc=' -I$(srcdir)' am__leading_dot='.' am__nodep='_no' am__quote='' am__tar='false' am__untar='false' bindir='${prefix}/../tools/cyrus-sasl/debug/bin' build='x86_64-pc-linux-gnu' build_alias='' build_cpu='x86_64' build_os='linux-gnu' build_vendor='pc' configdir='' datadir='${datarootdir}' datarootdir='${prefix}/share/cyrus-sasl' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host='x86_64-pc-linux-gnu' host_alias='' host_cpu='x86_64' host_os='linux-gnu' host_vendor='pc' htmldir='${docdir}' includedir='${prefix}/../include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/mpokorny/vcpkg/buildtrees/cyrus-sasl/src/rus-sasl-2-ded79ef720.clean/config/install-sh' libdir='${prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' plugindir='' prefix='/home/mpokorny/vcpkg/installed/x64-linux/debug' program_transform_name='s,x,x,' psdir='${docdir}' runstatedir='${localstatedir}/run' sbindir='${prefix}/../tools/cyrus-sasl/debug/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target='x86_64-pc-linux-gnu' target_alias='' target_cpu='x86_64' target_os='linux-gnu' target_vendor='pc' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "cyrus-sasl" #define PACKAGE_TARNAME "cyrus-sasl" #define PACKAGE_VERSION "2.1.28" #define PACKAGE_STRING "cyrus-sasl 2.1.28" #define PACKAGE_BUGREPORT "https://github.com/cyrusimap/cyrus-sasl/issues" #define PACKAGE_URL "https://www.cyrusimap.org" #define PACKAGE "cyrus-sasl" #define VERSION "2.1.28" #define HAVE_STDIO_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_STRINGS_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_UNISTD_H 1 #define HAVE_WCHAR_H 1 #define HAVE_SYS_TIME_H 1 #define STDC_HEADERS 1 #define _ALL_SOURCE 1 #define _DARWIN_C_SOURCE 1 #define _GNU_SOURCE 1 #define _HPUX_ALT_XOPEN_SOCKET_API 1 #define _NETBSD_SOURCE 1 #define _OPENBSD_SOURCE 1 #define _POSIX_PTHREAD_SEMANTICS 1 #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 #define __STDC_WANT_LIB_EXT2__ 1 #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 #define _TANDEM_SOURCE 1 #define __EXTENSIONS__ 1 #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define HAVE_SYS_SOCKET_H 1 #define HAVE_DN_EXPAND 1 #define SASL_DB_PATH "/etc/sasldb2" configure: exit 2 ```
jimwang118 commented 2 months ago

Sorry, i cannot reproduce this issue locally. image

marekp0 commented 2 months ago

@jimwang118 I was able to reproduce this in docker:

FROM ubuntu:22.04

# dependencies from apt
RUN apt-get update -y
RUN apt-get upgrade -y
RUN apt-get install -y curl zip unzip git build-essential autoconf libtool cmake pkg-config bison flex

# install vcpkg
WORKDIR /
RUN git clone https://github.com/microsoft/vcpkg.git
ENV VCPKG_ROOT=/vcpkg
WORKDIR /vcpkg
RUN ./bootstrap-vcpkg.sh

# install cyrus-sasl
RUN ./vcpkg install cyrus-sasl
marekp0 commented 2 months ago

Fixed it by installing the autoconf-archive package from apt.

The syntax error in the configure script was seemingly being caused by the line AX_PTHREAD(), right before the line that config-x64-linux-dbg-err.log was complaining about. Kind of a cryptic error message, but it's really more autoconf's fault than vcpkg's fault.

marekp0 commented 2 months ago

Closing as resolved by installing the missing dependency autoconf-archive. While it would be nice if the port could detect this missing dependency, it's not a huge deal for me.