Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100120 - Cannot compile mldonkey-2.6.0: Error in src/gtk2/chat/chat_art.ml: Unbound value Menu_settings_svg.t
Summary: Cannot compile mldonkey-2.6.0: Error in src/gtk2/chat/chat_art.ml: Unbound va...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
: 100139 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-07-24 08:13 UTC by Alexander Skwar
Modified: 2005-08-05 05:34 UTC (History)
2 users (show)

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


Attachments
mldonkey-2.6.0-gtk2-gentoo.patch (mldonkey-2.6.0-gtk2-gentoo.patch,497 bytes, patch)
2005-07-25 07:44 UTC, Marcin Kryczek (RETIRED)
Details | Diff
mldonkey-2.6.0.ebuild (mldonkey-2.6.0.ebuild,3.48 KB, text/plain)
2005-07-25 07:44 UTC, Marcin Kryczek (RETIRED)
Details
mldonkey-2.6.0.ebuild.diff (mldonkey-2.6.0.ebuild.diff,1.95 KB, text/plain)
2005-07-25 07:45 UTC, Marcin Kryczek (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Skwar 2005-07-24 08:13:06 UTC
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
Comment 1 Alexander Skwar 2005-07-24 08:13:06 UTC
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
Comment 2 Vlad Berditchevskiy 2005-07-24 11:04:16 UTC
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
Comment 3 Marcel Lilienthal 2005-07-25 02:59:09 UTC
exactly the same here.
ocaml-rebuild.sh was started before, so lablgtk should be ok.
Comment 4 Marcin Kryczek (RETIRED) gentoo-dev 2005-07-25 07:44:15 UTC
Created attachment 64262 [details, diff]
mldonkey-2.6.0-gtk2-gentoo.patch

patch to make compilation with gtk2 gui possible
Comment 5 Marcin Kryczek (RETIRED) gentoo-dev 2005-07-25 07:44:50 UTC
Created attachment 64263 [details]
mldonkey-2.6.0.ebuild

new, bit changed ebuild for mldonkey
Comment 6 Marcin Kryczek (RETIRED) gentoo-dev 2005-07-25 07:45:58 UTC
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)
Comment 7 Natanael Copa 2005-07-25 08:47:27 UTC
compiles fine here on my Pentium4 with  +gd +gtk +gtk2.

Thanks!
Comment 8 Marek Kwasceki 2005-07-25 10:21:33 UTC
*** Bug 100139 has been marked as a duplicate of this bug. ***
Comment 9 Karol Wojtaszek (RETIRED) gentoo-dev 2005-07-25 14:23:20 UTC
Fixed in portage, thanks for help.
Comment 10 spiralvoice 2005-08-05 05:34:46 UTC
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