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.
Sorry--summary should say: Emerge of media-gfx/sam2p-0.45-r1 fails if distcc is enabled in FEATURES.
Please attach build.log and emerge --info
Created attachment 167400 [details] emerge --info
Created attachment 167402 [details] build log
Does media-gfx/sam2p compile without distcc? Do other apps compile with distcc?
!!! 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...
Created attachment 167492 [details] config.log
(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.
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.
(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.
(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 ;)