Summary: | net-dns/bind-9.16.6: Build fails with //usr/lib/libdb-5.3.so: error adding symbols: file in wrong format | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Stefan Huber <shuber> |
Component: | Current packages | Assignee: | Mikle Kolyada (RETIRED) <zlogene> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | 0xe2.0x9a.0x9b, chutzpah, joost.ruis, sam |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/17419 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 506276 | ||
Attachments: |
emerge info
build log LDAP library path patch for multilib Gentoo machines |
Description
Stefan Huber
2020-08-26 09:13:40 UTC
Created attachment 656832 [details]
emerge info
No luck in adding build.log due to Internal Server Error. When I receive response from webmaster, I will try again. Created attachment 656836 [details]
build log
Had a quick look at this. First tried to reproduce on my ~amd64 system by installing USE=abi_x86_32 sys-libs/db:5.3 then building bind with USE="berkdb caps dlz zlib", but that went fine. My build log is filled with -L/usr/lib64 while the above one has -L/usr/lib. So I tried some other USEs and with USE="berkdb caps dlz ldap zlib", there it is, -L/usr/lib, and wrong format. Not that I looked into why it's happening with ldap but hopefully it's a start. I can confirm that changing use flags from "dlz" to "dlz -ldap" solves the build issue for me. net-dns/bind-9.16.6::gentoo USE="berkdb caps dlz ldap xml zlib" merged without error here - though, as iamben noted, that may be because sys-libs/db has ABI_X86="64 -32 -x32" (i.e. there's no /usr/lib/libdb.so ...) Created attachment 658416 [details, diff]
LDAP library path patch for multilib Gentoo machines
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=956c96ce1bac9fcd9e792f9d64215da236d282f9 commit 956c96ce1bac9fcd9e792f9d64215da236d282f9 Author: Jan Ziak <0xe2.0x9a.0x9b@gmail.com> AuthorDate: 2020-09-04 20:56:02 +0000 Commit: Patrick McLean <chutzpah@gentoo.org> CommitDate: 2020-09-18 19:22:37 +0000 net-dns/bind-9.16.6-r2: Revbump, USE=ldap on multilib (bug #739062) Closes: https://bugs.gentoo.org/739062 Signed-off-by: Jan Ziak <0xe2.0x9a.0x9b@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/17419 Signed-off-by: Patrick McLean <chutzpah@gentoo.org> .../bind/{bind-9.16.6-r1.ebuild => bind-9.16.6-r2.ebuild} | 2 ++ .../bind/files/ldap-library-path-on-multilib-machines.patch | 13 +++++++++++++ 2 files changed, 15 insertions(+) |