Re: pkg-2.4.1 broken?
Jan Henrik Sylvester <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.ports |
|---|---|
| Message-ID | <[email protected]> |
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): [ -z "$temp" ] && temp=`find $LOCALBASE_COMPAT -type d -empty 2>/dev/null` if pm_isdir "$temp"; then pm_sv Deleting the empty $LOCALBASE_COMPAT pm_rmdir_s $temp fi unset temp After that, you cannot create a package of pkg anymore. (If you let portmaster itself create a package in the same run, it happens before that line.) BTW: I was trying to output the verbose message to see when it happens, but pm_sv needs PM_SU_VERBOSE to be set, which is never set by portmaster, but unset at the beginning if you are root. (And I should stop looking here, because the find command should probably have a depth 0 check...) Best, Jan Henrik