Bug 258859 - lang/ocaml: lib/ocaml/ld.conf checksum mismatches and failure on upgrades
Summary: lang/ocaml: lib/ocaml/ld.conf checksum mismatches and failure on upgrades
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-02 09:04 UTC by Matthias Andree
Modified: 2021-10-02 09:04 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (michipili)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Andree freebsd_committer freebsd_triage 2021-10-02 09:04:19 UTC
Greetings,

I see that pkg check reports checksum failures on $PREFIX/lib/ocaml/ld.conf. I propose to rename this on install for bootstrapping and using @sample, to make sure it is not checked, because other packages such as ocaml-lablgtk2 changes this ld.conf file and adds its site-lib path.

Also, a pkg upgrade -f of ocaml alone will destroy ocaml's ld.conf and remove the other paths (not sure if that is catered for), so I would have to use something like the following pipeline to restore a proper ld.conf:

$ pkg info -x ocaml | sudo xargs pkg upgrade -f -y