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

[pugixml] Build error on x64-windows #43570

Open
Hamsik2rang opened this issue Jan 31, 2025 · 2 comments
Open

[pugixml] Build error on x64-windows #43570

Hamsik2rang opened this issue Jan 31, 2025 · 2 comments
Assignees
Labels
category:question This issue is a question

Comments

@Hamsik2rang
Copy link

Package: pugixml:[email protected]

Host Environment

  • Host: x64-windows
  • Compiler: MSVC 19.42.34435.0
  • vcpkg-tool version: 2025-01-29-a75ad067f470c19f030361064e32a2585392bee2
    vcpkg-scripts version: d504de0 2025-01-31 (19 hours ago)

To Reproduce

vcpkg install pugixml:x64-windows

Failure logs

-- Using cached zeux-pugixml-v1.15.tar.gz
-- Extracting source C:/Dev/vcpkg/downloads/zeux-pugixml-v1.15.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:/Dev/vcpkg/downloads/zeux-pugixml-v1.15.tar.gz
    Working Directory: C:/Dev/vcpkg/buildtrees/pugixml/src/v1.15-8a9beec4a5.clean.tmp
    Error code: 1
    See logs for more information:
      C:\Dev\vcpkg\buildtrees\pugixml\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/pugixml/portfile.cmake:1 (vcpkg_from_github)
  scripts/ports.cmake:196 (include)



C:\Dev\vcpkg\buildtrees\pugixml\extract-err.log
CMake Error: Problem with archive_write_header(): Invalid empty pathname
CMake Error: Current file: 
CMake Error: Problem extracting tar: C:/Dev/vcpkg/downloads/zeux-pugixml-v1.15.tar.gz
@Hamsik2rang
Copy link
Author

When this error occurred, I was using Windows with the language setting set to Korean.
I found the console log as follows and assumed that it was a Unicode-related error, so I tried changing the language of Windows to English(United States) and confirmed that it did not occur.

Image

@LilyWangLL LilyWangLL added the category:question This issue is a question label Feb 5, 2025
@LilyWangLL
Copy link
Contributor

Duplicate of issue #42804, please try the solution #42804 (comment):

Yes, vcpkg has updated the tools that need to be downloaded. The solution is that you need to re-run the ./bootstrap-vcpkg.bat script to update the vcpkg tools after updating the vcpkg library.

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