Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83522 - irssi-0.8.10_rc5-r1 wont compile due conflicting types for `Rgetaddrinfo'
Summary: irssi-0.8.10_rc5-r1 wont compile due conflicting types for `Rgetaddrinfo'
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Packages in net-irc
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-27 23:16 UTC by Michael Zeidler
Modified: 2005-02-28 15:44 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 Michael Zeidler 2005-02-27 23:16:21 UTC
the compile output:
[...]
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src       -I../../src/core        -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -DSYSCONFDIR=\""/etc"\"  -DMODULEDIR=\""/usr/lib/irssi/modules"\"    -mcpu=athlon-xp -O3 -pipe -fomit-frame-pointer -Wall -DSOCKS   -c chat-commands.c
In file included from network.h:12,
                 from chat-commands.c:22:
/usr/include/netdb.h:634: error: conflicting types for `Rgetaddrinfo'
/usr/include/socks.h:113: error: previous declaration of `Rgetaddrinfo'
make[3]: *** [chat-commands.o] Error 1

[...]

Reproducible: Always
Steps to Reproduce:
1. emerge irssi





# emerge info
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.4,
glibc-2.3.4.20050125-r0, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 26 2005, 18:39:17)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r4
sys-devel/libtool:   1.5.10-r5
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O3 -pipe -fomit-frame-pointer"
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/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache digest distlocks fixpackages
sfperms"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo
http://gentoo.mirrors.pair.com ftp://gentoo.mirrors.pair.com"
LANG="de_AT@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/overlays/local
/usr/local/portage/overlays/gentoo-de"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X X509 Xaw3d aac aalib acl acpi acpi4linux aim alsa
apache2 async audiofile avi bash-completion bdf berkdb bindist bitmap-fonts
calendar cap caps cddb cdparanoia cdrom chroot codecs crypt css cups curl
curlwrappers dba devmap dga dio divx4linux drac dts dv dvd dvdr emboss encode
esd evms2 evo exif f77 faac faad fam fbcon fbdev ffmpeg flac flatfile fltk
fluidsynth fmod font-server foomaticdb foreign-package foreign-sysvinit fortran
freetype ftp gb gcj gd gif gimp gimpprint gpm graphviz gs gtk gtk2 icq idea
ieee1394 imagemagick imap imlib imlib2 inifile innodb insecure-drivers ipv6
ipv6arpa jabber javascript jbig jp2 jpeg lcms ldap libg++ libsamplerate libwww
live lm_sensors lufsusermount lzo lzw lzw-tiff mad maildir mbox mdb mikmod mime
mmap mmx mng motif mozcalendar mozp3p mozsvg mozxmlterm mp3 mpeg mpeg4 mpi
mplayer msn mysql ncurses network nls no-htdocs ntlm odbc oggvorbis opengl pam
pcre pdflib perl php png pnp posix pthreads python qt quicktime readline real
rtc ruby samba sasl sdl shared sharedmem slang slp sockets socks5 sox speedo
spell sse ssl svg svga sysvipc szip tcpd tga threads tidy tiff transcode
truetype truetype-fonts type1 type1-fonts usb v4l2 vcd winbind wmf xanim xfs
xine xinerama xml2 xmlrpc xmms xosd xpm xsl xv xvid zlib video_cards_3dfx
video_cards_gamma video_cards_i810 video_cards_i830 video_cards_matrox
video_cards_rage128 video_cards_radeon video_cards_sis"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Comment 1 Michael Zeidler 2005-02-27 23:38:49 UTC
tried to install previous ebuilds like irssi-0.8.10_rc5.ebuild and irssi-0.8.9-r1.ebuild, but this produced the same error.

# qpkg -f /usr/include/netdb.h
sys-libs/glibc *
# qpkg -f /usr/include/socks.h
net-misc/dante *

currently installed:
dante-1.1.15-r1
glibc-2.3.4.20050125

maybe these versions are conflicting?
Comment 2 Sven Wegener gentoo-dev 2005-02-28 02:54:21 UTC
It's USE="socks5" that seems to mess things up. I'll take a look later today.
Comment 3 Michael Zeidler 2005-02-28 04:04:27 UTC
hi sven,

its true: 'use="-socks5" emerge irssi' compiles wihtout any problems now. How you figured this out?
Comment 4 Sven Wegener gentoo-dev 2005-02-28 04:30:55 UTC
Two things in this line:

> /usr/include/socks.h:113: error: previous declaration of `Rgetaddrinfo'

It mentions socks.h and Rgetaddrinfo. socks.h is used for aliasing the normal
network functions to functions that perform transparent socks-wrapping.
Rgetaddrinfo is the socks-version of getaddrinfo. And a look at your USE line
from emerge --info showed that you've got the socks5 USE flag activated. And
the irssi ebuild has optional socks5 support.
Comment 5 Sven Wegener gentoo-dev 2005-02-28 15:44:41 UTC
I added a patch to net-irc/irssi-0.8.10_rc5-r1 that should fix this error. Please
give it a test.