Community Packages

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!
Tasklist

FS#48676 - [meson] Binaries should be installed without the ".py" extension in the filename

Attached to Project: Community Packages
Opened by Alexandru Băluț (aleb) - Wednesday, 23 March 2016, 14:07 GMT
Last edited by Anatol Pomozov (anatolik) - Thursday, 24 March 2016, 20:22 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Anatol Pomozov (anatolik)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

https://github.com/mesonbuild/meson/wiki/Cheat-sheet suggests you can use "meson" and "mesonconf", but the meson package only provides them with the ".py" extension:
usr/bin/meson.py
usr/bin/mesonconf.py
usr/bin/mesongui.py
usr/bin/mesonintrospect.py
usr/bin/wraptool.py

It's inconsistent that you need to strip the extension to get the manual page:
usr/share/man/man1/meson.1.gz
usr/share/man/man1/mesonconf.1.gz
usr/share/man/man1/mesongui.1.gz
usr/share/man/man1/mesonintrospect.1.gz
usr/share/man/man1/wraptool.1.gz


Additional info:
* 0.30.0-1


Steps to reproduce:
$ pacman -S meson
$ meson
This task depends upon

Closed by  Anatol Pomozov (anatolik)
Thursday, 24 March 2016, 20:22 GMT
Reason for closing:  Upstream
Comment by Alexandru Băluț (aleb) - Thursday, 24 March 2016, 11:54 GMT
  • Field changed: Percent Complete (100% → 0%)
An official member of the Meson build system on Github said "It is the job of the distro packager to make sure Meson is runnable as plain meson. This is what the Debian packaging does, for example. Having the executable called meson.py is silly, because end users don't care (and should not even know) that it is implemented in Python."

https://github.com/mesonbuild/meson/issues/394#issuecomment-200527717
Comment by Allan McRae (Allan) - Thursday, 24 March 2016, 11:55 GMT
Crappy build system, but no files in /usr/bin should end with .py.
Comment by Doug Newgard (Scimmia) - Thursday, 24 March 2016, 17:26 GMT
And why is that, Allan? Why is that any different than the numerous files in /usr/bin that end in .sh?

Upstream has given up on the issue and noted in the readme that you may have to call meson.py

Edit: Previous closure message: Not a bug: This was an upstream change: https://github.com/mesonbuild/meson/commit/455e55f8e51c328400c36d65a15d76e7c4be08eb
Comment by Anatol Pomozov (anatolik) - Thursday, 24 March 2016, 20:18 GMT
meson PKGBUILD uses "setup.py install" to install the binary files. And it installs *.py. If you think it is wrong then work with upstream on their installation script.

As Doug pointed they tried to do it already but failed because the file suffix is expected at Windows. If so the setup.py should rename binaries only during *nix installation.

Loading...