Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 173306 - net-irc/xchat-2.8.2 failed
Summary: net-irc/xchat-2.8.2 failed
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: 2007-04-04 06:42 UTC by bunkacid
Modified: 2007-04-13 11:03 UTC (History)
2 users (show)

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


Attachments
emerge --info (einfo,3.62 KB, text/plain)
2007-04-04 06:43 UTC, bunkacid
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bunkacid 2007-04-04 06:42:57 UTC
xchat fails to compile completely.



Reproducible: Always

Steps to Reproduce:
1. emerge =net-irc/xchat-2.8.2
2. wait for error.


Actual Results:  
Calculating world dependencies                                    ... done!
[nomerge      ] net-irc/xchat-xsys-2.1.0-r1  USE="audacious buttons" 
[ebuild     U ]  net-irc/xchat-2.8.2 [2.8.0] USE="dbus -debug ipv6 mmx nls perl python spell ssl -tcl xchatdccserver -xchatnogtk xchattext" 0 kB
...
        if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DG_DISABLE_CAST_CHECKS -DLOCALEDIR=\"/usr/share/locale\"  -I/usr/include/freetype2    -march=pentium4 -O2 -fomit-frame-pointer -pipe -Wall -g -Wno-pointer-sign -funsigned-char    -I/usr/include/freetype2   -MT userlistgui.o -MD -MP -MF "$depbase.Tpo" -c -o userlistgui.o userlistgui.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
depbase=`echo xtext.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DG_DISABLE_CAST_CHECKS -DLOCALEDIR=\"/usr/share/locale\"  -I/usr/include/freetype2    -march=pentium4 -O2 -fomit-frame-pointer -pipe -Wall -g -Wno-pointer-sign -funsigned-char    -I/usr/include/freetype2   -MT xtext.o -MD -MP -MF "$depbase.Tpo" -c -o xtext.o xtext.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
xtext.c:2588: warning: 'gtk_xtext_conv_color' defined but not used
xtext.c: In function 'gtk_xtext_render_flush':
xtext.c:2703: warning: 'dest_y' may be used uninitialized in this function
xtext.c:2703: warning: 'dest_x' may be used uninitialized in this function
/bin/sh ../../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc  -march=pentium4 -O2 -fomit-frame-pointer -pipe -Wall -g -Wno-pointer-sign -funsigned-char    -I/usr/include/freetype2     -o xchat  about.o ascii.o banlist.o chanlist.o chanview.o custom-list.o dccgui.o editlist.o fe-gtk.o fkeys.o gtkutil.o ignoregui.o joind.o menu.o maingui.o mmx_cmod.o notifygui.o palette.o pixmaps.o plugin-tray.o plugingui.o rawlog.o search.o servlistgui.o setup.o sexy-spell-entry.o textgui.o urlgrab.o userlistgui.o xtext.o ../common/libxchatcommon.a -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   -Wl,--version-script,./../version-script   -lX11 -lXext -lglib-2.0   -pthread -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0   -lssl -lcrypto -ldl   -Wl,--export-dynamic -ldl -lglib-2.0   
mkdir .libs
i686-pc-linux-gnu-gcc -march=pentium4 -O2 -fomit-frame-pointer -pipe -Wall -g -Wno-pointer-sign -funsigned-char -I/usr/include/freetype2 -o xchat about.o ascii.o banlist.o chanlist.o chanview.o custom-list.o dccgui.o editlist.o fe-gtk.o fkeys.o gtkutil.o ignoregui.o joind.o menu.o maingui.o mmx_cmod.o notifygui.o palette.o pixmaps.o plugin-tray.o plugingui.o rawlog.o search.o servlistgui.o setup.o sexy-spell-entry.o textgui.o urlgrab.o userlistgui.o xtext.o -Wl,--version-script -Wl,./../version-script -pthread -Wl,--export-dynamic  ../common/libxchatcommon.a /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libexpat.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libfreetype.so /usr/lib/libfontconfig.so /usr/lib/libxml2.so /usr/lib/libglitz.so /usr/lib/libpng12.so -lz /usr/lib/libXrender.so -lm /usr/lib/libgmodule-2.0.so /usr/lib/libXext.so /usr/lib/libX11.so /usr/lib/libXau.so /usr/lib/libXdmcp.so /usr/lib/libdbus-glib-1.so -lnsl /usr/lib/libdbus-1.so /usr/lib/libgobject-2.0.so /usr/lib/libgthread-2.0.so -lpthread -lrt -lssl -lcrypto -ldl /usr/lib/libglib-2.0.so  
make[3]: Leaving directory `/var/tmp/portage/net-irc/xchat-2.8.2/work/xchat-2.8.2/src/fe-gtk'
Making all in fe-text
make[3]: Entering directory `/var/tmp/portage/net-irc/xchat-2.8.2/work/xchat-2.8.2/src/fe-text'
depbase=`echo fe-text.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -I/usr/include/freetype2    -march=pentium4 -O2 -fomit-frame-pointer -pipe -Wall -g -Wno-pointer-sign -funsigned-char    -I/usr/include/freetype2   -MT fe-text.o -MD -MP -MF "$depbase.Tpo" -c -o fe-text.o fe-text.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
fe-text.c:859: error: conflicting types for 'fe_tray_set_icon'
../common/fe.h:146: error: previous declaration of 'fe_tray_set_icon' was here
make[3]: *** [fe-text.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/net-irc/xchat-2.8.2/work/xchat-2.8.2/src/fe-text'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-irc/xchat-2.8.2/work/xchat-2.8.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-irc/xchat-2.8.2/work/xchat-2.8.2'
make: *** [all] Error 2

!!! ERROR: net-irc/xchat-2.8.2 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  xchat-2.8.2.ebuild, line 71:   Called die
Comment 1 bunkacid 2007-04-04 06:43:28 UTC
Created attachment 115407 [details]
emerge --info

my emerge --info
Comment 2 Raúl Porcel (RETIRED) gentoo-dev 2007-04-04 09:01:35 UTC
Can you try reemerging 2.8.0?
Comment 3 José Romildo Malaquias 2007-04-04 21:17:50 UTC
Same problem here, on both ~x86 and ~amd64.
Comment 4 bunkacid 2007-04-04 21:36:50 UTC
(In reply to comment #2)
> Can you try reemerging 2.8.0?
> 

2.8.0 emerged A-OK.
Comment 5 Raúl Porcel (RETIRED) gentoo-dev 2007-04-04 22:00:48 UTC
(In reply to comment #3)
> Same problem here, on both ~x86 and ~amd64.
> 

Can you post your USE-flags when `emerge -av xchat`?
Comment 6 José Romildo Malaquias 2007-04-04 22:23:41 UTC
# emerge -av xchat

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] net-irc/xchat-2.8.2 [2.8.0] USE="dbus nls python spell ssl xchattext -debug -ipv6 (-mmx) -perl -tcl -xchatdccserver -xchatnogtk" 0 kB 

Total: 1 package (1 upgrade), Size of downloads: 0 kB
Comment 7 Alejandro Wainzinger 2007-04-10 00:56:51 UTC
Same problem here

Portage 2.1.2.3 (default-linux/amd64/2006.1/desktop, gcc-3.4.6, glibc-2.5-r1, 2.6.17-ck1-r2 x86_64)
=================================================================
System uname: 2.6.17-ck1-r2 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
Gentoo Base System release 1.12.10
Timestamp of tree: Mon, 09 Apr 2007 23:50:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.3.6, 2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
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
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/init.d /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.osuosl.org/ ftp://gentoo.ccccom.com http://gentoo.ccccom.com http://mirrors. tds.net/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en ja zh_TW zh_CN ko"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl alsa amd64 anthy apache2 asf audiofile avahi avi batch berkdb bidi bitmap-fonts cairo cdr cjk cli cracklib crypt cups dbus divx4linux dri dts dvd dvdr dvdread eds emboss encode esd faad fam ffmpeg firefox flac foomaticdb fortran freetype ftp gdbm gif gimpprint gnutls gpm gstreamer gtk gtk2 gtkhtml hal httpd iconv imagemagick immqt-bc ipod ipv6 isdnlog ivman jack java jce jpeg kde kerberos kqemu latex lcms ldap libclamav libg++ live mad matroska midi mikmod mime mng mozilla mozsvg mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin oav offensive ogg opengl oss pam pcre pdf perl png ppds pppd python qt qt3 qt4 quicktime readline reflection samba sdl session speex spell spl ssl stream svg tcltk tcpd theora threads truetype truetype-fonts type1-fonts unicode usb utempter v41 vcd videos visualization vlm vorbis wmf wxwindows xchatdccserver xchattext xine xml xorg xosd xprint xv xvid yp zeroconf zlib" ALSA_CARDS="emu10k1x atiixp" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ja zh_TW zh_CN ko" USERLAND="GNU" VIDEO_CARDS="fglrx"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 8 Raúl Porcel (RETIRED) gentoo-dev 2007-04-10 17:44:06 UTC
Is because xchat-text. You guys use that? Because i'm told that it's not maintained.

Anyway, fix commited, it should build now.

Upstream bug is: http://sourceforge.net/tracker/index.php?func=detail&aid=1697840&group_id=239&atid=100239
Comment 9 bunkacid 2007-04-10 20:04:07 UTC
(In reply to comment #8)
> Is because xchat-text. You guys use that? 

Yes.  I have the use flag enabled, but have never used the xchat-text.  I just tried it though, xchat-2.8.0.  It dies with some glib errors.  I will disable that use flag after trying the new version you committed.

Thanks for the patch!

Below are the use flags I currently am using to emerge xchat.


 $ equery uses xchat
[ Searching for packages matching xchat... ]
[ Colour Code : set unset ]
[ Legend : Left column  (U) - USE flags from make.conf              ]
[        : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for net-irc/xchat-2.8.0 ]
 U I
 + + dbus           : Enable dbus support for anything that needs it (gpsd, gnomemeeting, etc)
 - - debug          : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml .
 + + ipv6           : Adds support for IP version 6
 + + mmx            : Adds support for optimizations for Pentium MMX and Athlon class processors
 + + nls            : Adds Native Language Support (using gettext - GNU locale utilities)
 + + perl           : Adds support/bindings for the Perl language.
 + + python         : Adds support/bindings for the Python language
 + + spell          : Adds dictionary support
 + + ssl            : Adds support for Secure Socket Layer connections
 - - tcl            : Adds support the Tcl language
 + + xchatdccserver : Enables support for the /dccserver command via a patch
 - - xchatnogtk     : Disables building the GTK front end to XChat
 + + xchattext      : Enables the text/console front end to XChat
Comment 10 Charles Clément 2007-04-13 09:43:20 UTC
I had the same error, just after having synced the portage tree. The patch is in the files directory, but the line to patch the source is commented!
Comment 11 Raúl Porcel (RETIRED) gentoo-dev 2007-04-13 11:03:19 UTC
(In reply to comment #10)
> I had the same error, just after having synced the portage tree. The patch is
> in the files directory, but the line to patch the source is commented!
> 

Sigh, i fail :) Fixed, thanks.