[Bug 258859] lang/ocaml: lib/ocaml/ld.conf checksum mismatches and failure on upgrades

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 02 Oct 2021 09:04:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258859

            Bug ID: 258859
           Summary: lang/ocaml: lib/ocaml/ld.conf checksum mismatches and
                    failure on upgrades
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: mandree@FreeBSD.org
                CC: michipili@gmail.com
             Flags: maintainer-feedback?(michipili@gmail.com)
                CC: michipili@gmail.com

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

-- 
You are receiving this mail because:
You are the assignee for the bug.