After upgrading to net-libs/ldns-1.8.0 and rebuilding net-dns/ldns-utils, drill fails to load. drill: error while loading shared libraries: libldns.so.2: cannot open shared object file: No such file or directory I also see this warning: * QA Notice: Unresolved soname dependencies: * * /usr/bin/drill: libldns.so.2 It appears that net-libs/ldns installs libldns.so.3. Given that ldns and ldns-utils are built from the same source code, I would suggest consolidating them into a single package. This will avoid any possible issues with mismatched library versions.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2347bb98e3dc254b6af0a7601bfe2e93ffa241c9 commit 2347bb98e3dc254b6af0a7601bfe2e93ffa241c9 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2021-12-03 22:53:25 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2021-12-04 15:58:14 +0000 net-libs/ldns: install 'drill' command Bug: https://bugs.gentoo.org/828109 Signed-off-by: Mike Gilbert <floppym@gentoo.org> net-libs/ldns/ldns-1.8.0-r3.ebuild | 114 +++++++++++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+)
Sorry, this is confusing for somebody who just wants access to the drill command. Why does net-dns/ldns-utils still exist? It's blocking upgrades across all my machines now because it pulls in net-libs/ldns but net-libs/ldns explicitly blocks net-dns/ldns-utils.
net-dns/ldns-utils will be removed once a suitable version of net-libs/ldns has been marked stable.
(In reply to matoro from comment #2) > Sorry, this is confusing for somebody who just wants access to the drill > command. Why does net-dns/ldns-utils still exist? It's blocking upgrades > across all my machines now because it pulls in net-libs/ldns but > net-libs/ldns explicitly blocks net-dns/ldns-utils. It would help to see the output. You're probably using an ~arch version of ldns-utils but.. not ldns?
(In reply to Sam James from comment #4) > (In reply to matoro from comment #2) > > Sorry, this is confusing for somebody who just wants access to the drill > > command. Why does net-dns/ldns-utils still exist? It's blocking upgrades > > across all my machines now because it pulls in net-libs/ldns but > > net-libs/ldns explicitly blocks net-dns/ldns-utils. > > It would help to see the output. > > You're probably using an ~arch version of ldns-utils but.. not ldns? No, with a global ~arch setting, this blocks upgrades. Here's what the output looks like: These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] net-libs/ldns-1.8.0-r3:0/3::gentoo [1.8.0-r1:0/3::gentoo] USE="dane ecdsa vim-syntax -doc -ed448 -ed25519 -examples% -gost -python -static-libs" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_9 -python3_8 -python3_10" 0 KiB [ebuild U ] net-dns/ldns-utils-1.8.0-r1::gentoo [1.8.0::gentoo] USE="dane ssl -ecdsa -ed448 -ed25519 -examples -gost" 0 KiB [blocks B ] net-dns/ldns-utils ("net-dns/ldns-utils" is soft blocking net-libs/ldns-1.8.0-r3) Total: 2 packages (2 upgrades), Size of downloads: 0 KiB Conflict: 1 block (1 unsatisfied) * Error: The above package list contains packages which cannot be * installed at the same time on the same system. (net-dns/ldns-utils-1.8.0-r1:0/0::gentoo, ebuild scheduled for merge) pulled in by net-dns/ldns-utils required by @selected net-dns/ldns-utils (net-libs/ldns-1.8.0-r3:0/3::gentoo, ebuild scheduled for merge) pulled in by net-libs/ldns >=net-libs/ldns-1.8.0[dane?,ecdsa?,ed25519?,ed448?,gost?] (>=net-libs/ldns-1.8.0[dane]) required by (net-dns/ldns-utils-1.8.0-r1:0/0::gentoo, ebuild scheduled for merge) USE="dane ssl -ecdsa -ed25519 -ed448 -examples -gost" ABI_X86="(64)" For more information about Blocked Packages, please refer to the following section of the Gentoo Linux x86 Handbook (architecture is irrelevant): https://wiki.gentoo.org/wiki/Handbook:X86/Working/Portage#Blocked_packages This prevents @world upgrades. Manually upgrading net-dns/ldns-utils does not fix it. I'm going through and deselecting net-dns/ldns-utils and adding net-libs/ldns to world files now, which does resolve it.
You will need to remove net-dns/ldns-utils from your world file.
(In reply to Mike Gilbert from comment #6) > You will need to remove net-dns/ldns-utils from your world file. And if that doesn't work, share the new world upgrade output. But your error is specifically caused by it being in world, yep.
To be clear, my intention is to force people to remove net-dns/ldns-utils. When >=net-dns/ldns-1.8.0-r3 is marked stable, we should add an entry to package.mask explaining this.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13ca5ab7120da45cf867746a532b507e7f2d7d02 commit 13ca5ab7120da45cf867746a532b507e7f2d7d02 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2021-12-04 22:03:18 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2021-12-04 22:09:43 +0000 net-libs/ldns: adjust blocker on net-dns/ldns-utils Bug: https://bugs.gentoo.org/828109 Signed-off-by: Mike Gilbert <floppym@gentoo.org> net-libs/ldns/{ldns-1.8.0-r3.ebuild => ldns-1.8.0-r4.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7b21251455080016990aa8b9f19a2375c63e492 commit e7b21251455080016990aa8b9f19a2375c63e492 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2021-12-04 22:01:52 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2021-12-04 22:09:43 +0000 net-dns/ldns-utils: add a stub version to facilitate upgrades It is likely that people have ldns-utils in @selected, so let's provide a stub version that depends on a the "consolidated" ldns package until we can last rites ldns-utils. Bug: https://bugs.gentoo.org/828109 Signed-off-by: Mike Gilbert <floppym@gentoo.org> net-dns/ldns-utils/ldns-utils-1.8.0-r2.ebuild | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+)
That last round of changes should make ~arch upgrades smoother for the time being.
After net-libs/ldns-1.8.0-r4 was stabilized, now the stub is causing a blocker on a (stable) arm system. # emerge -pqt1 net-libs/ldns net-dns/ldns-utils [ebuild U ] net-libs/ldns-1.8.0-r4 [1.8.0-r1] [ebuild R ] net-dns/ldns-utils-1.7.1 [blocks B ] <net-dns/ldns-utils-1.8.0-r2 ("<net-dns/ldns-utils-1.8.0-r2" is soft blocking net-libs/ldns-1.8.0-r4) * Error: The above package list contains packages which cannot be * installed at the same time on the same system. (net-dns/ldns-utils-1.7.1:0/0::gentoo, ebuild scheduled for merge) pulled in by net-dns/ldns-utils net-dns/ldns-utils required by @selected (net-libs/ldns-1.8.0-r4:0/3::gentoo, ebuild scheduled for merge) pulled in by net-libs/ldns >=net-libs/ldns-1.7.1[dane?,ecdsa?,ed25519?,ed448?,gost?] (>=net-libs/ldns-1.7.1[dane]) required by (net-dns/ldns-utils-1.7.1:0/0::gentoo, ebuild scheduled for merge) USE="dane ssl -ecdsa -ed25519 -ed448 -examples -gost" Suggested remedy: The net-dns/ldns-utils-1.8.0-r2 stub package should have its KEYWORDS synchronized with those of the net-libs/ldns-1.8.0-r* packages. Presumed workaround: Deselect net-dns/ldns-utils.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c70632e4e2ac22a21cfdfc544509ba29a2d460c9 commit c70632e4e2ac22a21cfdfc544509ba29a2d460c9 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2021-12-19 23:02:23 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2021-12-19 23:03:52 +0000 net-dns/ldns-utils: stabilize 1.8.0-r2 Closes: https://bugs.gentoo.org/828109 Bug: https://bugs.gentoo.org/828109 Signed-off-by: Mike Gilbert <floppym@gentoo.org> net-dns/ldns-utils/ldns-utils-1.8.0-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c70632e4e2ac22a21cfdfc544509ba29a2d460c9 commit c70632e4e2ac22a21cfdfc544509ba29a2d460c9 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2021-12-19 23:02:23 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2021-12-19 23:03:52 +0000 net-dns/ldns-utils: stabilize 1.8.0-r2 Closes: https://bugs.gentoo.org/828109 Bug: https://bugs.gentoo.org/828109 Signed-off-by: Mike Gilbert <floppym@gentoo.org> net-dns/ldns-utils/ldns-utils-1.8.0-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Re-opening until ldns-utils is masked/removed.
net-dns/ldns-utils is still present and not masked. I found it doesn't install any file, just pulls in ldns, so it's useless. Even then I had to set USE "example" on net-libs/ldns in order for it to install all the utilities it has in examples.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c78295f66e7897331f464cb2060c52c384f9755 commit 9c78295f66e7897331f464cb2060c52c384f9755 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2023-04-26 18:30:06 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2023-04-26 18:30:06 +0000 profiles: mask net-dns/ldns-utils for removal Closes: https://bugs.gentoo.org/828109 Signed-off-by: Mike Gilbert <floppym@gentoo.org> profiles/package.mask | 5 +++++ 1 file changed, 5 insertions(+)