Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

FS#41579 - [makepkg] setting buildenv as (ccache !distcc) still runs distcc

Attached to Project: Pacman
Opened by Steven Honeyman (stevenhoneyman) - Saturday, 16 August 2014, 22:02 GMT
Last edited by Allan McRae (Allan) - Sunday, 31 January 2016, 08:47 GMT
Task Type Bug Report
Category makepkg
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 4.1.2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

If I want to use ccache but *not* distcc for a makepkg build, makepkg still runs distcc.
In makepkg, if ccache is selected then PATH has the ccache "symlinks" directory prepended to it:

[[ -d /usr/lib/ccache/bin ]] && export PATH="/usr/lib/ccache/bin:$PATH"

Following upstream distcc instructions/best practice guide[1], I have CCACHE_PREFIX="distcc" set. As a result of that, ccache *always* calls distcc.
This could be fixed in makepkg by adding an "else" statement on the distcc enable bit just above this, to unset CCACHE_PREFIX (or s/distcc// , whatever) if distcc is not selected.


[1] http://distcc.googlecode.com/svn/trunk/doc/web/man/distcc_1.html#TOC_14
This task depends upon

Closed by  Allan McRae (Allan)
Sunday, 31 January 2016, 08:47 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 5.0 with 2627b423

Loading...