Bug 2535189

Summary: ocaml-ocamlnet fails to build from source
Product: [Fedora] Fedora Reporter: Richard W.M. Jones <rjones>
Component: ocaml-ocamlnetAssignee: Richard W.M. Jones <rjones>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: fti-bugs, loganjerry, rjones
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: ocaml-ocamlnet-4.1.9-36.fc46 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-09-17 07:49:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2503729    
Attachments:
Description Flags
Patch for nettle v4 support none

Description Richard W.M. Jones 2026-09-16 11:18:02 UTC
ocamlnet fails to build from source.  It seems to be because of general C compiler issues, but I didn't look too closely.

https://koji.fedoraproject.org/koji/taskinfo?taskID=150280786

https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/623HF4HM65V3TWRZ6Y2MXDF2SSVOASMV/


Reproducible: Always

Steps to Reproduce:
1. Build the package in Rawhide

Comment 1 Jerry James 2026-09-16 17:06:35 UTC
I think we need https://gitlab.com/gerdstolpmann/lib-ocamlnet3/-/merge_requests/26 for nettle v4 support.

Comment 2 Jerry James 2026-09-16 19:56:43 UTC
Created attachment 2157914 [details]
Patch for nettle v4 support

Comment 3 Jerry James 2026-09-16 19:57:06 UTC
That patch does not apply cleanly.  I've cooked up a version of it that does, and leads to a successful build.  Do you manage patches for this package in a separate git repository?  I have attached the patch I used to this bug for you consume as you see fit.

Comment 4 Richard W.M. Jones 2026-09-16 20:16:34 UTC
Apparently yes I did.  I added it to:
https://gitlab.com/rwmjones/lib-ocamlnet3/-/commits/ocaml-5.4

I'll build ocaml-ocamlnet with this in a moment.

Comment 5 Richard W.M. Jones 2026-09-16 20:20:48 UTC
Scratch build:
https://koji.fedoraproject.org/koji/taskinfo?taskID=150307884

Comment 6 Richard W.M. Jones 2026-09-17 07:38:36 UTC
*** Bug 2535763 has been marked as a duplicate of this bug. ***

Comment 7 Richard W.M. Jones 2026-09-17 07:43:49 UTC
Fixed in ocaml-ocamlnet-4.1.9-36.fc46

Comment 8 Fedora Update System 2026-09-17 07:45:35 UTC
FEDORA-2026-4bd8d2bb10 (ocaml-ocamlnet-4.1.9-36.fc46) has been submitted as an update to Fedora 46.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-4bd8d2bb10

Comment 9 Fedora Update System 2026-09-17 07:49:36 UTC
FEDORA-2026-4bd8d2bb10 (ocaml-ocamlnet-4.1.9-36.fc46) has been pushed to the Fedora 46 stable repository.
If problem still persists, please make note of it in this bug report.