Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 566810

Summary: dev-ml/opam-1.2.2 compiling error [Error: Unbound module Debian.Version]
Product: Gentoo Linux Reporter: karloff <sb_karloff>
Component: Current packagesAssignee: Gentoo Team for the ML programming language family <ml>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge info
opamVersion.ml

Description karloff 2015-11-25 13:21:38 UTC
Created attachment 417840 [details]
build.log

hi,

found problem while try to compile opam.
It died with [...]

File "core/opamVersion.ml", line 30, characters 2-24:
Error: Unbound module Debian.Version
../OCamlMakefile:1076: recipe for target 'core/opamVersion.cmo' failed
make[5]: *** [core/opamVersion.cmo] Error 2
[...]
Comment 1 karloff 2015-11-25 13:22:35 UTC
Created attachment 417842 [details]
emerge info
Comment 2 Alexis Ballier gentoo-dev 2015-11-27 12:59:11 UTC
does it work with MAKEOPTS=-j1 ?
Comment 3 karloff 2015-11-27 13:42:36 UTC
No, there no difference between one or three build processes. - still the same error message.

will attach opamVersion.ml
Comment 4 karloff 2015-11-27 13:43:44 UTC
Created attachment 418010 [details]
opamVersion.ml
Comment 5 Alexis Ballier gentoo-dev 2016-01-19 11:36:33 UTC
commit dbc6f713d8a7ca97ed9c319e96c22e3135ac095a
Author: Alexis Ballier <aballier@gentoo.org>
Date:   Tue Jan 19 12:35:12 2016 +0100

    dev-ml/opam: import debian patch to fix build with dose3 >= 4. Bug #566810.
    
    Package-Manager: portage-2.2.27
    Signed-off-by: Alexis Ballier <aballier@gentoo.org>


couldnt reproduce it, but then realized it was due to dose3-4