Bug 1528513 - ocamlbuildlib.cmxa and unix.cmxa make inconsistent assumptions over implementation Unix
Summary: ocamlbuildlib.cmxa and unix.cmxa make inconsistent assumptions over implement...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ocaml-ocamlbuild
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-22 02:20 UTC by Andy Li
Modified: 2018-01-02 16:25 UTC (History)
1 user (show)

Fixed In Version: ocaml-ocamlbuild-0.9.3-7.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-01-02 16:25:46 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Andy Li 2017-12-22 02:20:39 UTC
Description of problem:

When I build ocaml-oasis for f26, the mockbuild failed with error:
```
+ ocamlfind ocamlopt unix.cmxa -I /usr/lib64/ocaml/ocamlbuild /usr/lib64/ocaml/ocamlbuild/ocamlbuildlib.cmxa -linkpkg myocamlbuild.ml /usr/lib64/ocaml/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
File "myocamlbuild.ml", line 1:
Error: Files /usr/lib64/ocaml/ocamlbuild/ocamlbuildlib.cmxa
       and /usr/lib64/ocaml/unix.cmxa
       make inconsistent assumptions over implementation Unix
Command exited with code 2.
```

I guess ocamlbuild on f26 needs a rebuild?


Version-Release number of selected component (if applicable):
ocaml-ocamlbuild-devel.x86_64 0.9.3-6.fc26

How reproducible:
Always.

Steps to Reproduce:
1. fedpkg clone ocaml-oasis
2. cd ocaml-oasis
3. fedpkg switch branch f26
4. git merge master
5. fedpkg mockbuild

Actual results:
Build failed.

Expected results:
Build succeed.

Additional info:
-

Comment 1 Richard W.M. Jones 2017-12-22 10:34:37 UTC
Hopefully the updated build should fix things ...

Comment 2 Fedora Update System 2017-12-22 10:37:05 UTC
ocaml-ocamlbuild-0.9.3-7.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-13ea7b9526

Comment 3 Richard W.M. Jones 2017-12-22 10:38:19 UTC
BTW you'll have to add a build override if you want to immediately
build against this package.  The documentation for this is confusing,
outdated and wrong, but you could try:

https://fedoraproject.org/wiki/Bodhi/BuildRootOverrides

Comment 4 Fedora Update System 2017-12-22 13:16:26 UTC
ocaml-ocamlbuild-0.9.3-7.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-13ea7b9526

Comment 5 Fedora Update System 2018-01-02 16:25:46 UTC
ocaml-ocamlbuild-0.9.3-7.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.