FS#51982 - [ocaml-findlib]

Attached to Project: Community Packages
Opened by Jeffrey E. Bedard (jefbed) - Monday, 28 November 2016, 02:35 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 28 November 2016, 16:05 GMT
Task Type Bug Report
Category Packages
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 0
Private No

Details

Description:
No binary packages were available, so built with makepkg from abs.
Installation of package built with makepkg indicates a conflict with file "/usr/lib/ocaml/ocamlbuild/META".
Patch with fix attached.

Additional info:
* package version(s) 1.6.3-1

Steps to reproduce:
makepkg -sicCf
This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 28 November 2016, 16:05 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Referenced file is not in package
Comment by Doug Newgard (Scimmia) - Monday, 28 November 2016, 05:08 GMT
You need way more info than this. Why were no binary packages available? What is this conflicting with?

Edit: I don't even see the file in question in the package, so it's probably a byproduct of you not building in a clean chroot.
Comment by Jeffrey E. Bedard (jefbed) - Monday, 28 November 2016, 11:33 GMT
No binary packages were available because none were on the Arch Linux mirrors from which pacman was trying to download ocaml-findlib.

dell:/home/jefbed$ pacman -Qo /usr/lib/ocaml/ocamlbuild/META
/usr/lib/ocaml/ocamlbuild/META is owned by ocamlbuild 0.9.3-1Q

The -cC flags to makepkg ensure building in a clean chroot, deleting the build directory before and after build.

ocamlbuild, an ocaml build tool, is regenerating one of its own files at build time, pulling it into this package.

Failure log before fix, tail:

error: failed to commit transaction (conflicting files)
ocaml-findlib: /usr/lib/ocaml/ocamlbuild/META exists in filesystem
Errors occurred, no packages were upgraded.
==> WARNING: Failed to install built package(s).
==> Cleaning up...
abs:/home/abs/ocaml-findlib$

Loading...