Bug 15697

Summary: unzip: compressed symlink is not supported
Product: Busybox Reporter: Craig <candrews>
Component: OtherAssignee: unassigned
Status: NEW ---    
Severity: normal CC: busybox-cvs, candrews
Priority: P5    
Version: 1.35.x   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description Craig 2023-07-13 21:09:12 UTC
The unzip binary provided by https://busybox.net/ does not suport compressed symlinks.

Alpine previously had this problem and fixed it by with CFLAG "-DNO_LCHMOD", see https://gitlab.alpinelinux.org/alpine/aports/-/commit/3006365ef443c6c7d6432bd24ed65045341a4182

Can you please update the configuration used to generate the binaries available at busybox.net with this same solution?

Reproduction steps:
1. curl https://busybox.net/downloads/binaries/1.35.0-x86_64-linux-musl/busybox_UNZIP -o unzip
2. chmod +x unzip
3. curl curl "https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.8.0.2856-linux.zip" -o sonar-scanner-cli-4.8.0.2856-linux.zip
4. ./unzip sonar-scanner-cli-4.8.0.2856-linux.zip

Actual:
Exits with status 1 and the error message:
unzip: compressed symlink is not supported

Expected:
Exits with status 0 and no error message.