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

Please fix finding libmagic and lz4 #5307

Open
barracuda156 opened this issue Sep 13, 2024 · 7 comments
Open

Please fix finding libmagic and lz4 #5307

barracuda156 opened this issue Sep 13, 2024 · 7 comments

Comments

@barracuda156
Copy link
Contributor

--->  Configuring tiledb
        (using ccache)
Executing:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_databases_tiledb/tiledb/work/build" && /opt/local/bin/cmake -G "CodeBlocks - Unix Makefiles" -DCMAKE_BUILD_TYPE=MacPorts -DCMAKE_INSTALL_PREFIX="/opt/local" -DCMAKE_INSTALL_NAME_DIR="/opt/local/lib" -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_C_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_CXX_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_Fortran_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_OBJC_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_OBJCXX_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_ISPC_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_C_COMPILER="$CC" -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_OBJC_COMPILER="$CC" -DCMAKE_OBJCXX_COMPILER="$CXX" -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_POLICY_DEFAULT_CMP0060=NEW -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_MAKE_PROGRAM=/usr/bin/make -DCMAKE_MODULE_PATH="/opt/local/share/cmake/Modules;/opt/local/lib/libfmt10/cmake" -DCMAKE_PREFIX_PATH="/opt/local/share/cmake/Modules;/opt/local/lib/libfmt10/cmake" -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON -DCMAKE_INSTALL_RPATH="/opt/local/lib" -Wno-dev -DCATCH_INCLUDE_DIR:STRING=/opt/local/include -DTILEDB_ASSERIONS=OFF -DTILEDB_AZURE=OFF -DTILEDB_CPP_API=ON -DTILEDB_EXPERIMENTAL_FEATURES=OFF -DTILEDB_GCS=OFF -DTILEDB_HDFS=OFF -DTILEDB_SERIALIZATION=OFF -DTILEDB_SUPERBUILD=OFF -DTILEDB_TESTS=OFF -DTILEDB_TOOLS=OFF -DTILEDB_VERBOSE=ON -DTILEDB_WEBP=OFF -DTILEDB_WERROR=OFF -DCOMPILER_SUPPORTS_AVX2=OFF -DOPENSSL_ROOT_DIR=/opt/local/libexec/openssl3 -DOPENSSL_INCLUDE_DIR=/opt/local/libexec/openssl3/include -DWITH_SSL=/opt/local/libexec/openssl3 -DCMAKE_OSX_ARCHITECTURES="ppc" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.6" -DCMAKE_OSX_SYSROOT="/" /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_databases_tiledb/tiledb/work/TileDB-2.26.0 
Using vcpkg features: 
-- Found Doxygen: /opt/local/bin/doxygen (found version "1.11.0") found components: doxygen dot
-- Not found clang-tidy
-- Not found clang-format
-- was unable to find clang-format
-- The C compiler identification is GNU 14.2.0
-- The CXX compiler identification is GNU 14.2.0
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /opt/local/bin/gcc-mp-14 - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /opt/local/bin/g++-mp-14 - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Starting TileDB regular build.
--   CMake version: 3.30.3
AVX2 compiler support disabled by COMPILER_SUPPORTS_AVX2=OFF
-- Using vendored cpp17::pmr for polymorphic allocators because of macOS deployment target 10.6 < 14
-- Building with cpp17::pmr
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found BZip2: /opt/local/lib/libbz2.dylib (found version "1.0.8")
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
-- Could NOT find lz4 (missing: lz4_DIR)
-- Found LZ4: /opt/local/lib/liblz4.dylib
-- Found ZLIB: /opt/local/lib/libz.dylib (found version "1.3.1")
-- Found OpenSSL: /opt/local/libexec/openssl3/lib/libcrypto.dylib (found version "3.3.2")
-- Could NOT find libmagic (missing: libmagic_DIR)
-- Found libmagic: /opt/local/include
-- The TileDB library is compiled with verbosity.
-- The TileDB library is compiled with stats enabled.
-- Could NOT find lz4 (missing: lz4_DIR)
-- Could NOT find libmagic (missing: libmagic_DIR)
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Found PNG: /opt/local/lib/libpng.dylib (found version "1.6.43")
-- Configuring done (18.4s)
-- Generating done (6.8s)

It should be trivial to find libmagic, since it has .pc file, but it fails.

36-202% port contents libmagic
Port libmagic @5.45_0 contains:
  /opt/local/include/magic.h
  /opt/local/lib/libmagic.1.dylib
  /opt/local/lib/libmagic.a
  /opt/local/lib/libmagic.dylib
  /opt/local/lib/libmagic.la
  /opt/local/lib/pkgconfig/libmagic.pc
  /opt/local/share/man/man3/libmagic.3.gz
  /opt/local/share/man/man5/magic.5.gz
  /opt/local/share/misc/magic
  /opt/local/share/misc/magic.mgc

I also do not understand what configure is doing with lz4, when it find it above and then again claims it is not found below.

lz4 also has .pc file:

36-202% port contents lz4
Port lz4 @1.10.0_0 contains:
  /opt/local/bin/lz4
  /opt/local/bin/lz4c
  /opt/local/bin/lz4cat
  /opt/local/bin/unlz4
  /opt/local/include/lz4.h
  /opt/local/include/lz4file.h
  /opt/local/include/lz4frame.h
  /opt/local/include/lz4frame_static.h
  /opt/local/include/lz4hc.h
  /opt/local/lib/liblz4.1.10.0.dylib
  /opt/local/lib/liblz4.1.dylib
  /opt/local/lib/liblz4.a
  /opt/local/lib/liblz4.dylib
  /opt/local/lib/pkgconfig/liblz4.pc
  /opt/local/share/man/man1/lz4.1.gz
  /opt/local/share/man/man1/lz4c.1.gz
  /opt/local/share/man/man1/lz4cat.1.gz
  /opt/local/share/man/man1/unlz4.1.gz
@barracuda156
Copy link
Contributor Author

Even passing -Dlibmagic_DIR=/opt/local -Dlz4_DIR=/opt/local explicitly results in the same outcome:

--->  Configuring tiledb
        (using ccache)
Executing:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_databases_tiledb/tiledb/work/build" && /opt/local/bin/cmake -G "CodeBlocks - Unix Makefiles" -DCMAKE_BUILD_TYPE=MacPorts -DCMAKE_INSTALL_PREFIX="/opt/local" -DCMAKE_INSTALL_NAME_DIR="/opt/local/lib" -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_C_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_CXX_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_Fortran_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_OBJC_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_OBJCXX_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_ISPC_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_C_COMPILER="$CC" -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_OBJC_COMPILER="$CC" -DCMAKE_OBJCXX_COMPILER="$CXX" -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_POLICY_DEFAULT_CMP0060=NEW -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_MAKE_PROGRAM=/usr/bin/make -DCMAKE_MODULE_PATH="/opt/local/share/cmake/Modules;/opt/local/lib/libfmt10/cmake" -DCMAKE_PREFIX_PATH="/opt/local/share/cmake/Modules;/opt/local/lib/libfmt10/cmake" -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON -DCMAKE_INSTALL_RPATH="/opt/local/lib" -Wno-dev -DCATCH_INCLUDE_DIR:STRING=/opt/local/include -DTILEDB_AZURE=OFF -DTILEDB_CPP_API=ON -DTILEDB_EXPERIMENTAL_FEATURES=OFF -DTILEDB_GCS=OFF -DTILEDB_HDFS=OFF -DTILEDB_SERIALIZATION=OFF -DTILEDB_TESTS=OFF -DTILEDB_TOOLS=OFF -DTILEDB_VERBOSE=ON -DTILEDB_WEBP=OFF -DTILEDB_WERROR=OFF -Dlibmagic_DIR=/opt/local -Dlz4_DIR=/opt/local -DCOMPILER_SUPPORTS_AVX2=OFF -DOPENSSL_ROOT_DIR=/opt/local/libexec/openssl3 -DOPENSSL_INCLUDE_DIR=/opt/local/libexec/openssl3/include -DWITH_SSL=/opt/local/libexec/openssl3 -DCMAKE_OSX_ARCHITECTURES="ppc" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.6" -DCMAKE_OSX_SYSROOT="/" /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_databases_tiledb/tiledb/work/TileDB-2.26.0 
Using vcpkg features: 
-- Found Doxygen: /opt/local/bin/doxygen (found version "1.11.0") found components: doxygen dot
-- Not found clang-tidy
-- Not found clang-format
-- was unable to find clang-format
-- The C compiler identification is GNU 14.2.0
-- The CXX compiler identification is GNU 14.2.0
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /opt/local/bin/gcc-mp-14 - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /opt/local/bin/g++-mp-14 - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Starting TileDB regular build.
--   CMake version: 3.30.3
AVX2 compiler support disabled by COMPILER_SUPPORTS_AVX2=OFF
-- Using vendored cpp17::pmr for polymorphic allocators because of macOS deployment target 10.6 < 14
-- Building with cpp17::pmr
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found BZip2: /opt/local/lib/libbz2.dylib (found version "1.0.8")
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
-- Could NOT find lz4 (missing: lz4_DIR)
-- Found LZ4: /opt/local/lib/liblz4.dylib
-- Found ZLIB: /opt/local/lib/libz.dylib (found version "1.3.1")
-- Found OpenSSL: /opt/local/libexec/openssl3/lib/libcrypto.dylib (found version "3.3.2")
-- Could NOT find libmagic (missing: libmagic_DIR)
-- Found libmagic: /opt/local/include
-- The TileDB library is compiled with verbosity.
-- The TileDB library is compiled with stats enabled.
-- Could NOT find lz4 (missing: lz4_DIR)
-- Could NOT find libmagic (missing: libmagic_DIR)
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Found PNG: /opt/local/lib/libpng.dylib (found version "1.6.43")
-- Configuring done (18.0s)
-- Generating done (7.0s)

@barracuda156
Copy link
Contributor Author

Finally, this also fails:

configure.args-append \
                    -Dlibmagic_INCLUDE_DIR=${prefix}/include \
                    -Dlibmagic_LIBRARIES=${prefix}/lib \
                    -DLZ4_INCLUDE_DIR=${prefix}/include \
                    -DLZ4_LIBRARIES=${prefix}/lib

I.e.:

--->  Configuring tiledb
        (using ccache)
Executing:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_databases_tiledb/tiledb/work/build" && /opt/local/bin/cmake -G "CodeBlocks - Unix Makefiles" -DCMAKE_BUILD_TYPE=MacPorts -DCMAKE_INSTALL_PREFIX="/opt/local" -DCMAKE_INSTALL_NAME_DIR="/opt/local/lib" -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_C_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_CXX_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_Fortran_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_OBJC_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_OBJCXX_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_ISPC_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_C_COMPILER="$CC" -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_OBJC_COMPILER="$CC" -DCMAKE_OBJCXX_COMPILER="$CXX" -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_POLICY_DEFAULT_CMP0060=NEW -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_MAKE_PROGRAM=/usr/bin/make -DCMAKE_MODULE_PATH="/opt/local/share/cmake/Modules;/opt/local/lib/libfmt10/cmake" -DCMAKE_PREFIX_PATH="/opt/local/share/cmake/Modules;/opt/local/lib/libfmt10/cmake" -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON -DCMAKE_INSTALL_RPATH="/opt/local/lib" -Wno-dev -DCATCH_INCLUDE_DIR:STRING=/opt/local/include -DTILEDB_AZURE=OFF -DTILEDB_CPP_API=ON -DTILEDB_EXPERIMENTAL_FEATURES=OFF -DTILEDB_GCS=OFF -DTILEDB_HDFS=OFF -DTILEDB_SERIALIZATION=OFF -DTILEDB_TESTS=OFF -DTILEDB_TOOLS=OFF -DTILEDB_VERBOSE=ON -DTILEDB_WEBP=OFF -DTILEDB_WERROR=OFF -Dlibmagic_INCLUDE_DIR=/opt/local/include -Dlibmagic_LIBRARIES=/opt/local/lib -DLZ4_INCLUDE_DIR=/opt/local/include -DLZ4_LIBRARIES=/opt/local/lib -DCOMPILER_SUPPORTS_AVX2=OFF -DOPENSSL_ROOT_DIR=/opt/local/libexec/openssl3 -DOPENSSL_INCLUDE_DIR=/opt/local/libexec/openssl3/include -DWITH_SSL=/opt/local/libexec/openssl3 -DCMAKE_OSX_ARCHITECTURES="ppc" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.6" -DCMAKE_OSX_SYSROOT="/" /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_databases_tiledb/tiledb/work/TileDB-2.26.0 
Using vcpkg features: 
-- Found Doxygen: /opt/local/bin/doxygen (found version "1.11.0") found components: doxygen dot
-- Not found clang-tidy
-- Not found clang-format
-- was unable to find clang-format
-- The C compiler identification is GNU 14.2.0
-- The CXX compiler identification is GNU 14.2.0
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /opt/local/bin/gcc-mp-14 - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /opt/local/bin/g++-mp-14 - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Starting TileDB regular build.
--   CMake version: 3.30.3
AVX2 compiler support disabled by COMPILER_SUPPORTS_AVX2=OFF
-- Using vendored cpp17::pmr for polymorphic allocators because of macOS deployment target 10.6 < 14
-- Building with cpp17::pmr
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found BZip2: /opt/local/lib/libbz2.dylib (found version "1.0.8")
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
-- Could NOT find lz4 (missing: lz4_DIR)
-- Found LZ4: /opt/local/lib
-- Found ZLIB: /opt/local/lib/libz.dylib (found version "1.3.1")
-- Found OpenSSL: /opt/local/libexec/openssl3/lib/libcrypto.dylib (found version "3.3.2")
-- Could NOT find libmagic (missing: libmagic_DIR)
-- Found libmagic: /opt/local/include
-- The TileDB library is compiled with verbosity.
-- The TileDB library is compiled with stats enabled.
-- Could NOT find lz4 (missing: lz4_DIR)
-- Could NOT find libmagic (missing: libmagic_DIR)
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Found PNG: /opt/local/lib/libpng.dylib (found version "1.6.43")
-- Configuring done (17.9s)
-- Generating done (7.0s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CATCH_INCLUDE_DIR
    CMAKE_OBJCXX_COMPILER
    CMAKE_OBJC_COMPILER
    CMAKE_POLICY_DEFAULT_CMP0025
    CMAKE_POLICY_DEFAULT_CMP0060
    WITH_SSL

How to unbreak this?

@KiterLuc
Copy link
Contributor

@teo-tsirpanis can you take a look please?

@teo-tsirpanis
Copy link
Member

@barracuda156 I am not sure what is the error you are getting. Does it reproduce locally or on a CI workflow? If it is the former, maybe a clean reconfigure after switching the branch will help.

If it is in the context of updating Macports, I have opened macports/macports-ports#25731 to update to 2.26.0, and it passes CI on my fork.

@barracuda156
Copy link
Contributor Author

@teo-tsirpanis It is perfectly possible that libs are found and used, but configure messages are misleading. But they should be fixed then. Consider I am a user who is not aware of any internals and not reading this topic. What do I gather from this output?

--->  Configuring tiledb
        (using ccache)
Executing:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_databases_tiledb/tiledb/work/build" && /opt/local/bin/cmake -G "CodeBlocks - Unix Makefiles" -DCMAKE_BUILD_TYPE=MacPorts -DCMAKE_INSTALL_PREFIX="/opt/local" -DCMAKE_INSTALL_NAME_DIR="/opt/local/lib" -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_C_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_CXX_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_Fortran_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_OBJC_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_OBJCXX_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_ISPC_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_C_COMPILER="$CC" -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_OBJC_COMPILER="$CC" -DCMAKE_OBJCXX_COMPILER="$CXX" -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_POLICY_DEFAULT_CMP0060=NEW -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_MAKE_PROGRAM=/usr/bin/make -DCMAKE_MODULE_PATH="/opt/local/share/cmake/Modules;/opt/local/lib/libfmt10/cmake" -DCMAKE_PREFIX_PATH="/opt/local/share/cmake/Modules;/opt/local/lib/libfmt10/cmake" -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON -DCMAKE_INSTALL_RPATH="/opt/local/lib" -Wno-dev -DCATCH_INCLUDE_DIR:STRING=/opt/local/include -DTILEDB_ASSERIONS=OFF -DTILEDB_AZURE=OFF -DTILEDB_CPP_API=ON -DTILEDB_EXPERIMENTAL_FEATURES=OFF -DTILEDB_GCS=OFF -DTILEDB_HDFS=OFF -DTILEDB_SERIALIZATION=OFF -DTILEDB_TESTS=OFF -DTILEDB_TOOLS=OFF -DTILEDB_VERBOSE=ON -DTILEDB_WEBP=OFF -DTILEDB_WERROR=OFF -DCOMPILER_SUPPORTS_AVX2=OFF -DOPENSSL_ROOT_DIR=/opt/local/libexec/openssl3 -DOPENSSL_INCLUDE_DIR=/opt/local/libexec/openssl3/include -DWITH_SSL=/opt/local/libexec/openssl3 -DCMAKE_OSX_ARCHITECTURES="ppc" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.6" -DCMAKE_OSX_SYSROOT="/" /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_databases_tiledb/tiledb/work/TileDB-2.26.0 
Using vcpkg features: 
-- Found Doxygen: /opt/local/bin/doxygen (found version "1.12.0") found components: doxygen dot
-- Not found clang-tidy
-- Not found clang-format
-- was unable to find clang-format
-- The C compiler identification is GNU 14.2.0
-- The CXX compiler identification is GNU 14.2.0
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /opt/local/bin/gcc-mp-14 - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /opt/local/bin/g++-mp-14 - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Starting TileDB regular build.
--   CMake version: 3.30.3
AVX2 compiler support disabled by COMPILER_SUPPORTS_AVX2=OFF
-- Using vendored cpp17::pmr for polymorphic allocators because of macOS deployment target 10.6 < 14
-- Building with cpp17::pmr
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found BZip2: /opt/local/lib/libbz2.dylib (found version "1.0.8")
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
-- Could NOT find lz4 (missing: lz4_DIR)
-- Found LZ4: /opt/local/lib/liblz4.dylib
-- Found ZLIB: /opt/local/lib/libz.dylib (found version "1.3.1")
-- Found OpenSSL: /opt/local/libexec/openssl3/lib/libcrypto.dylib (found version "3.3.2")
-- Could NOT find unofficial-libmagic (missing: unofficial-libmagic_DIR)
-- Found libmagic: /opt/local/include
-- The TileDB library is compiled with verbosity.
-- The TileDB library is compiled with stats enabled.
-- Could NOT find lz4 (missing: lz4_DIR)
-- Could NOT find unofficial-libmagic (missing: unofficial-libmagic_DIR)
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Found PNG: /opt/local/lib/libpng.dylib (found version "1.6.43")
-- Configuring done (20.6s)
-- Generating done (8.4s)
  1. Configure looks for some "unofficial" packages.
  2. If fails to find what it tried to find.

This is confusing at best. Logically, the last message matters. No further info of configure status is displayed. Naturally, one concludes that it does not work correctly (even if it is not actually the case from perspective of CMake).

@barracuda156
Copy link
Contributor Author

I can confirm that despite configure messages, build indeed succeeds and links to needed libs:

[100%] Linking CXX shared library libtiledb.dylib
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_databases_tiledb/tiledb/work/build/tiledb && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/tiledb.dir/link.txt --verbose=ON
/opt/local/bin/g++-mp-14 -pipe -I/opt/local/libexec/openssl3/include -Os -DNDEBUG -I/opt/local/libexec/openssl3/include -isystem/opt/local/include/LegacySupport -isystem/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -mmacosx-version-min=10.6 -dynamiclib -Wl,-headerpad_max_install_names -L/opt/local/libexec/openssl3/lib -Wl,-headerpad_max_install_names -L/opt/local/lib/libfmt10 -lfmt -L/opt/local/lib -lMacportsLegacySupport -o libtiledb.dylib -install_name @rpath/libtiledb.dylib CMakeFiles/TILEDB_CORE_OBJECTS.dir/common/memory.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/common/stdx_string.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/common/interval/interval.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/common/types/dynamic_typed_datum.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/platform/cert_file.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/array/array.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/array/array_directory.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/array/array_operations.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/array/consistency.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/array_schema/array_schema.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/array_schema/array_schema_evolution.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/array_schema/array_schema_operations.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/array_schema/attribute.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/array_schema/dimension.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/array_schema/dimension_label.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/array_schema/domain.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/array_schema/enumeration.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/array_schema/ndrectangle.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/array_schema/current_domain.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/buffer/buffer.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/buffer/buffer_list.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/c_api/api_argument_validator.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/c_api/tiledb.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/c_api/tiledb_dimension_label.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/c_api/tiledb_filestore.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/compressors/bzip_compressor.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/compressors/dd_compressor.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/compressors/delta_compressor.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/compressors/dict_compressor.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/compressors/gzip_compressor.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/compressors/lz4_compressor.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/compressors/rle_compressor.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/compressors/zstd_compressor.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/config/config.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/config/config_iter.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/consolidation_plan/consolidation_plan.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/consolidator/array_meta_consolidator.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/consolidator/commits_consolidator.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/consolidator/consolidator.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/consolidator/fragment_consolidator.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/consolidator/fragment_meta_consolidator.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/consolidator/group_meta_consolidator.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/crypto/crypto.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/crypto/encryption_key.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/crypto/crypto_openssl.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/crypto/crypto_win32.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/curl/curl_init.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/filesystem/azure.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/filesystem/gcs.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/filesystem/mem_filesystem.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/filesystem/hdfs_filesystem.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/filesystem/path_win.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/filesystem/posix.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/filesystem/s3.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/filesystem/s3_thread_pool_executor.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/filesystem/s3/STSProfileWithWebIdentityCredentialsProvider.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/filesystem/ssl_config.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/filesystem/uri.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/filesystem/vfs.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/filesystem/vfs_file_handle.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/filesystem/win.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/filesystem/filesystem_base.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/filter/bit_width_reduction_filter.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/filter/bitshuffle_filter.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/filter/byteshuffle_filter.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/filter/checksum_md5_filter.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/filter/checksum_sha256_filter.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/filter/compression_filter.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/filter/encryption_aes256gcm_filter.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/filter/filter.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/filter/filter_buffer.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/filter/filter_create.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/filter/filter_pipeline.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/filter/filter_storage.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/filter/float_scaling_filter.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/filter/xor_filter.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/filter/webp_filter.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/filter/noop_filter.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/filter/positive_delta_filter.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/fragment/fragment_identifier.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/fragment/fragment_info.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/fragment/fragment_metadata.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/fragment/loaded_fragment_metadata.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/fragment/ondemand_fragment_metadata.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/fragment/v1v2preloaded_fragment_metadata.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/global_state/global_state.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/global_state/signal_handlers.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/global_state/watchdog.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/group/group.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/group/group_details.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/group/group_details_v1.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/group/group_details_v2.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/group/group_directory.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/group/group_member.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/group/group_member_v1.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/group/group_member_v2.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/metadata/metadata.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/misc/cancelable_tasks.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/misc/constants.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/misc/mgc_dict.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/misc/parse_argument.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/misc/rectangle.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/misc/tdb_math.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/misc/tdb_time.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/misc/types.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/misc/win_constants.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/object/object.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/object/object_iter.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/object/object_mutex.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/query/ast/query_ast.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/query/deletes_and_updates/deletes_and_updates.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/query/deletes_and_updates/serialization.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/query/dimension_label/array_dimension_label_queries.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/query/dimension_label/dimension_label_query.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/query/dimension_label/index_data.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/query/hilbert_order.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/query/legacy/cell_slab_iter.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/query/legacy/reader.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/query/legacy/read_cell_slab_iter.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/query/query.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/query/query_condition.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/query/query_remote_buffer_storage.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/query/query_state.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/query/readers/aggregators/count_aggregator.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/query/readers/aggregators/min_max_aggregator.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/query/readers/aggregators/operation.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/query/readers/aggregators/output_buffer_validator.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/query/readers/aggregators/safe_sum.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/query/readers/aggregators/sum_aggregator.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/query/readers/dense_reader.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/query/readers/ordered_dim_label_reader.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/query/readers/reader_base.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/query/readers/result_tile.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/query/readers/sparse_global_order_reader.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/query/readers/sparse_index_reader_base.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/query/readers/sparse_unordered_with_dups_reader.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/query/strategy_base.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/query/update_value.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/query/writers/dense_tiler.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/query/writers/global_order_writer.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/query/writers/ordered_writer.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/query/writers/unordered_writer.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/query/writers/writer_base.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/query_plan/query_plan.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/rest/rest_client.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/rtree/rtree.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/serialization/array.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/serialization/array_directory.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/serialization/array_schema.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/serialization/array_schema_evolution.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/serialization/config.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/serialization/current_domain.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/serialization/enumeration.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/serialization/fragment_info.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/serialization/fragment_metadata.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/serialization/fragments.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/serialization/group.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/serialization/query.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/serialization/query_aggregates.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/serialization/query_plan.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/serialization/consolidation.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/serialization/vacuum.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/stats/global_stats.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/stats/stats.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/storage_manager/cancellation_source.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/storage_manager/context.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/storage_manager/context_resources.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/storage_manager/storage_manager.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/subarray/range_subset.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/subarray/relevant_fragment_generator.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/subarray/subarray.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/subarray/subarray_partitioner.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/subarray/subarray_tile_overlap.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/subarray/tile_cell_slab_iter.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/tile/tile.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/tile/generic_tile_io.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/tile/tile_metadata_generator.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/sm/tile/writer_tile_tuple.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/storage_format/uri/generate_uri.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/storage_format/uri/parse_uri.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/type/range/range.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/common/random/prng.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/common/random/random_label.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/common/random/seeder.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/common/thread_pool/thread_pool.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/api/c_api/buffer/buffer_api.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/api/c_api/buffer_list/buffer_list_api.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/api/c_api/current_domain/current_domain_api.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/api/c_api/error/error_api.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/api/c_api/config/config_api.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/api/c_api/context/context_api.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/api/c_api/datatype/datatype_api.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/api/c_api/data_order/data_order_api.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/api/c_api/dimension_label/dimension_label_api.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/api/c_api/enumeration/enumeration_api.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/api/c_api/filesystem/filesystem_api.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/api/c_api/filter/filter_api.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/api/c_api/filter_list/filter_list_api.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/api/c_api/dimension/dimension_api.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/api/c_api/domain/domain_api.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/api/c_api/attribute/attribute_api.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/api/c_api/group/group_api.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/api/c_api/ndrectangle/ndrectangle_api.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/api/c_api/object/object_api.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/api/c_api/query/query_api.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/api/c_api/string/string_api.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/api/c_api/vfs/vfs_api.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/api/c_api/query_plan/query_plan_api.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/api/c_api/query_aggregate/query_aggregate_api.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/api/c_api/query_field/query_field_api.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/api/c_api_support/cpp_string/cpp_string.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/api/c_api_support/exception_wrapper/exception_wrapper.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/api/c_api_support/handle/handle.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/__/external/src/bitshuffle/iochain.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/__/external/src/bitshuffle/bitshuffle_core.cc.o CMakeFiles/TILEDB_CORE_OBJECTS.dir/__/external/blosc/src/shuffle.c.o "CMakeFiles/TILEDB_CORE_OBJECTS.dir/__/external/blosc/src/shuffle-generic.c.o" "CMakeFiles/TILEDB_CORE_OBJECTS.dir/__/external/blosc/src/bitshuffle-stub.c.o" common/CMakeFiles/baseline.dir/logger.cc.o common/CMakeFiles/baseline.dir/dynamic_memory/dynamic_memory.cc.o common/CMakeFiles/baseline.dir/exception/exception.cc.o common/CMakeFiles/baseline.dir/exception/status.cc.o common/CMakeFiles/baseline.dir/governor/governor.cc.o common/CMakeFiles/baseline.dir/heap_profiler.cc.o common/CMakeFiles/baseline.dir/heap_memory.cc.o common/CMakeFiles/baseline.dir/memory_tracker.cc.o common/CMakeFiles/baseline.dir/pmr.cc.o common/CMakeFiles/baseline.dir/polymorphic_allocator/polymorphic_allocator.cc.o  -Wl,-rpath,/opt/local/lib /opt/local/lib/libbz2.dylib /opt/local/lib/liblz4.dylib /opt/local/lib/libspdlog.1.14.1.dylib /opt/local/lib/libz.dylib /opt/local/lib/libmagic.dylib -lMacportsLegacySupport -latomic /opt/local/libexec/openssl3/lib/libssl.dylib /opt/local/libexec/openssl3/lib/libcrypto.dylib -ldl /opt/local/lib/libfmt10/libfmt.10.2.1.dylib /opt/local/lib/libzstd.a -latomic /opt/local/lib/libspdlog.1.14.1.dylib /opt/local/lib/libfmt10/libfmt.10.2.1.dylib
ld: warning: duplicate dylib /opt/local/lib/libfmt10/libfmt.10.2.1.dylib
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_databases_tiledb/tiledb/work/build'
[100%] Built target tiledb

IMO, configure output should still be fixed though.

@teo-tsirpanis
Copy link
Member

Let me better explain what is going on with the configure output.

unofficial-libmagic is a custom CMake package that I created when working on libmagic's vcpkg port. In retrospect I should have just used the officially supported pkg-config, which I didn't to avoid another development dependency, especially on Windows. If this package cannot be found, we fall back to finding libmagic manually with find_library (we could have found it with pkg-config instead in this case). If you see from the log, we first find_package(unofficial-libmagic), which fails, and then we find it manually, which succeeds.

LZ4 is a similar case of a dependency being acquired through multiple means: with the CMake package (which is not yet widely used among software distributions) or manually. The not found log message coming right before the found message says a similar story with libmagic.

As for the duplicate not found log messages, this happens because we find libmagic and lz4 in two places. The second time, we try to find unofficial-libmagic which fails as expected, and then try to find it manually which has succeeded before and does not print a message again. This can be fixed by moving all find_package calls in one place high enough in the directory hierarchy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants