Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

ojdkbuild8@1.8.0.332-1.b09: decompress error #418

Closed
tiantao433 opened this issue Aug 17, 2022 · 12 comments · Fixed by ScoopInstaller/Scoop#5247
Closed

ojdkbuild8@1.8.0.332-1.b09: decompress error #418

tiantao433 opened this issue Aug 17, 2022 · 12 comments · Fixed by ScoopInstaller/Scoop#5247
Labels
bug Something isn't working upstream Waiting for upstream (the developers of the software) to fix the problem

Comments

@tiantao433
Copy link

7zip.log

error in log: file path has two '/'

@se35710
Copy link
Collaborator

se35710 commented Aug 17, 2022

Have you tried to apply the fix described in #72?

@tiantao433
Copy link
Author

scoop config MSIEXTRACT_USE_LESSMSI $true
scoop uninstall ojdkbuild8
scoop install ojdkbuild8

error still occurs

@Vixb1122
Copy link
Contributor

me too!

@se35710
Copy link
Collaborator

se35710 commented Oct 11, 2022

What does scoop checkup output?

@Vixb1122
Copy link
Contributor

@se35710
WARN LongPaths support is not enabled.
You can enable it by running:
sudo Set-ItemProperty 'HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem' -Name 'LongPathsEnabled' -Value 1
(Requires 'sudo' command. Run 'scoop install sudo' if you don't have it.)
ERROR 'dark' is not installed! It's required for unpacking installers created with the WiX Toolset. Please run 'scoop install dark' or 'scoop install wixtoolset'.
WARN Found 2 potential problems.

@se35710
Copy link
Collaborator

se35710 commented Oct 11, 2022

Enable LongPaths as suggested by scoop checkup, uninstall and install again.

@se35710 se35710 closed this as completed Oct 11, 2022
@se35710 se35710 reopened this Oct 11, 2022
@se35710
Copy link
Collaborator

se35710 commented Oct 11, 2022

@tiantao433 Please check if LongPaths was the issue for you too. If not, please reopen this issue.

@se35710 se35710 closed this as completed Oct 11, 2022
@Vixb1122
Copy link
Contributor

still

❯❯ ~  13:17 scoop checkup
No problems identified!
❯❯ ~  13:17 scoop add ojdkbuild8
WARN  Purging previous failed installation of ojdkbuild8.
ERROR 'ojdkbuild8' isn't installed correctly.
Removing older version (1.8.0.332-1.b09).
'ojdkbuild8' was uninstalled.
Installing 'ojdkbuild8' (1.8.0.332-1.b09) [64bit] from java bucket
Loading java-1.8.0-openjdk-1.8.0.332-1.b09.ojdkbuild.windows.x86_64.zip from cache
Checking hash of java-1.8.0-openjdk-1.8.0.332-1.b09.ojdkbuild.windows.x86_64.zip ... ok.
Extracting java-1.8.0-openjdk-1.8.0.332-1.b09.ojdkbuild.windows.x86_64.zip ... ERROR Exit code was 2!
Failed to extract files from C:\Scoop\apps\ojdkbuild8\1.8.0.332-1.b09\java-1.8.0-openjdk-1.8.0.332-1.b09.ojdkbuild.windows.x86_64.zip.
Log file:
  C:\Scoop\apps\ojdkbuild8\1.8.0.332-1.b09\7zip.log

log:

7-Zip 22.01 (x64) : Copyright (c) 1999-2022 Igor Pavlov : 2022-07-15

Scanning the drive for archives:
1 file, 176900976 bytes (169 MiB)

Extracting archive: C:\Scoop\apps\ojdkbuild8\1.8.0.332-1.b09\java-1.8.0-openjdk-1.8.0.332-1.b09.ojdkbuild.windows.x86_64.zip
--
Path = C:\Scoop\apps\ojdkbuild8\1.8.0.332-1.b09\java-1.8.0-openjdk-1.8.0.332-1.b09.ojdkbuild.windows.x86_64.zip
Type = zip
Physical Size = 176900976


Sub items Errors: 3

Archives with Errors: 1

Sub items Errors: 3
ERROR: Cannot create folder : C:\Scoop\apps\ojdkbuild8\1.8.0.332-1.b09\\java-1.8.0-openjdk-1.8.0.332-1.b09.ojdkbuild.windows.x86_64\missioncontrol\features\org.openjdk.jmc.feature.flightrecorder_7.1.1.202205031444\META-INF\maven\org.openjdk.jmc\org.openjdk.jmc.feature.flightrecorder
ERROR: Cannot open output file : 文件名、目录名或卷标语法不正确。 : C:\Scoop\apps\ojdkbuild8\1.8.0.332-1.b09\\java-1.8.0-openjdk-1.8.0.332-1.b09.ojdkbuild.windows.x86_64\missioncontrol\features\org.openjdk.jmc.feature.flightrecorder_7.1.1.202205031444\META-INF\maven\org.openjdk.jmc\org.openjdk.jmc.feature.flightrecorder\pom.properties
ERROR: Cannot open output file : 文件名、目录名或卷标语法不正确。 : C:\Scoop\apps\ojdkbuild8\1.8.0.332-1.b09\\java-1.8.0-openjdk-1.8.0.332-1.b09.ojdkbuild.windows.x86_64\missioncontrol\features\org.openjdk.jmc.feature.flightrecorder_7.1.1.202205031444\META-INF\maven\org.openjdk.jmc\org.openjdk.jmc.feature.flightrecorder\pom.xml

@tiantao433
Copy link
Author

I update powershell to 7.2, the error does not occur.
previous powershell version is 5.1

image

@tiantao433
Copy link
Author

In CMD, error does not occur too

@Vixb1122
Copy link
Contributor

7.2 is ok.

@se35710 se35710 reopened this Oct 14, 2022
@se35710
Copy link
Collaborator

se35710 commented Oct 14, 2022

Bug is verified on PowerShell 5. Must be an upstream error. Will submit issue at Scoop core.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working upstream Waiting for upstream (the developers of the software) to fix the problem
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants