microsoft / vcpkg

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

[suitesparse] Build error on x64-windows #39201

Open FerdenoDbot opened 2 weeks ago

FerdenoDbot commented 2 weeks ago

Package: suitesparse:x64-windows@5.8.0#2

Host Environment

To Reproduce

vcpkg install suitesparse:x64-windows

Failure logs


-- Using cached DrTimothyAldenDavis-SuiteSparse-71e330ca2bc0a2f12f416c461d23dbca21db4d8f.tar.gz.
-- Cleaning sources at C:/D Drive/Academics/Study/Intern/Dbot Internship 2023-24/Dbot360Video/HuggingFace/RamadesDPT/openSFM/OpenSfM/vcpkg/buildtrees/suitesparse/src/ca21db4d8f-31bbc10efb.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/D Drive/Academics/Study/Intern/Dbot Internship 2023-24/Dbot360Video/HuggingFace/RamadesDPT/openSFM/OpenSfM/vcpkg/downloads/DrTimothyAldenDavis-SuiteSparse-71e330ca2bc0a2f12f416c461d23dbca21db4d8f.tar.gz
-- Using source at C:/D Drive/Academics/Study/Intern/Dbot Internship 2023-24/Dbot360Video/HuggingFace/RamadesDPT/openSFM/OpenSfM/vcpkg/buildtrees/suitesparse/src/ca21db4d8f-31bbc10efb.clean
-- Using cached jlblancoc-suitesparse-metis-for-windows-c11e8dd7a2ef7d0d93af4c16f75374dd8ca029e2.tar.gz.
-- Cleaning sources at C:/D Drive/Academics/Study/Intern/Dbot Internship 2023-24/Dbot360Video/HuggingFace/RamadesDPT/openSFM/OpenSfM/vcpkg/buildtrees/suitesparse/src/dd8ca029e2-bdd475c274.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/D Drive/Academics/Study/Intern/Dbot Internship 2023-24/Dbot360Video/HuggingFace/RamadesDPT/openSFM/OpenSfM/vcpkg/downloads/jlblancoc-suitesparse-metis-for-windows-c11e8dd7a2ef7d0d93af4c16f75374dd8ca029e2.tar.gz
-- Applying patch build_fixes.patch
-- Using source at C:/D Drive/Academics/Study/Intern/Dbot Internship 2023-24/Dbot360Video/HuggingFace/RamadesDPT/openSFM/OpenSfM/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
-- Found external ninja('1.11.0').
-- Configuring x64-windows
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
    Command failed: "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v
    Working Directory: C:/D Drive/Academics/Study/Intern/Dbot Internship 2023-24/Dbot360Video/HuggingFace/RamadesDPT/openSFM/OpenSfM/vcpkg/buildtrees/suitesparse/x64-windows-rel/vcpkg-parallel-configure
    Error code: 1
    See logs for more information:
      C:\D Drive\Academics\Study\Intern\Dbot Internship 2023-24\Dbot360Video\HuggingFace\RamadesDPT\openSFM\OpenSfM\vcpkg\buildtrees\suitesparse\config-x64-windows-dbg-CMakeCache.txt.log
      C:\D Drive\Academics\Study\Intern\Dbot Internship 2023-24\Dbot360Video\HuggingFace\RamadesDPT\openSFM\OpenSfM\vcpkg\buildtrees\suitesparse\config-x64-windows-rel-CMakeCache.txt.log
      C:\D Drive\Academics\Study\Intern\Dbot Internship 2023-24\Dbot360Video\HuggingFace\RamadesDPT\openSFM\OpenSfM\vcpkg\buildtrees\suitesparse\config-x64-windows-out.log

Call Stack (most recent call first):
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:261 (vcpkg_execute_required_process)
  ports/suitesparse/portfile.cmake:32 (vcpkg_cmake_configure)
  scripts/ports.cmake:175 (include)
dg0yt commented 2 weeks ago

C:\D Drive\Academics\Study\Intern\Dbot Internship 2023-24

Relevant or not: Do not use ` in filepaths. And do not use+,*,?,;`, or non-ASCII.

FerdenoDbot commented 2 weeks ago

@dg0yt same issue by changing the filepaths Package: suitesparse:x64-windows@5.8.0#2

Host Environment

To Reproduce

vcpkg install opencv4 ceres ceres[suitesparse] lapack suitesparse

Failure logs


-- Using cached DrTimothyAldenDavis-SuiteSparse-71e330ca2bc0a2f12f416c461d23dbca21db4d8f.tar.gz.
-- Cleaning sources at C:/D Drive/Academics/Study/Intern/DbotInternship2023-24/Dbot360Video/HuggingFace/RamadesDPT/openSFM/OpenSfM/vcpkg/buildtrees/suitesparse/src/ca21db4d8f-31bbc10efb.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/D Drive/Academics/Study/Intern/DbotInternship2023-24/Dbot360Video/HuggingFace/RamadesDPT/openSFM/OpenSfM/vcpkg/downloads/DrTimothyAldenDavis-SuiteSparse-71e330ca2bc0a2f12f416c461d23dbca21db4d8f.tar.gz
-- Using source at C:/D Drive/Academics/Study/Intern/DbotInternship2023-24/Dbot360Video/HuggingFace/RamadesDPT/openSFM/OpenSfM/vcpkg/buildtrees/suitesparse/src/ca21db4d8f-31bbc10efb.clean
-- Using cached jlblancoc-suitesparse-metis-for-windows-c11e8dd7a2ef7d0d93af4c16f75374dd8ca029e2.tar.gz.
-- Cleaning sources at C:/D Drive/Academics/Study/Intern/DbotInternship2023-24/Dbot360Video/HuggingFace/RamadesDPT/openSFM/OpenSfM/vcpkg/buildtrees/suitesparse/src/dd8ca029e2-bdd475c274.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/D Drive/Academics/Study/Intern/DbotInternship2023-24/Dbot360Video/HuggingFace/RamadesDPT/openSFM/OpenSfM/vcpkg/downloads/jlblancoc-suitesparse-metis-for-windows-c11e8dd7a2ef7d0d93af4c16f75374dd8ca029e2.tar.gz
-- Applying patch build_fixes.patch
-- Using source at C:/D Drive/Academics/Study/Intern/DbotInternship2023-24/Dbot360Video/HuggingFace/RamadesDPT/openSFM/OpenSfM/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
-- Found external ninja('1.11.0').
-- Configuring x64-windows
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
    Command failed: "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v
    Working Directory: C:/D Drive/Academics/Study/Intern/DbotInternship2023-24/Dbot360Video/HuggingFace/RamadesDPT/openSFM/OpenSfM/vcpkg/buildtrees/suitesparse/x64-windows-rel/vcpkg-parallel-configure
    Error code: 1
    See logs for more information:
      C:\D Drive\Academics\Study\Intern\DbotInternship2023-24\Dbot360Video\HuggingFace\RamadesDPT\openSFM\OpenSfM\vcpkg\buildtrees\suitesparse\config-x64-windows-dbg-CMakeCache.txt.log
      C:\D Drive\Academics\Study\Intern\DbotInternship2023-24\Dbot360Video\HuggingFace\RamadesDPT\openSFM\OpenSfM\vcpkg\buildtrees\suitesparse\config-x64-windows-rel-CMakeCache.txt.log
      C:\D Drive\Academics\Study\Intern\DbotInternship2023-24\Dbot360Video\HuggingFace\RamadesDPT\openSFM\OpenSfM\vcpkg\buildtrees\suitesparse\config-x64-windows-out.log

Call Stack (most recent call first):
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:261 (vcpkg_execute_required_process)
  ports/suitesparse/portfile.cmake:32 (vcpkg_cmake_configure)
  scripts/ports.cmake:175 (include)
dg0yt commented 2 weeks ago

C:\D Drive...

Again: Do not use ... And if it doesn't help,

See logs for more information

FerdenoDbot commented 2 weeks ago

@dg0yt same issue rises by changing the path

Package: suitesparse:x64-windows@5.8.0#2

Host Environment

To Reproduce

vcpkg install opencv4 ceres ceres[suitesparse] lapack suitesparse

Failure logs


-- Using cached DrTimothyAldenDavis-SuiteSparse-71e330ca2bc0a2f12f416c461d23dbca21db4d8f.tar.gz.
-- Cleaning sources at C:/D_Drive/Academics/Study/Intern/DbotInternship2023-24/Dbot360Video/HuggingFace/RamadesDPT/openSFM/OpenSfM/vcpkg/buildtrees/suitesparse/src/ca21db4d8f-31bbc10efb.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/D_Drive/Academics/Study/Intern/DbotInternship2023-24/Dbot360Video/HuggingFace/RamadesDPT/openSFM/OpenSfM/vcpkg/downloads/DrTimothyAldenDavis-SuiteSparse-71e330ca2bc0a2f12f416c461d23dbca21db4d8f.tar.gz
-- Using source at C:/D_Drive/Academics/Study/Intern/DbotInternship2023-24/Dbot360Video/HuggingFace/RamadesDPT/openSFM/OpenSfM/vcpkg/buildtrees/suitesparse/src/ca21db4d8f-31bbc10efb.clean
-- Using cached jlblancoc-suitesparse-metis-for-windows-c11e8dd7a2ef7d0d93af4c16f75374dd8ca029e2.tar.gz.
-- Cleaning sources at C:/D_Drive/Academics/Study/Intern/DbotInternship2023-24/Dbot360Video/HuggingFace/RamadesDPT/openSFM/OpenSfM/vcpkg/buildtrees/suitesparse/src/dd8ca029e2-bdd475c274.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/D_Drive/Academics/Study/Intern/DbotInternship2023-24/Dbot360Video/HuggingFace/RamadesDPT/openSFM/OpenSfM/vcpkg/downloads/jlblancoc-suitesparse-metis-for-windows-c11e8dd7a2ef7d0d93af4c16f75374dd8ca029e2.tar.gz
-- Applying patch build_fixes.patch
-- Using source at C:/D_Drive/Academics/Study/Intern/DbotInternship2023-24/Dbot360Video/HuggingFace/RamadesDPT/openSFM/OpenSfM/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
-- Found external ninja('1.11.0').
-- Configuring x64-windows
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
    Command failed: "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v
    Working Directory: C:/D_Drive/Academics/Study/Intern/DbotInternship2023-24/Dbot360Video/HuggingFace/RamadesDPT/openSFM/OpenSfM/vcpkg/buildtrees/suitesparse/x64-windows-rel/vcpkg-parallel-configure
    Error code: 1
    See logs for more information:
      C:\D_Drive\Academics\Study\Intern\DbotInternship2023-24\Dbot360Video\HuggingFace\RamadesDPT\openSFM\OpenSfM\vcpkg\buildtrees\suitesparse\config-x64-windows-dbg-CMakeCache.txt.log
      C:\D_Drive\Academics\Study\Intern\DbotInternship2023-24\Dbot360Video\HuggingFace\RamadesDPT\openSFM\OpenSfM\vcpkg\buildtrees\suitesparse\config-x64-windows-rel-CMakeCache.txt.log
      C:\D_Drive\Academics\Study\Intern\DbotInternship2023-24\Dbot360Video\HuggingFace\RamadesDPT\openSFM\OpenSfM\vcpkg\buildtrees\suitesparse\config-x64-windows-out.log

Call Stack (most recent call first):
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:261 (vcpkg_execute_required_process)
  ports/suitesparse/portfile.cmake:32 (vcpkg_cmake_configure)
  scripts/ports.cmake:175 (include)
dg0yt commented 2 weeks ago

And if it doesn't help,

See logs for more information

MonicaLiu0311 commented 2 weeks ago
    See logs for more information:
      C:\D_Drive\Academics\Study\Intern\DbotInternship2023-24\Dbot360Video\HuggingFace\RamadesDPT\openSFM\OpenSfM\vcpkg\buildtrees\suitesparse\config-x64-windows-dbg-CMakeCache.txt.log
      C:\D_Drive\Academics\Study\Intern\DbotInternship2023-24\Dbot360Video\HuggingFace\RamadesDPT\openSFM\OpenSfM\vcpkg\buildtrees\suitesparse\config-x64-windows-rel-CMakeCache.txt.log
      C:\D_Drive\Academics\Study\Intern\DbotInternship2023-24\Dbot360Video\HuggingFace\RamadesDPT\openSFM\OpenSfM\vcpkg\buildtrees\suitesparse\config-x64-windows-out.log

Please provide the log files for the prompt.

FerdenoDbot commented 2 weeks ago

I have attach 3 log files below

config-x64-windows-out.log config-x64-windows-rel-CMakeCache.txt.log config-x64-windows-dbg-CMakeCache.txt.log