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
Created attachment 359506 [details] build.log
Created attachment 359508 [details] emerge --info
maybe that's the bug I was hitting; does it fail with MAKEOPTS=-j1 ?
(In reply to Alexis Ballier from comment #3) > maybe that's the bug I was hitting; does it fail with MAKEOPTS=-j1 ? It does.
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
(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.
(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.
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?
(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.
+ 17 Oct 2013; Christoph Junghans <ottxor@gentoo.org> + active-dvi-1.10.2-r1.ebuild: + fixed build (bug #486066) +