Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 523658 - sys-devel/distcc 3.2_rc1 prepares "${T}"/distcc-config but installs both (ancient) "${FILESDIR}/3.0/distcc-config" and "${T}/distcc-config"
Summary: sys-devel/distcc 3.2_rc1 prepares "${T}"/distcc-config but installs both (anc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-25 00:26 UTC by John Bowler
Modified: 2015-10-22 15:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Bowler 2014-09-25 00:26:07 UTC
Repro:

1) Install distcc 3.2_rc1 (needs to be unmasked)
2) Attempt to change the DISTCC_FALLBACK setting:

distcc-config --set-env DISTCC_FALLBACK 0

3) Observe: an error message:

/bin/sh: /usr/sbin/env-update: No such file or directory

4) source /etc/profile and check - DISTCC_FALLBACK has not been set to 0.
5) run env-update by hand
6) source /etc/profile and check - DISTCC_FALLBACK is set as expected

That's pretty self explanatory; the file is in /usr/bin/env-update

The bug may be in 3.1 (the current version) as well, I haven't checked.
Comment 1 Sergey Popov gentoo-dev 2015-10-22 15:20:03 UTC
Thanks, fixed in 3.2_rc1-r4

commit b64eb2f7af96867a39670527daa6aaaa37bc05e2
Author: Sergey Popov <pinkbyte@gentoo.org>
Date:   Thu Oct 22 18:14:39 2015 +0300

    sys-devel/distcc: revision bump
    
    Distcc-config appears to be installed twice, which is wrong.
    Also, create separate subdirectory for config files and initscripts,
    related to 3.2 branch of package. Drop old revision.
    
    Gentoo-Bug: 523658
    
    Package-Manager: portage-2.2.20