Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 486066 - =app-text/active-dvi-1.10.2-r1 compile failure: "Could not find the .cmi file for interface misc.mli."
Summary: =app-text/active-dvi-1.10.2-r1 compile failure: "Could not find the .cmi file...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 486024
  Show dependency tree
 
Reported: 2013-09-26 07:59 UTC by Ulrich Müller
Modified: 2013-10-17 20:54 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,7.77 KB, text/plain)
2013-09-26 08:00 UTC, Ulrich Müller
Details
emerge --info (emerge.info,5.75 KB, text/plain)
2013-09-26 08:01 UTC, Ulrich Müller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2013-09-26 07:59:12 UTC
Fails in src_compile:

make[2]: Entering directory `/var/tmp/portage/app-text/active-dvi-1.10.2-r1/work
/advi-1.10.2/src'
/usr/bin/ocamlc.opt -ccopt "-o events.o -march=core2 -ggdb -O2 -pipe -DHAVE_XINE
RAMA " -c events.c 
/usr/bin/ocamlc.opt -ccopt "-o grwm.o -march=core2 -ggdb -O2 -pipe -DHAVE_XINERA
MA " -c grwm.c 
/usr/bin/ocamlc.opt -ccopt "-o grY11.o -march=core2 -ggdb -O2 -pipe -DHAVE_XINER
AMA " -c grY11.c 
/usr/bin/ocamlopt.opt  -I /usr/lib64/ocaml/camlimages -o config.cmx -c config.ml
/usr/bin/ocamlopt.opt  -I /usr/lib64/ocaml/camlimages -o misc.cmx -c misc.ml
File "misc.ml", line 1:
Error: Could not find the .cmi file for interface misc.mli.
make[2]: *** [misc.cmx] Error 2
make[2]: Leaving directory `/var/tmp/portage/app-text/active-dvi-1.10.2-r1/work/advi-1.10.2/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/app-text/active-dvi-1.10.2-r1/work/advi-1.10.2/src'
make: *** [all-recursive] Error 1
Comment 1 Ulrich Müller gentoo-dev 2013-09-26 08:00:00 UTC
Created attachment 359506 [details]
build.log
Comment 2 Ulrich Müller gentoo-dev 2013-09-26 08:01:00 UTC
Created attachment 359508 [details]
emerge --info
Comment 3 Alexis Ballier gentoo-dev 2013-09-26 17:42:48 UTC
maybe that's the bug I was hitting; does it fail with MAKEOPTS=-j1 ?
Comment 4 Ulrich Müller gentoo-dev 2013-09-26 18:03:53 UTC
(In reply to Alexis Ballier from comment #3)
> maybe that's the bug I was hitting; does it fail with MAKEOPTS=-j1 ?

It does.
Comment 5 Alexis Ballier gentoo-dev 2013-09-26 19:04:10 UTC
and with stable ocaml ? dev-lang/ocaml-3.12.1 (be sure sure to run ocaml-rebuild after downgrading)

to know if this should block bug #486024
Comment 6 Ulrich Müller gentoo-dev 2013-09-26 21:54:37 UTC
(In reply to Alexis Ballier from comment #5)
> and with stable ocaml ? dev-lang/ocaml-3.12.1 (be sure sure to run
> ocaml-rebuild after downgrading)

active-dvi-1.10.2-r1 fails with both ocaml-3.12.1 and 4.01.0.
active-dvi-1.10-2 builds successfully with both ocaml versions.
Comment 7 Ulrich Müller gentoo-dev 2013-09-26 21:57:40 UTC
(In reply to Ulrich Müller from comment #6)
> active-dvi-1.10-2 builds successfully with both ocaml versions.

This should read 1.10.2, of course.
Comment 8 Christoph Junghans (RETIRED) gentoo-dev 2013-09-27 15:23:35 UTC
I can reproduce the problem on one of my amd64 machines.

Decreasing EAPI to 3, make the problem is disappear.
However EAPI=[45] fails.

Comparing the build.log shows that the only difference in the econf calls is the addition of --disable-dependency-tracking, adding --enable-dependency-tracking back to the econf call makes it work.

In that case make runs the following rule additionally with --enable-dependency-tracking:
@@ -119,6 +119,10 @@
 make -j4 
 Making all in src
 make[1]: Entering directory `/var/tmp/portage/app-text/active-dvi-1.10.2-r1/work/advi-1.10.2/src'
+Makefile:782: .depend: No such file or directory
+(cd . && /usr/bin/ocamldep.opt misc.ml timeout.ml ageometry.ml options.ml rc.ml userfile.ml graphicsY11.ml global_options.ml busy.ml gradient.ml gterm.ml launch.ml dvicolor.ml shot.ml laser_pointer.ml symbol.ml input.ml table.ml pkfont.ml ttfont.ml jfm.ml search.ml font.ml glyph.ml devfont.ml adviUnits.ml dimension.ml dvi.ml drawimage.ml gs.ml transimpl.ml embed.ml grdev.ml addons.ml scratch.ml cdvi.ml driver.ml thumbnails.ml dviview.ml main.ml misc.mli timeout.mli ageometry.mli options.mli rc.mli userfile.mli graphicsY11.mli global_options.mli busy.mli gradient.mli gterm.mli launch.mli dvicolor.mli shot.mli laser_pointer.mli symbol.mli input.mli table.mli pkfont.mli ttfont.mli jfm.mli search.mli font.mli glyph.mli devfont.mli adviUnits.mli dimension.mli dvi.mli dvicommands.mli drawimage.mli gs.mli transitions.mli embed.mli grdev.mli addons.mli scratch.mli cdvi.mli driver.mli thumbnails.mli dviview.mli) > .depend 
+make[1]: Leaving directory `/var/tmp/portage/app-text/active-dvi-1.10.2-r1/work/advi-1.10.2/src'
+make[1]: Entering directory `/var/tmp/portage/app-text/active-dvi-1.10.2-r1/work/advi-1.10.2/src'
 rm -f config.ml config.ml.tmp
 sed \
 	-e 's,@PACKAGE_VERSION\@,1.10.2,g' \
@@ -139,29 +143,722 @@


Should I simply add --enable-dependency-tracking to the econf call?
Comment 9 Ulrich Müller gentoo-dev 2013-09-29 08:21:04 UTC
(In reply to Christoph Junghans from comment #8)
> Should I simply add --enable-dependency-tracking to the econf call?

This fixes the problem for me.
Comment 10 Christoph Junghans (RETIRED) gentoo-dev 2013-10-17 20:54:23 UTC
+  17 Oct 2013; Christoph Junghans <ottxor@gentoo.org>
+  active-dvi-1.10.2-r1.ebuild:
+  fixed build (bug #486066)
+