Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 632309 - >=net-ftp/lftp-4.8.1[idn] with <net-dns/libidn2-2.0.0 - misc.cc:1042:53: error: ‘idn2_to_ascii_lz’ was not declared in this scope
Summary: >=net-ftp/lftp-4.8.1[idn] with <net-dns/libidn2-2.0.0 - misc.cc:1042:53: erro...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-28 20:41 UTC by Oleh
Modified: 2017-11-27 06:28 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 Oleh 2017-09-28 20:41:21 UTC
As in summary. idn? ( net-dns/libidn2 ) dependency is insufficent due to fact it could libidn2-0.x which is when installed, will make lftp to fail

Reproducible: Always

Steps to Reproduce:
1. have libidn2-0.16 installed
2. emerge =lftp-4.8.1
3. notice failure.
Actual Results:  
misc.cc: In function ‘const char* xidna_to_ascii(const char*)’:
misc.cc:1042:53: error: ‘idn2_to_ascii_lz’ was not declared in this scope
    if(idn2_to_ascii_lz(name,name_ace_tmp.buf_ptr(),0)==IDN2_OK) {
                                                     ^


idn2_to_ascii_lz is the new symbol added in libdidn2-2.0.0. lftp should depend on this version at least.
https://www.mankier.com/3/idn2_to_ascii_lz
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2017-11-27 06:27:48 UTC
commit 7e8349388eb7acc6a0536c863f5639ffae8efffc
Author: Jeroen Roovers <jer@gentoo.org>
Date:   Mon Oct 23 20:28:05 2017 +0200

    net-dns/libidn2: Old.

    Package-Manager: Portage-2.3.12, Repoman-2.3.3