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

[libmariadb] Build error on arm64-linux #44707

Open
Sh3Ns opened this issue Mar 31, 2025 · 0 comments · May be fixed by #44015
Open

[libmariadb] Build error on arm64-linux #44707

Sh3Ns opened this issue Mar 31, 2025 · 0 comments · May be fixed by #44015
Assignees
Labels
category:port-bug The issue is with a library, which is something the port should already support

Comments

@Sh3Ns
Copy link

Sh3Ns commented Mar 31, 2025

Package: libmariadb[core,openssl,ssl]:arm64-linux@3.4.1

Host Environment

  • Host: arm64-linux
  • Compiler: GNU 13.1.0
  • vcpkg-tool version: 2025-03-22-d4dd14112c2026ee57e59f966ecfa3b9137bd143
    vcpkg-scripts version: acd5bba 2025-03-29 (2 days ago)

To Reproduce

vcpkg install libmariadb

Failure logs

-- Using cached mariadb-corporation-mariadb-connector-c-v3.4.1.tar.gz
-- Cleaning sources at /root/vcpkg/buildtrees/libmariadb/src/v3.4.1-3a966c3287.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /root/vcpkg/downloads/mariadb-corporation-mariadb-connector-c-v3.4.1.tar.gz
-- Applying patch compiler-flags.diff
-- Applying patch dependencies.diff
-- Applying patch disable-mariadb_config.diff
-- Applying patch library-linkage.diff
-- Applying patch cmake-export.diff
-- Applying patch no-abs-path.diff
-- Applying patch ushort-check.diff
-- Using source at /root/vcpkg/buildtrees/libmariadb/src/v3.4.1-3a966c3287.clean
-- Configuring arm64-linux
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
    Command failed: /usr/bin/ninja -v
    Working Directory: /root/vcpkg/buildtrees/libmariadb/arm64-linux-rel/vcpkg-parallel-configure
    Error code: 1
    See logs for more information:
      /root/vcpkg/buildtrees/libmariadb/config-arm64-linux-dbg-CMakeCache.txt.log
      /root/vcpkg/buildtrees/libmariadb/config-arm64-linux-rel-CMakeCache.txt.log
      /root/vcpkg/buildtrees/libmariadb/config-arm64-linux-out.log

Call Stack (most recent call first):
  installed/arm64-linux/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:269 (vcpkg_execute_required_process)
  ports/libmariadb/portfile.cmake:50 (vcpkg_cmake_configure)
  scripts/ports.cmake:203 (include)



/root/vcpkg/buildtrees/libmariadb/config-arm64-linux-rel-CMakeCache.txt.log
# This is the CMakeCache file.
# For build in directory: /root/vcpkg/buildtrees/libmariadb/arm64-linux-rel
# It was generated by CMake: /snap/cmake/1458/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.

########################
# EXTERNAL cache entries
########################

//No help, variable specified on the command line.
AUTH_GSSAPI_PLUGIN_TYPE:UNINITIALIZED=OFF

//No help, variable specified on the command line.
BUILD_SHARED_LIBS:UNINITIALIZED=OFF

//No help, variable specified on the command line.
CLIENT_PLUGIN_AUTH_GSSAPI_CLIENT:UNINITIALIZED=OFF

//No help, variable specified on the command line.
CLIENT_PLUGIN_CACHING_SHA2_PASSWORD:UNINITIALIZED=STATIC

//No help, variable specified on the command line.
CLIENT_PLUGIN_CLIENT_ED25519:UNINITIALIZED=DYNAMIC

//No help, variable specified on the command line.
CLIENT_PLUGIN_DIALOG:UNINITIALIZED=STATIC

//No help, variable specified on the command line.
CLIENT_PLUGIN_MYSQL_CLEAR_PASSWORD:UNINITIALIZED=STATIC

//No help, variable specified on the command line.
CLIENT_PLUGIN_MYSQL_OLD_PASSWORD:UNINITIALIZED=OFF

//No help, variable specified on the command line.
CLIENT_PLUGIN_PARSEC:UNINITIALIZED=OFF

//No help, variable specified on the command line.
CLIENT_PLUGIN_SHA256_PASSWORD:UNINITIALIZED=STATIC

//No help, variable specified on the command line.
CLIENT_PLUGIN_ZSTD:UNINITIALIZED=OFF

//No help, variable specified on the command line.
CMAKE_BUILD_TYPE:UNINITIALIZED=Release

//No help, variable specified on the command line.
CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION:UNINITIALIZED=ON

//No help, variable specified on the command line.
CMAKE_EXPORT_NO_PACKAGE_REGISTRY:UNINITIALIZED=ON

//No help, variable specified on the command line.
CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY:UNINITIALIZED=ON

//No help, variable specified on the command line.
CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY:UNINITIALIZED=ON

//Value Computed by CMake.
CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=/root/vcpkg/buildtrees/libmariadb/arm64-linux-rel/CMakeFiles/pkgRedirects

//No help, variable specified on the command line.
CMAKE_INSTALL_BINDIR:STRING=bin

//No help, variable specified on the command line.
CMAKE_INSTALL_LIBDIR:STRING=lib

//No help, variable specified on the command line.
CMAKE_INSTALL_PREFIX:UNINITIALIZED=/root/vcpkg/packages/libmariadb_arm64-linux

//No help, variable specified on the command line.
CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP:UNINITIALIZED=TRUE

//No help, variable specified on the command line.
CMAKE_MAKE_PROGRAM:UNINITIALIZED=/usr/bin/ninja

//No help, variable specified on the command line.
CMAKE_POLICY_DEFAULT_CMP0153:UNINITIALIZED=OLD

//No help, variable specified on the command line.
CMAKE_SYSTEM_NAME:UNINITIALIZED=Linux

//No help, variable specified on the command line.
CMAKE_TOOLCHAIN_FILE:UNINITIALIZED=/root/vcpkg/scripts/buildsystems/vcpkg.cmake

//No help, variable specified on the command line.
CMAKE_VERBOSE_MAKEFILE:UNINITIALIZED=ON

//No help, variable specified on the command line.
FETCHCONTENT_FULLY_DISCONNECTED:UNINITIALIZED=ON

//No help, variable specified on the command line.
INSTALL_INCLUDEDIR:UNINITIALIZED=include/mysql

//No help, variable specified on the command line.
INSTALL_LIBDIR:UNINITIALIZED=lib

//No help, variable specified on the command line.
INSTALL_PLUGINDIR:UNINITIALIZED=plugins/libmariadb

//No help, variable specified on the command line.
REMOTEIO_PLUGIN_TYPE:UNINITIALIZED=OFF

//No help, variable specified on the command line.
VCPKG_APPLOCAL_DEPS:UNINITIALIZED=OFF

//No help, variable specified on the command line.
VCPKG_CHAINLOAD_TOOLCHAIN_FILE:UNINITIALIZED=/root/vcpkg/scripts/toolchains/linux.cmake

//No help, variable specified on the command line.
VCPKG_CRT_LINKAGE:UNINITIALIZED=dynamic

//No help, variable specified on the command line.
VCPKG_CXX_FLAGS:UNINITIALIZED=

//No help, variable specified on the command line.
VCPKG_CXX_FLAGS_DEBUG:UNINITIALIZED=

//No help, variable specified on the command line.
VCPKG_CXX_FLAGS_RELEASE:UNINITIALIZED=

//No help, variable specified on the command line.
VCPKG_C_FLAGS:UNINITIALIZED=

//No help, variable specified on the command line.
VCPKG_C_FLAGS_DEBUG:UNINITIALIZED=

//No help, variable specified on the command line.
VCPKG_C_FLAGS_RELEASE:UNINITIALIZED=

//No help, variable specified on the command line.
VCPKG_LINKER_FLAGS:UNINITIALIZED=

//No help, variable specified on the command line.
VCPKG_LINKER_FLAGS_DEBUG:UNINITIALIZED=

//No help, variable specified on the command line.
VCPKG_LINKER_FLAGS_RELEASE:UNINITIALIZED=

//No help, variable specified on the command line.
VCPKG_MANIFEST_INSTALL:UNINITIALIZED=OFF

//No help, variable specified on the command line.
VCPKG_PLATFORM_TOOLSET:UNINITIALIZED=external

//No help, variable specified on the command line.
VCPKG_SET_CHARSET_FLAG:UNINITIALIZED=ON

//No help, variable specified on the command line.
VCPKG_TARGET_ARCHITECTURE:UNINITIALIZED=arm64

//No help, variable specified on the command line.
VCPKG_TARGET_TRIPLET:UNINITIALIZED=arm64-linux

//No help, variable specified on the command line.
WITH_CURL:UNINITIALIZED=OFF

//No help, variable specified on the command line.
WITH_EXTERNAL_ZLIB:UNINITIALIZED=ON

//No help, variable specified on the command line.
WITH_ICONV:UNINITIALIZED=OFF

//No help, variable specified on the command line.
WITH_SSL:UNINITIALIZED=OPENSSL

//No help, variable specified on the command line.
WITH_UNIT_TESTS:UNINITIALIZED=OFF

//No help, variable specified on the command line.
WITH_ZSTD:UNINITIALIZED=OFF

//No help, variable specified on the command line.
_VCPKG_INSTALLED_DIR:UNINITIALIZED=/root/vcpkg/installed

//No help, variable specified on the command line.
_VCPKG_ROOT_DIR:UNINITIALIZED=/root/vcpkg


########################
# INTERNAL cache entries
########################

//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=/root/vcpkg/buildtrees/libmariadb/arm64-linux-rel
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=4
//Minor version of cmake used to create the current loaded cache
CMAKE_CACHE_MINOR_VERSION:INTERNAL=0
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=0
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=/snap/cmake/1458/bin/cmake
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=/snap/cmake/1458/bin/cpack
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=/snap/cmake/1458/bin/ctest
//Path to cache edit program executable.
CMAKE_EDIT_COMMAND:INTERNAL=/snap/cmake/1458/bin/cmake-gui
//Name of external makefile project generator.
CMAKE_EXTRA_GENERATOR:INTERNAL=
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Ninja
//Generator instance identifier.
CMAKE_GENERATOR_INSTANCE:INTERNAL=
//Name of generator platform.
CMAKE_GENERATOR_PLATFORM:INTERNAL=
//Name of generator toolset.
CMAKE_GENERATOR_TOOLSET:INTERNAL=
//Source directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=/root/vcpkg/buildtrees/libmariadb/src/v3.4.1-3a966c3287.clean
//Name of CMakeLists files to read
CMAKE_LIST_FILE_NAME:INTERNAL=CMakeLists.txt
//number of local generators
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=/snap/cmake/1458/share/cmake-4.0
/root/vcpkg/buildtrees/libmariadb/config-arm64-linux-dbg-CMakeCache.txt.log
# This is the CMakeCache file.
# For build in directory: /root/vcpkg/buildtrees/libmariadb/arm64-linux-dbg
# It was generated by CMake: /snap/cmake/1458/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.

########################
# EXTERNAL cache entries
########################

//No help, variable specified on the command line.
AUTH_GSSAPI_PLUGIN_TYPE:UNINITIALIZED=OFF

//No help, variable specified on the command line.
BUILD_SHARED_LIBS:UNINITIALIZED=OFF

//No help, variable specified on the command line.
CLIENT_PLUGIN_AUTH_GSSAPI_CLIENT:UNINITIALIZED=OFF

//No help, variable specified on the command line.
CLIENT_PLUGIN_CACHING_SHA2_PASSWORD:UNINITIALIZED=STATIC

//No help, variable specified on the command line.
CLIENT_PLUGIN_CLIENT_ED25519:UNINITIALIZED=DYNAMIC

//No help, variable specified on the command line.
CLIENT_PLUGIN_DIALOG:UNINITIALIZED=STATIC

//No help, variable specified on the command line.
CLIENT_PLUGIN_MYSQL_CLEAR_PASSWORD:UNINITIALIZED=STATIC

//No help, variable specified on the command line.
CLIENT_PLUGIN_MYSQL_OLD_PASSWORD:UNINITIALIZED=OFF

//No help, variable specified on the command line.
CLIENT_PLUGIN_PARSEC:UNINITIALIZED=OFF

//No help, variable specified on the command line.
CLIENT_PLUGIN_SHA256_PASSWORD:UNINITIALIZED=STATIC

//No help, variable specified on the command line.
CLIENT_PLUGIN_ZSTD:UNINITIALIZED=OFF

//No help, variable specified on the command line.
CMAKE_BUILD_TYPE:UNINITIALIZED=Debug

//No help, variable specified on the command line.
CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION:UNINITIALIZED=ON

//No help, variable specified on the command line.
CMAKE_EXPORT_NO_PACKAGE_REGISTRY:UNINITIALIZED=ON

//No help, variable specified on the command line.
CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY:UNINITIALIZED=ON

//No help, variable specified on the command line.
CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY:UNINITIALIZED=ON

//Value Computed by CMake.
CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=/root/vcpkg/buildtrees/libmariadb/arm64-linux-dbg/CMakeFiles/pkgRedirects

//No help, variable specified on the command line.
CMAKE_INSTALL_BINDIR:STRING=bin

//No help, variable specified on the command line.
CMAKE_INSTALL_LIBDIR:STRING=lib

//No help, variable specified on the command line.
CMAKE_INSTALL_PREFIX:UNINITIALIZED=/root/vcpkg/packages/libmariadb_arm64-linux/debug

//No help, variable specified on the command line.
CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP:UNINITIALIZED=TRUE

//No help, variable specified on the command line.
CMAKE_MAKE_PROGRAM:UNINITIALIZED=/usr/bin/ninja

//No help, variable specified on the command line.
CMAKE_POLICY_DEFAULT_CMP0153:UNINITIALIZED=OLD

//No help, variable specified on the command line.
CMAKE_SYSTEM_NAME:UNINITIALIZED=Linux

//No help, variable specified on the command line.
CMAKE_TOOLCHAIN_FILE:UNINITIALIZED=/root/vcpkg/scripts/buildsystems/vcpkg.cmake

//No help, variable specified on the command line.
CMAKE_VERBOSE_MAKEFILE:UNINITIALIZED=ON

//No help, variable specified on the command line.
FETCHCONTENT_FULLY_DISCONNECTED:UNINITIALIZED=ON

//No help, variable specified on the command line.
INSTALL_INCLUDEDIR:UNINITIALIZED=include/mysql

//No help, variable specified on the command line.
INSTALL_LIBDIR:UNINITIALIZED=lib

//No help, variable specified on the command line.
INSTALL_PLUGINDIR:UNINITIALIZED=plugins/libmariadb

//No help, variable specified on the command line.
REMOTEIO_PLUGIN_TYPE:UNINITIALIZED=OFF

//No help, variable specified on the command line.
VCPKG_APPLOCAL_DEPS:UNINITIALIZED=OFF

//No help, variable specified on the command line.
VCPKG_CHAINLOAD_TOOLCHAIN_FILE:UNINITIALIZED=/root/vcpkg/scripts/toolchains/linux.cmake

//No help, variable specified on the command line.
VCPKG_CRT_LINKAGE:UNINITIALIZED=dynamic

//No help, variable specified on the command line.
VCPKG_CXX_FLAGS:UNINITIALIZED=

//No help, variable specified on the command line.
VCPKG_CXX_FLAGS_DEBUG:UNINITIALIZED=

//No help, variable specified on the command line.
VCPKG_CXX_FLAGS_RELEASE:UNINITIALIZED=

//No help, variable specified on the command line.
VCPKG_C_FLAGS:UNINITIALIZED=

//No help, variable specified on the command line.
VCPKG_C_FLAGS_DEBUG:UNINITIALIZED=

//No help, variable specified on the command line.
VCPKG_C_FLAGS_RELEASE:UNINITIALIZED=

//No help, variable specified on the command line.
VCPKG_LINKER_FLAGS:UNINITIALIZED=

//No help, variable specified on the command line.
VCPKG_LINKER_FLAGS_DEBUG:UNINITIALIZED=

//No help, variable specified on the command line.
VCPKG_LINKER_FLAGS_RELEASE:UNINITIALIZED=

//No help, variable specified on the command line.
VCPKG_MANIFEST_INSTALL:UNINITIALIZED=OFF

//No help, variable specified on the command line.
VCPKG_PLATFORM_TOOLSET:UNINITIALIZED=external

//No help, variable specified on the command line.
VCPKG_SET_CHARSET_FLAG:UNINITIALIZED=ON

//No help, variable specified on the command line.
VCPKG_TARGET_ARCHITECTURE:UNINITIALIZED=arm64

//No help, variable specified on the command line.
VCPKG_TARGET_TRIPLET:UNINITIALIZED=arm64-linux

//No help, variable specified on the command line.
WITH_CURL:UNINITIALIZED=OFF

//No help, variable specified on the command line.
WITH_EXTERNAL_ZLIB:UNINITIALIZED=ON

//No help, variable specified on the command line.
WITH_ICONV:UNINITIALIZED=OFF

//No help, variable specified on the command line.
WITH_SSL:UNINITIALIZED=OPENSSL

//No help, variable specified on the command line.
WITH_UNIT_TESTS:UNINITIALIZED=OFF

//No help, variable specified on the command line.
WITH_ZSTD:UNINITIALIZED=OFF

//No help, variable specified on the command line.
_VCPKG_INSTALLED_DIR:UNINITIALIZED=/root/vcpkg/installed

//No help, variable specified on the command line.
_VCPKG_ROOT_DIR:UNINITIALIZED=/root/vcpkg


########################
# INTERNAL cache entries
########################

//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=/root/vcpkg/buildtrees/libmariadb/arm64-linux-dbg
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=4
//Minor version of cmake used to create the current loaded cache
CMAKE_CACHE_MINOR_VERSION:INTERNAL=0
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=0
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=/snap/cmake/1458/bin/cmake
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=/snap/cmake/1458/bin/cpack
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=/snap/cmake/1458/bin/ctest
//Path to cache edit program executable.
CMAKE_EDIT_COMMAND:INTERNAL=/snap/cmake/1458/bin/cmake-gui
//Name of external makefile project generator.
CMAKE_EXTRA_GENERATOR:INTERNAL=
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Ninja
//Generator instance identifier.
CMAKE_GENERATOR_INSTANCE:INTERNAL=
//Name of generator platform.
CMAKE_GENERATOR_PLATFORM:INTERNAL=
//Name of generator toolset.
CMAKE_GENERATOR_TOOLSET:INTERNAL=
//Source directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=/root/vcpkg/buildtrees/libmariadb/src/v3.4.1-3a966c3287.clean
//Name of CMakeLists files to read
CMAKE_LIST_FILE_NAME:INTERNAL=CMakeLists.txt
//number of local generators
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=/snap/cmake/1458/share/cmake-4.0
/root/vcpkg/buildtrees/libmariadb/config-arm64-linux-out.log
[1/2] "/snap/cmake/1458/bin/cmake" -E chdir ".." "/snap/cmake/1458/bin/cmake" "/root/vcpkg/buildtrees/libmariadb/src/v3.4.1-3a966c3287.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=/root/vcpkg/packages/libmariadb_arm64-linux" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DWITH_ICONV=OFF" "-DWITH_ZSTD=OFF" "-DCMAKE_POLICY_DEFAULT_CMP0153=OLD" "-DINSTALL_INCLUDEDIR=include/mysql" "-DINSTALL_LIBDIR=lib" "-DINSTALL_PLUGINDIR=plugins/libmariadb" "-DWITH_CURL=OFF" "-DWITH_EXTERNAL_ZLIB=ON" "-DWITH_SSL=OPENSSL" "-DWITH_UNIT_TESTS=OFF" "-DCLIENT_PLUGIN_AUTH_GSSAPI_CLIENT=OFF" "-DCLIENT_PLUGIN_CACHING_SHA2_PASSWORD=STATIC" "-DCLIENT_PLUGIN_CLIENT_ED25519=DYNAMIC" "-DCLIENT_PLUGIN_DIALOG=STATIC" "-DCLIENT_PLUGIN_PARSEC=OFF" "-DCLIENT_PLUGIN_MYSQL_CLEAR_PASSWORD=STATIC" "-DCLIENT_PLUGIN_MYSQL_OLD_PASSWORD=OFF" "-DCLIENT_PLUGIN_SHA256_PASSWORD=STATIC" "-DCLIENT_PLUGIN_ZSTD=OFF" "-DAUTH_GSSAPI_PLUGIN_TYPE=OFF" "-DREMOTEIO_PLUGIN_TYPE=OFF" "-DCMAKE_MAKE_PROGRAM=/usr/bin/ninja" "-DCMAKE_SYSTEM_NAME=Linux" "-DBUILD_SHARED_LIBS=OFF" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=/root/vcpkg/scripts/toolchains/linux.cmake" "-DVCPKG_TARGET_TRIPLET=arm64-linux" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=external" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=/root/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=arm64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=/root/vcpkg" "-D_VCPKG_INSTALLED_DIR=/root/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF"
FAILED: ../CMakeCache.txt 
"/snap/cmake/1458/bin/cmake" -E chdir ".." "/snap/cmake/1458/bin/cmake" "/root/vcpkg/buildtrees/libmariadb/src/v3.4.1-3a966c3287.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=/root/vcpkg/packages/libmariadb_arm64-linux" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DWITH_ICONV=OFF" "-DWITH_ZSTD=OFF" "-DCMAKE_POLICY_DEFAULT_CMP0153=OLD" "-DINSTALL_INCLUDEDIR=include/mysql" "-DINSTALL_LIBDIR=lib" "-DINSTALL_PLUGINDIR=plugins/libmariadb" "-DWITH_CURL=OFF" "-DWITH_EXTERNAL_ZLIB=ON" "-DWITH_SSL=OPENSSL" "-DWITH_UNIT_TESTS=OFF" "-DCLIENT_PLUGIN_AUTH_GSSAPI_CLIENT=OFF" "-DCLIENT_PLUGIN_CACHING_SHA2_PASSWORD=STATIC" "-DCLIENT_PLUGIN_CLIENT_ED25519=DYNAMIC" "-DCLIENT_PLUGIN_DIALOG=STATIC" "-DCLIENT_PLUGIN_PARSEC=OFF" "-DCLIENT_PLUGIN_MYSQL_CLEAR_PASSWORD=STATIC" "-DCLIENT_PLUGIN_MYSQL_OLD_PASSWORD=OFF" "-DCLIENT_PLUGIN_SHA256_PASSWORD=STATIC" "-DCLIENT_PLUGIN_ZSTD=OFF" "-DAUTH_GSSAPI_PLUGIN_TYPE=OFF" "-DREMOTEIO_PLUGIN_TYPE=OFF" "-DCMAKE_MAKE_PROGRAM=/usr/bin/ninja" "-DCMAKE_SYSTEM_NAME=Linux" "-DBUILD_SHARED_LIBS=OFF" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=/root/vcpkg/scripts/toolchains/linux.cmake" "-DVCPKG_TARGET_TRIPLET=arm64-linux" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=external" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=/root/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=arm64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=/root/vcpkg" "-D_VCPKG_INSTALLED_DIR=/root/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF"
CMake Error at CMakeLists.txt:5 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 3.5 has been removed from CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.


-- Configuring incomplete, errors occurred!
[2/2] "/snap/cmake/1458/bin/cmake" -E chdir "../../arm64-linux-dbg" "/snap/cmake/1458/bin/cmake" "/root/vcpkg/buildtrees/libmariadb/src/v3.4.1-3a966c3287.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=/root/vcpkg/packages/libmariadb_arm64-linux/debug" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DWITH_ICONV=OFF" "-DWITH_ZSTD=OFF" "-DCMAKE_POLICY_DEFAULT_CMP0153=OLD" "-DINSTALL_INCLUDEDIR=include/mysql" "-DINSTALL_LIBDIR=lib" "-DINSTALL_PLUGINDIR=plugins/libmariadb" "-DWITH_CURL=OFF" "-DWITH_EXTERNAL_ZLIB=ON" "-DWITH_SSL=OPENSSL" "-DWITH_UNIT_TESTS=OFF" "-DCLIENT_PLUGIN_AUTH_GSSAPI_CLIENT=OFF" "-DCLIENT_PLUGIN_CACHING_SHA2_PASSWORD=STATIC" "-DCLIENT_PLUGIN_CLIENT_ED25519=DYNAMIC" "-DCLIENT_PLUGIN_DIALOG=STATIC" "-DCLIENT_PLUGIN_PARSEC=OFF" "-DCLIENT_PLUGIN_MYSQL_CLEAR_PASSWORD=STATIC" "-DCLIENT_PLUGIN_MYSQL_OLD_PASSWORD=OFF" "-DCLIENT_PLUGIN_SHA256_PASSWORD=STATIC" "-DCLIENT_PLUGIN_ZSTD=OFF" "-DAUTH_GSSAPI_PLUGIN_TYPE=OFF" "-DREMOTEIO_PLUGIN_TYPE=OFF" "-DCMAKE_MAKE_PROGRAM=/usr/bin/ninja" "-DCMAKE_SYSTEM_NAME=Linux" "-DBUILD_SHARED_LIBS=OFF" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=/root/vcpkg/scripts/toolchains/linux.cmake" "-DVCPKG_TARGET_TRIPLET=arm64-linux" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=external" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=/root/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=arm64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=/root/vcpkg" "-D_VCPKG_INSTALLED_DIR=/root/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF"
FAILED: ../../arm64-linux-dbg/CMakeCache.txt 
"/snap/cmake/1458/bin/cmake" -E chdir "../../arm64-linux-dbg" "/snap/cmake/1458/bin/cmake" "/root/vcpkg/buildtrees/libmariadb/src/v3.4.1-3a966c3287.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=/root/vcpkg/packages/libmariadb_arm64-linux/debug" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DWITH_ICONV=OFF" "-DWITH_ZSTD=OFF" "-DCMAKE_POLICY_DEFAULT_CMP0153=OLD" "-DINSTALL_INCLUDEDIR=include/mysql" "-DINSTALL_LIBDIR=lib" "-DINSTALL_PLUGINDIR=plugins/libmariadb" "-DWITH_CURL=OFF" "-DWITH_EXTERNAL_ZLIB=ON" "-DWITH_SSL=OPENSSL" "-DWITH_UNIT_TESTS=OFF" "-DCLIENT_PLUGIN_AUTH_GSSAPI_CLIENT=OFF" "-DCLIENT_PLUGIN_CACHING_SHA2_PASSWORD=STATIC" "-DCLIENT_PLUGIN_CLIENT_ED25519=DYNAMIC" "-DCLIENT_PLUGIN_DIALOG=STATIC" "-DCLIENT_PLUGIN_PARSEC=OFF" "-DCLIENT_PLUGIN_MYSQL_CLEAR_PASSWORD=STATIC" "-DCLIENT_PLUGIN_MYSQL_OLD_PASSWORD=OFF" "-DCLIENT_PLUGIN_SHA256_PASSWORD=STATIC" "-DCLIENT_PLUGIN_ZSTD=OFF" "-DAUTH_GSSAPI_PLUGIN_TYPE=OFF" "-DREMOTEIO_PLUGIN_TYPE=OFF" "-DCMAKE_MAKE_PROGRAM=/usr/bin/ninja" "-DCMAKE_SYSTEM_NAME=Linux" "-DBUILD_SHARED_LIBS=OFF" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=/root/vcpkg/scripts/toolchains/linux.cmake" "-DVCPKG_TARGET_TRIPLET=arm64-linux" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=external" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=/root/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=arm64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=/root/vcpkg" "-D_VCPKG_INSTALLED_DIR=/root/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF"
CMake Error at CMakeLists.txt:5 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 3.5 has been removed from CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.


-- Configuring incomplete, errors occurred!
ninja: build stopped: subcommand failed.
@LilyWangLL LilyWangLL added the category:port-bug The issue is with a library, which is something the port should already support label Mar 31, 2025
@LilyWangLL LilyWangLL linked a pull request Apr 1, 2025 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants