Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 695728 - app-text/ghostscript-9.26 should depend on net-dns/libidn:0= - configure: error: libidn not found
Summary: app-text/ghostscript-9.26 should depend on net-dns/libidn:0= - configure: err...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-27 13:50 UTC by Sam
Modified: 2019-10-10 01:14 UTC (History)
0 users

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 Sam 2019-09-27 13:50:52 UTC
On my machine installing ghostscript-9.26 failed with libidn not being found by configure. This was with net-dns/libidn-1.33-r99 installed. Updating to net-dns/libidn-1.35 (slot:0) solved this.

[...]
checking for stringprep in -lidn... no
configure: error: libidn not found

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/app-text/ghostscript-gpl-9.26/work/ghostscript-9.26/config.log
 * ERROR: app-text/ghostscript-gpl-9.26::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  125:  Called src_configure
 *             environment, line 1920:  Called econf '--enable-dynamic' '--enable-freetype' '--enable-fontconfig' '--enable-openjpeg' '--disable-compile-inits' '--with-drivers=ALL' '--with-fontpath=/usr/share/fonts/urw-fonts:/usr/share/fonts/Type1:/usr/share/fonts:/usr/share/poppler/cMap/Adobe-CNS1:/usr/share/poppler/cMap/Adobe-GB1:/usr/share/poppler/cMap/Adobe-Japan1:/usr/share/poppler/cMap/Adobe-Japan2:/usr/share/poppler/cMap/Adobe-Korea1' '--with-ijs' '--with-jbig2dec' '--with-libpaper' '--without-luratech' '--disable-cups' '--disable-dbus' '--disable-gtk' '--without-pdftoraster' '--with-libidn' '--without-system-libtiff' '--without-x'
 *        phase-helpers.sh, line  718:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  119:  Called die
 * The specific snippet of code:
 *   		die "$@"
 * 
 * If you need support, post the output of `emerge --info '=app-text/ghostscript-gpl-9.26::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-text/ghostscript-gpl-9.26::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-text/ghostscript-gpl-9.26/temp/build.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/app-text/ghostscript-gpl-9.26/temp/environment'.
 * Working directory: '/var/tmp/portage/app-text/ghostscript-gpl-9.26/work/ghostscript-9.26'
 * S: '/var/tmp/portage/app-text/ghostscript-gpl-9.26/work/ghostscript-9.26'

# eix libidn
* dev-perl/Net-LibIDN
     Available versions:  0.120.0-r1 ~0.120.0-r2
     Homepage:            https://metacpan.org/release/Net-LibIDN
     Description:         Perl bindings for GNU Libidn

* dev-perl/Net-LibIDN2
     Available versions:  ~1.0.0-r1 {test}
     Homepage:            https://metacpan.org/release/Net-LibIDN2
     Description:         Perl bindings for GNU Libidn2

[U] net-dns/libidn
     Available versions:  
     (0)    1.33-r2 1.35(0/12)
     (1.33) 1.33-r99
       {doc emacs java mono nls static-libs ABI_MIPS="n32 n64 o32" ABI_RISCV="lp64 lp64d" ABI_S390="32 64" ABI_X86="32 64 x32" ELIBC="FreeBSD"}
     Installed versions:  1.33-r99(1.33)(08:57:26 AM 04/10/2019)(ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
     Homepage:            https://www.gnu.org/software/libidn/
     Description:         Internationalized Domain Names (IDN) implementation

[I] net-dns/libidn2
     Available versions:  2.1.1a-r1(0/2) ~2.2.0(0/2) **99999(0/2)*l {static-libs ABI_MIPS="n32 n64 o32" ABI_RISCV="lp64 lp64d" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  2.1.1a-r1(0/2)(04:46:10 PM 05/08/2019)(-static-libs ABI_MIPS="-n32 -n64 -o32" ABI_RISCV="-lp64 -lp64d" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
     Homepage:            https://www.gnu.org/software/libidn/#libidn2 https://gitlab.com/libidn/libidn2
     Description:         An implementation of the IDNA2008 specifications (RFCs 5890, 5891, 5892, 5893)


Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2019-10-10 01:14:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0485402274682b6b2fdf1b92da532c9c5cda9d2f

commit 0485402274682b6b2fdf1b92da532c9c5cda9d2f
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2019-10-10 01:07:38 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2019-10-10 01:14:30 +0000

    app-text/ghostscript-gpl: fix net-dns/libidn dependency
    
    Closes: https://bugs.gentoo.org/695728
    Package-Manager: Portage-2.3.76, Repoman-2.3.17
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 app-text/ghostscript-gpl/ghostscript-gpl-9.28_rc4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)