Re: pkg upgrade odity

From: Baptiste Daroussin <bapt_at_freebsd.org>
Date: Tue, 30 Apr 2024 09:59:33 UTC
On Tue 30 Apr 12:23, Tatsuki Makino wrote:
> Hello.
> 
> Baptiste Daroussin wrote on 2024/04/30 08:50:
> > Le 29 avril 2024 22:33:09 GMT+02:00, Miroslav Lachman <000.fbsd@quip.cz> a écrit :
> >>
> >> My notes from 2024-04-23:
> >>
> >> # pkg -r /tmp/be_mount.bN62 check -Ba
> >> Checking all packages:
> >> (0ad-0.0.26_23) /usr/local/bin/ActorEditor - required shared library ../../../binaries/system/libAtlasUI.so not found
> >> Checking all packages...
> 
> 
> > pkg check -d is rootdir safe pkg check -B is another beast I haven yet looked at it.
> 
> If that another beast of -B is what you are referring to there, there is this report in Bugzilla.
> https: //bugs.freebsd.org/ bugzilla/show_bug.cgi?id=261550
> I combat that to some extent :)
> 
> The games/0ad/Makefile seems to have a do-install target that could cause that problem.
> But if it is a shared library, such as a plugin used by dynamic loading, then pkg is probably doing too much checking.
> But, I don't know anything about games/0ad, so this opinion of mine is most likely a hazardous guess.
> 
> Regards.
> 

now on the issue, first question regarding both the PR and Miroslav usage why
are you running pkg check -B

There are 0 reason to use it 99% of the time, this is a very specific option
which from what I can read from this PR (and many others) and people notes,
people tends to misused it.

I will probably just remove the -B options from the next release of pkg.

Bapt