Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 749261 - sys-libs/talloc-2.3.1 FEATURES=distcc - waf: Could not find a .d dependency file, are cflags/cxxflags overwritten?
Summary: sys-libs/talloc-2.3.1 FEATURES=distcc - waf: Could not find a .d dependency f...
Status: RESOLVED DUPLICATE of bug 581900
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
: 861335 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-10-15 10:39 UTC by Nico Baggus
Modified: 2022-11-25 06:00 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nico Baggus 2020-10-15 10:39:36 UTC
06:57:08 runner ['x86_64-pc-linux-gnu-gcc', '-O2', '-pipe', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-fPIC', '-D__STDC_WANT_LIB_EXT1__=1', '-fstack-protector-strong', '-fstack-clash-protection', '-fvisibility=hidden', '-O2', '-fwrapv', '-I.', '-I../..', '-I.', '-I../..', '-Ilib/replace', '-I../../lib/replace', '-I/usr/include/python3.8', '-DHAVE_PYEMBED=1', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DNDEBUG', '../../pytalloc_util.c', '-c', '-o/var/tmp/portage/sys-libs/talloc-2.3.1/work/talloc-2.3.1-abi_x86_64.amd64/bin/default/pytalloc_util.c.12.o']
[ 8/26] Compiling lib/replace/tests/os2_delete.c
06:57:08 runner ['x86_64-pc-linux-gnu-gcc', '-O2', '-pipe', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-Wno-format-truncation', '-fPIC', '-D__STDC_WANT_LIB_EXT1__=1', '-fstack-protector-strong', '-fstack-clash-protection', '-DSTATIC_replace_test_MODULES=NULL', '-DSTATIC_replace_test_MODULES_PROTO=extern void __replace_test_dummy_module_proto(void)', '-Ilib/replace', '-I../../lib/replace', '-I.', '-I../..', '-DHAVE_PYEMBED=1', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '../../lib/replace/tests/os2_delete.c', '-c', '-o/var/tmp/portage/sys-libs/talloc-2.3.1/work/talloc-2.3.1-abi_x86_64.amd64/bin/default/lib/replace/tests/os2_delete.c.3.o']
Could not find a .d dependency file, are cflags/cxxflags overwritten?
distcc[80] ERROR: compile ../../talloc.c on host failed with exit code 110
distcc[80] (dcc_build_somewhere) Warning: remote compilation of '../../talloc.c' failed, retrying locally
distcc[80] Warning: failed to distribute ../../talloc.c to host, running locally instead
distcc[80] (dcc_please_send_email_after_investigation) Warning: remote compilation of '../../talloc.c' failed, retried locally and got a different result.

Waf: Leaving directory `/var/tmp/portage/sys-libs/talloc-2.3.1/work/talloc-2.3.1-abi_x86_64.amd64/bin/default'
Build failed
Traceback (most recent call last):
  File "/var/tmp/portage/sys-libs/talloc-2.3.1/work/talloc-2.3.1/third_party/waf/waflib/Task.py", line 360, in process
    self.post_run()
  File "/var/tmp/portage/sys-libs/talloc-2.3.1/work/talloc-2.3.1/third_party/waf/waflib/extras/gccdeps.py", line 81, in post_run
    txt = Utils.readf(name)
  File "/var/tmp/portage/sys-libs/talloc-2.3.1/work/talloc-2.3.1/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/sys-libs/talloc-2.3.1/work/talloc-2.3.1-abi_x86_64.amd64/bin/default/lib/replace/tests/os2_delete.c.3.d'

 * ERROR: sys-libs/talloc-2.3.1::gentoo failed (compile phase):


Reproducible: Always

Steps to Reproduce:
1. Happens when distcc is enabled
2.
3.
Actual Results:  
Build fails.

Expected Results:  
Build works.


The build does work if:
FEATURES=-distcc emerge -1 talloc
Comment 1 Christophe PEREZ 2021-04-29 14:02:13 UTC
Same problem for me today with sys-libs/talloc-2.3.2 when updating world
emerge works with -distcc
Comment 2 Christophe PEREZ 2022-07-04 20:50:53 UTC
(In reply to Christophe PEREZ from comment #1)
> Same problem for me today with sys-libs/talloc-2.3.2 when updating world
> emerge works with -distcc

and again today with talloc-2.3.3
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-27 04:26:00 UTC
*** Bug 861335 has been marked as a duplicate of this bug. ***
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-27 04:26:22 UTC
Full build.log and such in bug 861335.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-25 06:00:06 UTC

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