Bug 2535189 - ocaml-ocamlnet fails to build from source
Summary: ocaml-ocamlnet fails to build from source
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ocaml-ocamlnet
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2535763 (view as bug list)
Depends On:
Blocks: F46FailsToInstall, RAWHIDEFailsToInstall
TreeView+ depends on / blocked
 
Reported: 2026-09-16 11:18 UTC by Richard W.M. Jones
Modified: 2026-09-17 07:49 UTC (History)
3 users (show)

Fixed In Version: ocaml-ocamlnet-4.1.9-36.fc46
Clone Of:
Environment:
Last Closed: 2026-09-17 07:49:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch for nettle v4 support (12.74 KB, patch)
2026-09-16 19:56 UTC, Jerry James
no flags Details | Diff

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.


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