Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#62921 - [ocaml-compiler-libs] Missing *.cmx files cause build failure in dependent software

Attached to Project: Arch Linux
Opened by Jakob Gahde (J5lx) - Monday, 17 June 2019, 20:55 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 11 December 2019, 07:24 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description: In January, the package was updated to “use same layout as Fedora RPMs”[1]. For some reason, this change also modified the package to no longer include certain files, including *.cmx files, even though those do seem to be present in Fedora RPMs[2] and are also included in most other OCaml packages in Arch Linux. This leads to a build failure in version 5.2.2 of OCaml package ppx_tools_versioned[3] when it tries to link against the modules Location and Longident included in this package:

File "_none_", line 1:
Error (warning 58): no cmx file was found in path for module Location, and its interface was not compiled with -opaque
File "_none_", line 1:
Error (warning 58): no cmx file was found in path for module Longident, and its interface was not compiled with -opaque

Additional info:
* package version: 4.07.1-1

Steps to reproduce:
* Attempt to build ppx_tools_versioned[3], for instance through the AUR package ocaml-ppx_tools_versioned[4]. The build will fail with the error message included above.

[1] https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/ocaml&id=bdbfd0011e5d31a8a7680c54698a49f092eb8d72
[2] https://apps.fedoraproject.org/packages/ocaml-compiler-libs/contents
[3] https://github.com/ocaml-ppx/ppx_tools_versioned
[4] https://aur.archlinux.org/packages/ocaml-ppx_tools_versioned/
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Wednesday, 11 December 2019, 07:24 GMT
Reason for closing:  Fixed
Additional comments about closing:  ocaml-compiler-libs 4.09.0-2
Comment by Marco (bock) - Monday, 17 June 2019, 21:39 GMT
This is a severe defiency. The compiler libs are necessary:

Error (warning 58): no cmx file was found in path for module Longident, and its interface was not compiled with -opaque

Loading...