Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 216724 - lablgtk fails to emerge due to problem with /usr/lib/ocaml/lablGL/gl.cmx
Summary: lablgtk fails to emerge due to problem with /usr/lib/ocaml/lablGL/gl.cmx
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Team for the ML programming language family
URL: N/A
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-07 15:18 UTC by Robert Bradbury
Modified: 2008-04-24 17:18 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Bradbury 2008-04-07 15:18:20 UTC
Attempting to emerge lablgtk-2.10.1, yields an error:
/usr/lib/ocaml/lablGL/gl.cmx is not a compilation unit description.

Reproducible: Always

Steps to Reproduce:
1. emerge =dev-ml/lablgtk-2.10.1


Actual Results:  
emerge fails with "make [1]: *** [glGtk.cmx] Error 2

Expected Results:  
Emerge should complete

Sequence around the error is:
ocamlmklib -verbose -o lablgtk -oc lablgtk2 gaux.cmx gpointer.cmx glib.cmx gobject.cmx gdkEnums.cmx pangoEnums.cmx gtkEnums.cmx p
ango.cmx gdk.cmx gdkEvent.cmx gdkKeysyms.cmx gdkPixbuf.cmx gtk.cmx gtkSignal.cmx gtkStock.cmx gtkObject.cmx gtkBaseProps.cmx gtkB
inProps.cmx gtkButtonProps.cmx gtkEditProps.cmx gtkListProps.cmx gtkMenuProps.cmx gtkMiscProps.cmx gtkPackProps.cmx gtkRangeProps
.cmx gtkTextProps.cmx gtkTreeProps.cmx gtkFileProps.cmx gtkActionProps.cmx gtkBrokenProps.cmx gtkAssistantProps.cmx gtkData.cmx g
tkBase.cmx gtkPack.cmx gtkButton.cmx gtkAssistant.cmx gtkMenu.cmx gtkMisc.cmx gtkWindow.cmx gtkList.cmx gtkBin.cmx gtkEdit.cmx gt
kRange.cmx gtkText.cmx gtkTree.cmx gtkFile.cmx gtkMain.cmx gtkBroken.cmx gPango.cmx gDraw.cmx gObj.cmx gData.cmx gMain.cmx ogtkBa
seProps.cmx ogtkBinProps.cmx ogtkButtonProps.cmx ogtkEditProps.cmx ogtkListProps.cmx ogtkMenuProps.cmx ogtkMiscProps.cmx ogtkPack
Props.cmx ogtkRangeProps.cmx ogtkTextProps.cmx ogtkTreeProps.cmx ogtkFileProps.cmx ogtkActionProps.cmx ogtkBrokenProps.cmx ogtkAs
sistantProps.cmx gContainer.cmx gPack.cmx gButton.cmx gText.cmx gMenu.cmx gMisc.cmx gTree.cmx gList.cmx gFile.cmx gWindow.cmx gAs
sistant.cmx gBin.cmx gEdit.cmx gRange.cmx gAction.cmx gBroken.cmx gUtil.cmx gToolbox.cmx -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -l
gdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
+ /usr/bin/ocamlopt -a -o lablgtk.cmxa  gaux.cmx gpointer.cmx glib.cmx gobject.cmx gdkEnums.cmx pangoEnums.cmx gtkEnums.cmx pango
.cmx gdk.cmx gdkEvent.cmx gdkKeysyms.cmx gdkPixbuf.cmx gtk.cmx gtkSignal.cmx gtkStock.cmx gtkObject.cmx gtkBaseProps.cmx gtkBinPr
ops.cmx gtkButtonProps.cmx gtkEditProps.cmx gtkListProps.cmx gtkMenuProps.cmx gtkMiscProps.cmx gtkPackProps.cmx gtkRangeProps.cmx
 gtkTextProps.cmx gtkTreeProps.cmx gtkFileProps.cmx gtkActionProps.cmx gtkBrokenProps.cmx gtkAssistantProps.cmx gtkData.cmx gtkBa
se.cmx gtkPack.cmx gtkButton.cmx gtkAssistant.cmx gtkMenu.cmx gtkMisc.cmx gtkWindow.cmx gtkList.cmx gtkBin.cmx gtkEdit.cmx gtkRan
ge.cmx gtkText.cmx gtkTree.cmx gtkFile.cmx gtkMain.cmx gtkBroken.cmx gPango.cmx gDraw.cmx gObj.cmx gData.cmx gMain.cmx ogtkBasePr
ops.cmx ogtkBinProps.cmx ogtkButtonProps.cmx ogtkEditProps.cmx ogtkListProps.cmx ogtkMenuProps.cmx ogtkMiscProps.cmx ogtkPackProp
s.cmx ogtkRangeProps.cmx ogtkTextProps.cmx ogtkTreeProps.cmx ogtkFileProps.cmx ogtkActionProps.cmx ogtkBrokenProps.cmx ogtkAssist
antProps.cmx gContainer.cmx gPack.cmx gButton.cmx gText.cmx gMenu.cmx gMisc.cmx gTree.cmx gList.cmx gFile.cmx gWindow.cmx gAssist
ant.cmx gBin.cmx gEdit.cmx gRange.cmx gAction.cmx gBroken.cmx gUtil.cmx gToolbox.cmx -cclib -llablgtk2   -cclib -lgtk-x11-2.0 -cc
lib -lgdk-x11-2.0 -cclib -latk-1.0 -cclib -lgdk_pixbuf-2.0 -cclib -lpangocairo-1.0 -cclib -lpango-1.0 -cclib -lcairo -cclib -lgob
ject-2.0 -cclib -lgmodule-2.0 -cclib -ldl -cclib -lglib-2.0 
ocamlopt.opt -I +lablGL -w s -c glGtk.ml
/usr/lib/ocaml/lablGL/gl.cmx is not a compilation unit description.
make[1]: *** [glGtk.cmx] Error 2
make[1]: Leaving directory `/root2/var/tmp/portage/dev-ml/lablgtk-2.10.1/work/lablgtk-2.10.1/src'
make: *** [opt] Error 2
 * 
 * ERROR: dev-ml/lablgtk-2.10.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2127:  Called die
 * The specific snippet of code:
 *           emake -j1 opt || die "Compiling native code failed";
 *  The die message:
 *   Compiling native code failed
 * 

I would "attach" the above to the bug, but the default Gentoo Bugzilla "enter_bug.cgi" does not appear to have an "attach error context information" option.
Comment 1 Alexis Ballier gentoo-dev 2008-04-07 21:11:05 UTC
hmmm didnt you upgrade ocaml without running ocaml-rebuild.sh -f ?
could you please run it now ?
Comment 2 Robert Bradbury 2008-04-24 17:18:53 UTC
Running ocaml-rebuild.sh -f and subsequently emerging lablgtk appears to work properly.  Thanks for pointing this out.