Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 337991 - =net-misc/whois-5.0.{5,6} dependency on net-dns/libidn should be DEPEND, nor RDEPEND
Summary: =net-misc/whois-5.0.{5,6} dependency on net-dns/libidn should be DEPEND, nor ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-19 03:21 UTC by Matt Turner
Modified: 2010-09-19 19:26 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 Matt Turner gentoo-dev 2010-09-19 03:21:13 UTC
>>> Compiling source in /var/tmp/portage/net-misc/whois-5.0.6/work/whois-5.0.6 ...
make -j5 'CFLAGS=-O3 -mcpu=ev67 -mieee -pipe ' HAVE_LIBIDN=1 
alpha-unknown-linux-gnu-gcc -DHAVE_LIBIDN  -O3 -mcpu=ev67 -mieee -pipe  -MM -MG *.c > Makefile.depend
perl -w make_ip_del.pl < ip_del_list > ip_del.h
perl -w make_ip6_del.pl < ip6_del_list > ip6_del.h
perl -w make_as_del.pl < as_del_list > as_del.h
perl -w make_tld_serv.pl < tld_serv_list > tld_serv.h
alpha-unknown-linux-gnu-gcc -DHAVE_LIBIDN  -O3 -mcpu=ev67 -mieee -pipe  -c utils.c
alpha-unknown-linux-gnu-gcc -DHAVE_LIBIDN  -O3 -mcpu=ev67 -mieee -pipe  -c mkpasswd.c
alpha-unknown-linux-gnu-gcc -DHAVE_LIBIDN  -O3 -mcpu=ev67 -mieee -pipe  -c whois.c
whois.c:35:18: fatal error: idna.h: No such file or directory
compilation terminated.
make: *** [whois.o] Error 1
make: *** Waiting for unfinished jobs....
 * ERROR: net-misc/whois-5.0.6 failed:
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 2248:  Called die
 * The specific snippet of code:
 *       emake CFLAGS="${CFLAGS} ${CPPFLAGS}" HAVE_LIBIDN=1 || die


/usr/include/idna.h is installed by libidn.
Comment 1 SpanKY gentoo-dev 2010-09-19 19:22:23 UTC
it already is in DEPEND like the ebuild clearly shows:
RDEPEND="net-dns/libidn"
DEPEND="${RDEPEND}
    >=dev-lang/perl-5"
Comment 2 Matt Turner gentoo-dev 2010-09-19 19:26:11 UTC
I must have been drunk.

Another stupid bug where I use ebuild ... test without making sure dependencies are installed.