Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 251020 - net-irc/unrealircd-3.2.7-r2 USE="curl ipv6" - incomplete die message
Summary: net-irc/unrealircd-3.2.7-r2 USE="curl ipv6" - incomplete die message
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Packages in net-irc
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-15 12:31 UTC by Sebastian Meyer
Modified: 2011-05-07 04:49 UTC (History)
1 user (show)

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 Sebastian Meyer 2008-12-15 12:31:20 UTC
Using the curl and ipv6 USE-Flags the eBuild complains about missing ares-support in net-misc/curl. Compiling net-misc/curl using ipv6 and ares USE-Flags throws the same errormessage.
This is caused by the following eBuild-Lines:

[File: /usr/portage/net-irc/unrealircd-3.2.7-r2.ebuild]
> pkg_setup() {
> 	if use curl && ( ! built_with_use net-misc/curl ares || built_with_use net-misc/curl ipv6 )
> 	then
> 		eerror "You need net-misc/curl compiled with the ares USE flag to be able to use"
> 		eerror "net-irc/unrealircd with the curl USE flag. Please note that ares support"
> 		eerror "for net-misc/curl is incompatible with the ipv6 USE flag."
> 		die "need net-misc/curl with ares support"
> 	fi
> 
> 	enewuser unrealircd
> }

The eBuild should die with "need net-misc/curl with ares and without ipv6 support".
Or check if net-misc/curl really must not be compiled with IPv6-support?

Reproducible: Always

Steps to Reproduce:
1. emerge net-misc/curl using ipv6 and ares (USE+="ipv6 ares" emerge net-misc/curl)
2. emerge net-irc/unrealircd using ipv6 and curl (USE+="ipv6 curl" emerge net-irc/unrealircd)

Actual Results:  
An errormessage about net-irc/unrealircd needing net-misc/curl with ares though net-misc/curl has ares.

Expected Results:  
Either emerge installing net-irc/unrealircd or complaining about net-irc/unrealircd needing net-misc/curl without ipv6.

If you need/want IPv6 support in net-irc/unrealircd you may use "-curl" as a temporary USE-Flag.

I guess you won't need this, but... well... as bugzilla says please, here comes my emerge --info:

Portage 2.1.4.5 (default-linux/amd64/2007.0, gcc-4.1.1, glibc-2.6.1-r0, 2.6.20-xen-r6 x86_64)
=================================================================
System uname: 2.6.20-xen-r6 x86_64 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
Timestamp of tree: Mon, 08 Dec 2008 14:45:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.3-r1, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -m64 -march=nocona"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -m64 -march=nocona"
DISTDIR="/usr/portage/distfiles"
FEATURES="distfiles distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch usersandbox"
GENTOO_MIRRORS="http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ "
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acl amd64 ares bash-completion berkdb bip2 bzip2 cgi cli cracklib crypt cups curl curlwrappers dri exif extras fam fastcgi fortran ftp gd-external gdbm gmp gpm graphviz hash hub iconv imap ipv6 isdnlog jabber jpeg json ldap mhash midi mmx mudflap ncurses nls nptl nptlonly openmp pam pcre perl php png postgres pppd prefixaq python readline reflection rrdcgi sasl session showlistmodes spl sqlite sse sse2 ssl tcpd tools truetype unicode vhosts xml xmlreader xmlwriter xorg zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 intel mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Sebastian Meyer 2008-12-15 16:59:46 UTC
Ok, my fault. I should learn the whole thing about words, sentences and so on (reading...) again ;-)

The eerror contains IPv6 information, only the die-Message does not. Perhaps one could modify the die-Message?

Another idea: Does the eerror mean, net-misc/curl did not support ipv6 when the ebuild was written or does it mean net-misc/curl with ipv6 is broken (for net-irc/unrealircd)?
Comment 2 Dan Fandrich 2009-08-20 20:11:25 UTC
Recent versions of c-ares now support IPv6, so that restriction may be able to be lifted.
Comment 3 Michael Palimaka (kensington) gentoo-dev 2009-10-03 11:53:40 UTC
The ebuild in the tree has been updated to use EAPI 2 so the die message in question no longer exists.

As for whether the original condition triggering that message was valid or not, it has been changed in the proposed ebuild in #260806
Comment 4 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2011-05-07 04:49:37 UTC
As Michael mentioned, the ebuilds which have this problem are replaced and now aren't even in tree anymore. I fixed unrealircd to depend on curl[ares] too now (necessary so that the IRCd doesn't freeze on rehash when curl does synchronous hostname lookups). Thus, this issue should be gone :-).