Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 686548 - net-dns/getdns-1.5.2-r1 fails: "configure: error: Package requirements (gnutls-dane >= 3.5.0) were not met"
Summary: net-dns/getdns-1.5.2-r1 fails: "configure: error: Package requirements (gnutl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Quentin Retornaz
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-05-22 12:49 UTC by Alexander Hof
Modified: 2019-06-22 19:50 UTC (History)
3 users (show)

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


Attachments
emerge -pqv (emerge-pqv.txt,198 bytes, text/plain)
2019-05-22 12:49 UTC, Alexander Hof
Details
emerge --info (emerge--info.txt,4.65 KB, text/plain)
2019-05-22 12:51 UTC, Alexander Hof
Details
build.log (build.log,7.48 KB, text/plain)
2019-05-22 12:51 UTC, Alexander Hof
Details
getdns-1.5.2-r1-usex.patch (getdns-1.5.2-r1-usex.patch,503 bytes, patch)
2019-06-20 18:11 UTC, Patrick McLean
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Hof 2019-05-22 12:49:57 UTC
Created attachment 577558 [details]
emerge -pqv

Configure of net-dns/getdns-1.5.2-r1 fails related to gnutls/dane, despite building with "-gnutls" and ebuild not requiring gnutls with "dane":

checking for libgnutls... yes
checking for libgnutlsdane... no
configure: error: Package requirements (gnutls-dane >= 3.5.0) were not met:

Package 'gnutls-dane', required by 'virtual:world', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables libgnutlsdane_CFLAGS
and libgnutlsdane_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Comment 1 Alexander Hof 2019-05-22 12:51:03 UTC
Created attachment 577560 [details]
emerge --info
Comment 2 Alexander Hof 2019-05-22 12:51:23 UTC
Created attachment 577562 [details]
build.log
Comment 3 Quentin Retornaz 2019-05-22 19:10:24 UTC
It should normally be configured with the option --without-gnutls in your profile
Comment 4 Quentin Retornaz 2019-05-22 19:11:39 UTC
Ah, it's the case in your build log.
Maybe their Makefile is broken.
Comment 5 Alexander Hof 2019-05-24 11:41:53 UTC
(In reply to Quentin R. from comment #4)
> Ah, it's the case in your build log.
> Maybe their Makefile is broken.

The issue was not present with 1.5.2.
Comment 6 Quentin Retornaz 2019-05-26 00:53:08 UTC
@ Alexander Hof:
Yes, sorry.
Just that their Makefile is compliant with Gentoo Standards.
Or just that GnuTLS is a total dependency that could not be skipped.
Comment 7 Quentin Retornaz 2019-06-02 13:38:59 UTC
I mispelled: Just that their Makefile is *not* compliant with Gentoo Standards.
Comment 8 Quentin Retornaz 2019-06-02 13:40:06 UTC
I should make a patch for their Makefile to be compliant.
I’m working on it.
Comment 9 Jens Rex 2019-06-11 09:22:26 UTC
Could this package be rolled back to `1.5.2´, until a fix for `1.5.2-r1´ is completed? It has been in a broken state for about three weeks now.
Comment 10 Quentin Retornaz 2019-06-11 11:54:54 UTC
I can fix it with a hack on the ebuild by replacing use_with with usex. It should work this way.
Comment 11 Patrick McLean gentoo-dev 2019-06-20 18:11:23 UTC
Created attachment 580262 [details, diff]
getdns-1.5.2-r1-usex.patch

This patch makes src_configure succeed with USE="-gnutls". Looking at the config.log, it does not appear to be testing for gnutls, so it should not create any automagic dependencies.

At this point the package has been broken for ~6 weeks, it really should be fixed or reverted.
Comment 12 Quentin Retornaz 2019-06-20 19:40:04 UTC
Hi, I’m making a PR for this now, it’ll be fixed.
Comment 13 Larry the Git Cow gentoo-dev 2019-06-22 19:50:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bc58cfb49740269eb8041d1d2985d2c15966285

commit 8bc58cfb49740269eb8041d1d2985d2c15966285
Author:     Quentin Retornaz <gentoo@retornaz.com>
AuthorDate: 2019-06-21 03:25:04 +0000
Commit:     Anthony G. Basile <blueness@gentoo.org>
CommitDate: 2019-06-22 19:49:23 +0000

    net-dns/getdns: fix configure
    
    Closes: https://bugs.gentoo.org/686548
    
    Signed-off-by: Quentin Retornaz <gentoo@retornaz.com>
    Package-Manager: Portage-2.3.66, Repoman-2.3.11
    Signed-off-by: Anthony G. Basile <blueness@gentoo.org>

 net-dns/getdns/{getdns-1.5.2-r1.ebuild => getdns-1.5.2-r2.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)