Giter VIP home page Giter VIP logo

Comments (6)

waruqi avatar waruqi commented on August 21, 2024 1

更新了,你下载这里的包,全量重装下试试,https://github.com/xmake-io/xmake/actions/runs/9655573973

from xmake.

Issues-translate-bot avatar Issues-translate-bot commented on August 21, 2024

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.

zeromake avatar zeromake commented on August 21, 2024

@waruqi
https://github.com/xmake-io/xmake/actions/runs/9655573973xmake-latest.win64.zip
我手动解压了,测试了 winenv/bin/7z.exe 没有变化还是 7-Zip 19.00

from xmake.

waruqi avatar waruqi commented on August 21, 2024

应该可以了,再试试

https://github.com/xmake-io/xmake/actions/runs/9665828447

from xmake.

zeromake avatar zeromake commented on August 21, 2024

@waruqi 没问题了确实是 7-Zip 24.07 了

from xmake.

Issues-translate-bot avatar Issues-translate-bot commented on August 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.