Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 59957

Summary: unison 2.9.1: inconsistent assumptions over interface Pervasives
Product: Gentoo Linux Reporter: Peter Bienstman (RETIRED) <pbienst>
Component: Current packagesAssignee: Gentoo Team for the ML programming language family <ml>
Status: VERIFIED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Peter Bienstman (RETIRED) gentoo-dev 2004-08-10 05:51:29 UTC
When emerging unison, I get:

...
ocamlopt -I lwt -I ubase -I /usr/lib/ocaml/lablgtk -c /var/tmp/portage/unison-2.9.1-r1/work/unison-2.9.1/uigtk.mli
ocamlopt: uigtk.ml ---> uigtk.cmx
ocamlopt -I lwt -I ubase -I /usr/lib/ocaml/lablgtk -c /var/tmp/portage/unison-2.9.1-r1/work/unison-2.9.1/uigtk.ml
The files /usr/lib/ocaml/pervasives.cmi and /usr/lib/ocaml/lablgtk/gdk.cmi
make inconsistent assumptions over interface Pervasives
make: *** [uigtk.cmx] Error 2

!!! ERROR: net-misc/unison-2.9.1-r1 failed.
!!! Function src_compile, Line 44, Exitcode 2
!!! (no error message)

My ocaml version is
dev-lang/ocaml-3.07-r1

Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r1, 2.4.22-gentoo-test-r1)
=================================================================
System uname: 2.4.22-gentoo-test-r1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.16
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -funroll-loops -fomit-frame-pointer -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/kde/cvs/share/config /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/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -funroll-loops -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache cvs sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://194.83.57.15/sites/www.ibiblio.org/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.switch.ch/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="PIC X aalib acpi alsa apm arts atlas avi berkdb bonobo cdr crypt cups dga directfb dvd encode esd f77 flash foomaticdb gdbm gif gphoto2 gpm gtk gtk2 gtkhtml guile imap imlib java jikes jpeg kde libg++ libwww mad mikmod mmx motif mpeg mysql ncurses nls oggvorbis opengl oss p44da pam pda pdflib perl pic plotutils png pnp python qt qtmt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype usb wmf x86 xml xml2 xmms xv zlib"



Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Alex Valentine 2004-08-10 11:24:17 UTC
I was able to reproduce this on two different machines as well, same results as the orginial poster.
Comment 2 Matthieu Sozeau (RETIRED) gentoo-dev 2004-08-10 13:51:08 UTC
You didn't run the rebuild script in dev-lang/ocaml/files/ as advised by the ocaml ebuild, did you ? :) If you did, then there's a bug as it should have reemerged lablgtk (as you can do manualy).
Comment 3 Peter Bienstman (RETIRED) gentoo-dev 2004-08-10 23:21:30 UTC
Oops, no I didn't run the rebuild script. The message to do some must have gotten lost in a big 'emerge -u world'

Anyway, when I run the script, I get

Calculating dependencies
emerge: there are no masked or unmasked ebuilds to satisfy "=net-p2p/mldonkey-2.5.16-r4".

!!! Error calculating dependencies. Please correct.

However, when I manually reemerged lablgtk, mldonkey and unison, everything seems te work.

Thanks!