Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#79141 - [calibre] shebang line for executables
Attached to Project:
Arch Linux
Opened by Kale Kundert (kalekundert) - Wednesday, 19 July 2023, 05:30 GMT
Last edited by Caleb Maclennan (alerque) - Tuesday, 15 August 2023, 03:06 GMT
Opened by Kale Kundert (kalekundert) - Wednesday, 19 July 2023, 05:30 GMT
Last edited by Caleb Maclennan (alerque) - Tuesday, 15 August 2023, 03:06 GMT
|
DetailsAll of the non-binary executables installed by the calibre package (e.g. `/usr/bin/calibre`, `/usr/bin/ebook-viewer`, etc.) are installed with a `#!/usr/bin/env python3` shebang line. I believe that this should be `#!/usr/bin/python3` instead, because the user may have their own installation of python earlier in $PATH, and if so, it won't necessarily have all the dependencies installed that calibre requires.
I assume that this is a packaging bug and not an upstream bug, since the correct path to the python interpreter might vary between distributions. But let me know if I'm wrong; I don't have any familiarity with packaging, and I'd be happy to open an upstream bug if appropriate. |
This task depends upon
Closed by Caleb Maclennan (alerque)
Tuesday, 15 August 2023, 03:06 GMT
Reason for closing: Won't implement
Tuesday, 15 August 2023, 03:06 GMT
Reason for closing: Won't implement
python shebang style has come up *many* times in the past. Some even consider this a feature [2]. There are many ways to setup python virtual environments without messing up your system [3].
[1] https://wiki.archlinux.org/title/Python_package_guidelines
[2] https://lists.archlinux.org/pipermail/arch-general/2012-April/026205.html
[3] https://wiki.archlinux.org/title/Python