Github messages for voidlinux
 help / color / mirror / Atom feed
From: sgn <sgn@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [ISSUE] [CLOSED] Recent introduction of 7zip-22.01 package broke functionalities into xarchiver-0.5.4.20_1 and possibly further packages too
Date: Wed, 21 Dec 2022 03:04:55 +0100	[thread overview]
Message-ID: <20221221020455.bbiruebYoOmz009HWIl0fKX9gKlgZV5jnF4VbMkxd9o@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-41209@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 3836 bytes --]

Closed issue by TeusLollo on void-packages repository

https://github.com/void-linux/void-packages/issues/41209

Description:
### Is this a new report?

Yes

### System Info

Void 5.15.82_1 x86_64 GenuineIntel uptodate rFFFF

### Package(s) Affected

xarchiver-0.5.4.20_1 | Possibly also all those calling directly upon binary 7z into /bin

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

None, since this is probably more of a packaging issue which can potentially be solved with a symlink trick (Described below). 

### Expected behaviour

The original `p7zip-22.01_1` package provided the binary `7z` into `/bin` (Itself a symlink to `/usr/bin`)

`p7zip-22.01_1`, whose source has gone unmaintained for years, has recently been substituted by `7zip-22.01`, which provides the binary `7zip` into `/bin`, instead. 

Maintainers performed pre-merge tests here, but apparently were not provided concerns about such a name mismatch:
https://github.com/void-linux/void-packages/pull/37940

Although the binaries appear identical functionality-wise, such a binary name mismatch is causing incompatibilities into all applications/tools/scripts originally invoking binary `7z` instead of `7zip`.


### Actual behaviour

Possibly all applications/tools/scripts which originally invoked binary `7z`, instead of the newer `7zip`, are currently not-functional due to (Apparently) missing required binary. 

In the case of `xarchiver`, for example, upon attempting to open a `.7z` archive, it will exit complaining about "non-supported format" due to a "proper archiver" being "not installed".

As an experiment, I ran the following command:
(This example assumes path `~/.bin` is listed into your shell `$PATH` environment variable)

`ln -s /bin/7zip ~/.bin/7z`

If I do that, `xarchiver` returns into being capable of operating `.7z` archives correctly, through the symlink (Briefly tested both compression and decompression), hence I assume the binary name mismatch to be the source of the aforementioned error. 

I also presume a non-specified amount of further applications/tools/scripts originally invoking binary `7z` are now non-functional due to missing a symbolic link to newer binary `7zip`. 

Of course, I'm no maintainer, but it looks to me that including into the package a symbolic link named `7z`, linking to binary `7zip`, both into` /bin`, may solve all such concerns quite simply. 

EDIT: 

I just realized that `p7zip-22.01_1` also provided binaries `7za` and `7zr`, who also have gone missing. It may not be that simple, after all. 

### Steps to reproduce

1. Install the latest `7zip-22.01` package, which will substitute the older `p7zip-22.01_1`, and remove binary `7z`, while introducing functionally-identical binary `7zip` instead. 
2. From a GUI or a CLI, invoke `xarchiver` to open a given `.7z` archive, and be met with an error message lamenting a non-supported archive format due to missing a "proper archiver" (Yet `7zip-22.01` package, providing the functionally-identical binary `7zip`, is installed)
3. Similar problems are likely now incurring upon all further applications/tools/scripts which directly invoke binary `7z`, instead of the newer-introduced binary `7zip` (They will all exit complaining about missing binaries)
4. My symlink trick described above seems to be working, yet requires further testing by multiple users, and should go into `/bin` instead. 

EDIT:

5. Worth noting that `p7zip-22.01_1` also provided binaries `7za` and `7zr` which now have also gone missing, and I presume will require symlinking to somewhere else (There are no equivalents provided by `7zip-22.01`, from what I can see. Maybe binary `7zip` works more closely to its Windows equivalent and is more monolithic?)

  parent reply	other threads:[~2022-12-21  2:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-20 22:18 [ISSUE] " TeusLollo
2022-12-21  1:37 ` sgn
2022-12-21  1:42 ` sgn
2022-12-21  1:45 ` sgn
2022-12-21  1:49 ` sgn
2022-12-21  2:04 ` sgn [this message]
2022-12-21 20:58 ` Updating p7zip-22.01 package break because of missing /usr/bin/7z r-ricci
2022-12-22 14:44 ` TeusLollo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221221020455.bbiruebYoOmz009HWIl0fKX9gKlgZV5jnF4VbMkxd9o@z \
    --to=sgn@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).