Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97288 - net-irc/unrealircd-3.2.3-r1 fails to build with the use "curl" on ~x86
Summary: net-irc/unrealircd-3.2.3-r1 fails to build with the use "curl" on ~x86
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Packages in net-irc
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-28 03:47 UTC by Alexis Ballier
Modified: 2005-06-29 09:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
the log file (1984-unrealircd-3.2.3-r1.log,227.03 KB, text/x-log)
2005-06-28 03:50 UTC, Alexis Ballier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexis Ballier gentoo-dev 2005-06-28 03:47:52 UTC
emerge -pv unrealircd =>
 net-irc/unrealircd-3.2.3-r1  +curl* -hub +ipv6 +ssl +zlib


When I turn off the curl use flag, it compiles fine, when I turn it on, it does not.



emerge --info =>

Portage 2.0.51.22-r1 (default-linux/x86/2005.0/2.4, gcc-3.4.4, glibc-2.3.5-r0,
2.4.28-gentoo-r7 i686)
=================================================================
System uname: 2.4.28-gentoo-r7 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.9
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.4.19-r1, 2.4.22-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/alias /var/qmail/control
/var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
rsync://ftp.belnet.be/gentoo/ http://trumpetti.atm.tut.fi/gentoo/
ftp://trumpetti.atm.tut.fi/gentoo/ rsync://trumpetti.atm.tut.fi/gentoo/
http://gentoo.mirror.sdv.fr ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
rsync://linux.rz.ruhr-uni-bochum.de/gentoo/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
rsync://ftp.join.uni-muenster.de/gentoo/
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp.ipv6.uni-muenster.de/pub/linux/distributions/gentoo
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow alsa apache2 apm ares arts atm avi bash-completion berkdb
bitmap-fonts bzlib crypt cups curl emboss encode foomaticdb fortran ftp gd gdbm
gif gpm gtk2 hotplug imap imlib ipv6 jpeg ldap libg++ libwww mad maildir mikmod
mime mmx motif mp3 mpeg mysql ncurses nls oggvorbis opengl pam pam-mysql pdflib
perl php png posix ppds pppoa python quicktime readline samba sasl sdl slang
spell sse ssl tcpd threads tiff truetype-fonts type1-fonts usb xml xml2 xmms xv
zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY



I don't know why it doesnt build. I'll enclose the whole log file, but the error
seems to be:

/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lares
collect2: ld returned 1 exit status
make[1]: *** [ircd] Error 1
make[1]: *** Waiting for unfinished jobs....



Regards, 

Alexis.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Alexis Ballier gentoo-dev 2005-06-28 03:50:00 UTC
Created attachment 62137 [details]
the log file

cut at line 852 for the limit between bad and good merge.

error at line : 589
Comment 2 Sven Wegener gentoo-dev 2005-06-29 08:52:14 UTC
net-dns/c-ares changed the name of their library. Need to update the unrealircd
ebuild.
Comment 3 Sven Wegener gentoo-dev 2005-06-29 08:59:09 UTC
And the ares support in curl is incompatible with USE="ipv6"
Comment 4 Sven Wegener gentoo-dev 2005-06-29 09:11:06 UTC
I updated the check in the unrealircd ebuild to also check that curl is compiled
with USE="-ipv6" because that disables the ares USE flag. So you need curl with
USE="ares -ipv6" to be able to use unrealircd with the curl USE flag.