Re: Missing file in ports-mgmt/pkg

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Sat, 21 Aug 2021 04:36:40 UTC
On Fri, Aug 20, 2021 at 09:25:26AM -0400, D'Arcy Cain wrote:
> I keep getting the following error when creating a package from installed.
> 
>   pkg: lstat(/usr/local/lib/compat/pkg): No such file or directory
> 
> I fixed this by removing "@dir lib/compat/pkg" from pkg-plist.  Was that the
> correct way to fix this or is that file supposed to exist?
> 

We would need more information about your setup, the port makefile is actually
creating the lib/compat/pkg so it should not be missing.

Best regards,
Bapt