Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 610112 - net-misc/iputils-20151218 failed emerge with error: 'AI_IDN' undeclared
Summary: net-misc/iputils-20151218 failed emerge with error: 'AI_IDN' undeclared
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-20 20:28 UTC by Pandu POLUAN
Modified: 2017-10-28 15:16 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 Pandu POLUAN 2017-02-20 20:28:24 UTC
Trying to emerge net-misc/iputils-20151218 on a fresh stage3-amd64-uclibc-hardened-20170130.tar.bz2 installation failed with the following errors:

ping6.c: In function 'niquery_option_subject_addr_handler':
ping6.c:483:19: error: 'AI_IDN' undeclared (first use in this function)
  hints.ai_flags = AI_IDN;
                   ^
ping6.c:483:19: note: each undeclared identifier is reported only once for each function it appears in
ping6.c: In function 'main':
ping6.c:930:19: error: 'AI_IDN' undeclared (first use in this function)
  hints.ai_flags = AI_IDN;
                   ^

It seems that this error might be a missing patch? Reference: https://github.com/lluixhi/musl-extras/issues/3 (similar, but different file)
Comment 1 Pandu POLUAN 2017-02-20 20:29:50 UTC
Error goes away if I remove "idn" from USE flags.
Comment 2 David Heidelberg (okias) 2017-08-18 22:02:03 UTC
Should be fixed long time ago, this build is from original "not responding" maintainer, which missing _lot_ of important patches and also united ping.

Feel free use -99999999 or some recent version listed here:  https://github.com/iputils/iputils/releases

David
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2017-10-28 15:16:26 UTC
A fixed =net-misc/iputils-20171016_pre should now be available.