Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 239671

Summary: media-gfx/sam2p-0.45-r1 - ./ccdep.pl: invalid depret: [distcc[14376] ERROR: compile (null) on localhost failed]
Product: Gentoo Linux Reporter: Steven Jenkins <steven.jenkins>
Component: New packagesAssignee: TeX project <tex>
Status: RESOLVED FIXED    
Severity: normal CC: tommy, zmedico
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build log
config.log

Description Steven Jenkins 2008-10-04 19:57:53 UTC
Emerge of media-gfx/sam2p-0.45-r1 if distcc is enabled in FEATURES.

Reproducible: Always

Steps to Reproduce:
1. add distcc to FEATURES in /etc/make
2. emerge media-gfx/sam2p-0.45-r1

Actual Results:  
 * 
 * ERROR: media-gfx/sam2p-0.45-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2541:  Called econf 'src_compile' 'src_compile'
 *               ebuild.sh, line  513:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 *  The die message:
 *   econf failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-gfx/sam2p-0.45-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/sam2p-0.45-r1/temp/environment'.
 * 


Expected Results:  
Successful emerge.

Removing distcc makes the problem go away.
Comment 1 Steven Jenkins 2008-10-04 19:59:51 UTC
Sorry--summary should say:

Emerge of media-gfx/sam2p-0.45-r1 fails if distcc is enabled in FEATURES.
Comment 2 Thomas Sachau gentoo-dev 2008-10-04 22:53:17 UTC
Please attach build.log and emerge --info
Comment 3 Steven Jenkins 2008-10-06 02:20:08 UTC
Created attachment 167400 [details]
emerge --info
Comment 4 Steven Jenkins 2008-10-06 02:21:22 UTC
Created attachment 167402 [details]
build log
Comment 5 Thomas Sachau gentoo-dev 2008-10-06 16:13:05 UTC
Does media-gfx/sam2p compile without distcc?
Do other apps compile with distcc?
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2008-10-06 20:23:10 UTC
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/media-gfx/sam2p-0.45-r1/work/sam2p-0.45/config.log

Please do...
Comment 7 Steven Jenkins 2008-10-06 20:32:53 UTC
Created attachment 167492 [details]
config.log
Comment 8 Steven Jenkins 2008-10-06 20:34:43 UTC
(In reply to comment #5)
> Does media-gfx/sam2p compile without distcc?

Yes.

> Do other apps compile with distcc?

Yes. This is the first exception I've encountered in several years of using distcc.
Comment 9 Alexis Ballier gentoo-dev 2008-10-07 05:08:23 UTC
Zac, I think I grabbed the change to force distcc being disabled from you (sam2p will always fail like this if gcc is ran through distcc).
Currently there is:
PATH=${PATH#/usr/lib/distcc/bin:}

is there something wrong here ?

I have distcc enabled and it works fine here.
Comment 10 Zac Medico gentoo-dev 2008-10-07 06:03:23 UTC
(In reply to comment #9)
> PATH=${PATH#/usr/lib/distcc/bin:}

Apparently that doesn't work if ccache is also enabled, but this will work in any case:

PATH=${PATH/\/usr\/lib\/distcc\/bin:}

I've fixed the ebuild in cvs to use that approach.
Comment 11 Alexis Ballier gentoo-dev 2008-10-07 06:10:56 UTC
(In reply to comment #10)
> (In reply to comment #9)
> > PATH=${PATH#/usr/lib/distcc/bin:}
> 
> Apparently that doesn't work if ccache is also enabled, but this will work in
> any case:
> 
> PATH=${PATH/\/usr\/lib\/distcc\/bin:}
> 
> I've fixed the ebuild in cvs to use that approach.

thanks ;)