FS#75091 - [ocaml-findlib] rebuild required after ocaml update

Attached to Project: Community Packages
Opened by Daniel Peukert (dpeukert) - Thursday, 16 June 2022, 16:16 GMT
Last edited by Alexander F. Rødseth (xyproto) - Saturday, 06 August 2022, 12:21 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

ocaml-findlib needs to be rebuilt to be compatible with the latest ocaml release.

An example error when building ocaml-ppx_deriving from the AUR:

Error: Files /usr/lib/ocaml/findlib/findlib_dynload.cmxa
and /usr/lib/ocaml/dynlink.cmxa
make inconsistent assumptions over implementation Dynlink

After I rebuilt this package (with some changes required to the PKGBUILD, not sure what changed since the last build to require those, diff attached), the build finished without any issues.
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Saturday, 06 August 2022, 12:21 GMT
Reason for closing:  Not a bug
Comment by Daniel Peukert (dpeukert) - Thursday, 16 June 2022, 16:17 GMT
Oops, I misclicked when creating the bug, the severity was supposed to be High.
Comment by Daniel Peukert (dpeukert) - Thursday, 16 June 2022, 17:04 GMT
The diff might need some more work, it enables the package to build, but when trying to build flow from the AUR, findlib complains: Package `unix' not found. I'll try to investigate further.
Comment by Daniel Peukert (dpeukert) - Saturday, 18 June 2022, 22:52 GMT
Disregard the diff, look like the build issue was caused by my machine, when I tried rebuilding the package on a different machine, it went through without any issues.
Comment by Alexander F. Rødseth (xyproto) - Friday, 05 August 2022, 23:02 GMT
Thanks for reporting and for the patch.

ocaml-findlib has been rebuilt 2022-07-31. Is the patch still needed for ocaml-findlib to work correctly?
Comment by Daniel Peukert (dpeukert) - Saturday, 06 August 2022, 10:53 GMT
As far as I can tell it's not, one of my local machines had some sort of broken ocaml install.
Comment by Alexander F. Rødseth (xyproto) - Saturday, 06 August 2022, 12:21 GMT
Thanks for the reply. Closing.

Loading...