-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
7zip build failure #42987
Comments
The problem seems to be in Cmake rather than vcpkg or 7-zip. I extracted 7z2409.7z to a tools directory with WinRAR, after which these installs ran successfully. |
Can you tell me how to proceed, thanks? My 7z2409.7z file seems to be corrupted and cannot be extracted using the 7z tool, as the format is incorrect. |
I successfully installed 7z.exe to the downloads/tools/7zip-24.09-windows directory. After that, move the files from the subdirectory to this directory. |
Can anyone provide more specific steps to fix this? I tried copying files to downloads/tools/ but I must not be doing it right. I cannot get past this error |
Okay seems like I may have gotten it. The commands are running now for my build (hopefully successfully).
Then rerun your commands and it should hopefully go. |
Sure, it is easy to work around this problem; but it should not exist in
the first place. I reported it in hopes the maintainers would do something
about that.
…On Wed, Jan 1, 2025 at 11:36 PM Mark Klara ***@***.***> wrote:
Okay seems like I may have gotten it. The commands are running now for my
build (hopefully successfully).
1.
Open the file vcpkg\downloads\7z2409.7z.exe to run it on Windows and
extract the install to somewhere (e.g. Desktop).
2.
Create a new folder: vcpkg\downloads\tools\7zip-24.09-windows
3.
Open the install folder from Step1 (e.g. Desktop/7-Zip) and copy all
of the contents into the new folder from Step2 (
vcpkg\downloads\tools\7zip-24.09-windows).
Then rerun your commands and it should hopefully go.
—
Reply to this email directly, view it on GitHub
<#42987 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACBEZZVX433OIJH7RMYI55L2IS643AVCNFSM6AAAAABUKZFOCCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRXGI3TQNZVGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Operating system
Win11
Compiler
MSVC
Steps to reproduce the behavior
Failure logs
D:\opensource\vcpkg>vcpkg install 7zip
Computing installation plan...
The following packages will be built and installed:
7zip:[email protected]
Detecting compiler hash for triplet x64-windows...
Compiler found: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/cl.exe
A suitable version of 7zip was not found (required v24.9.0) Downloading portable 7zip 24.9.0...
Extracting 7zip...
CMake Error: Problem with archive_read_next_header():
CMake Error: Problem extracting tar: D:\opensource\vcpkg\downloads\7z2409.7z
'CMake' failed while extracting D:\opensource\vcpkg\downloads\7z2409.7z.
Additional context
Note that this is a recursive failure.
I got the same error when trying to install other packages:
C:\Users\tksha\Projects\packages>D:\opensource\vcpkg\vcpkg install
Detecting compiler hash for triplet x64-windows...
Compiler found: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/cl.exe
The following packages will be built and installed:
clipper2:[email protected] -- C:\Users\tksha\AppData\Local\vcpkg\registries\git-trees\5b7c4d5dff8e0b28ad089e870674d497d4be1adb
eigen3:[email protected]#4 -- C:\Users\tksha\AppData\Local\vcpkg\registries\git-trees\17249b310c689b0722c3ee825780a8e24c7d73a2
happly:x64-windows@2021-03-19 -- C:\Users\tksha\AppData\Local\vcpkg\registries\git-trees\30ccc0778da8b49727c6cffa0c11c6ece4ac7073
nlohmann-json:[email protected]#1 -- C:\Users\tksha\AppData\Local\vcpkg\registries\git-trees\324d32ddba70bc49650d1a067ddcf3d0bfc6c9b6
pugixml:[email protected] -- C:\Users\tksha\AppData\Local\vcpkg\registries\git-trees\6e38344aea6e7529afde3895e0885ed5cb0c0542
Additional packages (*) will be modified to complete this operation.
A suitable version of 7zip was not found (required v24.9.0) Downloading portable 7zip 24.9.0...
Extracting 7zip...
CMake Error: Problem with archive_read_next_header():
CMake Error: Problem extracting tar: D:\opensource\vcpkg\downloads\7z2409.7z
'CMake' failed while extracting D:\opensource\vcpkg\downloads\7z2409.7z.
The text was updated successfully, but these errors were encountered: