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

Bug 835997

Summary: net-fs/samba-4.15.5-r2: FEATURES="${FEATURES} ccache distcc" Could not find a .d dependency file, are cflags/cxxflags overwritten?
Product: Gentoo Linux Reporter: Samuel Bernardo <samuelbernardo.mail>
Component: Current packagesAssignee: Gentoo's SAMBA Team <samba>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bkohler, gentoo, jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log
emerge info
emerge -pqv

Description Samuel Bernardo 2022-03-25 13:11:55 UTC
Created attachment 767787 [details]
build log

(...)

Could not find a .d dependency file, are cflags/cxxflags overwritten?
distcc[4261] (dcc_select_for_write) ERROR: IO timeout

(...)

Waf: Leaving directory `/var/tmp/portage/net-fs/samba-4.15.5-r2/work/samba-4.15.5-abi_x86_64.amd64/bin/default'
Build failed
Traceback (most recent call last):
  File "/var/tmp/portage/net-fs/samba-4.15.5-r2/work/samba-4.15.5/third_party/waf/waflib/Task.py", line 360, in process
    self.post_run()
  File "/var/tmp/portage/net-fs/samba-4.15.5-r2/work/samba-4.15.5/third_party/waf/waflib/extras/gccdeps.py", line 81, in post_run
    txt = Utils.readf(name)
  File "/var/tmp/portage/net-fs/samba-4.15.5-r2/work/samba-4.15.5/third_party/waf/waflib/Utils.py", line 237, in readf
    with open(fname, m) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/net-fs/samba-4.15.5-r2/work/samba-4.15.5-abi_x86_64.amd64/bin/default/lib/util/dprintf.c.38.d'

Traceback (most recent call last):
  File "/var/tmp/portage/net-fs/samba-4.15.5-r2/work/samba-4.15.5/third_party/waf/waflib/Task.py", line 360, in process
    self.post_run()
  File "/var/tmp/portage/net-fs/samba-4.15.5-r2/work/samba-4.15.5/third_party/waf/waflib/extras/gccdeps.py", line 81, in post_run
    txt = Utils.readf(name)
  File "/var/tmp/portage/net-fs/samba-4.15.5-r2/work/samba-4.15.5/third_party/waf/waflib/Utils.py", line 237, in readf
    with open(fname, m) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/net-fs/samba-4.15.5-r2/work/samba-4.15.5-abi_x86_64.amd64/bin/default/lib/util/close_low_fd.c.7.d'

(...)
Comment 1 Samuel Bernardo 2022-03-25 13:12:11 UTC
Created attachment 767788 [details]
emerge info
Comment 2 Samuel Bernardo 2022-03-25 13:12:23 UTC
Created attachment 767789 [details]
emerge -pqv
Comment 3 Samuel Bernardo 2022-03-25 13:21:39 UTC
Disabling distcc the issue didn't happened. So I opened this bug since could be important to improve distcc support.
Comment 4 Ben Kohler gentoo-dev 2022-07-28 19:22:10 UTC

*** This bug has been marked as a duplicate of bug 749324 ***