Comments (6)
更新了,你下载这里的包,全量重装下试试,https://github.com/xmake-io/xmake/actions/runs/9655573973
from xmake.
Bot detected the issue body's language is not English, translate it automatically.
Title: The built-in xmake of Windows is too old, and extra tar information appears when unpacking.
Xmake version
2.9.3
Operating system version and architecture
Windows_NT DESKTOP-S6KRG6H 10.0 22631 x86_64 MS/Windows
Describe the problem
Mainly SPIRV-Cross-5d127b.tar.gz has this problem when using the built-in 7z.
The following is the operation of windows using powershell.
$ curl -L -o xmake-v2.9.3.win64.zip https://github.com/xmake-io/xmake/releases/download/v2.9.3/xmake-master.win64.zip
# Download the problematic tar.gz package
$ curl -L -o 5d127b.tar.gz https://github.com/KhronosGroup/SPIRV-Cross/archive/5d127b917f080c6f052553c47170ec0ba702e54f.tar.gz
$ Expand-Archive -Path .\xmake-v2.9.3.win64.zip -DestinationPath .
$ .\xmake\winenv\bin\7z x -y .\5d127b.tar.gz
$ .\xmake\winenv\bin\7z x -y .\5d127b.tar "-o.\source.temp"
$dir.\source.temp
# Normally there should be only the SPIRV-Cross-5d127b917f080c6f052553c47170ec0ba702e54f directory
Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 2024/6/18 23:12 SPIRV-Cross-5d127b917f080c6f052553c47170ec0ba702e54f
-a--- 2024/6/18 23:12 3558 1b6918c5eb80848d0949152ec706d633a7466c62.data
-a--- 2024/6/18 23:12 200 1b6918c5eb80848d0949152ec706d633a7466c62.paxheader
-a--- 2024/6/18 23:12 2698 307f8952ce6b0fb92a258db1c2d427604ff873b5.data
-a--- 2024/6/18 23:12 201 307f8952ce6b0fb92a258db1c2d427604ff873b5.paxheader
-a--- 2024/6/18 23:12 6751 573c4f2dadfe9f229527eb34f5324aadb023efc4.data
-a--- 2024/6/18 23:12 214 573c4f2dadfe9f229527eb34f5324aadb023efc4.paxheader
-a--- 2024/6/18 23:12 674 6f0d06a869e8d918db76e0b22a590dcf2158e0b2.data
-a--- 2024/6/18 23:12 191 6f0d06a869e8d918db76e0b22a590dcf2158e0b2.paxheader
-a--- 2024/6/18 23:12 9603 938eea96a5759b40c19bd40a56bfd82492c526d4.data
-a--- 2024/6/18 23:12 210 938eea96a5759b40c19bd40a56bfd82492c526d4.paxheader
-a--- 2024/6/18 23:12 2420 f8becad4834b2b1b48d91d1a17a03b2fd19f4e63.data
-a--- 2024/6/18 23:12 205 f8becad4834b2b1b48d91d1a17a03b2fd19f4e63.paxheader
-a--- 2024/6/18 23:12 52 pax_global_header
Expected results
Normal decompression will not have files such as pax_global_header.
Project configuration
No need
Additional information and error logs
I tried 7-Zip 24.07 (2024-06-19) from https://7-zip.org/download.html and it decompressed normally without pax_global_header appearing. It should be that the 7z version packaged by Windows is too old. You can use 7 first. -Zip 24.07's 7z.exe, 7z.dll replaces 7z in the winenv/bin directory in the xmake installation package.
from xmake.
@waruqi
https://github.com/xmake-io/xmake/actions/runs/9655573973 的 xmake-latest.win64.zip
我手动解压了,测试了 winenv/bin/7z.exe 没有变化还是 7-Zip 19.00
from xmake.
应该可以了,再试试
https://github.com/xmake-io/xmake/actions/runs/9665828447
from xmake.
@waruqi 没问题了确实是 7-Zip 24.07 了
from xmake.
Bot detected the issue body's language is not English, translate it automatically.
@waruqi No problem, it is indeed 7-Zip 24.07
from xmake.
Related Issues (20)
- MacBook Pro M3 install boost 1.85 failed HOT 3
- .xmake directory always appears next to xmake.lua HOT 5
- 添加在Linux下对Clang-CL的支持 HOT 7
- windows 环境下,生成 CMakeLists.txt 文件,使用 cmake + Ninja + tcc 编译时报错 HOT 11
- xmake将xmake test程序的stdout输出存入/tmp导致/tmp目录被塞满 HOT 13
- Allow wildcards in target:add("files", ...) HOT 1
- 设置本地编译器`gnu-rm`实际变成`gcc` HOT 7
- 在if判断内通过set_config设置qt路径无效 HOT 3
- xmake fails to find host macOS toolchain HOT 5
- 使用远程库构建时updating repositories阶段存在版本管理相关报错导致失败 HOT 3
- xmake test 在windows平台无法正确同时设置多个add_test("test",{run_timeout(1000)}) HOT 9
- gnu-rm下,汇编文件week函数无法被同名文件覆盖 HOT 4
- xrepo 很多 action 都失效了,会提示找不到 xmake.lua HOT 5
- mktemp usage messages during configure HOT 2
- Error-prone xmake behaviour when locating system packages HOT 2
- wrong include flag when using system llvm HOT 2
- Build failure when output of `uname -m` contains a space (e.g. on PowerPC Macs) HOT 2
- msvc 编译模块报错:attempt to concatenate a nil value (local 'bmifile') HOT 3
- cmakelists 生成不支持编译器 flags HOT 3
- Add os.timestamp api HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xmake.