ocamlc.opt -c -ccopt "-O -DG_DISABLE_CAST_CHECKS -DORBIT2=1 -pthread -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/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtkgl-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/panel-2.0 " ml_gtkgl.c ocamlmklib -verbose -o lablgtkgl2 ml_gtkgl.o \ -lgtkgl-2.0 -lGLU -lGL -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 + gcc -shared -o dlllablgtkgl2.so ml_gtkgl.o -lgtkgl-2.0 -lGLU -lGL -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 + ar rc liblablgtkgl2.a ml_gtkgl.o + ranlib liblablgtkgl2.a ocamlc.opt -I /usr/lib/ocaml/lablGL -w s -c glGtk.mli The files /usr/lib/ocaml/pervasives.cmi and /usr/lib/ocaml/lablGL/raw.cmi make inconsistent assumptions over interface Pervasives make[1]: *** [glGtk.cmi] Error 2 make[1]: Leaving directory `/var/tmp/portage/lablgtk-2.2.0/work/lablgtk-2.2.0/src' make: *** [all] Error 2 !!! ERROR: dev-ml/lablgtk-2.2.0 failed. !!! Function src_compile, Line 36, Exitcode 2 !!! make failed Reproducible: Always Steps to Reproduce: 1. 2. 3. didi net-irc # emerge info Portage 2.0.50_pre19 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0, 2.6.1) ================================================================= System uname: 2.6.1 i686 AMD Athlon(tm) XP 2200+ Gentoo Base System version 1.4.3.12 distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59 Automake: sys-devel/automake-1.7.8,sys-devel/automake-1.7.9,sys-devel/automake-1.8 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-mcpu=athlon-xp -march=athlon-xp -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE" 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/share/config /usr/sh are/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/te xmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-mcpu=athlon-xp -march=athlon-xp -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache fixpackages sandbox" GENTOO_MIRRORS="http://intern.gate.wg/ http://intern.gate.wg/olddistfiles ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http:// linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo ftp://gentoo.linux.n o/pub/gentoo/ http://gentoo.inode.at/ http://gentoo.linux.no/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp:// ftp.easynet.nl/mirror/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://www.mirror.ac.uk/sites/www.ibiblio.org/gen too/ http://ftp.easynet.nl/mirror/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://gentoo.inode.at/source/ ftp: //ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://sunsite.cnlab-switch.ch/mirror/ge ntoo/ http://trumpetti.atm.tut.fi/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage/" USE="3dnow X aalib alsa apache2 apm arts avi berkdb bonobo cdr crypt cups dga directfb dvd dvdr encode esd fbcon foomaticdb g d gd-external gdbm ggi gif gnome gpg gphoto2 gpm gtk gtk2 gtkhtml guile imlib jpeg kde libg++ libwww lirc mad matroska mikmod mozilla mpeg mysql ncures ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl sl ang spell sse ssl svga tcltk tcpd tetex truetype vorbis x86 xml2 xmms xv zlib"
Your bugs comes from the fact that you installed ocaml-3.07 or some other version over ocaml-3.06, and ocaml is not binary compatible from version to version. We should make something to rebuild all ocaml packages when someone updates the ocaml compiler, but it's not there atm. What you can do is re-emerge lablgl and retry building lablgtk-2.2.0.
great :) after re-emerge lablgl lablgtk-2.2.0. works :)
I think this bug can be closed now...
Closing now, a solution is discussed in bug #39246.