Re: From -cratch poudriere bulk -a then another bulk -a (no git fetch or such first): 2nd reports some deletes for new dependencies

From: Edward Sanford Sutton, III <mirror176_at_hotmail.com>
Date: Fri, 10 Nov 2023 21:36:36 UTC
On 11/9/23 20:13, Mark Millard wrote:
> The "bulk -a" after the from-scratch "bulk -a" reported the following
> deletes:
> 
> [00:00:39] Checking packages for incremental rebuild needs
> [00:00:39] Deleting PrusaSlicer-2.6.0_4.pkg: new dependency: multimedia/ffmpeg

   Reruns rebuilding successfully built ports when no tree option 
changes have happened have just been bad dependencies that I have 
experienced+narrowed down. I presume similar issues of dependency lines 
being incorrectly satisfied during build at least for that case.
   The only one of your list I have built has `pkg info -R PrusaSlicer` 
show it was libavcodec.so.58 from ffmpeg4 which came in from a build I 
did Aug 8th. A more recent build log (not installed) helped me see that 
dependency opencascade brings in ffmpeg4 which includes libavcodec.so.58 
instead of libavcodec.so.60 so 
'LIB_DEPENDS=libavcodec.so:multimedia/ffmpeg' dependency line will pass 
while multimedia/ffmpeg is not being installed. Wish I better knew 
libraries and their proper use+issues but figure PrusaSlicer should use 
library dependency libavcodec.so.60:multimedia/ffmpeg to force it or be 
set to ffmpeg4.
   A separate issue, but unfortunately I am unable to test PrusaSlicer 
builds due to 'ld-elf.so.1: /usr/local/lib/libwx_gtk3u_gl-3.2.so.0: 
Undefined symbol "eglGetPlatformDisplay"' which seemed to be caused by 
partial implementation from nvidia-driver-390-390.154 and mesa(I forget, 
haven't looked into for a while?) not wanting to handle it so it was 
left up to each impacted program implementing workarounds to support 
older hardware such as my NVIDIA GTX570.

> [00:00:40] Deleting adios2-2.9.1.pkg: new dependency: net/mpich
> [00:00:41] Deleting chrono-physics-simulation-engine-8.0.0_3.pkg: new dependency: net/openmpi
> [00:00:45] Deleting gqrx-qt6-2.17.2_1,1.pkg: stale package: unwanted origin comms/gqrx@qt6
> [00:00:51] Deleting netmagis-www-2.3.6_1.pkg: ABI changed: 'FreeBSD:15:amd64' -> 'FreeBSD:15:*'
> [00:00:51] Deleting netmagis-topo-2.3.6_1.pkg: ABI changed: 'FreeBSD:15:amd64' -> 'FreeBSD:15:*'
> [00:00:55] Deleting p5-Module-Install-TestBase-0.86_1.pkg: ABI changed: 'FreeBSD:15:amd64' -> 'FreeBSD:15:*'
> [00:01:05] Deleting qutebrowser-3.0.0.pkg: stale package: unwanted origin www/qutebrowser@qt6
> [00:01:10] Deleting transcrypt-2.2.3.pkg: new dependency: editors/vim
> [00:01:15] Deleting p5-POE-Component-Client-Twitter-0.01_3.pkg: missing dependency: p5-Module-Install-TestBase-0.86_1
> 
> Both "bulk -a" runs are based on:
> 
> # ~/fbsd-based-on-what-commit.sh -C /usr/ports
> 6ec8e3450b29 (HEAD -> main, freebsd/main, freebsd/HEAD) devel/sdts++: Mark DEPRECATED
> Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
> Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
> CommitDate: 2023-10-21 19:01:38 +0000
> branch: main
> merge-base: 6ec8e3450b29462a590d09fb0b07ed214d456bd5
> merge-base: CommitDate: 2023-10-21 19:01:38 +0000
> n637598 (--first-parent --count for merge-base)
> 
> The /usr/ports/ was not changed between the runs.
> /usr/ports/distfiles/ had been left alone between
> as well. (Fetching for previous fetch failures is
> a possibility, however.)
> 
> I reran again and got (again, other than timing details):
> 
> [00:00:39] Checking packages for incremental rebuild needs
> [00:00:39] Deleting PrusaSlicer-2.6.0_4.pkg: new dependency: multimedia/ffmpeg
> [00:00:40] Deleting adios2-2.9.1.pkg: new dependency: net/mpich
> [00:00:42] Deleting chrono-physics-simulation-engine-8.0.0_3.pkg: new dependency: net/openmpi
> [00:00:44] Deleting gqrx-qt6-2.17.2_1,1.pkg: stale package: unwanted origin comms/gqrx@qt6
> [00:00:48] Deleting netmagis-topo-2.3.6_1.pkg: ABI changed: 'FreeBSD:15:amd64' -> 'FreeBSD:15:*'
> [00:00:48] Deleting netmagis-www-2.3.6_1.pkg: ABI changed: 'FreeBSD:15:amd64' -> 'FreeBSD:15:*'
> [00:00:51] Deleting p5-Module-Install-TestBase-0.86_1.pkg: ABI changed: 'FreeBSD:15:amd64' -> 'FreeBSD:15:*'
> [00:00:58] Deleting qutebrowser-3.0.0.pkg: stale package: unwanted origin www/qutebrowser@qt6
> [00:01:01] Deleting transcrypt-2.2.3.pkg: new dependency: editors/vim
> [00:01:05] Deleting p5-POE-Component-Client-Twitter-0.01_3.pkg: missing dependency: p5-Module-Install-TestBase-0.86_1
> 
> These ports are deleted and built each time.
> 
> For reference:
> 
> # poudriere version
> poudriere-git-3.3.99.20220831_3
> 
> # uname -apKU
> FreeBSD amd64-ZFS 15.0-CURRENT FreeBSD 15.0-CURRENT #126 main-n266130-d521abdff236-dirty: Tue Oct 24 18:17:40 PDT 2023     root@amd64-ZFS:/usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/sys/GENERIC-NODBG amd64 amd64 1500002 1500002
> 
> 
> ===
> Mark Millard
> marklmi at yahoo.com
> 
>