Solved gstreamer1-* build failure

The note below from 2022 also applies to today's:

gstreamer1-1.22.10 < needs updating (index has 1.24.8)
gstreamer1-plugins-1.22.10_2 < needs updating (index has 1.24.8)
gstreamer1-plugins-bad-1.22.10_3 < needs updating (index has 1.24.8)
gstreamer1-plugins-gl-1.22.10 < needs updating (index has 1.24.8)

20221015:
AFFECTS: users of gstreamer1-* when upgrading via port builds on the host
AUTHOR: riggs FreeBSD.org

The update of the gstreamer1-* ports to 1.20.3 requires a clean install of
gstreamer1-* ports. In particular, when trying to update ports in-place using
portupgrade or portmaster, the builds are likely to fail due to dependency
mismatches. If this is your preferred update path, you need to deinstall
(pkg delete -f) gstreamer1 and the plugins before reinstalling them from
the ports tree.
Note that pkg upgrade will do the right thing: If you use official FreeBSD
packages or build your own set of packages using poudriere, nothing special
is needed.
 
Thank you! Deleting the package worked, and both the gstreamer1 and the plugins port build now.

However, I do not understand why this fix works, why would removing the package effect the compilation of the port?
 
It works because all the builds now have the same dependencies, otherwise the build fails due to dependency mismatches.
 
Back
Top