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

[onnxruntime-gpu] Build failure on x64-windows #42119

Open
yiyuyiyi opened this issue Nov 12, 2024 · 1 comment
Open

[onnxruntime-gpu] Build failure on x64-windows #42119

yiyuyiyi opened this issue Nov 12, 2024 · 1 comment
Assignees
Labels
category:question This issue is a question

Comments

@yiyuyiyi
Copy link

Package: onnxruntime-gpu:x64-windows@1.19.2

Host Environment

  • Host: x64-windows
  • Compiler: MSVC 19.41.34123.0
  • vcpkg-tool version: 2024-10-18-e392d7347fe72dff56e7857f7571c22301237ae6
    vcpkg-scripts version: 813a241 2024-11-08 (3 days ago)

To Reproduce

vcpkg install onnxruntime-gpu:x64-windows

Failure logs

-- Using cached onnxruntime-win-x64-gpu-1.19.2.zip.
-- Cleaning sources at C:/Users/asus1/vcpkg/buildtrees/onnxruntime-gpu/src/-x64-gpu-1-2834c3065e.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/Users/asus1/vcpkg/downloads/onnxruntime-win-x64-gpu-1.19.2.zip
-- Using source at C:/Users/asus1/vcpkg/buildtrees/onnxruntime-gpu/src/-x64-gpu-1-2834c3065e.clean
-- Downloading https://github.com/microsoft/onnxruntime/archive/v1.19.2.tar.gz -> microsoft-onnxruntime-v1.19.2.tar.gz...
-- Extracting source C:/Users/asus1/vcpkg/downloads/microsoft-onnxruntime-v1.19.2.tar.gz
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
    Command failed: "C:/Program Files/CMake/bin/cmake.exe" -E tar xjf C:/Users/asus1/vcpkg/downloads/microsoft-onnxruntime-v1.19.2.tar.gz
    Working Directory: C:/Users/asus1/vcpkg/buildtrees/onnxruntime-gpu/src/v1.19.2-2f5ff39f3d.clean.tmp
    Error code: 1
    See logs for more information:
      C:\Users\asus1\vcpkg\buildtrees\onnxruntime-gpu\extract-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_extract_source_archive.cmake:120 (vcpkg_execute_required_process)
  scripts/cmake/vcpkg_extract_source_archive_ex.cmake:8 (vcpkg_extract_source_archive)
  scripts/cmake/vcpkg_from_github.cmake:113 (vcpkg_extract_source_archive_ex)
  ports/onnxruntime-gpu/portfile.cmake:16 (vcpkg_from_github)
  scripts/ports.cmake:192 (include)



C:\Users\asus1\vcpkg\buildtrees\onnxruntime-gpu\extract-err.log
CMake Error: Problem with archive_write_header(): Invalid empty pathname
CMake Error: Current file: 
CMake Error: Problem extracting tar: C:/Users/asus1/vcpkg/downloads/microsoft-onnxruntime-v1.19.2.tar.gz
@Mengna-Li
Copy link
Contributor

@yiyuyiyi I'm not able to repro this, this issue may be caused by your locale settings (UTF-8). Please try to change the encoding of win and try again.

@Mengna-Li Mengna-Li added the category:question This issue is a question label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:question This issue is a question
Projects
None yet
Development

No branches or pull requests

2 participants