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

[suitesparse] Build error on x64-linux #41048

Closed
HernandoR opened this issue Sep 18, 2024 · 2 comments
Closed

[suitesparse] Build error on x64-linux #41048

HernandoR opened this issue Sep 18, 2024 · 2 comments
Assignees
Labels
requires:repro The issue is not currently repro-able Stale

Comments

@HernandoR
Copy link

issue_body.md
Package: suitesparse:x64-linux@5.8.0#2

Host Environment

  • Host: x64-linux
  • Compiler: Clang 18.1.8
  • vcpkg-tool version: 2024-08-01-fd884a0d390d12783076341bd43d77c3a6a15658
    vcpkg-scripts version: dd3adcf 2024-09-17 (8 小时前)

To Reproduce

vcpkg install

Failure logs

-- Using cached DrTimothyAldenDavis-SuiteSparse-71e330ca2bc0a2f12f416c461d23dbca21db4d8f.tar.gz.
-- Cleaning sources at /home/lz/Codes/vcpkg/buildtrees/suitesparse/src/ca21db4d8f-31bbc10efb.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /home/lz/Codes/vcpkg/downloads/DrTimothyAldenDavis-SuiteSparse-71e330ca2bc0a2f12f416c461d23dbca21db4d8f.tar.gz
-- Using source at /home/lz/Codes/vcpkg/buildtrees/suitesparse/src/ca21db4d8f-31bbc10efb.clean
-- Using cached jlblancoc-suitesparse-metis-for-windows-c11e8dd7a2ef7d0d93af4c16f75374dd8ca029e2.tar.gz.
-- Cleaning sources at /home/lz/Codes/vcpkg/buildtrees/suitesparse/src/dd8ca029e2-bdd475c274.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /home/lz/Codes/vcpkg/downloads/jlblancoc-suitesparse-metis-for-windows-c11e8dd7a2ef7d0d93af4c16f75374dd8ca029e2.tar.gz
-- Applying patch build_fixes.patch
-- Using source at /home/lz/Codes/vcpkg/buildtrees/suitesparse/src/dd8ca029e2-bdd475c274.clean
-- Overwriting SuiteSparseWin source files with SuiteSparse source files...
-- Overwriting SuiteSparseWin source files with SuiteSparse source files... done
-- Removing integrated lapack and metis lib...
-- Removing integrated lapack and metis lib... done
-- Configuring x64-linux
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
    Command failed: /home/lz/Codes/vcpkg/downloads/tools/ninja/1.10.2-linux/ninja -v
    Working Directory: /home/lz/Codes/vcpkg/buildtrees/suitesparse/x64-linux-rel/vcpkg-parallel-configure
    Error code: 1
    See logs for more information:
      /home/lz/Codes/vcpkg/buildtrees/suitesparse/config-x64-linux-dbg-CMakeCache.txt.log
      /home/lz/Codes/vcpkg/buildtrees/suitesparse/config-x64-linux-rel-CMakeCache.txt.log
      /home/lz/Codes/vcpkg/buildtrees/suitesparse/config-x64-linux-dbg-CMakeConfigureLog.yaml.log
      /home/lz/Codes/vcpkg/buildtrees/suitesparse/config-x64-linux-rel-CMakeConfigureLog.yaml.log
      /home/lz/Codes/vcpkg/buildtrees/suitesparse/config-x64-linux-out.log

Call Stack (most recent call first):
  /home/lz/Codes/colmap/vcpkg_installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:269 (vcpkg_execute_required_process)
  ports/suitesparse/portfile.cmake:32 (vcpkg_cmake_configure)
  scripts/ports.cmake:192 (include)



/home/lz/Codes/vcpkg/buildtrees/suitesparse/config-x64-linux-out.log
[1/2] "/home/lz/Codes/cmake-3.30.3-linux-x86_64/bin/cmake" -E chdir ".." "/home/lz/Codes/cmake-3.30.3-linux-x86_64/bin/cmake" "/home/lz/Codes/vcpkg/buildtrees/suitesparse/src/dd8ca029e2-bdd475c274.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=/home/lz/Codes/vcpkg/packages/suitesparse_x64-linux" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DBUILD_METIS=OFF" "-DUSE_VCPKG_METIS=ON" "-DMETIS_SOURCE_DIR=/home/lz/Codes/colmap/vcpkg_installed/x64-linux" "-DCMAKE_MAKE_PROGRAM=/home/lz/Codes/vcpkg/downloads/tools/ninja/1.10.2-linux/ninja" "-DCMAKE_SYSTEM_NAME=Linux" "-DBUILD_SHARED_LIBS=OFF" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=/home/lz/Codes/vcpkg/scripts/toolchains/linux.cmake" "-DVCPKG_TARGET_TRIPLET=x64-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=/home/lz/Codes/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=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=/home/lz/Codes/vcpkg" "-D_VCPKG_INSTALLED_DIR=/home/lz/Codes/colmap/vcpkg_installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-DSUITESPARSE_INSTALL_PREFIX=/home/lz/Codes/vcpkg/packages/suitesparse_x64-linux"
FAILED: ../CMakeCache.txt 
"/home/lz/Codes/cmake-3.30.3-linux-x86_64/bin/cmake" -E chdir ".." "/home/lz/Codes/cmake-3.30.3-linux-x86_64/bin/cmake" "/home/lz/Codes/vcpkg/buildtrees/suitesparse/src/dd8ca029e2-bdd475c274.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=/home/lz/Codes/vcpkg/packages/suitesparse_x64-linux" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DBUILD_METIS=OFF" "-DUSE_VCPKG_METIS=ON" "-DMETIS_SOURCE_DIR=/home/lz/Codes/colmap/vcpkg_installed/x64-linux" "-DCMAKE_MAKE_PROGRAM=/home/lz/Codes/vcpkg/downloads/tools/ninja/1.10.2-linux/ninja" "-DCMAKE_SYSTEM_NAME=Linux" "-DBUILD_SHARED_LIBS=OFF" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=/home/lz/Codes/vcpkg/scripts/toolchains/linux.cmake" "-DVCPKG_TARGET_TRIPLET=x64-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=/home/lz/Codes/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=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=/home/lz/Codes/vcpkg" "-D_VCPKG_INSTALLED_DIR=/home/lz/Codes/colmap/vcpkg_installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-DSUITESPARSE_INSTALL_PREFIX=/home/lz/Codes/vcpkg/packages/suitesparse_x64-linux"
CMake Warning (dev) at CMakeLists.txt:8 (PROJECT):
  cmake_minimum_required() should be called prior to this top-level project()
  call.  Please see the cmake-commands(7) manual for usage documentation of
  both commands.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is Clang 18.1.8
-- The CXX compiler identification is Clang 18.1.8
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
...
Skipped 30 lines
...
  set the policy and suppress this warning.
Call Stack (most recent call first):
  /home/lz/Codes/vcpkg/scripts/buildsystems/vcpkg.cmake:813 (include)
  CMakeLists.txt:140 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Looking for cheev_
-- Looking for cheev_ - not found
-- Looking for cheev_
-- Looking for cheev_ - not found
-- Looking for cheev_
-- Looking for cheev_ - not found
-- Looking for cheev_
-- Looking for cheev_ - not found
CMake Error at /home/lz/Codes/colmap/vcpkg_installed/x64-linux/share/lapack/FindLAPACK.cmake:522 (message):
  A required library with LAPACK API not found.  Please specify library
  location.
Call Stack (most recent call first):
  /home/lz/Codes/colmap/vcpkg_installed/x64-linux/share/lapack/vcpkg-cmake-wrapper.cmake:19 (_find_package)
  /home/lz/Codes/vcpkg/scripts/buildsystems/vcpkg.cmake:813 (include)
  CMakeLists.txt:140 (find_package)


-- Configuring incomplete, errors occurred!
[2/2] "/home/lz/Codes/cmake-3.30.3-linux-x86_64/bin/cmake" -E chdir "../../x64-linux-dbg" "/home/lz/Codes/cmake-3.30.3-linux-x86_64/bin/cmake" "/home/lz/Codes/vcpkg/buildtrees/suitesparse/src/dd8ca029e2-bdd475c274.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=/home/lz/Codes/vcpkg/packages/suitesparse_x64-linux/debug" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DBUILD_METIS=OFF" "-DUSE_VCPKG_METIS=ON" "-DMETIS_SOURCE_DIR=/home/lz/Codes/colmap/vcpkg_installed/x64-linux" "-DCMAKE_MAKE_PROGRAM=/home/lz/Codes/vcpkg/downloads/tools/ninja/1.10.2-linux/ninja" "-DCMAKE_SYSTEM_NAME=Linux" "-DBUILD_SHARED_LIBS=OFF" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=/home/lz/Codes/vcpkg/scripts/toolchains/linux.cmake" "-DVCPKG_TARGET_TRIPLET=x64-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=/home/lz/Codes/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=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=/home/lz/Codes/vcpkg" "-D_VCPKG_INSTALLED_DIR=/home/lz/Codes/colmap/vcpkg_installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-DSUITESPARSE_INSTALL_PREFIX=/home/lz/Codes/vcpkg/packages/suitesparse_x64-linux/debug"
FAILED: ../../x64-linux-dbg/CMakeCache.txt 
"/home/lz/Codes/cmake-3.30.3-linux-x86_64/bin/cmake" -E chdir "../../x64-linux-dbg" "/home/lz/Codes/cmake-3.30.3-linux-x86_64/bin/cmake" "/home/lz/Codes/vcpkg/buildtrees/suitesparse/src/dd8ca029e2-bdd475c274.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=/home/lz/Codes/vcpkg/packages/suitesparse_x64-linux/debug" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DBUILD_METIS=OFF" "-DUSE_VCPKG_METIS=ON" "-DMETIS_SOURCE_DIR=/home/lz/Codes/colmap/vcpkg_installed/x64-linux" "-DCMAKE_MAKE_PROGRAM=/home/lz/Codes/vcpkg/downloads/tools/ninja/1.10.2-linux/ninja" "-DCMAKE_SYSTEM_NAME=Linux" "-DBUILD_SHARED_LIBS=OFF" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=/home/lz/Codes/vcpkg/scripts/toolchains/linux.cmake" "-DVCPKG_TARGET_TRIPLET=x64-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=/home/lz/Codes/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=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=/home/lz/Codes/vcpkg" "-D_VCPKG_INSTALLED_DIR=/home/lz/Codes/colmap/vcpkg_installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-DSUITESPARSE_INSTALL_PREFIX=/home/lz/Codes/vcpkg/packages/suitesparse_x64-linux/debug"
CMake Warning (dev) at CMakeLists.txt:8 (PROJECT):
  cmake_minimum_required() should be called prior to this top-level project()
  call.  Please see the cmake-commands(7) manual for usage documentation of
  both commands.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is Clang 18.1.8
-- The CXX compiler identification is Clang 18.1.8
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at CMakeLists.txt:10 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Using default C++ standard 11
-- Using user defined CMAKE_INSTALL_PREFIX: /home/lz/Codes/vcpkg/packages/suitesparse_x64-linux/debug
-- Looking for sgemm_
-- Looking for sgemm_ - found
-- Found BLAS: /home/lz/Codes/colmap/vcpkg_installed/x64-linux/debug/lib/libopenblas.a
-- Using VCPKG FindLAPACK from package 'lapack-reference'
CMake Warning (dev) at /home/lz/Codes/colmap/vcpkg_installed/x64-linux/share/lapack/vcpkg-cmake-wrapper.cmake:9 (if):
  if given arguments:

    "ON"

  An argument named "ON" appears in a conditional statement.  Policy CMP0012
  is not set: if() recognizes numbers and boolean constants.  Run "cmake
  --help-policy CMP0012" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.
Call Stack (most recent call first):
  /home/lz/Codes/vcpkg/scripts/buildsystems/vcpkg.cmake:813 (include)
  CMakeLists.txt:140 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Looking for cheev_
-- Looking for cheev_ - not found
-- Looking for cheev_
-- Looking for cheev_ - not found
-- Looking for cheev_
-- Looking for cheev_ - not found
-- Looking for cheev_
-- Looking for cheev_ - not found
CMake Error at /home/lz/Codes/colmap/vcpkg_installed/x64-linux/share/lapack/FindLAPACK.cmake:522 (message):
  A required library with LAPACK API not found.  Please specify library
  location.
Call Stack (most recent call first):
  /home/lz/Codes/colmap/vcpkg_installed/x64-linux/share/lapack/vcpkg-cmake-wrapper.cmake:19 (_find_package)
  /home/lz/Codes/vcpkg/scripts/buildsystems/vcpkg.cmake:813 (include)
  CMakeLists.txt:140 (find_package)


-- Configuring incomplete, errors occurred!
ninja: build stopped: subcommand failed.
/home/lz/Codes/vcpkg/buildtrees/suitesparse/config-x64-linux-rel-CMakeCache.txt.log
# This is the CMakeCache file.
# For build in directory: /home/lz/Codes/vcpkg/buildtrees/suitesparse/x64-linux-rel
# It was generated by CMake: /home/lz/Codes/cmake-3.30.3-linux-x86_64/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
########################

//Path to a library.
BLAS_openblas_LIBRARY:FILEPATH=/home/lz/Codes/colmap/vcpkg_installed/x64-linux/lib/libopenblas.a

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

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

//Path to a program.
CMAKE_ADDR2LINE:FILEPATH=/usr/bin/addr2line

//Path to a program.
CMAKE_AR:FILEPATH=/usr/bin/ar

//Choose the type of build, options are: None Debug Release RelWithDebInfo
// MinSizeRel ...
CMAKE_BUILD_TYPE:STRING=Release

CMAKE_CROSSCOMPILING:BOOL=OFF

//CXX compiler
CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/clang++

//LLVM archiver
CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/bin/llvm-ar-18

//`clang-scan-deps` dependency scanner
CMAKE_CXX_COMPILER_CLANG_SCAN_DEPS:FILEPATH=/usr/bin/clang-scan-deps-18

//Generate index for LLVM archive
CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/bin/llvm-ranlib-18

//Flags used by the CXX compiler during all build types.
CMAKE_CXX_FLAGS:STRING=-fPIC

//Flags used by the CXX compiler during DEBUG builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=-g

//Flags used by the CXX compiler during MINSIZEREL builds.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG

//Flags used by the CXX compiler during RELEASE builds.
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG

//Flags used by the CXX compiler during RELWITHDEBINFO builds.
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG

//C compiler
CMAKE_C_COMPILER:FILEPATH=/usr/bin/clang

//LLVM archiver
CMAKE_C_COMPILER_AR:FILEPATH=/usr/bin/llvm-ar-18

//`clang-scan-deps` dependency scanner
CMAKE_C_COMPILER_CLANG_SCAN_DEPS:FILEPATH=/usr/bin/clang-scan-deps-18

//Generate index for LLVM archive
CMAKE_C_COMPILER_RANLIB:FILEPATH=/usr/bin/llvm-ranlib-18

//Flags used by the C compiler during all build types.
CMAKE_C_FLAGS:STRING=-fPIC

//Flags used by the C compiler during DEBUG builds.
CMAKE_C_FLAGS_DEBUG:STRING=-g

//Flags used by the C compiler during MINSIZEREL builds.
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG

//Flags used by the C compiler during RELEASE builds.
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG

//Flags used by the C compiler during RELWITHDEBINFO builds.
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG

//Path to a program.
CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND

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

//Flags used by the linker during all build types.
CMAKE_EXE_LINKER_FLAGS:STRING=

//Flags used by the linker during DEBUG builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during MINSIZEREL builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during RELEASE builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during RELWITHDEBINFO builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Enable/Disable output of compile commands during generation.
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=

//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.
...
Skipped 396 lines
...
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
//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=
//Test CMAKE_HAVE_LIBC_PTHREAD
CMAKE_HAVE_LIBC_PTHREAD:INTERNAL=
//Have library pthreads
CMAKE_HAVE_PTHREADS_CREATE:INTERNAL=
//Have library pthread
CMAKE_HAVE_PTHREAD_CREATE:INTERNAL=1
//Source directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=/home/lz/Codes/vcpkg/buildtrees/suitesparse/src/dd8ca029e2-bdd475c274.clean
//ADVANCED property for variable: CMAKE_INSTALL_BINDIR
CMAKE_INSTALL_BINDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DATADIR
CMAKE_INSTALL_DATADIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DATAROOTDIR
CMAKE_INSTALL_DATAROOTDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DOCDIR
CMAKE_INSTALL_DOCDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_INCLUDEDIR
CMAKE_INSTALL_INCLUDEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_INFODIR
CMAKE_INSTALL_INFODIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LIBDIR
CMAKE_INSTALL_LIBDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LIBEXECDIR
CMAKE_INSTALL_LIBEXECDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LOCALEDIR
CMAKE_INSTALL_LOCALEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LOCALSTATEDIR
CMAKE_INSTALL_LOCALSTATEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_MANDIR
CMAKE_INSTALL_MANDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_OLDINCLUDEDIR
CMAKE_INSTALL_OLDINCLUDEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_RUNSTATEDIR
CMAKE_INSTALL_RUNSTATEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SBINDIR
CMAKE_INSTALL_SBINDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SHAREDSTATEDIR
CMAKE_INSTALL_SHAREDSTATEDIR-ADVANCED:INTERNAL=1
//Install .so files without execute permission.
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SYSCONFDIR
CMAKE_INSTALL_SYSCONFDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_LINKER
CMAKE_LINKER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_NM
CMAKE_NM-ADVANCED:INTERNAL=1
//number of local generators
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJCOPY
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJDUMP
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
//Platform information initialized
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RANLIB
CMAKE_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_READELF
CMAKE_READELF-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=/home/lz/Codes/cmake-3.30.3-linux-x86_64/share/cmake-3.30
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STRIP
CMAKE_STRIP-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_TAPI
CMAKE_TAPI-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_TOOLCHAIN_FILE
CMAKE_TOOLCHAIN_FILE-ADVANCED:INTERNAL=1
//uname command
CMAKE_UNAME:INTERNAL=/usr/bin/uname
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
//Details about finding BLAS
FIND_PACKAGE_MESSAGE_DETAILS_BLAS:INTERNAL=[/home/lz/Codes/colmap/vcpkg_installed/x64-linux/lib/libopenblas.a][v()]
//Details about finding Threads
FIND_PACKAGE_MESSAGE_DETAILS_Threads:INTERNAL=[TRUE][v()]
//ADVANCED property for variable: LAPACK_Accelerate_LIBRARY
LAPACK_Accelerate_LIBRARY-ADVANCED:INTERNAL=1
//Have function cheev_
LAPACK_WORKS:INTERNAL=
//ADVANCED property for variable: LAPACK_armpl_lp64_LIBRARY
LAPACK_armpl_lp64_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: LAPACK_flame_LIBRARY
LAPACK_flame_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: LAPACK_gfortran_LIBRARY
LAPACK_gfortran_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: LAPACK_goto2_LIBRARY
LAPACK_goto2_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: LAPACK_lapack_LIBRARY
LAPACK_lapack_LIBRARY-ADVANCED:INTERNAL=1
//Have function cheev_
LAPACK_lapack_WORKS:INTERNAL=
//Have function cheev_
LAPACK_lapack_m_gfortran_WORKS:INTERNAL=
//ADVANCED property for variable: LAPACK_m_LIBRARY
LAPACK_m_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: LAPACK_mkl_lapack_LIBRARY
LAPACK_mkl_lapack_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: LAPACK_openblas_LIBRARY
LAPACK_openblas_LIBRARY-ADVANCED:INTERNAL=1
//Have function cheev_
LAPACK_openblas_WORKS:INTERNAL=
//ADVANCED property for variable: LAPACK_vecLib_LIBRARY
LAPACK_vecLib_LIBRARY-ADVANCED:INTERNAL=1
//Install the dependencies listed in your manifest:
//\n    If this is off, you will have to manually install your dependencies.
//\n    See https://github.com/microsoft/vcpkg/tree/master/docs/specifications/manifests.md
// for more info.
//\n
VCPKG_MANIFEST_INSTALL:INTERNAL=OFF
//ADVANCED property for variable: VCPKG_VERBOSE
VCPKG_VERBOSE-ADVANCED:INTERNAL=1
//Making sure VCPKG_MANIFEST_MODE doesn't change
Z_VCPKG_CHECK_MANIFEST_MODE:INTERNAL=OFF
//Vcpkg root directory
Z_VCPKG_ROOT_DIR:INTERNAL=/home/lz/Codes/vcpkg
//linker supports push/pop state
_CMAKE_LINKER_PUSHPOP_STATE_SUPPORTED:INTERNAL=TRUE
//CMAKE_INSTALL_PREFIX during last run
_GNUInstallDirs_LAST_CMAKE_INSTALL_PREFIX:INTERNAL=/home/lz/Codes/vcpkg/packages/suitesparse_x64-linux
/home/lz/Codes/vcpkg/buildtrees/suitesparse/config-x64-linux-dbg-CMakeCache.txt.log
# This is the CMakeCache file.
# For build in directory: /home/lz/Codes/vcpkg/buildtrees/suitesparse/x64-linux-dbg
# It was generated by CMake: /home/lz/Codes/cmake-3.30.3-linux-x86_64/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.

@FrankXie05 FrankXie05 added requires:repro The issue is not currently repro-able labels Sep 18, 2024
@FrankXie05
Copy link
Contributor

@HernandoR Sorry I can't reproduce your problem locally. You may want to reinstall port lapack.

Test@Test002:~/vcpkg$ ./vcpkg install suitesparse
Computing installation plan...
The following packages will be built and installed:
    suitesparse:x64-linux@5.8.0#2
Detecting compiler hash for triplet x64-linux...
Compiler found: /usr/bin/c++
Restored 0 package(s) from /home/Test/.cache/vcpkg/archives in 11.7 us. Use --debug to see more details.
Installing 1/1 suitesparse:x64-linux@5.8.0#2...
Building suitesparse:x64-linux@5.8.0#2...
-- Using cached DrTimothyAldenDavis-SuiteSparse-71e330ca2bc0a2f12f416c461d23dbca21db4d8f.tar.gz.
-- Extracting source /home/Test/vcpkg/downloads/DrTimothyAldenDavis-SuiteSparse-71e330ca2bc0a2f12f416c461d23dbca21db4d8f.tar.gz
-- Using source at /home/Test/vcpkg/buildtrees/suitesparse/src/ca21db4d8f-31bbc10efb.clean
-- Using cached jlblancoc-suitesparse-metis-for-windows-c11e8dd7a2ef7d0d93af4c16f75374dd8ca029e2.tar.gz.
-- Extracting source /home/Test/vcpkg/downloads/jlblancoc-suitesparse-metis-for-windows-c11e8dd7a2ef7d0d93af4c16f75374dd8ca029e2.tar.gz
-- Applying patch build_fixes.patch
-- Using source at /home/Test/vcpkg/buildtrees/suitesparse/src/dd8ca029e2-bdd475c274.clean
-- Overwriting SuiteSparseWin source files with SuiteSparse source files...
-- Overwriting SuiteSparseWin source files with SuiteSparse source files... done
-- Removing integrated lapack and metis lib...
-- Removing integrated lapack and metis lib... done
-- Configuring x64-linux
CMake Warning at installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:344 (message):
  The following variables are not used in CMakeLists.txt:

      BUILD_METIS
      METIS_SOURCE_DIR
      SUITESPARSE_INSTALL_PREFIX

  Please recheck them and remove the unnecessary options from the
  `vcpkg_cmake_configure` call.

  If these options should still be passed for whatever reason, please use the
  `MAYBE_UNUSED_VARIABLES` argument.
Call Stack (most recent call first):
  ports/suitesparse/portfile.cmake:32 (vcpkg_cmake_configure)
  scripts/ports.cmake:192 (include)


-- Building x64-linux-dbg
-- Building x64-linux-rel
-- Installing: /home/Test/vcpkg/packages/suitesparse_x64-linux/share/suitesparse/copyright
-- Installing: /home/Test/vcpkg/packages/suitesparse_x64-linux/share/suitesparse/copyright_suitesparse-metis-for-windows
-- Installing: /home/Test/vcpkg/packages/suitesparse_x64-linux/share/cxsparse/vcpkg-cmake-wrapper.cmake
-- Performing post-build validation
Stored binaries in 1 destinations in 706 ms.
Elapsed time to handle suitesparse:x64-linux: 20 s
suitesparse:x64-linux package ABI: 92b48b75e963016563ea9f50979d4f80e02da4e1b82c0810aa1638d88d9fcf30
Total install time: 20 s
suitesparse provides CMake targets:

  # this is heuristically generated, and may not be correct
  find_package(suitesparse CONFIG REQUIRED)
  # note: 8 additional targets are not displayed.
  target_link_libraries(main PRIVATE SuiteSparse::amd SuiteSparse::btf SuiteSparse::klu SuiteSparse::ldl)

Test@Test002:~/vcpkg$

Copy link

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.

@github-actions github-actions bot added the Stale label Nov 12, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 26, 2024
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 Stale
Projects
None yet
Development

No branches or pull requests

2 participants