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

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 14 Oct 2023 06:56:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268652

--- Comment #76 from Tatsuki Makino <tatsuki_makino@hotmail.com> ---
There is an update to the current port tree that may cause this problem again
again :)

The existence of libudev-devd and zstd makes a difference in what qmake
installs, but is not relevant to this problem.
Thus, there is absolutely no need to delete them when updating.

When updating, do not perform operations that break the order as noted in
comment #64.
This would work well if done automatically.

When updating to avoid this problem, use -u option for pkg_replace.

To reproduce this problem, update by pkg_replace without -u option.
After confirming that the problem reproduces, also confirm that the problem is
resolved by deleting the following files.

/usr/local/lib/compat/pkg/libQt5Core.so.5
/usr/local/lib/compat/pkg/libQt5*.so.5


The following is unrelated.
I sometimes delete files in /usr/local/lib/compat/pkg with the following
command.

find -L -d -s -x -- /usr/local/lib/compat/pkg/ \( -type d -empty -or -type l
-or -not -type d -atime +4w \) -exec rm -i -r -v -- {} \;

This is exactly what I am using, but in this case even the directory of
...lib/compat/pkg is deleted, so -mindepth 1 may be necessary :)

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