On uclibc, even though the libraries are installed on the system and declared as dependencies, that are missing from the link command line when building whois. Therefore, the build fails. Solving this problem is simply passing the library names to the command line. Reproducible: Always Steps to Reproduce: 1. emerge -1 net-misc/whois 2. 3. Actual Results: emake failed (compile phase) Expected Results: whois installed
Created attachment 406564 [details, diff] whois-5.1.5.ebuild.patch
this isn't specific to uClibc. every system that has iconv functionality in a sep library is broken.
(In reply to SpanKY from comment #2) > this isn't specific to uClibc. every system that has iconv functionality in > a sep library is broken. Is there an eclass function which indicates which environment needs -liconv ? I know it's needed for uclibc, FreeBSD before 10, Mac OS X (prefix) and Solaris (prefix) but where else? By the way, the ebuild patch still applies to version 5.2.12 .
(In reply to René Rhéaume from comment #3) > (In reply to SpanKY from comment #2) > > this isn't specific to uClibc. every system that has iconv functionality in > > a sep library is broken. > > Is there an eclass function which indicates which environment needs -liconv > ? I know it's needed for uclibc, FreeBSD before 10, Mac OS X (prefix) and > Solaris (prefix) but where else? The best way is to use an autoconf test. But this is a standalone homebrew Makefile...