Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[libspatialite] libxml2 missing but installed on CentOS7 #33082

Closed
nilsnolde opened this issue Aug 9, 2023 · 10 comments
Closed

[libspatialite] libxml2 missing but installed on CentOS7 #33082

nilsnolde opened this issue Aug 9, 2023 · 10 comments
Assignees
Labels
requires:repro The issue is not currently repro-able

Comments

@nilsnolde
Copy link

nilsnolde commented Aug 9, 2023

Package: libspatialite[core,freexl,geocallbacks]:x64-linux -> 5.0.1#12

Host Environment

  • Host: x64-linux
  • Compiler: GNU 10.2.1
  • vcpkg-tool version: 2023-08-02-6d13efa755f9b5e101712d210199e4139b4c29f6
    vcpkg-scripts version: 247662e 2023-08-08 (21 hours ago)

To Reproduce

docker pull quay.io/pypa/manylinux2014_x86_64
docker run -dt --name manylinux2014 quay.io/pypa/manylinux2014_x86_64:latest
docker exec -it manylinux2014 bash

# inside the container
git clone https://github.com/microsoft/vcpkg --single-branch --branch master
git checkout 247662ef304453c72acd6b520fa7ff7656e7347c
cd vcpkg
./bootstrap-vcpkg.sh
echo "VCPKG_BUILD_TYPE release" >> triplets/x64-linux.cmake
export PATH=$PATH:/opt/_internal/cpython-3.11.4/bin

./vcpkg install libspatialite

Failure logs

-- Using cached libspatialite-5.0.1.tar.gz.
-- Cleaning sources at /builds/vcpkg/buildtrees/libspatialite/src/atialite-5-bc39e08d26.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /builds/vcpkg/downloads/libspatialite-5.0.1.tar.gz
-- Applying patch fix-makefiles.patch
-- Applying patch fix-linux-configure.patch
-- Applying patch gaiaconfig-msvc.patch
-- Applying patch fix-mingw.patch
-- Using source at /builds/vcpkg/buildtrees/libspatialite/src/atialite-5-bc39e08d26.clean
-- Getting CMake variables for x64-linux-rel
-- Generating configure for x64-linux
-- Finished generating configure for x64-linux
-- Configuring x64-linux-rel
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
    Command failed: /usr/bin/bash -c "V=1 ./../src/atialite-5-bc39e08d26.clean/configure  \"--enable-freexl\" \"--disable-gcp\" \"--enable-geocallbacks\" \"--disable-rttopo\" \"--disable-examples\" \"--disable-minizip\" \"--disable-silent-rules\" \"--verbose\" \"--disable-shared\" \"--enable-static\" \"LIBS=-L/builds/vcpkg/installed/x64-linux/lib/pkgconfig/../../lib -lgeos_c -lgeos -lxml2 -lproj -lstdc++ -ltiff -ljpeg -llzma -lcurl -lssl -lcrypto -lpthread -lsqlite3 -pthread -ldl -lz -lfreexl -lm $LIBS\" \"--prefix=/builds/vcpkg/installed/x64-linux\" \"--bindir=\\${prefix}/tools/libspatialite/bin\" \"--sbindir=\\${prefix}/tools/libspatialite/sbin\" \"--libdir=\\${prefix}/lib\" \"--mandir=\\${prefix}/share/libspatialite\" \"--docdir=\\${prefix}/share/libspatialite\" \"--datarootdir=\\${prefix}/share/libspatialite\""
    Working Directory: /builds/vcpkg/buildtrees/libspatialite/x64-linux-rel
    Error code: 2
    See logs for more information:
      /builds/vcpkg/buildtrees/libspatialite/config-x64-linux-rel-config.log
      /builds/vcpkg/buildtrees/libspatialite/config-x64-linux-rel-out.log
      /builds/vcpkg/buildtrees/libspatialite/config-x64-linux-rel-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_make.cmake:838 (vcpkg_execute_required_process)
  ports/libspatialite/portfile.cmake:180 (vcpkg_configure_make)
  scripts/ports.cmake:147 (include)



/builds/vcpkg/buildtrees/libspatialite/config-x64-linux-rel-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 libspatialite configure 5.0.1, which was
generated by GNU Autoconf 2.71.  Invocation command line was

  $ ./../src/atialite-5-bc39e08d26.clean/configure --enable-freexl --disable-gcp --enable-geocallbacks --disable-rttopo --disable-examples --disable-minizip --disable-silent-rules --verbose --disable-shared --enable-static 'LIBS=-L/builds/vcpkg/installed/x64-linux/lib/pkgconfig/../../lib -lgeos_c -lgeos -lxml2 -lproj -lstdc++ -ltiff -ljpeg -llzma -lcurl -lssl -lcrypto -lpthread -lsqlite3 -pthread -ldl -lz -lfreexl -lm ' --prefix=/builds/vcpkg/installed/x64-linux '--bindir=${prefix}/tools/libspatialite/bin' '--sbindir=${prefix}/tools/libspatialite/sbin' '--libdir=${prefix}/lib' '--mandir=${prefix}/share/libspatialite' '--docdir=${prefix}/share/libspatialite' '--datarootdir=${prefix}/share/libspatialite'

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

hostname = b9d4f088ad08
uname -m = x86_64
uname -r = 6.1.41-1-MANJARO
uname -s = Linux
uname -v = #1 SMP PREEMPT_DYNAMIC Tue Jul 25 09:17:30 UTC 2023

/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: /opt/rh/devtoolset-10/root/usr/bin/
PATH: /usr/local/sbin/
PATH: /usr/local/bin/
PATH: /usr/sbin/
PATH: /usr/bin/
PATH: /sbin/
PATH: /bin/
PATH: /opt/_internal/cpython-3.11.4/bin/
PATH: /builds/vcpkg/downloads/tools/ninja/1.10.2-linux/
PATH: /bin/


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

configure:2973: looking for aux files: ltmain.sh config.guess config.sub compile missing install-sh
configure:2986:  trying ./../src/atialite-5-bc39e08d26.clean/
configure:3015:   ./../src/atialite-5-bc39e08d26.clean/ltmain.sh found
configure:3015:   ./../src/atialite-5-bc39e08d26.clean/config.guess found
configure:3015:   ./../src/atialite-5-bc39e08d26.clean/config.sub found
configure:3015:   ./../src/atialite-5-bc39e08d26.clean/compile found
configure:3015:   ./../src/atialite-5-bc39e08d26.clean/missing found
configure:2997:   ./../src/atialite-5-bc39e08d26.clean/install-sh found
configure:3152: checking for a BSD-compatible install
configure:3225: result: /usr/bin/install -c
configure:3236: checking whether build environment is sane
configure:3291: result: yes
configure:3450: checking for a race-free mkdir -p
configure:3494: result: /usr/bin/mkdir -p
configure:3501: checking for gawk
configure:3522: found /usr/bin/gawk
configure:3533: result: gawk
configure:3544: checking whether make sets $(MAKE)
configure:3567: result: yes
configure:3597: checking whether make supports nested variables
configure:3615: result: yes
configure:3747: checking whether to enable maintainer-specific portions of Makefiles
configure:3757: result: no
...
Skipped 481 lines
...

      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:15359: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libspatialite"
| #define PACKAGE_TARNAME "libspatialite"
| #define PACKAGE_VERSION "5.0.1"
| #define PACKAGE_STRING "libspatialite 5.0.1"
| #define PACKAGE_BUGREPORT "a.furieri@lqt.it"
| #define PACKAGE_URL ""
| #define _LARGE_FILE 1
| #define _FILE_OFFSET_BITS 64
| #define _LARGEFILE_SOURCE 1
| #define NDEBUG 1
| #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_SYS_TIME_H 1
| #define STDC_HEADERS 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_MATH_H 1
| #define HAVE_FLOAT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SQLITE3_H 1
| #define HAVE_SQLITE3EXT_H 1
| #define HAVE_ZLIB_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:15386: result: /opt/rh/devtoolset-10/root/usr/bin/c++ -E
configure:15400: /opt/rh/devtoolset-10/root/usr/bin/c++ -E -DNDEBUG conftest.cpp
configure:15400: $? = 0
configure:15415: /opt/rh/devtoolset-10/root/usr/bin/c++ -E -DNDEBUG conftest.cpp
conftest.cpp:41:10: fatal error: ac_nonexistent.h: No such file or directory
   41 | #include <ac_nonexistent.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:15415: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libspatialite"
| #define PACKAGE_TARNAME "libspatialite"
| #define PACKAGE_VERSION "5.0.1"
| #define PACKAGE_STRING "libspatialite 5.0.1"
| #define PACKAGE_BUGREPORT "a.furieri@lqt.it"
| #define PACKAGE_URL ""
| #define _LARGE_FILE 1
| #define _FILE_OFFSET_BITS 64
| #define _LARGEFILE_SOURCE 1
| #define NDEBUG 1
| #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_SYS_TIME_H 1
| #define STDC_HEADERS 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_MATH_H 1
| #define HAVE_FLOAT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SQLITE3_H 1
| #define HAVE_SQLITE3EXT_H 1
| #define HAVE_ZLIB_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:15580: checking for ld used by /opt/rh/devtoolset-10/root/usr/bin/c++
configure:15648: result: /opt/rh/devtoolset-10/root/usr/bin/ld -m elf_x86_64
configure:15655: checking if the linker (/opt/rh/devtoolset-10/root/usr/bin/ld -m elf_x86_64) is GNU ld
configure:15671: result: yes
configure:15726: checking whether the /opt/rh/devtoolset-10/root/usr/bin/c++ linker (/opt/rh/devtoolset-10/root/usr/bin/ld -m elf_x86_64) supports shared libraries
configure:16804: result: yes
configure:16840: /opt/rh/devtoolset-10/root/usr/bin/c++ -c -fPIC -O3 -DNDEBUG conftest.cpp >&5
configure:16843: $? = 0
configure:17324: checking for /opt/rh/devtoolset-10/root/usr/bin/c++ option to produce PIC
configure:17332: result: -fPIC -DPIC
configure:17340: checking if /opt/rh/devtoolset-10/root/usr/bin/c++ PIC flag -fPIC -DPIC works
configure:17359: /opt/rh/devtoolset-10/root/usr/bin/c++ -c -fPIC -O3 -DNDEBUG -fPIC -DPIC -DPIC conftest.cpp >&5
configure:17363: $? = 0
configure:17376: result: yes
configure:17399: checking if /opt/rh/devtoolset-10/root/usr/bin/c++ static flag -static works
configure:17428: result: no
configure:17440: checking if /opt/rh/devtoolset-10/root/usr/bin/c++ supports -c -o file.o
configure:17462: /opt/rh/devtoolset-10/root/usr/bin/c++ -c -fPIC -O3 -DNDEBUG -o out/conftest2.o conftest.cpp >&5
configure:17466: $? = 0
configure:17488: result: yes
configure:17493: checking if /opt/rh/devtoolset-10/root/usr/bin/c++ supports -c -o file.o
configure:17541: result: yes
configure:17571: checking whether the /opt/rh/devtoolset-10/root/usr/bin/c++ linker (/opt/rh/devtoolset-10/root/usr/bin/ld -m elf_x86_64) supports shared libraries
configure:17611: result: yes
configure:17753: checking dynamic linker characteristics
configure:18501: result: GNU/Linux ld.so
configure:18566: checking how to hardcode library paths into programs
configure:18591: result: immediate
configure:18654: checking for an ANSI C-conforming const
configure:18721: /opt/rh/devtoolset-10/root/usr/bin/cc -c -fPIC -O3 -DNDEBUG conftest.c >&5
configure:18721: $? = 0
configure:18729: result: yes
configure:18737: checking for off_t
configure:18737: /opt/rh/devtoolset-10/root/usr/bin/cc -c -fPIC -O3 -DNDEBUG conftest.c >&5
configure:18737: $? = 0
configure:18737: /opt/rh/devtoolset-10/root/usr/bin/cc -c -fPIC -O3 -DNDEBUG conftest.c >&5
conftest.c: In function 'main':
conftest.c:72:20: error: expected expression before ')' token
   72 | if (sizeof ((off_t)))
      |                    ^
configure:18737: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libspatialite"
| #define PACKAGE_TARNAME "libspatialite"
| #define PACKAGE_VERSION "5.0.1"
| #define PACKAGE_STRING "libspatialite 5.0.1"
| #define PACKAGE_BUGREPORT "a.furieri@lqt.it"
| #define PACKAGE_URL ""
| #define _LARGE_FILE 1
| #define _FILE_OFFSET_BITS 64
| #define _LARGEFILE_SOURCE 1
| #define NDEBUG 1
| #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_SYS_TIME_H 1
| #define STDC_HEADERS 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_MATH_H 1
| #define HAVE_FLOAT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SQLITE3_H 1
| #define HAVE_SQLITE3EXT_H 1
| #define HAVE_ZLIB_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main (void)
| {
| if (sizeof ((off_t)))
| 	    return 0;
|   ;
|   return 0;
| }
configure:18737: result: yes
configure:18747: checking for size_t
configure:18747: /opt/rh/devtoolset-10/root/usr/bin/cc -c -fPIC -O3 -DNDEBUG conftest.c >&5
configure:18747: $? = 0
configure:18747: /opt/rh/devtoolset-10/root/usr/bin/cc -c -fPIC -O3 -DNDEBUG conftest.c >&5
conftest.c: In function 'main':
conftest.c:72:21: error: expected expression before ')' token
   72 | if (sizeof ((size_t)))
      |                     ^
configure:18747: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libspatialite"
| #define PACKAGE_TARNAME "libspatialite"
| #define PACKAGE_VERSION "5.0.1"
| #define PACKAGE_STRING "libspatialite 5.0.1"
| #define PACKAGE_BUGREPORT "a.furieri@lqt.it"
| #define PACKAGE_URL ""
| #define _LARGE_FILE 1
| #define _FILE_OFFSET_BITS 64
| #define _LARGEFILE_SOURCE 1
| #define NDEBUG 1
| #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_SYS_TIME_H 1
| #define STDC_HEADERS 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_MATH_H 1
| #define HAVE_FLOAT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SQLITE3_H 1
| #define HAVE_SQLITE3EXT_H 1
| #define HAVE_ZLIB_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main (void)
| {
| if (sizeof ((size_t)))
| 	    return 0;
|   ;
|   return 0;
| }
configure:18747: result: yes
configure:18767: checking whether struct tm is in sys/time.h or time.h
configure:18788: /opt/rh/devtoolset-10/root/usr/bin/cc -c -fPIC -O3 -DNDEBUG conftest.c >&5
configure:18788: $? = 0
configure:18796: result: time.h
configure:18804: checking for working volatile
configure:18824: /opt/rh/devtoolset-10/root/usr/bin/cc -c -fPIC -O3 -DNDEBUG conftest.c >&5
configure:18824: $? = 0
configure:18832: result: yes
configure:18842: checking whether lstat correctly handles trailing slash
configure:18875: /opt/rh/devtoolset-10/root/usr/bin/cc -o conftest -fPIC -O3 -DNDEBUG -L/builds/vcpkg/installed/x64-linux/lib conftest.c -L/builds/vcpkg/installed/x64-linux/lib/pkgconfig/../../lib -lgeos_c -lgeos -lxml2 -lproj -lstdc++ -ltiff -ljpeg -llzma -lcurl -lssl -lcrypto -lpthread -lsqlite3 -pthread -ldl -lz -lfreexl -lm  >&5
configure:18875: $? = 0
configure:18875: ./conftest
configure:18875: $? = 0
configure:18893: result: yes
configure:18910: checking whether lstat accepts an empty string
configure:18932: /opt/rh/devtoolset-10/root/usr/bin/cc -o conftest -fPIC -O3 -DNDEBUG -L/builds/vcpkg/installed/x64-linux/lib conftest.c -L/builds/vcpkg/installed/x64-linux/lib/pkgconfig/../../lib -lgeos_c -lgeos -lxml2 -lproj -lstdc++ -ltiff -ljpeg -llzma -lcurl -lssl -lcrypto -lpthread -lsqlite3 -pthread -ldl -lz -lfreexl -lm  >&5
configure:18932: $? = 0
configure:18932: ./conftest
configure:18932: $? = 0
configure:18943: result: no
configure:18957: checking whether lstat correctly handles trailing slash
configure:19008: result: yes
configure:19025: checking for working memcmp
configure:19070: /opt/rh/devtoolset-10/root/usr/bin/cc -o conftest -fPIC -O3 -DNDEBUG -L/builds/vcpkg/installed/x64-linux/lib conftest.c -L/builds/vcpkg/installed/x64-linux/lib/pkgconfig/../../lib -lgeos_c -lgeos -lxml2 -lproj -lstdc++ -ltiff -ljpeg -llzma -lcurl -lssl -lcrypto -lpthread -lsqlite3 -pthread -ldl -lz -lfreexl -lm  >&5
configure:19070: $? = 0
configure:19070: ./conftest
configure:19070: $? = 0
configure:19081: result: yes
configure:19090: checking whether stat accepts an empty string
configure:19112: /opt/rh/devtoolset-10/root/usr/bin/cc -o conftest -fPIC -O3 -DNDEBUG -L/builds/vcpkg/installed/x64-linux/lib conftest.c -L/builds/vcpkg/installed/x64-linux/lib/pkgconfig/../../lib -lgeos_c -lgeos -lxml2 -lproj -lstdc++ -ltiff -ljpeg -llzma -lcurl -lssl -lcrypto -lpthread -lsqlite3 -pthread -ldl -lz -lfreexl -lm  >&5
configure:19112: $? = 0
configure:19112: ./conftest
configure:19112: $? = 0
configure:19123: result: no
configure:19140: checking for strftime
configure:19140: /opt/rh/devtoolset-10/root/usr/bin/cc -o conftest -fPIC -O3 -DNDEBUG -L/builds/vcpkg/installed/x64-linux/lib conftest.c -L/builds/vcpkg/installed/x64-linux/lib/pkgconfig/../../lib -lgeos_c -lgeos -lxml2 -lproj -lstdc++ -ltiff -ljpeg -llzma -lcurl -lssl -lcrypto -lpthread -lsqlite3 -pthread -ldl -lz -lfreexl -lm  >&5
conftest.c:60:6: warning: conflicting types for built-in function 'strftime'; expected 'long unsigned int(char *, long unsigned int,  const char *, const void *)' [-Wbuiltin-declaration-mismatch]
   60 | char strftime ();
      |      ^~~~~~~~
conftest.c:52:1: note: 'strftime' is declared in header '<time.h>'
   51 | #include <limits.h>
   52 | #undef strftime
configure:19140: $? = 0
configure:19140: result: yes
configure:19192: checking for memset
configure:19192: /opt/rh/devtoolset-10/root/usr/bin/cc -o conftest -fPIC -O3 -DNDEBUG -L/builds/vcpkg/installed/x64-linux/lib conftest.c -L/builds/vcpkg/installed/x64-linux/lib/pkgconfig/../../lib -lgeos_c -lgeos -lxml2 -lproj -lstdc++ -ltiff -ljpeg -llzma -lcurl -lssl -lcrypto -lpthread -lsqlite3 -pthread -ldl -lz -lfreexl -lm  >&5
conftest.c:61:6: warning: conflicting types for built-in function 'memset'; expected 'void *(void *, int,  long unsigned int)' [-Wbuiltin-declaration-mismatch]
   61 | char memset ();
      |      ^~~~~~
conftest.c:53:1: note: 'memset' is declared in header '<string.h>'
   52 | #include <limits.h>
   53 | #undef memset
configure:19192: $? = 0
configure:19192: result: yes
configure:19198: checking for sqrt
configure:19198: /opt/rh/devtoolset-10/root/usr/bin/cc -o conftest -fPIC -O3 -DNDEBUG -L/builds/vcpkg/installed/x64-linux/lib conftest.c -L/builds/vcpkg/installed/x64-linux/lib/pkgconfig/../../lib -lgeos_c -lgeos -lxml2 -lproj -lstdc++ -ltiff -ljpeg -llzma -lcurl -lssl -lcrypto -lpthread -lsqlite3 -pthread -ldl -lz -lfreexl -lm  >&5
conftest.c:62:6: warning: conflicting types for built-in function 'sqrt'; expected 'double(double)' [-Wbuiltin-declaration-mismatch]
   62 | char sqrt ();
      |      ^~~~
conftest.c:54:1: note: 'sqrt' is declared in header '<math.h>'
   53 | #include <limits.h>
   54 | #undef sqrt
configure:19198: $? = 0
configure:19198: result: yes
configure:19204: checking for strcasecmp
configure:19204: /opt/rh/devtoolset-10/root/usr/bin/cc -o conftest -fPIC -O3 -DNDEBUG -L/builds/vcpkg/installed/x64-linux/lib conftest.c -L/builds/vcpkg/installed/x64-linux/lib/pkgconfig/../../lib -lgeos_c -lgeos -lxml2 -lproj -lstdc++ -ltiff -ljpeg -llzma -lcurl -lssl -lcrypto -lpthread -lsqlite3 -pthread -ldl -lz -lfreexl -lm  >&5
conftest.c:63:6: warning: conflicting types for built-in function 'strcasecmp'; expected 'int(const char *, const char *)' [-Wbuiltin-declaration-mismatch]
   63 | char strcasecmp ();
      |      ^~~~~~~~~~
configure:19204: $? = 0
configure:19204: result: yes
configure:19210: checking for strerror
configure:19210: /opt/rh/devtoolset-10/root/usr/bin/cc -o conftest -fPIC -O3 -DNDEBUG -L/builds/vcpkg/installed/x64-linux/lib conftest.c -L/builds/vcpkg/installed/x64-linux/lib/pkgconfig/../../lib -lgeos_c -lgeos -lxml2 -lproj -lstdc++ -ltiff -ljpeg -llzma -lcurl -lssl -lcrypto -lpthread -lsqlite3 -pthread -ldl -lz -lfreexl -lm  >&5
configure:19210: $? = 0
configure:19210: result: yes
configure:19216: checking for strncasecmp
configure:19216: /opt/rh/devtoolset-10/root/usr/bin/cc -o conftest -fPIC -O3 -DNDEBUG -L/builds/vcpkg/installed/x64-linux/lib conftest.c -L/builds/vcpkg/installed/x64-linux/lib/pkgconfig/../../lib -lgeos_c -lgeos -lxml2 -lproj -lstdc++ -ltiff -ljpeg -llzma -lcurl -lssl -lcrypto -lpthread -lsqlite3 -pthread -ldl -lz -lfreexl -lm  >&5
conftest.c:65:6: warning: conflicting types for built-in function 'strncasecmp'; expected 'int(const char *, const char *, long unsigned int)' [-Wbuiltin-declaration-mismatch]
   65 | char strncasecmp ();
      |      ^~~~~~~~~~~
configure:19216: $? = 0
configure:19216: result: yes
configure:19222: checking for strstr
configure:19222: /opt/rh/devtoolset-10/root/usr/bin/cc -o conftest -fPIC -O3 -DNDEBUG -L/builds/vcpkg/installed/x64-linux/lib conftest.c -L/builds/vcpkg/installed/x64-linux/lib/pkgconfig/../../lib -lgeos_c -lgeos -lxml2 -lproj -lstdc++ -ltiff -ljpeg -llzma -lcurl -lssl -lcrypto -lpthread -lsqlite3 -pthread -ldl -lz -lfreexl -lm  >&5
conftest.c:66:6: warning: conflicting types for built-in function 'strstr'; expected 'char *(const char *, const char *)' [-Wbuiltin-declaration-mismatch]
   66 | char strstr ();
      |      ^~~~~~
conftest.c:58:1: note: 'strstr' is declared in header '<string.h>'
   57 | #include <limits.h>
   58 | #undef strstr
configure:19222: $? = 0
configure:19222: result: yes
configure:19228: checking for fdatasync
configure:19228: /opt/rh/devtoolset-10/root/usr/bin/cc -o conftest -fPIC -O3 -DNDEBUG -L/builds/vcpkg/installed/x64-linux/lib conftest.c -L/builds/vcpkg/installed/x64-linux/lib/pkgconfig/../../lib -lgeos_c -lgeos -lxml2 -lproj -lstdc++ -ltiff -ljpeg -llzma -lcurl -lssl -lcrypto -lpthread -lsqlite3 -pthread -ldl -lz -lfreexl -lm  >&5
configure:19228: $? = 0
configure:19228: result: yes
configure:19234: checking for ftruncate
configure:19234: /opt/rh/devtoolset-10/root/usr/bin/cc -o conftest -fPIC -O3 -DNDEBUG -L/builds/vcpkg/installed/x64-linux/lib conftest.c -L/builds/vcpkg/installed/x64-linux/lib/pkgconfig/../../lib -lgeos_c -lgeos -lxml2 -lproj -lstdc++ -ltiff -ljpeg -llzma -lcurl -lssl -lcrypto -lpthread -lsqlite3 -pthread -ldl -lz -lfreexl -lm  >&5
configure:19234: $? = 0
configure:19234: result: yes
configure:19240: checking for getcwd
configure:19240: /opt/rh/devtoolset-10/root/usr/bin/cc -o conftest -fPIC -O3 -DNDEBUG -L/builds/vcpkg/installed/x64-linux/lib conftest.c -L/builds/vcpkg/installed/x64-linux/lib/pkgconfig/../../lib -lgeos_c -lgeos -lxml2 -lproj -lstdc++ -ltiff -ljpeg -llzma -lcurl -lssl -lcrypto -lpthread -lsqlite3 -pthread -ldl -lz -lfreexl -lm  >&5
configure:19240: $? = 0
configure:19240: result: yes
configure:19246: checking for gettimeofday
configure:19246: /opt/rh/devtoolset-10/root/usr/bin/cc -o conftest -fPIC -O3 -DNDEBUG -L/builds/vcpkg/installed/x64-linux/lib conftest.c -L/builds/vcpkg/installed/x64-linux/lib/pkgconfig/../../lib -lgeos_c -lgeos -lxml2 -lproj -lstdc++ -ltiff -ljpeg -llzma -lcurl -lssl -lcrypto -lpthread -lsqlite3 -pthread -ldl -lz -lfreexl -lm  >&5
configure:19246: $? = 0
configure:19246: result: yes
configure:19252: checking for localtime_r
configure:19252: /opt/rh/devtoolset-10/root/usr/bin/cc -o conftest -fPIC -O3 -DNDEBUG -L/builds/vcpkg/installed/x64-linux/lib conftest.c -L/builds/vcpkg/installed/x64-linux/lib/pkgconfig/../../lib -lgeos_c -lgeos -lxml2 -lproj -lstdc++ -ltiff -ljpeg -llzma -lcurl -lssl -lcrypto -lpthread -lsqlite3 -pthread -ldl -lz -lfreexl -lm  >&5
configure:19252: $? = 0
configure:19252: result: yes
configure:19258: checking for memmove
configure:19258: /opt/rh/devtoolset-10/root/usr/bin/cc -o conftest -fPIC -O3 -DNDEBUG -L/builds/vcpkg/installed/x64-linux/lib conftest.c -L/builds/vcpkg/installed/x64-linux/lib/pkgconfig/../../lib -lgeos_c -lgeos -lxml2 -lproj -lstdc++ -ltiff -ljpeg -llzma -lcurl -lssl -lcrypto -lpthread -lsqlite3 -pthread -ldl -lz -lfreexl -lm  >&5
conftest.c:72:6: warning: conflicting types for built-in function 'memmove'; expected 'void *(void *, const void *, long unsigned int)' [-Wbuiltin-declaration-mismatch]
   72 | char memmove ();
      |      ^~~~~~~
conftest.c:64:1: note: 'memmove' is declared in header '<string.h>'
   63 | #include <limits.h>
   64 | #undef memmove
configure:19258: $? = 0
configure:19258: result: yes
configure:19264: checking for strerror
configure:19264: result: yes
configure:19273: checking for sqlite3_prepare_v2 in -lsqlite3
configure:19296: /opt/rh/devtoolset-10/root/usr/bin/cc -o conftest -fPIC -O3 -DNDEBUG -L/builds/vcpkg/installed/x64-linux/lib conftest.c -lsqlite3 -lm -L/builds/vcpkg/installed/x64-linux/lib/pkgconfig/../../lib -lgeos_c -lgeos -lxml2 -lproj -lstdc++ -ltiff -ljpeg -llzma -lcurl -lssl -lcrypto -lpthread -lsqlite3 -pthread -ldl -lz -lfreexl -lm  >&5
configure:19296: $? = 0
configure:19306: result: yes
configure:19360: checking for sqlite3_rtree_geometry_callback in -lsqlite3
configure:19383: /opt/rh/devtoolset-10/root/usr/bin/cc -o conftest -fPIC -O3 -DNDEBUG -L/builds/vcpkg/installed/x64-linux/lib conftest.c -lsqlite3 -lm -lsqlite3 -L/builds/vcpkg/installed/x64-linux/lib/pkgconfig/../../lib -lgeos_c -lgeos -lxml2 -lproj -lstdc++ -ltiff -ljpeg -llzma -lcurl -lssl -lcrypto -lpthread -lsqlite3 -pthread -ldl -lz -lfreexl -lm  >&5
configure:19383: $? = 0
configure:19393: result: yes
configure:19423: checking for sqlite3_rtree_query_callback in -lsqlite3
configure:19446: /opt/rh/devtoolset-10/root/usr/bin/cc -o conftest -fPIC -O3 -DNDEBUG -L/builds/vcpkg/installed/x64-linux/lib conftest.c -lsqlite3 -lm -lsqlite3 -lsqlite3 -L/builds/vcpkg/installed/x64-linux/lib/pkgconfig/../../lib -lgeos_c -lgeos -lxml2 -lproj -lstdc++ -ltiff -ljpeg -llzma -lcurl -lssl -lcrypto -lpthread -lsqlite3 -pthread -ldl -lz -lfreexl -lm  >&5
configure:19446: $? = 0
configure:19456: result: yes
configure:19488: checking for proj.h
configure:19488: /opt/rh/devtoolset-10/root/usr/bin/cc -c -fPIC -O3 -DNDEBUG conftest.c >&5
configure:19488: $? = 0
configure:19488: result: yes
configure:19509: checking for library containing proj_normalize_for_visualization
configure:19539: /opt/rh/devtoolset-10/root/usr/bin/cc -o conftest -fPIC -O3 -DNDEBUG -L/builds/vcpkg/installed/x64-linux/lib conftest.c -lsqlite3 -lsqlite3 -lsqlite3 -L/builds/vcpkg/installed/x64-linux/lib/pkgconfig/../../lib -lgeos_c -lgeos -lxml2 -lproj -lstdc++ -ltiff -ljpeg -llzma -lcurl -lssl -lcrypto -lpthread -lsqlite3 -pthread -ldl -lz -lfreexl -lm  >&5
configure:19539: $? = 0
configure:19559: result: none required
configure:19654: checking for iconv.h
configure:19654: /opt/rh/devtoolset-10/root/usr/bin/cc -c -fPIC -O3 -DNDEBUG conftest.c >&5
configure:19654: $? = 0
configure:19654: result: yes
configure:19666: checking for library containing iconv
configure:19696: /opt/rh/devtoolset-10/root/usr/bin/cc -o conftest -fPIC -O3 -DNDEBUG -L/builds/vcpkg/installed/x64-linux/lib conftest.c -lsqlite3 -lsqlite3 -lsqlite3 -L/builds/vcpkg/installed/x64-linux/lib/pkgconfig/../../lib -lgeos_c -lgeos -lxml2 -lproj -lstdc++ -ltiff -ljpeg -llzma -lcurl -lssl -lcrypto -lpthread -lsqlite3 -pthread -ldl -lz -lfreexl -lm  >&5
configure:19696: $? = 0
configure:19716: result: none required
configure:19787: checking for library containing locale_charset
configure:19817: /opt/rh/devtoolset-10/root/usr/bin/cc -o conftest -fPIC -O3 -DNDEBUG -L/builds/vcpkg/installed/x64-linux/lib conftest.c -lsqlite3 -lsqlite3 -lsqlite3 -L/builds/vcpkg/installed/x64-linux/lib/pkgconfig/../../lib -lgeos_c -lgeos -lxml2 -lproj -lstdc++ -ltiff -ljpeg -llzma -lcurl -lssl -lcrypto -lpthread -lsqlite3 -pthread -ldl -lz -lfreexl -lm  >&5
/opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /tmp/ccfZBukw.o: in function `main':
conftest.c:(.text.startup+0x7): undefined reference to `locale_charset'
collect2: error: ld returned 1 exit status
configure:19817: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libspatialite"
| #define PACKAGE_TARNAME "libspatialite"
| #define PACKAGE_VERSION "5.0.1"
| #define PACKAGE_STRING "libspatialite 5.0.1"
| #define PACKAGE_BUGREPORT "a.furieri@lqt.it"
| #define PACKAGE_URL ""
| #define _LARGE_FILE 1
| #define _FILE_OFFSET_BITS 64
| #define _LARGEFILE_SOURCE 1
| #define NDEBUG 1
| #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_SYS_TIME_H 1
| #define STDC_HEADERS 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_MATH_H 1
| #define HAVE_FLOAT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SQLITE3_H 1
| #define HAVE_SQLITE3EXT_H 1
| #define HAVE_ZLIB_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define TIME_WITH_SYS_TIME 1
| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
| #define HAVE_STRFTIME 1
| #define HAVE_MEMSET 1
| #define HAVE_SQRT 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRERROR 1
| #define HAVE_STRNCASECMP 1
| #define HAVE_STRSTR 1
| #define HAVE_FDATASYNC 1
| #define HAVE_FTRUNCATE 1
| #define HAVE_GETCWD 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_LOCALTIME_R 1
| #define HAVE_MEMMOVE 1
| #define HAVE_STRERROR 1
| #define HAVE_LIBSQLITE3 1
| #define SPATIALITE_TARGET_CPU "x86_64-redhat-linux"
| #define SPATIALITE_VERSION "5.0.1"
| #define HAVE_LIBSQLITE3 1
| #define HAVE_LIBSQLITE3 1
| #define HAVE_PROJ_H 1
| #define PROJ_NEW 1
| #define HAVE_ICONV_H 1
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| char locale_charset ();
| int
| main (void)
| {
| return locale_charset ();
|   ;
|   return 0;
| }
configure:19817: /opt/rh/devtoolset-10/root/usr/bin/cc -o conftest -fPIC -O3 -DNDEBUG -L/builds/vcpkg/installed/x64-linux/lib conftest.c -lcharset  -lsqlite3 -lsqlite3 -lsqlite3 -L/builds/vcpkg/installed/x64-linux/lib/pkgconfig/../../lib -lgeos_c -lgeos -lxml2 -lproj -lstdc++ -ltiff -ljpeg -llzma -lcurl -lssl -lcrypto -lpthread -lsqlite3 -pthread -ldl -lz -lfreexl -lm  >&5
/opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: cannot find -lcharset
collect2: error: ld returned 1 exit status
configure:19817: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libspatialite"
| #define PACKAGE_TARNAME "libspatialite"
| #define PACKAGE_VERSION "5.0.1"
| #define PACKAGE_STRING "libspatialite 5.0.1"
| #define PACKAGE_BUGREPORT "a.furieri@lqt.it"
| #define PACKAGE_URL ""
| #define _LARGE_FILE 1
| #define _FILE_OFFSET_BITS 64
| #define _LARGEFILE_SOURCE 1
| #define NDEBUG 1
| #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_SYS_TIME_H 1
| #define STDC_HEADERS 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_MATH_H 1
| #define HAVE_FLOAT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SQLITE3_H 1
| #define HAVE_SQLITE3EXT_H 1
| #define HAVE_ZLIB_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define TIME_WITH_SYS_TIME 1
| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
| #define HAVE_STRFTIME 1
| #define HAVE_MEMSET 1
| #define HAVE_SQRT 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRERROR 1
| #define HAVE_STRNCASECMP 1
| #define HAVE_STRSTR 1
| #define HAVE_FDATASYNC 1
| #define HAVE_FTRUNCATE 1
| #define HAVE_GETCWD 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_LOCALTIME_R 1
| #define HAVE_MEMMOVE 1
| #define HAVE_STRERROR 1
| #define HAVE_LIBSQLITE3 1
| #define SPATIALITE_TARGET_CPU "x86_64-redhat-linux"
| #define SPATIALITE_VERSION "5.0.1"
| #define HAVE_LIBSQLITE3 1
| #define HAVE_LIBSQLITE3 1
| #define HAVE_PROJ_H 1
| #define PROJ_NEW 1
| #define HAVE_ICONV_H 1
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| char locale_charset ();
| int
| main (void)
| {
| return locale_charset ();
|   ;
|   return 0;
| }
configure:19837: result: no
configure:19845: checking for library containing nl_langinfo
configure:19875: /opt/rh/devtoolset-10/root/usr/bin/cc -o conftest -fPIC -O3 -DNDEBUG -L/builds/vcpkg/installed/x64-linux/lib conftest.c -lsqlite3 -lsqlite3 -lsqlite3 -L/builds/vcpkg/installed/x64-linux/lib/pkgconfig/../../lib -lgeos_c -lgeos -lxml2 -lproj -lstdc++ -ltiff -ljpeg -llzma -lcurl -lssl -lcrypto -lpthread -lsqlite3 -pthread -ldl -lz -lfreexl -lm  >&5
configure:19875: $? = 0
configure:19895: result: none required
configure:19927: checking for freexl.h
configure:19927: /opt/rh/devtoolset-10/root/usr/bin/cc -c -fPIC -O3 -DNDEBUG conftest.c >&5
configure:19927: $? = 0
configure:19927: result: yes
configure:19937: checking for library containing freexl_version
configure:19967: /opt/rh/devtoolset-10/root/usr/bin/cc -o conftest -fPIC -O3 -DNDEBUG -L/builds/vcpkg/installed/x64-linux/lib conftest.c -lsqlite3 -lsqlite3 -lsqlite3 -L/builds/vcpkg/installed/x64-linux/lib/pkgconfig/../../lib -lgeos_c -lgeos -lxml2 -lproj -lstdc++ -ltiff -ljpeg -llzma -lcurl -lssl -lcrypto -lpthread -lsqlite3 -pthread -ldl -lz -lfreexl -lm  >&5
configure:19967: $? = 0
configure:19987: result: none required
configure:20122: checking for geos_c.h
configure:20122: /opt/rh/devtoolset-10/root/usr/bin/cc -c -fPIC -O3 -DNDEBUG conftest.c >&5
configure:20122: $? = 0
configure:20122: result: yes
configure:20230: checking for library containing GEOSDelaunayTriangulation
configure:20260: /opt/rh/devtoolset-10/root/usr/bin/cc -o conftest -fPIC -O3 -DNDEBUG -L/builds/vcpkg/installed/x64-linux/lib conftest.c -lsqlite3 -lsqlite3 -lsqlite3 -L/builds/vcpkg/installed/x64-linux/lib/pkgconfig/../../lib -lgeos_c -lgeos -lxml2 -lproj -lstdc++ -ltiff -ljpeg -llzma -lcurl -lssl -lcrypto -lpthread -lsqlite3 -pthread -ldl -lz -lfreexl -lm  >&5
configure:20260: $? = 0
configure:20280: result: none required
configure:20307: checking for library containing GEOSContext_setErrorMessageHandler_r
configure:20337: /opt/rh/devtoolset-10/root/usr/bin/cc -o conftest -fPIC -O3 -DNDEBUG -L/builds/vcpkg/installed/x64-linux/lib conftest.c -lsqlite3 -lsqlite3 -lsqlite3 -L/builds/vcpkg/installed/x64-linux/lib/pkgconfig/../../lib -lgeos_c -lgeos -lxml2 -lproj -lstdc++ -ltiff -ljpeg -llzma -lcurl -lssl -lcrypto -lpthread -lsqlite3 -pthread -ldl -lz -lfreexl -lm  >&5
configure:20337: $? = 0
configure:20357: result: none required
configure:20401: checking for library containing GEOSFrechetDistance_r
configure:20431: /opt/rh/devtoolset-10/root/usr/bin/cc -o conftest -fPIC -O3 -DNDEBUG -L/builds/vcpkg/installed/x64-linux/lib conftest.c -lsqlite3 -lsqlite3 -lsqlite3 -L/builds/vcpkg/installed/x64-linux/lib/pkgconfig/../../lib -lgeos_c -lgeos -lxml2 -lproj -lstdc++ -ltiff -ljpeg -llzma -lcurl -lssl -lcrypto -lpthread -lsqlite3 -pthread -ldl -lz -lfreexl -lm  >&5
configure:20431: $? = 0
configure:20451: result: none required

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

ac_cv_build=x86_64-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_c_volatile=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/opt/rh/devtoolset-10/root/usr/bin/cc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-fPIC -O3'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=-DNDEBUG
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-fPIC -O3'
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=/opt/rh/devtoolset-10/root/usr/bin/c++
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=-L/builds/vcpkg/installed/x64-linux/lib
ac_cv_env_LIBS_set=set
ac_cv_env_LIBS_value='-L/builds/vcpkg/installed/x64-linux/lib/pkgconfig/../../lib -lgeos_c -lgeos -lxml2 -lproj -lstdc++ -ltiff -ljpeg -llzma -lcurl -lssl -lcrypto -lpthread -lsqlite3 -pthread -ldl -lz -lfreexl -lm '
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_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_fdatasync=yes
ac_cv_func_ftruncate=yes
ac_cv_func_getcwd=yes
ac_cv_func_gettimeofday=yes
ac_cv_func_localtime_r=yes
ac_cv_func_lstat_dereferences_slashed_symlink=yes
ac_cv_func_lstat_empty_string_bug=no
ac_cv_func_memcmp_working=yes
ac_cv_func_memmove=yes
ac_cv_func_memset=yes
ac_cv_func_sqrt=yes
ac_cv_func_stat_empty_string_bug=no
ac_cv_func_strcasecmp=yes
ac_cv_func_strerror=yes
ac_cv_func_strftime=yes
ac_cv_func_strncasecmp=yes
ac_cv_func_strstr=yes
ac_cv_header_dlfcn_h=yes
ac_cv_header_fcntl_h=yes
ac_cv_header_float_h=yes
ac_cv_header_freexl_h=yes
ac_cv_header_geos_c_h=yes
ac_cv_header_iconv_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_math_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_proj_h=yes
ac_cv_header_sqlite3_h=yes
ac_cv_header_sqlite3ext_h=yes
ac_cv_header_stddef_h=yes
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_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_zlib_h=yes
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_lib_sqlite3_sqlite3_prepare_v2=yes
ac_cv_lib_sqlite3_sqlite3_rtree_geometry_callback=yes
ac_cv_lib_sqlite3_sqlite3_rtree_query_callback=yes
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='/opt/rh/devtoolset-10/root/usr/bin/cc -E'
ac_cv_prog_CXXCPP='/opt/rh/devtoolset-10/root/usr/bin/c++ -E'
ac_cv_prog_ac_ct_CC=/opt/rh/devtoolset-10/root/usr/bin/cc
ac_cv_prog_ac_ct_DLLTOOL=dlltool
ac_cv_prog_ac_ct_FILECMD=file
ac_cv_prog_ac_ct_OBJDUMP=/opt/rh/devtoolset-10/root/usr/bin/objdump
ac_cv_prog_ac_ct_RANLIB=/opt/rh/devtoolset-10/root/usr/bin/ranlib
ac_cv_prog_ac_ct_STRIP=/opt/rh/devtoolset-10/root/usr/bin/strip
ac_cv_prog_cc_c11=
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_11=no
ac_cv_prog_cxx_cxx11=
ac_cv_prog_cxx_g=yes
ac_cv_prog_cxx_stdcxx=
ac_cv_prog_make_make_set=yes
ac_cv_search_GEOSContext_setErrorMessageHandler_r='none required'
ac_cv_search_GEOSDelaunayTriangulation='none required'
ac_cv_search_GEOSFrechetDistance_r='none required'
ac_cv_search_freexl_version='none required'
ac_cv_search_iconv='none required'
ac_cv_search_locale_charset=no
ac_cv_search_nl_langinfo='none required'
ac_cv_search_proj_normalize_for_visualization='none required'
ac_cv_struct_tm=time.h
ac_cv_type_off_t=yes
ac_cv_type_size_t=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
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=/opt/rh/devtoolset-10/root/usr/bin/ld
lt_cv_path_LDCXX='/opt/rh/devtoolset-10/root/usr/bin/ld -m elf_x86_64'
lt_cv_path_NM=/opt/rh/devtoolset-10/root/usr/bin/nm
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_c_o_CXX=yes
lt_cv_prog_compiler_pic='-fPIC -DPIC'
lt_cv_prog_compiler_pic_CXX='-fPIC -DPIC'
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_pic_works_CXX=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=no
lt_cv_prog_compiler_static_works_CXX=no
lt_cv_prog_gnu_ld=yes
lt_cv_prog_gnu_ldcxx=yes
lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
lt_cv_shlibpath_overrides_runpath=no
lt_cv_sys_global_symbol_pipe='/usr/bin/sed -n -e '\''s/^.*[	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[	 ][	 ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | /usr/bin/sed '\''/ __gnu_lto/d'\'''
lt_cv_sys_global_symbol_to_c_name_address='/usr/bin/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='/usr/bin/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='/usr/bin/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} '\''/builds/vcpkg/buildtrees/libspatialite/src/atialite-5-bc39e08d26.clean/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)'
ANDROID_FALSE=''
ANDROID_TRUE=''
AR='/opt/rh/devtoolset-10/root/usr/bin/ar'
AS='as'
AUTOCONF='${SHELL} '\''/builds/vcpkg/buildtrees/libspatialite/src/atialite-5-bc39e08d26.clean/missing'\'' autoconf'
AUTOHEADER='${SHELL} '\''/builds/vcpkg/buildtrees/libspatialite/src/atialite-5-bc39e08d26.clean/missing'\'' autoheader'
AUTOMAKE='${SHELL} '\''/builds/vcpkg/buildtrees/libspatialite/src/atialite-5-bc39e08d26.clean/missing'\'' automake-1.16'
AWK='gawk'
CC='/opt/rh/devtoolset-10/root/usr/bin/cc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-fPIC -O3'
CPP='/opt/rh/devtoolset-10/root/usr/bin/cc -E'
CPPFLAGS='-DNDEBUG'
CSCOPE='cscope'
CTAGS='ctags'
CXX='/opt/rh/devtoolset-10/root/usr/bin/c++'
CXXCPP='/opt/rh/devtoolset-10/root/usr/bin/c++ -E'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS='-fPIC -O3'
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DLLTOOL='dlltool'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/bin/grep -E'
ENABLE_EXAMPLES_FALSE=''
ENABLE_EXAMPLES_TRUE=''
ENABLE_GEOPACKAGE_FALSE=''
ENABLE_GEOPACKAGE_TRUE=''
ETAGS='etags'
EXEEXT=''
FGREP='/usr/bin/grep -F'
FILECMD='file'
GEOSCONFIG=''
GEOS_CFLAGS=''
GEOS_LDFLAGS=''
GREP='/usr/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='/opt/rh/devtoolset-10/root/usr/bin/ld -m elf_x86_64'
LDFLAGS='-L/builds/vcpkg/installed/x64-linux/lib'
LIBOBJS=''
LIBS='-lsqlite3 -lsqlite3 -lsqlite3 -L/builds/vcpkg/installed/x64-linux/lib/pkgconfig/../../lib -lgeos_c -lgeos -lxml2 -lproj -lstdc++ -ltiff -ljpeg -llzma -lcurl -lssl -lcrypto -lpthread -lsqlite3 -pthread -ldl -lz -lfreexl -lm '
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIBXML2_CFLAGS=''
LIBXML2_LIBS=''
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
MACOSX_FALSE=''
MACOSX_TRUE=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} '\''/builds/vcpkg/buildtrees/libspatialite/src/atialite-5-bc39e08d26.clean/missing'\'' makeinfo'
MANIFEST_TOOL=':'
MINGW_FALSE=''
MINGW_TRUE=''
MKDIR_P='/usr/bin/mkdir -p'
MODULE_ONLY_FALSE=''
MODULE_ONLY_TRUE=''
NM='/opt/rh/devtoolset-10/root/usr/bin/nm'
NMEDIT=''
OBJDUMP='/opt/rh/devtoolset-10/root/usr/bin/objdump'
OBJEXT='o'
OTOOL64=''
OTOOL=''
PACKAGE='libspatialite'
PACKAGE_BUGREPORT='a.furieri@lqt.it'
PACKAGE_NAME='libspatialite'
PACKAGE_STRING='libspatialite 5.0.1'
PACKAGE_TARNAME='libspatialite'
PACKAGE_URL=''
PACKAGE_VERSION='5.0.1'
PATH_SEPARATOR=':'
RANLIB='/opt/rh/devtoolset-10/root/usr/bin/ranlib'
SED='/usr/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
STRIP='/opt/rh/devtoolset-10/root/usr/bin/strip'
VERSION='5.0.1'
ac_ct_AR=''
ac_ct_CC='/opt/rh/devtoolset-10/root/usr/bin/cc'
ac_ct_CXX=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__isrc=' -I$(srcdir)'
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${prefix}/tools/libspatialite/bin'
build='x86_64-pc-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share/libspatialite'
docdir='${prefix}/share/libspatialite'
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} /builds/vcpkg/buildtrees/libspatialite/src/atialite-5-bc39e08d26.clean/install-sh'
libdir='${prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${prefix}/share/libspatialite'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/builds/vcpkg/installed/x64-linux'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${prefix}/tools/libspatialite/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "libspatialite"
#define PACKAGE_TARNAME "libspatialite"
#define PACKAGE_VERSION "5.0.1"
#define PACKAGE_STRING "libspatialite 5.0.1"
#define PACKAGE_BUGREPORT "a.furieri@lqt.it"
#define PACKAGE_URL ""
#define _LARGE_FILE 1
#define _FILE_OFFSET_BITS 64
#define _LARGEFILE_SOURCE 1
#define NDEBUG 1
#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_SYS_TIME_H 1
#define STDC_HEADERS 1
#define HAVE_STDLIB_H 1
#define HAVE_STDIO_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_MATH_H 1
#define HAVE_FLOAT_H 1
#define HAVE_FCNTL_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDDEF_H 1
#define HAVE_STDINT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_UNISTD_H 1
#define HAVE_SQLITE3_H 1
#define HAVE_SQLITE3EXT_H 1
#define HAVE_ZLIB_H 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define TIME_WITH_SYS_TIME 1
#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
#define HAVE_STRFTIME 1
#define HAVE_MEMSET 1
#define HAVE_SQRT 1
#define HAVE_STRCASECMP 1
#define HAVE_STRERROR 1
#define HAVE_STRNCASECMP 1
#define HAVE_STRSTR 1
#define HAVE_FDATASYNC 1
#define HAVE_FTRUNCATE 1
#define HAVE_GETCWD 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_LOCALTIME_R 1
#define HAVE_MEMMOVE 1
#define HAVE_STRERROR 1
#define HAVE_LIBSQLITE3 1
#define SPATIALITE_TARGET_CPU "x86_64-redhat-linux"
#define SPATIALITE_VERSION "5.0.1"
#define HAVE_LIBSQLITE3 1
#define HAVE_LIBSQLITE3 1
#define HAVE_PROJ_H 1
#define PROJ_NEW 1
#define HAVE_ICONV_H 1
#define HAVE_FREEXL_H 1
#define HAVE_GEOS_C_H 1
#define GEOS_ADVANCED 1
#define GEOS_REENTRANT 1
#define GEOS_370 1

configure: exit 2
/builds/vcpkg/buildtrees/libspatialite/config-x64-linux-rel-out.log
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 to enable maintainer-specific portions of Makefiles... no
checking whether make supports the include directive... yes (GNU style)
checking for gcc... /opt/rh/devtoolset-10/root/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 /opt/rh/devtoolset-10/root/usr/bin/cc accepts -g... yes
checking for /opt/rh/devtoolset-10/root/usr/bin/cc option to enable C11 features... none needed
checking whether /opt/rh/devtoolset-10/root/usr/bin/cc understands -c and -o together... yes
checking dependency style of /opt/rh/devtoolset-10/root/usr/bin/cc... gcc3
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 sys/time.h... yes
checking for stdlib.h... (cached) yes
checking for stdio.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... yes
checking for math.h... yes
checking for float.h... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sqlite3.h... yes
checking for sqlite3ext.h... yes
checking for zlib.h... yes
checking whether the compiler supports GNU C++... yes
checking whether /opt/rh/devtoolset-10/root/usr/bin/c++ accepts -g... yes
checking for /opt/rh/devtoolset-10/root/usr/bin/c++ option to enable C++11 features... none needed
checking dependency style of /opt/rh/devtoolset-10/root/usr/bin/c++... gcc3
checking for gcc... (cached) /opt/rh/devtoolset-10/root/usr/bin/cc
checking whether the compiler supports GNU C... (cached) yes
checking whether /opt/rh/devtoolset-10/root/usr/bin/cc accepts -g... (cached) yes
checking for /opt/rh/devtoolset-10/root/usr/bin/cc option to enable C11 features... (cached) none needed
checking whether /opt/rh/devtoolset-10/root/usr/bin/cc understands -c and -o together... (cached) yes
checking dependency style of /opt/rh/devtoolset-10/root/usr/bin/cc... (cached) gcc3
checking how to run the C preprocessor... /opt/rh/devtoolset-10/root/usr/bin/cc -E
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
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 /opt/rh/devtoolset-10/root/usr/bin/cc... /opt/rh/devtoolset-10/root/usr/bin/ld
checking if the linker (/opt/rh/devtoolset-10/root/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /opt/rh/devtoolset-10/root/usr/bin/nm
checking the name lister (/opt/rh/devtoolset-10/root/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 /opt/rh/devtoolset-10/root/usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... /opt/rh/devtoolset-10/root/usr/bin/objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... /opt/rh/devtoolset-10/root/usr/bin/strip
checking for ranlib... /opt/rh/devtoolset-10/root/usr/bin/ranlib
checking command to parse /opt/rh/devtoolset-10/root/usr/bin/nm output from /opt/rh/devtoolset-10/root/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... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /opt/rh/devtoolset-10/root/usr/bin/cc supports -fno-rtti -fno-exceptions... no
checking for /opt/rh/devtoolset-10/root/usr/bin/cc option to produce PIC... -fPIC -DPIC
checking if /opt/rh/devtoolset-10/root/usr/bin/cc PIC flag -fPIC -DPIC works... yes
checking if /opt/rh/devtoolset-10/root/usr/bin/cc static flag -static works... no
checking if /opt/rh/devtoolset-10/root/usr/bin/cc supports -c -o file.o... yes
checking if /opt/rh/devtoolset-10/root/usr/bin/cc supports -c -o file.o... (cached) yes
checking whether the /opt/rh/devtoolset-10/root/usr/bin/cc linker (/opt/rh/devtoolset-10/root/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 how to run the C++ preprocessor... /opt/rh/devtoolset-10/root/usr/bin/c++ -E
checking for ld used by /opt/rh/devtoolset-10/root/usr/bin/c++... /opt/rh/devtoolset-10/root/usr/bin/ld -m elf_x86_64
checking if the linker (/opt/rh/devtoolset-10/root/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the /opt/rh/devtoolset-10/root/usr/bin/c++ linker (/opt/rh/devtoolset-10/root/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for /opt/rh/devtoolset-10/root/usr/bin/c++ option to produce PIC... -fPIC -DPIC
checking if /opt/rh/devtoolset-10/root/usr/bin/c++ PIC flag -fPIC -DPIC works... yes
checking if /opt/rh/devtoolset-10/root/usr/bin/c++ static flag -static works... no
checking if /opt/rh/devtoolset-10/root/usr/bin/c++ supports -c -o file.o... yes
checking if /opt/rh/devtoolset-10/root/usr/bin/c++ supports -c -o file.o... (cached) yes
checking whether the /opt/rh/devtoolset-10/root/usr/bin/c++ linker (/opt/rh/devtoolset-10/root/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for an ANSI C-conforming const... yes
checking for off_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working volatile... yes
checking whether lstat correctly handles trailing slash... yes
checking whether lstat accepts an empty string... no
checking whether lstat correctly handles trailing slash... (cached) yes
checking for working memcmp... yes
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for memset... yes
checking for sqrt... yes
checking for strcasecmp... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strstr... yes
checking for fdatasync... yes
checking for ftruncate... yes
checking for getcwd... yes
checking for gettimeofday... yes
checking for localtime_r... yes
checking for memmove... yes
checking for strerror... (cached) yes
checking for sqlite3_prepare_v2 in -lsqlite3... yes
checking for sqlite3_rtree_geometry_callback in -lsqlite3... yes
checking for sqlite3_rtree_query_callback in -lsqlite3... yes
checking for proj.h... yes
checking for library containing proj_normalize_for_visualization... none required
checking for iconv.h... yes
checking for library containing iconv... none required
checking for library containing locale_charset... no
checking for library containing nl_langinfo... none required
checking for freexl.h... yes
checking for library containing freexl_version... none required
checking for geos_c.h... yes
checking for library containing GEOSDelaunayTriangulation... none required
checking for library containing GEOSContext_setErrorMessageHandler_r... none required
checking for library containing GEOSFrechetDistance_r... none required
/builds/vcpkg/buildtrees/libspatialite/config-x64-linux-rel-err.log
./../src/atialite-5-bc39e08d26.clean/configure: line 20037: 0: command not found
./../src/atialite-5-bc39e08d26.clean/configure: line 20132: 0: command not found
./../src/atialite-5-bc39e08d26.clean/configure: line 20571: syntax error near unexpected token `LIBXML2,'
./../src/atialite-5-bc39e08d26.clean/configure: line 20571: `  PKG_CHECK_MODULES(LIBXML2, libxml-2.0, , as_fn_error $? "'libxml2' is required but it doesn't seem to be installed on this system." "$LINENO" 5)'

Additional context

It's a CentOS7 system with libxml2 installed (also a valid pkgconfig file installed). If I try the command vcpkg fails on, I get a completely different error, and one that is much more approachable IMO. Forget this..

I can't understand why autotools/pkgconfig doesn't find my libxml2 installation. It's all in the right places.

@nilsnolde
Copy link
Author

nilsnolde commented Aug 9, 2023

Some more info:

yum info libxml2-devel
Installed Packages
Name        : libxml2-devel
Arch        : x86_64
Version     : 2.9.1
Release     : 6.el7_9.6
cat /usr/lib64/pkgconfig/libxml-2.0.pc
prefix=/usr
exec_prefix=/usr
libdir=/usr/lib64
includedir=/usr/include
modules=1

Name: libXML
Version: 2.9.1
Description: libXML library version2.
Requires:
Libs: -L${libdir} -lxml2
Libs.private:   -lz  -lm  
Cflags: -I${includedir}/libxml2
ll /usr/lib64/libxml*
lrwxrwxrwx 1 root root      16 Aug  9 15:12 /usr/lib64/libxml2.so -> libxml2.so.2.9.1
lrwxrwxrwx 1 root root      16 Jul 29 10:38 /usr/lib64/libxml2.so.2 -> libxml2.so.2.9.1
-rwxr-xr-x 1 root root 1509520 Oct 21  2021 /usr/lib64/libxml2.so.2.9.1

I realize this might not actually be a vcpkg/port issue. But maybe it is..

@dg0yt
Copy link
Contributor

dg0yt commented Aug 9, 2023

vcpkg libspatialite is meant to use vcpkg libxml2. But why is the code from configure.ac literally echoed by configure? Check the autoconf... logs for this port.

@nilsnolde
Copy link
Author

nilsnolde commented Aug 9, 2023

Yep makes sense, thanks. vcpkg has similarly correct pkgconfig and installed the static library libxml2.a.

cat installed/x64-linux/lib/pkgconfig/libxml-2.0.pc
prefix=${pcfiledir}/../..
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include
modules=1

Name: libXML
Version: 2.10.3
Description: libXML library version2.

Libs: "-L${libdir}" -lxml2 -pthread -lm
Requires:  zlib liblzma
Cflags: "-I${includedir}/libxml2" -DLIBXML_STATIC
cat buildtrees/libspatialite/autoconf-x64-linux-err.log
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: aclocal --force -I m4
autoreconf: running: /usr/local/bin/autoconf --force
configure.ac:98: warning: The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
configure.ac:98: You should run autoupdate.
m4/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from...
configure.ac:98: the top level
configure.ac:98: warning: AC_LIBTOOL_WIN32_DLL: Remove this warning and the call to _LT_SET_OPTION when you
configure.ac:98: put the 'win32-dll' option into LT_INIT's first parameter.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
m4/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from...
configure.ac:98: the top level
configure.ac:99: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:99: You should run autoupdate.
m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from...
configure.ac:99: the top level
configure.ac:105: warning: The macro `AC_HEADER_TIME' is obsolete.
configure.ac:105: You should run autoupdate.
./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from...
configure.ac:105: the top level
configure.ac:468: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:468: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:468: the top level
autoreconf: running: /usr/local/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:74: installing './compile'
configure.ac:9: installing './missing'
examples/Makefile.am: installing './depcomp'
autoreconf: Leaving directory '.'
cat buildtrees/libspatialite/autoconf-x64-linux-out.log
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'

Unfortunately not very familiar with autotools either, I came in after CMake mostly took over.. Doesn't tell me much tbh..

Do you see a clue?

@LilyWangLL LilyWangLL added the requires:repro The issue is not currently repro-able label Aug 10, 2023
@LilyWangLL LilyWangLL changed the title [libspatialite] libxml2 missing but installed [libspatialite] libxml2 missing but installed on CentOS7 Aug 10, 2023
@dg0yt
Copy link
Contributor

dg0yt commented Aug 10, 2023

Do you have autoconf-archive installed?

@nilsnolde
Copy link
Author

I didn't, but installing it still produces

./../src/atialite-5-bc39e08d26.clean/configure: line 20037: 0: command not found
./../src/atialite-5-bc39e08d26.clean/configure: line 20132: 0: command not found
./../src/atialite-5-bc39e08d26.clean/configure: line 20571: syntax error near unexpected token `LIBXML2,'
./../src/atialite-5-bc39e08d26.clean/configure: line 20571: `  PKG_CHECK_MODULES(LIBXML2, libxml-2.0, , as_fn_error $? "'libxml2' is required but it doesn't seem to be installed on this system." "$LINENO" 5)'

In the meantime I built the same commit successfully on my Arch Linux. Even though CentOS 7 is ancient, https://github.com/pypa/manylinux maintains an image with a new-ish build toolchain to easily build and package Python packages (in my case bindings to https://github.com/valhalla/valhalla).

Thanks for the hints so far @dg0yt. I really don't know where to look next. I might just choose a different manylinux image. That wouldn't scratch the itch though that I can't make stuff work that should work..

@Osyotr
Copy link
Contributor

Osyotr commented Aug 10, 2023

Do you have pkg-config?

@nilsnolde
Copy link
Author

nilsnolde commented Aug 10, 2023

@Osyotr on the system, yes. vcpkg one is called installed/x64-linux/tools/pkgconf/pkgconf, but I guess that's fine?

@nilsnolde
Copy link
Author

I added an example for reproduction. Sorry for the docker pull of that big-ish image.

@dg0yt
Copy link
Contributor

dg0yt commented Aug 11, 2023

"Make sure that pkg.m4 is in a folder aclocal can find, which seems to be /usr/local/share/aclocal if it exists, or /usr/share/aclocal otherwise." #30022 (comment)
Maybe you need pkgconf-m4, https://pkgs.org/download/pkgconf-m4.

@nilsnolde
Copy link
Author

Aaaah thanks so much @dg0yt, cp /usr/share/aclocal/* /usr/local/share/aclocal/ 😅 must be PyPA adding an additional autotools installation. I'll raise there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requires:repro The issue is not currently repro-able
Projects
None yet
Development

No branches or pull requests

4 participants