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.
Same problem here with sys-libs/ldb-2.2.1
*** This bug has been marked as a duplicate of bug 581900 ***