Trying to build mldonkey with these USE flags: [ebuild U ] net-p2p/mldonkey-2.6.0 [2.5.16-r10] +X +gd +gtk2 0 kB Fails: /usr/bin/ocamlc.opt -verbose -ccopt "-I /byterun -o src/gtk2/gui/x11/systraystubs.o" -ccopt "-O2 -march=athlon-xp -pipe -pthread" -ccopt "-Wl,-O1 " -cclib "" -ccopt "-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include " -cclib "-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 " -cclib -lz -cclib -lgd -cclib -lfreetype -cclib -lm -ccopt -W -ccopt -Wall -ccopt -Wno-unused -cclib -ljpeg -cclib -lpng -ccopt -DHAVE_JPEG -ccopt "-pthread" -c src/gtk2/gui/x11/systraystubs.c + gcc -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O2 -march=athlon-xp -pipe -fPIC -c -I /byterun -o src/gtk2/gui/x11/eggtrayicon.o -O2 -march=athlon-xp -pipe -pthread -Wl,-O1 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -W -Wall -Wno-unused -DHAVE_JPEG -pthread -I'/usr/lib/ocaml' 'src/gtk2/gui/x11/eggtrayicon.c' + gcc -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O2 -march=athlon-xp -pipe -fPIC -c -I /byterun -o src/gtk2/gui/x11/systraystubs.o -O2 -march=athlon-xp -pipe -pthread -Wl,-O1 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -W -Wall -Wno-unused -DHAVE_JPEG -pthread -I'/usr/lib/ocaml' 'src/gtk2/gui/x11/systraystubs.c' gcc: -O1: Eingabedateien des Binders unbenutzt, da keine Bindung geschieht src/gtk2/gui/x11/eggtrayicon.c: In function `egg_tray_icon_get_type': src/gtk2/gui/x11/eggtrayicon.c:76: Warnung: fehlende Initialisierung src/gtk2/gui/x11/eggtrayicon.c:76: Warnung: (nahe der Initialisierung f
Trying to build mldonkey with these USE flags: [ebuild U ] net-p2p/mldonkey-2.6.0 [2.5.16-r10] +X +gd +gtk2 0 kB Fails: /usr/bin/ocamlc.opt -verbose -ccopt "-I /byterun -o src/gtk2/gui/x11/systraystubs.o" -ccopt "-O2 -march=athlon-xp -pipe -pthread" -ccopt "-Wl,-O1 " -cclib "" -ccopt "-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include " -cclib "-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 " -cclib -lz -cclib -lgd -cclib -lfreetype -cclib -lm -ccopt -W -ccopt -Wall -ccopt -Wno-unused -cclib -ljpeg -cclib -lpng -ccopt -DHAVE_JPEG -ccopt "-pthread" -c src/gtk2/gui/x11/systraystubs.c + gcc -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O2 -march=athlon-xp -pipe -fPIC -c -I /byterun -o src/gtk2/gui/x11/eggtrayicon.o -O2 -march=athlon-xp -pipe -pthread -Wl,-O1 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -W -Wall -Wno-unused -DHAVE_JPEG -pthread -I'/usr/lib/ocaml' 'src/gtk2/gui/x11/eggtrayicon.c' + gcc -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O2 -march=athlon-xp -pipe -fPIC -c -I /byterun -o src/gtk2/gui/x11/systraystubs.o -O2 -march=athlon-xp -pipe -pthread -Wl,-O1 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -W -Wall -Wno-unused -DHAVE_JPEG -pthread -I'/usr/lib/ocaml' 'src/gtk2/gui/x11/systraystubs.c' gcc: -O1: Eingabedateien des Binders unbenutzt, da keine Bindung geschieht src/gtk2/gui/x11/eggtrayicon.c: In function `egg_tray_icon_get_type': src/gtk2/gui/x11/eggtrayicon.c:76: Warnung: fehlende Initialisierung src/gtk2/gui/x11/eggtrayicon.c:76: Warnung: (nahe der Initialisierung für »our_info.value_table«) src/gtk2/gui/x11/eggtrayicon.c: In function `egg_tray_icon_manager_filter': src/gtk2/gui/x11/eggtrayicon.c:195: Warnung: Vergleich zwischen vorzeichenbehaftet und vorzeichenlos gcc: -O1: Eingabedateien des Binders unbenutzt, da keine Bindung geschieht ocamlopt.opt -inline 10 -I src/utils/cdk -I src/daemon/chat -I src/gtk2/chat -I src/utils/lib -I src/utils/ocamlrss -I src/utils/xml-light -I src/utils/net -I tools -I src/daemon/common -I src/daemon/driver -I src/utils/mp3tagui -I src/config/unix -I src/gtk2/gui -I src/gtk2/gui/x11 -I src/gtk2/gui/win32 -I icons/rsvg -I +lablgtk2 -I src/im -I src/im/yahoo -I src/im/irc -I src/gtk2/im -I src/networks/gnutella -I src/networks/gnutella2 -I src/networks/fasttrack -I src/networks/fileTP -I src/networks/bittorrent -I src/networks/donkey -c src/gtk2/chat/chat_art.ml File "src/gtk2/chat/chat_art.ml", line 27, characters 20-39: Unbound value Menu_settings_svg.t make: *** [src/gtk2/chat/chat_art.cmx] Fehler 2 make: *** Warte auf noch nicht beendete Prozesse... gcc: -O1: Eingabedateien des Binders unbenutzt, da keine Bindung geschieht gcc: -O1: Eingabedateien des Binders unbenutzt, da keine Bindung geschieht [17:12:35 alexander@server:~] $ emerge info Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-ck3.009.reiser4_rc5-mm2.no-nfsv4.genkernel i686) ================================================================= System uname: 2.6.12-ck3.009.reiser4_rc5-mm2.no-nfsv4.genkernel i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.6.13 ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.11 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 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe" CHOST="i686-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/share/config /usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache collision-protect distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distfiles.gentoo.org/" LANG="de_DE.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X acl alsa apache2 apm arts artswrappersuid async avi bash-completion bluetooth bonobo calendar cdda cddb cdparanoia cdr cdrom codecs crypt cscope css cups dbus divx4linux dvdread encode esd ethereal exif fam fbcon fbdev ffmpeg fftw firefox flash foomaticdb ftp gd gdbm gif gimp gimpprint gmail gnokii gnome gphoto2 gpm gs gstreamer gtk gtk2 guile hal hpn iconv idn imagemagick imap imlib java javascript jpeg kde kdeenablefinal kdexdeltas libwww logitech-mouse logrotate lufsusermount lzw lzw-tiff mad maildir matroska matrox mbox mime mmap mmx mng mozdevelop moznocompose moznoirc mozp3p mozsvg mp3 mpeg mplayer ncurses network nls no-old-linux no_wxgtk1 noantlr nobcel nobeanutils nobsh nocommonslogging nocommonsnet nojdepend nojsch nojython nolog4j nooro nopop3d noregexp norhino noxalan noxerces offensive ofx ogg oggvorbis opengl oss pam parse-clocks pcntl pcre pda pdflib perl pic pie png posix ppds python qt quicktime quotes rdesktop readline real recode samba sasl shared slang sockets speex spell sse ssl svg symlink sysvipc tcltk tcpd theora tidy tiff truetype truetype-fonts type1-fonts unicode usb usepackagedmakefiles vcd videos vim vim-pager vim-with-x vorbis wmf wsconvert x11vnc xchattext xfs xine xml2 xmms xv xvid zlib video_cards_matrox linguas_de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, PORTDIR_OVERLAY
I got the same error (now in english): caml' 'src/gtk2/gui/x11/systraystubs.c' File "src/gtk2/chat/chat_art.ml", line 27, characters 20-39: Unbound value Menu_settings_svg.t make: *** [src/gtk2/chat/chat_art.cmx] Error 2 make: *** Waiting for unfinished jobs.... src/gtk2/gui/x11/eggtrayicon.c: In function `egg_tray_icon_get_type': src/gtk2/gui/x11/eggtrayicon.c:76: warning: missing initializer src/gtk2/gui/x11/eggtrayicon.c:76: warning: (near initialization for `our_info.value_table') src/gtk2/gui/x11/eggtrayicon.c: In function `egg_tray_icon_manager_filter': src/gtk2/gui/x11/eggtrayicon.c:195: warning: comparison between signed and unsigned
exactly the same here. ocaml-rebuild.sh was started before, so lablgtk should be ok.
Created attachment 64262 [details, diff] mldonkey-2.6.0-gtk2-gentoo.patch patch to make compilation with gtk2 gui possible
Created attachment 64263 [details] mldonkey-2.6.0.ebuild new, bit changed ebuild for mldonkey
Created attachment 64264 [details] mldonkey-2.6.0.ebuild.diff diffrences between my ebuild and the original from portage tree (for those, who prefer to read diffs)
compiles fine here on my Pentium4 with +gd +gtk +gtk2. Thanks!
*** Bug 100139 has been marked as a duplicate of this bug. ***
Fixed in portage, thanks for help.
Patch is in CVS now and will be present in 2.6.1. Next time please report patches also to MLDonkey patch tracker so it can be applied to CVS, I stumbled over this bug report by accident only;-) https://savannah.nongnu.org/patch/?group=mldonkey