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

failed to extract archive downloaded #33591

Closed
musm opened this issue Oct 17, 2019 · 11 comments
Closed

failed to extract archive downloaded #33591

musm opened this issue Oct 17, 2019 · 11 comments
Assignees
Milestone

Comments

@musm
Copy link
Contributor

musm commented Oct 17, 2019

On 1.3 RC4 I'm seeing

 Resolving package versions...
┌ Warning: failed to extract archive downloaded from https://api.github.com/repos/JuliaArrays/StaticArrays.jl/tarball/1085ffbf5fd48fdba64ef8e902ca429c4e1212d3
└ @ Pkg.Operations C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Operations.jl:494
┌ Warning: failed to extract archive downloaded from https://api.github.com/repos/climate-machine/Oceananigans.jl/tarball/1a6d2bb7e823e3a7169b4ff38c7181b95ec65fd6
└ @ Pkg.Operations C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Operations.jl:494
┌ Warning: failed to extract archive downloaded from https://api.github.com/repos/JuliaGraphics/Luxor.jl/tarball/f46158af3a808740fb898f44d18728b8905c805d
└ @ Pkg.Operations C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Operations.jl:494
┌ Warning: failed to extract archive downloaded from https://api.github.com/repos/JuliaStats/RDatasets.jl/tarball/a64599c0947dcc78edfa4f32559516b198ded29f
└ @ Pkg.Operations C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Operations.jl:494
@KristofferC
Copy link
Member

And this is different from RC3 or RC2?

@staticfloat
Copy link
Member

This sounds like 7z problems, unfortunately. What happens if you manually try to run the unpack() operation?

@KristofferC
Copy link
Member

Can repro. Will try see what happens.

@KristofferC
Copy link
Member

C:\Users\Kristoffer\AppData\Local\Julia-1.3.0-rc4\libexec>7z.exe  x 'C:\Users\Kristoffer\Downloads\JuliaLang-Example.jl-46e44e869b4d90b96bd8ed1fdcf32244fddfb6cc-46e44e8.tar.gz' -y -so


ERROR:
Can't load module: 7z.dll

@musm
Copy link
Contributor Author

musm commented Oct 17, 2019

looks Ike 7z.dll is missing in the libexec folder

@musm
Copy link
Contributor Author

musm commented Oct 17, 2019

(Moving 7z.dll to libexec fixes the issue, looks like it just got missed when moving the 7z.exe to libexec)

It also seems like some legacy packages such as WinRPM.jl are wrongly referencing the location of 7z.exe on 1.3 rc-4. Appropriate PRs should probably be made there and in BinDeps to fix those as well.

@fredrikekre
Copy link
Member

So this is a JuliaLang/julia issue then?

@fredrikekre fredrikekre transferred this issue from JuliaLang/Pkg.jl Oct 17, 2019
@fredrikekre fredrikekre added this to the 1.3 milestone Oct 17, 2019
@staticfloat
Copy link
Member

#33592

@Nosferican
Copy link
Contributor

Was this fixed by #33592?

@staticfloat
Copy link
Member

Yes, it should be.

@musm musm closed this as completed Oct 19, 2019
@FuXiaogang-KIB
Copy link

Change permissions for FILE "7Z"
Hope it works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants