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

Bug 745831

Summary: app-crypt/heimdal-7.8.0-r2 fails to compile: ld.gold: error: cannot open libdb.so: No such file or directory
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Kerberos Maintainers <kerberos>
Status: CONFIRMED ---    
Severity: normal CC: esigra, mrpoole
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 269315    
Attachments: build.log.xz

Description Agostino Sarubbo gentoo-dev 2020-10-01 06:49:27 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-crypt/heimdal-7.7.0-r1 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses a gold linker (ld.gold).
If you think that this issue is strictly related to ld.gold please block bug 269315.
Comment 1 Agostino Sarubbo gentoo-dev 2020-10-01 06:49:30 UTC
Created attachment 663328 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2020-10-01 06:49:31 UTC
Possible context of error(s):

cp: cannot stat 'ntlm-private.h': No such file or directory
cp: cannot stat 'spnego-private.h': No such file or directory
cp: cannot stat 'gsskrb5-private.h': No such file or directory
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: cannot open /usr/lib/libdb.so: No such file or directory
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: cannot open /usr/lib/libdb.so: No such file or directory
Comment 3 Agostino Sarubbo gentoo-dev 2023-08-02 07:05:19 UTC
glibc2.38_tinderbox has reproduced this issue with version 7.8.0-r2 - Updating summary.
Comment 4 Agostino Sarubbo gentoo-dev 2023-08-02 07:06:04 UTC
maybe it's unrelated, but with the new glibc-2.38 I can reproduce too. The exact error with ld is:

/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -ldb: No such file or directory