Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 609204 - net-misc/wget-1.19.1[gnutls]: configure failure: Package 'libidn2', required by 'gnutls', not found
Summary: net-misc/wget-1.19.1[gnutls]: configure failure: Package 'libidn2', required ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on: 609188 609246
Blocks:
  Show dependency tree
 
Reported: 2017-02-13 02:30 UTC by Alex Turbov
Modified: 2017-02-17 17:59 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Turbov 2017-02-13 02:30:51 UTC
I have `gnutls` built w/ USE=idn. At configure time `wget` gives me an error:

checking for GNUTLS... no
configure: WARNING: *** libpsl was not found. Fallback to builtin cookie checking.
configure: error: Package requirements (gnutls) were not met:

Package 'libidn2', required by 'gnutls', 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 GNUTLS_CFLAGS
and GNUTLS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


Reproducible: Always
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2017-02-13 04:28:31 UTC
Confirmed: gnutls' pkg-config file is currently broken because net-dns/libidn2 doesn't provide a pkg-config file (bug 609188):

# pkg-config --print-errors gnutls
Package libidn2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libidn2.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libidn2', required by 'gnutls', not found

Once you install that pkg-config file for libidn2, wget build will work again.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-02-13 08:21:44 UTC
commit 7ac93bc8a56d5bb481d4ebabb8ca3a2eddb0ea63
Author: Lars Wendler <polynomial-c@gentoo.org>
Date:   Mon Feb 13 09:15:40 2017

    net-libs/gnutls: Revbump to fix idn dependency (bug #609180)

    which has been changed from net-dns/libidn to net-dns/libidn2.

    Package-Manager: Portage-2.3.3, Repoman-2.3.1

commit 31d5415bc400feba9b5f82354aa1667a81f831ea
Author: Lars Wendler <polynomial-c@gentoo.org>
Date:   Mon Feb 13 09:10:15 2017

    net-dns/libidn2: Revbump to add pkgconfig patch (bug #609188).

    This is required for at least gnutls-3.5.9 and all packages depending
    on gnutls.

    Package-Manager: Portage-2.3.3, Repoman-2.3.1
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-02-13 08:52:38 UTC
Could you set appropriate >= on libidn2 dep in gnutls, please?
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-02-17 15:46:27 UTC
commit 3580a4c5d0a9599d71c909c56b741018f4989788
Author: Lars Wendler <polynomial-c@gentoo.org>
Date:   Mon Feb 13 11:40:27 2017

    net-libs/gnutls: Only depend on libidn2 which provides pkgconfig files.

    Dropped ia64 and sparc KEYOWRDS because latest libidn2 ebuild don't have
    such KEYWORDS.

    Package-Manager: Portage-2.3.3, Repoman-2.3.1
Comment 5 SpanKY gentoo-dev 2017-02-17 17:59:14 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #4)

and the bug to restore the keywords is bug 609246