tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: false alert on new pkg_add shlibs check?



On Thu, Oct 17, 2024 at 11:23:02AM -0400, Greg Troxel wrote:
> Sorry, I meant to change the second one to "it's a bug that -f doesn't
> bypass this check".  I don't see how anybody can get past this, and I
> don't think we can argue there won't be bugs in checks, or that people
> won't need to use buggy packages.

Since this additional check was implemented because of a bug report
that caused a pkg_add core dump, I'm against allowing -f to override
this.

The problem is that the package might have an INSTALL that runs a
program that actually needs the REQUIRED library.

Probably one(TM) could also improve that part so that pkg_add doesn't
dump core when an INSTALL script fails to run completely, but that's
not implemented yet and before that I'm against adding the override.
 Thomas


Home | Main Index | Thread Index | Old Index