Xchat 2.6.1 won't build.
Wonderful. Reopen with some information or try an oracle alternatively.
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
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. ;)
(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. :=)
(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
Created attachment 76601 [details, diff] linker patch this is the patch (i'll send upstream too)
*** Bug 119068 has been marked as a duplicate of this bug. ***
(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?
Created attachment 77662 [details] xchat-text-2 log on ppc
I know the patch actually gets xchattext to compile, does xchattest actually work for anyone?
*** Bug 126958 has been marked as a duplicate of this bug. ***
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
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
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
(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?
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 :)
Commited to CVS. Thanks all!