Arch Linux

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#56268 - [firefox] Update PKGBUILD to use best practice calling of python2 binary

Attached to Project: Arch Linux
Opened by Vorbote (vorbote) - Tuesday, 07 November 2017, 15:51 GMT
Last edited by Jelle van der Waa (jelly) - Sunday, 28 April 2019, 09:59 GMT
Task Type General Gripe
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Jan Alexander Steffens (heftig)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

As per

https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Linux_Prerequisites#Python

the correct way to force the build system to use the needed python2 binary is by adding the following to .mozconfig (note that Arch Linux is mentioned explicitly):

mk_add_options PYTHON=/usr/bin/python2

Please find attached a proposed patch.
This task depends upon

Closed by  Jelle van der Waa (jelly)
Sunday, 28 April 2019, 09:59 GMT
Reason for closing:  Deferred
Comment by Eli Schwartz (eschwartz) - Tuesday, 07 November 2017, 17:16 GMT
  • Field changed: Task Type (Bug Report → General Gripe)
  • Field changed: Severity (Medium → Very Low)
At the top of every page in the bugtracker this link is given: https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

How can you possibly think this is "A non-essential functionality does not work, UNIX standards not respected, etc."???

...

I'm not even sure why anyone should care, this works just fine either way... and in fact the same Mozilla documentation does not even recommend either one, despite mk_add_options being arguably cleaner yet still lacking in objective superiority.
Comment by Jan Alexander Steffens (heftig) - Tuesday, 07 November 2017, 23:40 GMT
I'm pretty sure I changed this to the PATH hack at some point because the WebRTC build didn't heed PYTHON.
Comment by Vorbote (vorbote) - Thursday, 28 December 2017, 15:54 GMT
I'm here compiling an optimized firefox 57.0.3 and I noticed that client.mk *autodetects* the existence of python2.7 without any external input.

Neither the existent hack nor my proposed hack are needed in the PKGBUILD.

Loading...