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

[libflac] Build error on x64-windows #43176

Open
junkoya opened this issue Jan 9, 2025 · 2 comments
Open

[libflac] Build error on x64-windows #43176

junkoya opened this issue Jan 9, 2025 · 2 comments
Assignees
Labels
requires:repro The issue is not currently repro-able

Comments

@junkoya
Copy link

junkoya commented Jan 9, 2025

Package: libflac[core,stack-protector]:[email protected]#2

Host Environment

  • Host: x64-windows
  • Compiler: MSVC 19.42.34435.0
  • vcpkg-tool version: 2024-12-09-1005b78fa1bf1dde1a20c2734cba4ea61ca94d9a
    vcpkg-scripts version: a3a2cda 2025-01-08 (8 hours ago)

To Reproduce

vcpkg install

Failure logs

-- Using cached xiph-flac-1.4.3.tar.gz.
-- Extracting source D:/vcpkg/downloads/xiph-flac-1.4.3.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 D:/vcpkg/downloads/xiph-flac-1.4.3.tar.gz
    Working Directory: D:/vcpkg/buildtrees/libflac/src/1.4.3-00043104ae.clean.tmp
    Error code: 1
    See logs for more information:
      D:\vcpkg\buildtrees\libflac\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/libflac/portfile.cmake:1 (vcpkg_from_github)
  scripts/ports.cmake:196 (include)



D:\vcpkg\buildtrees\libflac\extract-err.log
CMake Error: Problem with archive_write_header(): Invalid empty pathname
CMake Error: Current file: 
CMake Error: Problem extracting tar: D:/vcpkg/downloads/xiph-flac-1.4.3.tar.gz

Additional context

vcpkg.json
{
  "dependencies": [
    "libflac"
  ]
}

@LilyWangLL LilyWangLL added the requires:repro The issue is not currently repro-able label Jan 9, 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.

@junkoya
Copy link
Author

junkoya commented Jan 9, 2025

Thank you. But I found the comment you show. Before I made my issue, I removed all files in $VCPKG_ROOT folder, and re-ran from "git clone" (of course ./bootstrap-vcpkg.bat too)...

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
Projects
None yet
Development

No branches or pull requests

2 participants