Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 632309

Summary: >=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
Product: Gentoo Linux Reporter: Oleh <moonlapse81>
Component: Current packagesAssignee: Jeroen Roovers (RETIRED) <jer>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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