Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118206 - Xchat 2.6.1 won't build with USE="xchattext"
Summary: Xchat 2.6.1 won't build with USE="xchattext"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Packages in net-irc
URL:
Whiteboard:
Keywords:
: 119068 126958 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-01-07 10:56 UTC by Michael Edwards
Modified: 2006-03-25 12:07 UTC (History)
5 users (show)

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


Attachments
linker patch (2.6.1.patch,288 bytes, patch)
2006-01-09 01:40 UTC, Patrizio Bassi
Details | Diff
xchat-text-2 log on ppc (xchat-text-2_WontWork.log,3.85 KB, text/plain)
2006-01-20 10:59 UTC, hiyuh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Edwards 2006-01-07 10:56:12 UTC
Xchat 2.6.1 won't build.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-07 10:59:39 UTC
Wonderful. Reopen with some information or try an oracle alternatively.
Comment 2 Michael Edwards 2006-01-07 11:14:22 UTC
Xchat 2.6.1 won't compile on my System, when the Use Flag "xchattext" is set. I do have no Idea why this happen.
Here follows the part where the Make Process comes in trouble:

-------------------------------------------------------------------------------
x86_64-pc-linux-gnu-gcc -march=k8 -O2 -pipe -fweb -finline-functions -frename-registers -fmove-all-movables -Wall -g -funsigned-char -I/usr/include/freetype2 -I/usr/include/freetype2/config -o xchat-text fe-text.o -Wl,--export-dynamic  ../common/libxchatcommon.a -lssl -lcrypto -ldl /usr/lib64/libglib-2.0.so
../common/libxchatcommon.a(plugin.o): In function `xchat_list_get':
/var/tmp/portage/xchat-2.6.1/work/xchat-2.6.1/src/common/plugin.c:1139: undefined reference to `fe_userlist_set_selected'
../common/libxchatcommon.a(server.o): In function `server_disconnect':
/var/tmp/portage/xchat-2.6.1/work/xchat-2.6.1/src/common/server.c:1042: undefined reference to `joind'
collect2: ld returned 1 exit status
make[3]: *** [xchat-text] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/xchat-2.6.1/work/xchat-2.6.1/src/fe-text'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/xchat-2.6.1/work/xchat-2.6.1/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/xchat-2.6.1/work/xchat-2.6.1'
make: *** [all] Fehler 2

!!! ERROR: net-irc/xchat-2.6.1 failed.
!!! Function src_compile, Line 67, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.
-------------------------------------------------------------------------------

Here my emerge info:

-------------------------------------------------------------------------------
Portage 2.0.53 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -fweb -finline-functions -frename-registers"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe -fweb -finline-functions -frename-registers -fmove-all-movables"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE.UTF-8"
LINGUAS="de nds ro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 3dnowex S3TC X Xaw3d a52 aac aalib alsa am64 ao apache2 arts artswrappersuid artworkextra audiofile avi bash-completion berkdb bitmap-fonts bluetooth bmp bonobo bzip2 bzlib cairo cdb cdda cddb cdio cdparanoia cdr cdrom codecs compositor crypt cscope css cups curl curlwrappers dbus deskmenu dga dillo dio divx4linux djvu dnd dpms dts dvd dvdr dvdread ecc edl eds emacs emboss emul-linux encode escreen esd ethereal evo evo2 exif expat faad fam fame fb ffmpeg filter flac flash foomaticdb fortran freetype ftp gd gdbm geoip gg gif gimp gimpprint gkrellm glitz glut gmp gnome gpgme gpm gs gstreamer gtk gtk2 gtkhtml guile hal hbci howl html http httpd icq icu idn ieee1394 imagemagick imap imlib imlib2 ipv6 irc irmc jabber jack jack-tmpfs java joystick jpeg kde kdepim kqemu ladcca ladspa largeterminal latex lcms ldap leim libcaca libsamplerate libwww lirc live lm_sensors logitech-mouse lzo lzw lzw-tiff mad matroska mbox menu mikmod mjpeg mls mng moneyplex monkey motif mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg mpeg4 mplayer msn msql mule multi-tty music nas ncurses net network nls nntp no-old-linux nocd nptl nptlonly nvidia ogg oggvorbis openal opengl openssh opie oscar oss pam panel panelplugin pcre pdf pdfkit pdflib perl physfs playlist plugin png pop portaudio ppds print python qt quicktime quotes randr rdesktop readline real recode remote rhythmbox rss rtc ruby samba sblive scanner scrambledir screenshot sdl sendfile shaper shorten sid silc silverxp slang smime sndfile snmp sockets softquota sounds sox speex spell ssl startup-notification stencil-buffer stream streamzap subversion svg sysfs t1lib tcltk tcpd tetex theora threads tidy tiff timidity transcode truetype truetype-fonts type1 type1-fonts udev unicode usb userlocales utf8 uudeview v4l2 vcd vcdimager videos vim vim-pager visualizationO5A vlm vorbis winbind wma123 wmf wxwindows xchatdccserver xchattext xemacs xface xforms xine xml xml2 xmms xosd xpm xrandr xv xvid yahoo zlib zvbi linguas_de linguas_nds linguas_ro userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS
-------------------------------------------------------------------------------

Michael Edwards
Comment 3 Michael Edwards 2006-01-07 11:17:25 UTC
I was in the middle of bug hunting, and did take also a fresh cup of coffee.
So please Jacub give me next time a little bit more time. ;)
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-01-07 11:20:24 UTC
(In reply to comment #3)
> I was in the middle of bug hunting, and did take also a fresh cup of coffee.
> So please Jacub give me next time a little bit more time. ;)

Please, file bugs when ready... We really cannot diagnose problems like "foo won't build". Enjoy your coffee. :=)

Comment 5 Michal 2006-01-08 04:28:18 UTC
(In reply to comment #2)
> Xchat 2.6.1 won't compile on my System, when the Use Flag "xchattext" is set. I
> do have no Idea why this happen.

I've got exactly the same error, my emerge --info:
Portage 2.1_pre3-r1 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.6-r2, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.13
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.17
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.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -Os -pipe -fomit-frame-pointer -s -mfpmath=sse -DNDEBUG -DG_DISABLE_ASSERT"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -Os -pipe -fomit-frame-pointer -s -mfpmath=sse -DNDEBUG -DG_DISABLE_ASSERT"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks fixpackages sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl/ http://gentoo.zie.pg.gda.pl/ http://src.gentoo.pl/"
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1,--sort-common"
LINGUAS="pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X alsa apm avi bitmap-fonts bzip2 cdr cups directfb encode ffmpeg flash gdbm gif glut gpm gstreamer gtk gtk2 imlib java jpeg kde kdeenablefinal lcms ldap mmx mp3 mpeg mpg ncurses nls ogg oggvorbis opengl pam perl png python qt quicktime slang sse truetype type1-fonts udev unicode usb v4l vorbis win32codecs xmms xv xvid zlib elibc_glibc kernel_linux linguas_pl userland_GNU"

when try USE="-xchattext" it builds xchat



Comment 6 Patrizio Bassi 2006-01-09 01:40:13 UTC
Created attachment 76601 [details, diff]
linker patch

this is the patch (i'll send upstream too)
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-01-15 03:54:12 UTC
*** Bug 119068 has been marked as a duplicate of this bug. ***
Comment 8 hiyuh 2006-01-20 10:54:32 UTC
(In reply to comment #6)
> Created an attachment (id=76601) [edit]
> linker patch
> 
> this is the patch (i'll send upstream too)
So, when I tried this patch via ebuild,
then USE=xchattext emerge xchat-2.6.1 succesfully.
xchat-2 seems work fine, but xchat-text-2 won't work on my ppc.
But it causes dev-libs/glib problem?
Comment 9 hiyuh 2006-01-20 10:59:08 UTC
Created attachment 77662 [details]
xchat-text-2 log on ppc
Comment 10 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-03-10 09:44:21 UTC
I know the patch actually gets xchattext to compile, does xchattest actually work for anyone?
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2006-03-20 06:24:06 UTC
*** Bug 126958 has been marked as a duplicate of this bug. ***
Comment 12 Patrizio Bassi 2006-03-20 07:16:23 UTC
i talked with the xchat author (zed). 

the patch is the correct way to have it working.

xchat text works for me. please apply to portage
Comment 13 SAngeli 2006-03-20 08:36:07 UTC
How to apply the above linker patch?

Do I have to manually download it, then add to the ebuild a new patch line, then digest it again and lastly emerge it?

Please let us know.

Thanks,
Spiro

Comment 14 SAngeli 2006-03-20 09:52:17 UTC
I saved the linker patch in /usr/portage/net-irc/xchat/files as linker.path
Then I digested the ebuild

Is this what I should do?

src_unpack() {
        unpack ${A}
        cd "${S}"

        epatch "${FILESDIR}"/linker.patch
        # use libdir/xchat/plugins as the plugin directory
        if [ $(get_libdir) != "lib" ] ; then
                sed -i -e 's:${prefix}/lib/xchat:${libdir}/xchat:' \
                        "${S}"/configure{,.in} || die
        fi
}

Modified in xchat-2.6.1.ebuild?

Please let us know.

Thanks,
Spiro 
Comment 15 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-03-20 13:06:59 UTC
(In reply to comment #12)
> i talked with the xchat author (zed). 
> 
> the patch is the correct way to have it working.
> 
> xchat text works for me. please apply to portage
> 
Does that mean he took for UPSTREAM?
Comment 16 Patrizio Bassi 2006-03-21 00:17:59 UTC
alec i can say YES but i'll be wrong.

i explain: Zed releases versions working on GUI only, no xchat-text (it's the same of 1 year ago version)

so sometimes he releases forgetting about xchat-text compilation.
and i send him an email with the patch or the problem.

as you can see
http://www.xchat.org/files/source/2.6/patches/

2.6.0 had a similar problem too.
dunno why 2.6.1 patch is not there.
my suggestion is: apply as a -r1 gentoo release, next xchat release will have different function missing :)
Comment 17 Sven Wegener gentoo-dev 2006-03-25 12:07:41 UTC
Commited to CVS. Thanks all!