mldonkey doesn't compile Reproducible: Always Steps to Reproduce: 1. emerge net-p2p/mldonkey 2. 3. Actual Results: /usr/bin/ocamlc.opt -I src/utils/cdk -I src/daemon/chat -I src/utils/lib -I src/utils/net -I tools -I src/daemon/common -I src/daemon/driver -I src/utils/mp3tagui -I src/config/unix -I src/gtk/newgui -I src/gtk/gui2 -I src/gtk/configwin -I src/gtk/okey -I src/gtk/gpattern -I icons/tux -I +lablgtk -I src/gtk/progress -I src/im -I src/im/yahoo -I src/im/irc -I src/networks/direct_connect -I src/networks/opennap -I src/networks/gnutella -I src/networks/gnutella2 -I src/networks/fasttrack -I src/networks/fileTP -I src/networks/bittorrent -I src/networks/donkey -I src/networks/soulseek -c src/networks/donkey/donkeyMain.mli ocamlopt.opt -inline 10 -I src/utils/cdk -I src/daemon/chat -I src/utils/lib -I src/utils/net -I tools -I src/daemon/common -I src/daemon/driver -I src/utils/mp3tagui -I src/config/unix -I src/gtk/newgui -I src/gtk/gui2 -I src/gtk/configwin -I src/gtk/okey -I src/gtk/gpattern -I icons/tux -I +lablgtk -I src/gtk/progress -I src/im -I src/im/yahoo -I src/im/irc -I src/networks/direct_connect -I src/networks/opennap -I src/networks/gnutella -I src/networks/gnutella2 -I src/networks/fasttrack -I src/networks/fileTP -I src/networks/bittorrent -I src/networks/donkey -I src/networks/soulseek -c src/gtk/configwin/configwin_types.ml The files /usr/lib/ocaml/pervasives.cmi and /usr/lib/ocaml/lablgtk/gPack.cmi make inconsistent assumptions over interface Pervasives make: *** [src/gtk/configwin/configwin_types.cmx] Error 2 make: *** Waiting for unfinished jobs.... !!! ERROR: net-p2p/mldonkey-2.5.12 failed. !!! Function src_compile, Line 39, Exitcode 2 !!! (no error message)
which version ? also provide us #emerge info
root@Liszt 07:17pm ~ # emerge info Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.4.22-gentoo-r7) ================================================================= System uname: 2.4.22-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=i686 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache fixpackages sandbox" GENTOO_MIRRORS="http://ftp.gentoo.skynet.be/pub/gentoo/ ftp://ftp.gentoo.skynet.be/pub/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib accounting alsa apm arts avi berkdb bluetooth bonobo cdr chroot crypt cups curl directfb dvdr encode esd ffmpeg fftw firebird foomaticdb freetype freetype-version-1 fs gb gcl gd gd-external gdbm gif gnome gnutls gphoto2 gpm gtk gtk2 gtkhtml guile imagemagick imlib java javamail javascript jbig jpeg kde ldap libg++ libwww mad maildir md5sum mdb mikmod motif mozaccess mozilla mozinterfaceinfo mpeg mpeg4 msn mysql ncurses net nls nvidia oggvorbis opengl openssh oss pam pdflib perl png python qt quicktime readline sdl slang snmp spell ssl svga tcltk tcpd tetex tiff truetype x86 xine xml2 xmms xv zlib" root@Liszt 07:18pm ~ # It's net-p2p/mldonkey-2.5.12
What version of ocaml are you using? It compiled fine for me with dev-lang/ocaml-3.06-r1
I'm using 3.07-r1
Can you try going down to 3.06-r1 and seeing if that gets it to work...
I do not know much about objective caml. There seem to be incompatiblities in the code the last few ocaml compilers generated. I guess you updated ocamlb, so recompiling labgtk ( and maybe labgl depending on your use flags ) might fix that. Rebuilding labgtk here fixed the problem, but with the rebuild i also updated to the newest version, but the error does not look like a library incompatibility.
Indeed that worked, thanks :)
closing...