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

Bug 749270

Summary: sys-libs/ldb-2.0.12-r1 fails to buid with distcc enabled.
Product: Gentoo Linux Reporter: Nico Baggus <mlspamcb>
Component: Current packagesAssignee: Gentoo's SAMBA Team <samba>
Status: RESOLVED DUPLICATE    
Severity: normal CC: chris, poncho
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Nico Baggus 2020-10-15 11:27:08 UTC
In file included from ../../lib/replace/system/filesys.h:118,
                 from ../../include/ldb_private.h:41,
                 from ../../common/ldb_dn.c:36:
/usr/include/attr/xattr.h:5:2: warning: #warning "Please change your <attr/xattr.h> includes to <sys/xattr.h>" [-Wcpp]
    5 | #warning "Please change your <attr/xattr.h> includes to <sys/xattr.h>"
      |  ^~~~~~~

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




Build succeeds if FEATURES

Reproducible: Always

Steps to Reproduce:
1.emerge -1 ldb   #feature distcc enable
2.
3.
Actual Results:  
fails

Expected Results:  
builds

FEATURES=-distcc emerge -1 ldb 

Dos provide a built image.
Comment 1 Christophe PEREZ 2021-04-29 14:03:51 UTC
Same problem here with sys-libs/ldb-2.2.1
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-25 05:59:55 UTC

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