Bug 1474762 - From the logs, it looks like there is some problem with ocamlnet package in Fedora 26 (netsys library is provided by ocamlnet).
From the logs, it looks like there is some problem with ocamlnet package in F...
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: ocaml-ocamlnet (Show other bugs)
26
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Richard W.M. Jones
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-25 07:02 EDT by Sergio Monteiro Basto
Modified: 2017-08-02 12:50 EDT (History)
1 user (show)

See Also:
Fixed In Version: ocaml-ocamlnet-4.1.2-3.fc26
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-08-02 12:50:03 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Sergio Monteiro Basto 2017-07-25 07:02:50 EDT
Description of problem:
From the logs, it looks like there is some problem with ocamlnet package in Fedora 26 (netsys library is provided by ocamlnet).
Error: Files /usr/lib64/ocaml/netsys/netsys_oothr_mt.cmxa
   and /usr/lib64/ocaml/threads/threads.cmxa
   make inconsistent assumptions over implementation Thread

Reference: 
https://github.com/astrada/google-drive-ocamlfuse/issues/333#issuecomment-317671722

Also: 

https://github.com/sergiomb2/google-drive-ocamlfuse/issues/3#issuecomment-314485305

This report is based on these 2 builds on copr :
https://copr.fedorainfracloud.org/coprs/sergiomb/google-drive-ocamlfuse/build/578094/
https://copr.fedorainfracloud.org/coprs/sergiomb/google-drive-ocamlfuse/build/582597/
Comment 1 Richard W.M. Jones 2017-07-25 07:27:50 EDT
It looks as if when we rebuilt OCaml to fix bug 1464920 (CVE-2017-9772)
that changed some of the hashes in certain base libraries (it wasn't
supposed to do that) which broke some dependencies.

In this case:

$ ocamlobjinfo /usr/lib64/ocaml/netsys/netsys_oothr_mt.cmxa
...
Implementations imported:
	9e8602427c2eaa090ad5d8f7196537fd	Thread

In ocaml-4.04.0-9.fc26.x86_64:

$ ocamlobjinfo /usr/lib64/ocaml/threads/thread.cmx
...
CRC of implementation: 9e8602427c2eaa090ad5d8f7196537fd

In ocaml-4.04.0-10.fc26.x86_64 [CVE fixed]:

$ ocamlobjinfo /usr/lib64/ocaml/threads/thread.cmx
...
CRC of implementation: 90ec9c07667fdae83c9a1b378fb849e8

This sort of thing is supposed to be picked up by RPM dependencies, but
our dependencies only cover bytecode objects not native code objects
(for historical reasons - we could fix this), so this happened.

I will rebuild ocaml-ocamlnet now.  Let me know if any other libraries
seem to need rebuilding.
Comment 2 Richard W.M. Jones 2017-07-25 07:29:26 EDT
https://koji.fedoraproject.org/koji/taskinfo?taskID=20722180
Comment 3 Fedora Update System 2017-07-25 08:17:07 EDT
ocaml-ocamlnet-4.1.2-3.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-c07f36268c
Comment 4 Sergio Monteiro Basto 2017-07-25 08:52:25 EDT
(In reply to Richard W.M. Jones from comment #1)
> Let me know if any other libraries seem to need rebuilding.

ocaml-cryptokit

Error: Files /usr/lib64/ocaml/cryptokit/cryptokit.cmxa
       and /usr/lib64/ocaml/unix.cmxa
       make inconsistent assumptions over implementation Unix

[1] 
https://copr-be.cloud.fedoraproject.org/results/sergiomb/google-drive-ocamlfuse/fedora-26-x86_64/00583324-google-drive-ocamlfuse/build.log.gz
Comment 5 Fedora Update System 2017-07-25 09:07:17 EDT
ocaml-cryptokit-1.11-4.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-d08d29a9e7
Comment 6 Fedora Update System 2017-07-25 21:19:43 EDT
ocaml-ocamlnet-4.1.2-3.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-c07f36268c
Comment 7 Fedora Update System 2017-07-25 21:19:53 EDT
ocaml-cryptokit-1.11-4.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-d08d29a9e7
Comment 8 Fedora Update System 2017-08-02 12:50:03 EDT
ocaml-ocamlnet-4.1.2-3.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.
Comment 9 Fedora Update System 2017-08-02 12:50:13 EDT
ocaml-cryptokit-1.11-4.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.