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#64284 - [distcc] python should be dependency due to pump

Attached to Project: Community Packages
Opened by John (graysky) - Sunday, 27 October 2019, 13:20 GMT
Last edited by Alexander F. Rødseth (xyproto) - Saturday, 04 January 2020, 13:20 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I believe python needs to be a dependency since pump provided by this package is a python script. Running without it causes breakage:

__________Using distcc-pump from /usr/bin
__________Using 4 distcc servers in pump mode
/usr/bin/pump: line 297: /usr/bin/python: No such file or directory
__________Expected a socket at '/tmp/distcc-pump.4vIOWn/socket'
__________Could not start distcc-pump include server
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Saturday, 04 January 2020, 13:20 GMT
Reason for closing:  Fixed
Comment by John (graysky) - Friday, 08 November 2019, 15:40 GMT
...or at least an optdepends
Comment by Alexander F. Rødseth (xyproto) - Friday, 22 November 2019, 13:28 GMT
Thanks for reporting. I'll add it as a dep or an optdep. I think dep is a good choice, since the lack of python causes an error.
Comment by John (graysky) - Friday, 22 November 2019, 19:39 GMT
The only reason I can think of to support an optdep rather than a dep is that many users will not use pump mode and therefore will not need to have it as such.
Comment by Alexander F. Rødseth (xyproto) - Saturday, 04 January 2020, 13:19 GMT
I added python as a regular dependency, since it is likely that Python is already installed and because pump mode can be useful. In general, I also believe that missing packages that results in error messages for users can benefit from being a required dependency. This is not set in stone, though, but I ended up doing it this way. The updated package will appear in [community] shortly.

Loading...