Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 651030 - sys-devel/distcc-3.3: fails at libdir
Summary: sys-devel/distcc-3.3: fails at libdir
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-20 21:03 UTC by Michał Górny
Modified: 2018-12-02 08:38 UTC (History)
4 users (show)

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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-03-20 21:03:19 UTC
mar 20 22:01:06 pomiocik systemd[1]: Started Distccd: A Distributed Compilation Server.
mar 20 22:01:06 pomiocik distccd[10391]: (dcc_warn_masquerade_whitelist) CRITICAL! /usr/lib/distcc not found. You must see up masquerade (see distcc(1)) to list whitelisted compilers or pass --make-me-a-botnet. To set up masquerade automatically run update-distcc-symlinks.
mar 20 22:01:06 pomiocik systemd[1]: distccd.service: Main process exited, code=exited, status=110/n/a
mar 20 22:01:06 pomiocik systemd[1]: distccd.service: Failed with result 'exit-code'.


The ebuild apparently insists on wrongly using /usr/lib64.
Comment 1 Larry the Git Cow gentoo-dev 2018-03-20 21:09:41 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=045ff686216ad01d7c2f6b04d439d8e9fbf6ca77

commit 045ff686216ad01d7c2f6b04d439d8e9fbf6ca77
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-03-20 21:07:02 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-03-20 21:09:34 +0000

    package.mask: Mask broken sys-devel/distcc-3.3
    
    Bug: https://bugs.gentoo.org/651030

 profiles/package.mask | 5 +++++
 1 file changed, 5 insertions(+)}
Comment 2 Benda Xu gentoo-dev 2018-03-24 00:20:00 UTC
/usr/lib or /usr/lib64?
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-03-24 08:00:34 UTC
The code apparently expects /usr/lib, ebuild uses /usr/lib64.
Comment 4 Larry the Git Cow gentoo-dev 2018-04-13 04:25:43 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3765ae97786a6d63aad3a20fa831eba7072db90

commit f3765ae97786a6d63aad3a20fa831eba7072db90
Author:     Benda Xu <heroxbd@gentoo.org>
AuthorDate: 2018-04-13 04:24:06 +0000
Commit:     Benda Xu <heroxbd@gentoo.org>
CommitDate: 2018-04-13 04:25:34 +0000

    sys-devel/distcc: revert the libdir hack and use /usr/lib/distcc.
    
    Bug: https://bugs.gentoo.org/651030
    Package-Manager: Portage-2.3.28, Repoman-2.3.9

 sys-devel/distcc/distcc-3.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)}
Comment 5 Michael 'veremitz' Everitt 2018-05-24 02:11:15 UTC
See https://github.com/RJVB/distcc/commit/145cdb4f9630af910f96d379bbde9cd0da376c28 .
Comment 6 Benda Xu gentoo-dev 2018-05-24 07:12:04 UTC
(In reply to Larry the Git Cow from comment #4)
> The bug has been referenced in the following commit(s):
> 
> https://gitweb.gentoo.org/repo/gentoo.git/commit/
> ?id=f3765ae97786a6d63aad3a20fa831eba7072db90
> 
> commit f3765ae97786a6d63aad3a20fa831eba7072db90
> Author:     Benda Xu <heroxbd@gentoo.org>
> AuthorDate: 2018-04-13 04:24:06 +0000
> Commit:     Benda Xu <heroxbd@gentoo.org>
> CommitDate: 2018-04-13 04:25:34 +0000
> 
>     sys-devel/distcc: revert the libdir hack and use /usr/lib/distcc.
>     
>     Bug: https://bugs.gentoo.org/651030
>     Package-Manager: Portage-2.3.28, Repoman-2.3.9
> 
>  sys-devel/distcc/distcc-3.3.ebuild | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)}

@mgorny, bug fixed.  You can go ahead to unmask this new version.
Comment 7 Matt Turner gentoo-dev 2018-07-07 07:05:00 UTC
(In reply to Benda Xu from comment #6)
> @mgorny, bug fixed.  You can go ahead to unmask this new version.

ping
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-07-07 07:27:25 UTC
I'll test.  Sorry about the delay.
Comment 9 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-07-07 07:50:10 UTC
/usr/share/shadowman/tools/distcc* still has the old paths.
Comment 10 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-07-07 08:32:17 UTC
Also you have to remove the old directories or Portage will get confused and use the wrong shadowdir.
Comment 11 Matt Turner gentoo-dev 2018-10-23 12:57:40 UTC
heroxbd, veremitz: any comments?
Comment 12 Larry the Git Cow gentoo-dev 2018-12-02 08:38:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fd91bf5725b7dad4ae7f1f6ccc8fd8c81bc5239

commit 8fd91bf5725b7dad4ae7f1f6ccc8fd8c81bc5239
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-12-02 08:25:17 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-12-02 08:38:15 +0000

    sys-devel/distcc: Use lib for libdir consistently
    
    Closes: https://bugs.gentoo.org/651030
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 sys-devel/distcc/distcc-3.3.ebuild | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)