Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65745 - unison-2.9.1-r1 failed to build
Summary: unison-2.9.1-r1 failed to build
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Team for the ML programming language family
Depends on:
Reported: 2004-09-28 17:22 UTC by Dan Noe
Modified: 2004-09-29 11:39 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Dan Noe 2004-09-28 17:22:15 UTC
When I try to upgrade unison, I get a strange error (Ocaml related?):

ocamlopt -I lwt -I ubase -I /usr/lib/ocaml/lablgtk -c /var/tmp/portage/unison-2.9.1-r1/work/unison-2.9.1/
ocamlopt: ---> pixmaps.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/
ocamlopt: uigtk.mli ---> uigtk.cmi
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.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/
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

Reproducible: Always
Steps to Reproduce:
1. Merge unison
2. Error occurs every time

Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-, 2.6.7)
System uname: 2.6.7 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
FEATURES="autoaddcvs buildpkg ccache sandbox userpriv usersandbox"
USE="3dnow X Xaw3d aac aalib acl aim alsa apache2 async audiofile avi berkdb
bitmap-fonts bonobo cddb cdr crypt cups curl divx4linux doc dv dvd dvdr emacs
encode ethereal expat f77 faad fam flac foomaticdb gb gd gdbm gif gnome gnomedb
gphoto2 gstreamer gtk gtk2 gtkhtml guile icq imagemagick imap imlib java jpeg
ldap libg++ libwww lirc mad maildir matroska md5sum mikmod mmx mng mono motif
mozilla moznocompose moznoirc mpeg mpeg4 msn mysql ncurses nls nocd offensive
oggvorbis opengl oscar oss pam pda pdflib perl plotutils png python qt quicktime
readline rtc ruby samba scanner sdl slang slp snmp spell sse ssl svga tcltk tcpd
tetex theora tiff truetype unicode usb v4l videos wmf wxwindows x86 xalan xerces
xinerama xml2 xmms xosd xprint xv xvid yahoo zlib"
Comment 1 Matthieu Sozeau (RETIRED) gentoo-dev 2004-09-28 17:46:30 UTC
You have to reemerge lablgtk on each ocaml compiler update (there is a script to help mentionned in the ocaml ebuild). If you ran the script and it didn't show lablgtk, then the script has a bug :), otherwise, either run it or simply reemerge lablgtk (and possibly lablgl too) before trying to update unison.
Comment 2 Dan Noe 2004-09-28 17:52:03 UTC
Hah, thanks.  I feel stupid :) 

Is there any way to see the emerge einfo messages after they fly by in a long world update?
Comment 3 Matthieu Sozeau (RETIRED) gentoo-dev 2004-09-29 11:39:56 UTC
There are tools that help see them like portlog, IIRC. There's also recurrent discussions of such a feature on gentoo-dev so i suspect some standard solution will emerge (and get implemented) some day.