Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 580952 - dev-ml/dose3-4.3 fails to build
Summary: dev-ml/dose3-4.3 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Team for the ML programming language family
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-23 16:43 UTC by Rémi Cardona (RETIRED)
Modified: 2016-04-30 15:52 UTC (History)
0 users

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


Attachments
build.log (build.log,20.13 KB, text/x-log)
2016-04-23 16:43 UTC, Rémi Cardona (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rémi Cardona (RETIRED) gentoo-dev 2016-04-23 16:43:22 UTC
Created attachment 431712 [details]
build.log

>>> Compiling source in /var/tmp/portage/dev-ml/dose3-4.3/work/dose3-4.3 ...
make -j4 -j1 
make: Circular all <- all dependency dropped.
/var/tmp/portage/dev-ml/dose3-4.3/work/dose3-4.3
cppo -V OCAML:4.02.3 myocamlbuild.ml.pp -o myocamlbuild.ml
ocamlbuild  -j 10 -no-links -cflags -warn-error,FPSXY common/common.otarget
Finished, 1 target (0 cached) in 00:00:00.
Finished, 76 targets (0 cached) in 00:00:01.
ocamlbuild  -j 10 -no-links -cflags -warn-error,FPSXY versioning/versioning.otarget
Finished, 0 targets (0 cached) in 00:00:00.
Finished, 23 targets (0 cached) in 00:00:00.
ocamlbuild  -j 10 -no-links -cflags -warn-error,FPSXY pef/pef.otarget
Finished, 0 targets (0 cached) in 00:00:00.
+ /usr/bin/ocamlyacc pef/packages_parser.mly
2 rules never reduced
13 reduce/reduce conflicts.
Finished, 31 targets (0 cached) in 00:00:00.
ocamlbuild  -j 10 -no-links -cflags -warn-error,FPSXY npm/npm.otarget
Finished, 0 targets (0 cached) in 00:00:00.
+ /usr/bin/ocamlyacc npm/npm_parser.mly
1 rule never reduced
4 reduce/reduce conflicts.
Finished, 23 targets (0 cached) in 00:00:00.
ocamlbuild  -j 10 -no-links -cflags -warn-error,FPSXY deb/debian.otarget
Finished, 0 targets (0 cached) in 00:00:00.
Finished, 42 targets (0 cached) in 00:00:00.
ocamlbuild  -j 10 -no-links -cflags -warn-error,FPSXY opencsw/csw.otarget
Finished, 0 targets (0 cached) in 00:00:00.
Finished, 11 targets (0 cached) in 00:00:00.
ocamlbuild  -j 10 -no-links -cflags -warn-error,FPSXY opam/opam.otarget
Finished, 0 targets (0 cached) in 00:00:00.
Finished, 13 targets (0 cached) in 00:00:00.
ocamlbuild  -j 10 -no-links -cflags -warn-error,FPSXY algo/algo.otarget
Finished, 0 targets (0 cached) in 00:00:00.
Finished, 43 targets (0 cached) in 00:00:01.
ocamlbuild  -j 10 -no-links -cflags -warn-error,FPSXY doseparseNoRpm/doseparseNoRpm.otarget
Finished, 0 targets (0 cached) in 00:00:00.
Finished, 20 targets (0 cached) in 00:00:00.
ocamlbuild  -j 10 -no-links -cflags -warn-error,FPSXY doseparse/doseparse.otarget
Finished, 0 targets (0 cached) in 00:00:00.
Finished, 20 targets (0 cached) in 00:00:00.
ocamlbuild  -j 10 applications/apps.otarget
Finished, 0 targets (0 cached) in 00:00:00.
+ ocamlfind ocamlopt -linkpkg doselibs/common.cmxa doselibs/versioning.cmxa doselibs/pef.cmxa doselibs/opam.cmxa doselibs/npm.cmxa doselibs/debian.cmxa doselibs/csw.cmxa doselibs/algo.cmxa doselibs/doseparseNoRpm.cmxa -package extlib -package re.pcre -package unix -package cudf -package bz2 -package re.str -package ocamlgraph applications/deb-buildcheck.cmx -o applications/deb-buildcheck.native
File "_none_", line 1:
Error: Files /usr/lib64/ocaml/cudf/cudf.cmxa
       and /usr/lib64/ocaml/extlib/extLib.cmxa
       make inconsistent assumptions over implementation ExtLib
Command exited with code 2.
Compilation unsuccessful after building 28 targets (0 cached) in 00:00:00.
Makefile:30: recipe for target 'apps' failed
make: *** [apps] Error 10
 * ERROR: dev-ml/dose3-4.3::gentoo failed (compile phase):
 *   emake failed
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2016-04-24 09:43:53 UTC
> Error: Files /usr/lib64/ocaml/cudf/cudf.cmxa
>        and /usr/lib64/ocaml/extlib/extLib.cmxa
>        make inconsistent assumptions over implementation ExtLib

Rebuilding both dev-ml/extlib and dev-ml/cudf (I didn't try rebuilding only one) allowed dose3 to build correctly.

This is "fixed" as far as I'm concerned.

Cheers
Comment 2 Alexis Ballier gentoo-dev 2016-04-30 15:52:45 UTC
commit 9dcd652f3df8cf9d456dfacdf0c2b79f874659db
Author: Alexis Ballier <aballier@gentoo.org>
Date:   Sat Apr 30 17:52:08 2016 +0200

    dev-ml/cudf: add := dep on cppo.
    
    The dep is not a real one, it is there only by transitivity from extlib but if cudf is not rebuilt after a cppo update this causes issues like bug #580952.
    Sadly, we dont have transitive := deps so we have to duplicate the dep here in cudf ebuild.