[Bug 268652] Qt5: Some apps fails to start after upgrading to 5.15.8

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 23 Jan 2023 22:05:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268652

--- Comment #51 from Tomoaki AOKI <junchoon@dec.sakura.ne.jp> ---
(In reply to Dima Panov from comment #50)

There ares some reasons, inteltional and non-intentional.

The intentional reasons are
  *I don't want old packages deleted to easily switch back to old version.
   This is useful when updated port is consisted with a few packages and
   updated version doesn't work as expected.
   Poudriere deletes old package first not to pull them in as dependencies.

 *I don't know enogh for pkg repo hierarchy and its local cache, especially
metadata.

The non-intentional reason is that I didn't notice the configuration you first
noted is in the handbook at the moment. I could find the example using local
web server on poudriere website.

And the second configuration is not my option, as for some cases I want to use
official pkg, especially ones pulling in some monster like electron* that only
one port to try requires. When I wanted to try vscode, it requires electron to
build, but not to run.
(If multiple apps require the same version of electron, I would not hesitate to
build it on poudriere jail. Electron doesn't build with `make` or `pkg_replace`
if default node is installed.)
`pkg_replace -PP` handles this situation well, first looks for
/usr/ports/packages/All/ as local cache, and if none, try official repo.

-- 
You are receiving this mail because:
You are on the CC list for the bug.