Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 745831 - app-crypt/heimdal-7.8.0-r2 fails to compile: ld.gold: error: cannot open libdb.so: No such file or directory
Summary: app-crypt/heimdal-7.8.0-r2 fails to compile: ld.gold: error: cannot open libd...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kerberos Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: systemwide-gold
  Show dependency tree
 
Reported: 2020-10-01 06:49 UTC by Agostino Sarubbo
Modified: 2023-08-02 07:06 UTC (History)
2 users (show)

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


Attachments
build.log.xz (build.log.xz,42.58 KB, application/x-xz)
2020-10-01 06:49 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
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