Bug 1528513

Summary: ocamlbuildlib.cmxa and unix.cmxa make inconsistent assumptions over implementation Unix
Product: [Fedora] Fedora Reporter: Andy Li <andy>
Component: ocaml-ocamlbuildAssignee: Richard W.M. Jones <rjones>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: rjones
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ocaml-ocamlbuild-0.9.3-7.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-02 16:25:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.