Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[boost-wave] Build error on x64-windows #43438

Open
dkdldjswkd opened this issue Jan 23, 2025 · 3 comments
Open

[boost-wave] Build error on x64-windows #43438

dkdldjswkd opened this issue Jan 23, 2025 · 3 comments
Assignees
Labels
category:question This issue is a question

Comments

@dkdldjswkd
Copy link

Package: boost-wave:x64-windows@1.86.0

Host Environment

  • Host: x64-windows
  • Compiler: MSVC 19.41.34123.0
  • vcpkg-tool version: 2025-01-11-0f310537c75015100d200eb71b137f6376aad510
    vcpkg-scripts version: 01be99f 2025-01-23 (8 hours ago)

To Reproduce

vcpkg install

Failure logs

Downloading boostorg-wave-boost-1.86.0.tar.gz
Successfully downloaded boostorg-wave-boost-1.86.0.tar.gz.
-- Extracting source C:/vcpkg/downloads/boostorg-wave-boost-1.86.0.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:/vcpkg/downloads/boostorg-wave-boost-1.86.0.tar.gz
    Working Directory: C:/vcpkg/buildtrees/boost-wave/src/ost-1.86.0-0c9ff763f2.clean.tmp
    Error code: 1
    See logs for more information:
      C:\vcpkg\buildtrees\boost-wave\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)
  buildtrees/versioning_/versions/boost-wave/eb6baa19823be746fde24fee3bf57d092787750a/portfile.cmake:3 (vcpkg_from_github)
  scripts/ports.cmake:196 (include)



C:\vcpkg\buildtrees\boost-wave\extract-err.log
CMake Error: Problem with archive_write_header(): Invalid empty pathname
CMake Error: Current file: 
CMake Error: Problem extracting tar: C:/vcpkg/downloads/boostorg-wave-boost-1.86.0.tar.gz

Additional context

vcpkg.json
{
  "dependencies": [
    {
      "name": "protobuf",
      "version>=": "4.25.1"
    },
    {
      "name": "boost",
      "version>=": "1.86.0"
    }
  ],
  "builtin-baseline": "3508985146f1b1d248c67ead13f8f54be5b4f5da"
}

@xp2k3
Copy link

xp2k3 commented Jan 23, 2025

extract fails (because archive file contains directory name using Unicode specific characters - bsdtar(MS Windows 10/11 ver?) cannot handle properly)
boostorg-wave-boost-1.86.0.tar.gz:"/wave-boost-1.86.0/test/testwave/testfiles/utf8-test-ßµ™∃"

@MonicaLiu0311 MonicaLiu0311 added the category:question This issue is a question label Jan 24, 2025
@MonicaLiu0311
Copy link
Contributor

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.

If that doesn't solve your problem, try #43176 (comment):

The source of problem is that cmake -E tar x command cannot extract files with Unicode names properly.

@xp2k3
Copy link

xp2k3 commented Jan 24, 2025

Base problem (out of vcpkg or cmake): windows pre-installed version of bsdtar(%windir%\system32\tar.exe) cannot handle unicode special characters correctly -> fails extract archive (or extract incorrect path.)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
category:question This issue is a question
Projects
None yet
Development

No branches or pull requests

3 participants