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

Bug 823059

Summary: dev-libs/nss-3.72 build fails with DISTCC_VERBOSE=1 but works with DISTCC_VERBOSE=0
Product: Gentoo Linux Reporter: Pascal Jäger <pascal.jaeger>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: UNCONFIRMED ---    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build.log with DISTCC_VERBOSE=1
emerge --info '=dev-libs/nss-3.72::gentoo' with DISTCC_VERBOSE=1
emerge -pqv '=dev-libs/nss-3.72::gentoo' with DISTCC_VERBOSE=1
environment file with DISTCC_VERBOSE=1
emerge --info '=dev-libs/nss-3.72::gentoo' with DISTCC_VERBOSE=0
emerge -pqv '=dev-libs/nss-3.72::gentoo' with DISTCC_VERBOSE=1
emerge -pqv '=dev-libs/nss-3.72::gentoo' with DISTCC_VERBOSE=0
environment file with DISTCC_VERBOSE=0
Build.log with DISTCC_VERBOSE=0

Description Pascal Jäger 2021-11-11 11:14:06 UTC
Created attachment 750339 [details]
Build.log with DISTCC_VERBOSE=1

When I emerge nss-3.72 (also tried it with nss-3.70 on different machine) with distcc and set distcc verbosity to DISTCC_VERBOSE=1 the build fails with `../coreconf/rules.mk:285: *** missing separator.  Stop.` right at the beginning. 
If I set DISTCC_VERBOSE=0 it works fine. 

I think this problem is the one mentioned here upstream:
https://distcc.github.io/faq.html (search for 'Make fails with "file not found"')

This is just my interpretation of the bug and I can only base this on the taste of my coffee today and not on any particular research I have done: I think this is a race condition during the build and with DISTCC_VERBOSE=1 the timing is changed slightly, changing the outcome of the race.

Depending on the outcome of this bug I suggest adding a remark on the wiki page of distcc maybe?
Comment 1 Pascal Jäger 2021-11-11 11:14:59 UTC
Created attachment 750342 [details]
emerge --info '=dev-libs/nss-3.72::gentoo' with DISTCC_VERBOSE=1
Comment 2 Pascal Jäger 2021-11-11 11:15:35 UTC
Created attachment 750345 [details]
emerge -pqv '=dev-libs/nss-3.72::gentoo' with DISTCC_VERBOSE=1
Comment 3 Pascal Jäger 2021-11-11 11:18:05 UTC
Created attachment 750348 [details]
environment file with DISTCC_VERBOSE=1
Comment 4 Pascal Jäger 2021-11-11 11:25:35 UTC
Created attachment 750351 [details]
emerge --info '=dev-libs/nss-3.72::gentoo' with DISTCC_VERBOSE=0
Comment 5 Pascal Jäger 2021-11-11 11:25:57 UTC
Created attachment 750354 [details]
emerge -pqv '=dev-libs/nss-3.72::gentoo' with DISTCC_VERBOSE=1
Comment 6 Pascal Jäger 2021-11-11 11:26:33 UTC
Created attachment 750360 [details]
emerge -pqv '=dev-libs/nss-3.72::gentoo' with DISTCC_VERBOSE=0
Comment 7 Pascal Jäger 2021-11-11 11:36:02 UTC
Created attachment 750363 [details]
environment file with DISTCC_VERBOSE=0
Comment 8 Pascal Jäger 2021-11-11 11:36:30 UTC
Created attachment 750366 [details]
Build.log with DISTCC_VERBOSE=0
Comment 9 Pascal Jäger 2021-11-11 11:42:18 UTC
This is also the case for libxcrypt, libsdl2, cogl, cairo and libxslt.
(and probably others I have not tried yet)