Re: pkg-2.4.1 broken?
Tatsuki Makino <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.ports |
|---|---|
| Message-ID | <SI2PR01MB503611B1777C2C51D3EDDC10FAC2A@SI2PR01MB5036.apcprd01.prod.exchangelabs.com> |
Hallo.
On 2025/11/05 20:35, Jan Henrik Sylvester wrote:
> On 11/5/25 1:23 AM, Tatsuki Makino wrote:
>> portmaster is merely one of the entities through which that operation is carried out.
>
> I do not think so. Line 3913 and following of portmaster explicitly removes /usr/local/lib/compat/pkg (in many cases):
Ah, you're right.
In most cases, when the contents of the ${LOCALBASE}/lib/compat/pkg directory are empty, it is pruned by mtree which is run by the stage-dir target.
Only in the case of pkg (and pkg-devel), it will be recreated after that happens, so it will be deleted again by that part of portmaster.
I haven't been able to check it because my directory often has something in it :)
Regards.