Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via infra@gentoo.org or IRC
Bug 544176 - dev-lang/ocaml-4.02.1 - File "ocamlbuild_plugin.ml", line 1: Error: The files ocamlbuild_pack.cmi and ocamlbuild_plugin.cmi make inconsistent assumptions over interface Ocamlbuild_pack
Summary: dev-lang/ocaml-4.02.1 - File "ocamlbuild_plugin.ml", line 1: Error: The files...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-22 23:42 UTC by Sebastian Pipping
Modified: 2019-12-13 14:31 UTC (History)
1 user (show)

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 Sebastian Pipping gentoo-dev 2015-03-22 23:42:00 UTC
[]
../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -for-pack Ocamlbuild_pack -warn-error A -w L -w R -w Z -I ../otherlibs/unix -safe-string -c ocamlbuild_plugin.ml
../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -for-pack Ocamlbuild_pack -warn-error A -w L -w R -w Z -I ../otherlibs/unix -safe-string -c ocamlbuild_executor.ml
File "ocamlbuild_plugin.ml", line 1:
Error: The files ocamlbuild_pack.cmi and ocamlbuild_plugin.cmi
       make inconsistent assumptions over interface Ocamlbuild_pack
Makefile:191: recipe for target 'ocamlbuild_plugin.cmx' failed
[..]
Comment 1 Sebastian Pipping gentoo-dev 2015-03-22 23:58:40 UTC
PS: 4.01.0 installs just fine.
Comment 2 Benda Xu gentoo-dev 2015-05-01 06:23:36 UTC
I can reproduce this bug.
Comment 3 Benda Xu gentoo-dev 2015-05-01 06:31:21 UTC
From the hint of

  http://stackoverflow.com/questions/9166489/inconsistent-assumptions-over-interface-ocaml

I found out that removing ocaml-3 before compiling ocaml-4 works.
Comment 4 Alexis Ballier gentoo-dev 2015-06-04 09:52:39 UTC
isnt this just a parallel make issue ?
Comment 5 Juergen Rose 2015-07-19 12:09:20 UTC
(In reply to Benda Xu from comment #3)
> From the hint of
> 
>  
> http://stackoverflow.com/questions/9166489/inconsistent-assumptions-over-
> interface-ocaml
> 
> I found out that removing ocaml-3 before compiling ocaml-4 works.

I hit the same issue and there is not any ocaml-3 installed:


Error: The files ocamlbuild_pack.cmi and ocamlbuild_plugin.cmi
       make inconsistent assumptions over interface Ocamlbuild_pack
Makefile:191: recipe for target 'ocamlbuild_plugin.cmx' failed
make[2]: *** [ocamlbuild_plugin.cmx] Error 2
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/dev-lang/ocaml-4.02.1/work/ocaml-4.02.1/ocamlbuild'
Makefile:790: recipe for target 'ocamlbuild.native' failed
make[1]: *** [ocamlbuild.native] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-lang/ocaml-4.02.1/work/ocaml-4.02.1'
Makefile:259: recipe for target 'opt' failed
make: *** [opt] Error 2
 * ERROR: dev-lang/ocaml-4.02.1::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-lang/ocaml-4.02.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/ocaml-4.02.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-lang/ocaml-4.02.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/ocaml-4.02.1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/ocaml-4.02.1/work/ocaml-4.02.1'
 * S: '/var/tmp/portage/dev-lang/ocaml-4.02.1/work/ocaml-4.02.1'

>>> Failed to emerge dev-lang/ocaml-4.02.1, Log file:

>>>  '/var/tmp/portage/dev-lang/ocaml-4.02.1/temp/build.log'
root@lynx:/root(30)# qlist -Iv ocaml
app-emacs/ocaml-mode-4.00.1
dev-lang/ocaml-4.02.1
dev-ml/cairo-ocaml-1.2.0
dev-ml/ocaml-ctypes-0.4.1
Comment 6 Juergen Rose 2015-07-19 12:17:42 UTC
(In reply to Alexis Ballier from comment #4)
> isnt this just a parallel make issue ?

At least the first try with 'MAKEOPTS=-j1 emerge -v1 ocaml' worked.