Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 823059 - dev-libs/nss-3.72 build fails with DISTCC_VERBOSE=1 but works with DISTCC_VERBOSE=0
Summary: dev-libs/nss-3.72 build fails with DISTCC_VERBOSE=1 but works with DISTCC_VER...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-11 11:14 UTC by Pascal Jäger
Modified: 2021-11-11 18:38 UTC (History)
1 user (show)

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


Attachments
Build.log with DISTCC_VERBOSE=1 (buildlog_nss_verb1,21.08 KB, application/octet-stream)
2021-11-11 11:14 UTC, Pascal Jäger
Details
emerge --info '=dev-libs/nss-3.72::gentoo' with DISTCC_VERBOSE=1 (emergeinfo_nss_verb1,12.10 KB, text/plain)
2021-11-11 11:14 UTC, Pascal Jäger
Details
emerge -pqv '=dev-libs/nss-3.72::gentoo' with DISTCC_VERBOSE=1 (emergepqv_nss_verb1,83 bytes, text/plain)
2021-11-11 11:15 UTC, Pascal Jäger
Details
environment file with DISTCC_VERBOSE=1 (environment_nss_verb1,123.11 KB, text/plain)
2021-11-11 11:18 UTC, Pascal Jäger
Details
emerge --info '=dev-libs/nss-3.72::gentoo' with DISTCC_VERBOSE=0 (emergeinfo_nss_verb0,11.69 KB, text/plain)
2021-11-11 11:25 UTC, Pascal Jäger
Details
emerge -pqv '=dev-libs/nss-3.72::gentoo' with DISTCC_VERBOSE=1 (emergepqv_nss_verb0,83 bytes, text/plain)
2021-11-11 11:25 UTC, Pascal Jäger
Details
emerge -pqv '=dev-libs/nss-3.72::gentoo' with DISTCC_VERBOSE=0 (emergepqv_nss_verb0,83 bytes, text/plain)
2021-11-11 11:26 UTC, Pascal Jäger
Details
environment file with DISTCC_VERBOSE=0 (environment_nss_verb0,123.78 KB, text/plain)
2021-11-11 11:36 UTC, Pascal Jäger
Details
Build.log with DISTCC_VERBOSE=0 (buildlog_nss_verb0.gz,28.94 KB, application/gzip)
2021-11-11 11:36 UTC, Pascal Jäger
Details

Note You need to log in before you can comment on or make changes to this bug.
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)