Bug 458334 - Ark does not support using the 7zz binary for 7z archives
Summary: Ark does not support using the 7zz binary for 7z archives
Status: REPORTED
Alias: None
Product: ark
Classification: Applications
Component: plugins (show other bugs)
Version: 22.08.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Elvis Angelaccio
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-26 09:28 UTC by nl6720
Modified: 2022-09-28 11:15 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nl6720 2022-08-26 09:28:36 UTC
SUMMARY
On Arch Linux,  Ark cannot open 7z archives using 7-zip from https://aur.archlinux.org/packages/7-zip .
It builds a 7zz binary, which as DOC/readme.txt in 7z2201-src.tar.xz describes, is a "Standalone version of 7-Zip console that supports all formats".

Please support using the 7zz binary to interact with 7z archives.


STEPS TO REPRODUCE
1. Have 7-zip installed which provides /usr/bin/7zz.
2. Make sure there's no /usr/bin/7z, i.e. p7zip is not installed.
3. Try to open a 7z archive.


OBSERVED RESULT
Ark showed en error.

    Loading the archive ‘/path/to/archive.7z’ failed with the following error:
    No suitable plugin found. Ark does not seem to support this file type.


EXPECTED RESULT
Ark should successfully open the 7z archive.


SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5


ADDITIONAL INFORMATION
Comment 1 2wxsy58236r3 2022-08-29 06:03:15 UTC
Currently, FreeBSD and openSUSE's 7-Zip packages have `7z` which links to `7zz`, but ALT Linux and Ubuntu's 7-Zip packages have no `7z`.
Comment 2 Elvis Angelaccio 2022-09-27 22:29:07 UTC
While it would be possible to adapt Ark to support the 7zz binary, it wouldn't be the right thing to do.

Distributions that ship the new 7zz binary should also provide a legacy 7z symlink for compatibility, like e.g. openSUSE does.
Comment 3 nl6720 2022-09-28 09:13:28 UTC
The fact that Ark needed to specifically add support for the 7z binary being the official 7-zip, shows that thoughtlessly symlinking 7z to 7zz is not wise.
Comment 4 Elvis Angelaccio 2022-09-28 11:15:54 UTC
(In reply to nl6720 from comment #3)
> The fact that Ark needed to specifically add support for the 7z binary being
> the official 7-zip, shows that thoughtlessly symlinking 7z to 7zz is not
> wise.

I disagree. Ark is the exception here, because it uses 7z in advanced way, so we had no choice.

Think about the common case. The 7z binary has been around for years and software in the wild assumed they could extract a random 7zip archive with a simple call to "7z x foo.7z".