Re: problem building gstreamer1-plugins-bad

From: Milan Obuch <freebsd-multimedia_at_dino.sk>
Date: Fri, 14 Apr 2023 02:42:44 UTC
On Thu, 13 Apr 2023 21:00:49 -0400
Robert Huff <roberthuff@rcn.com> wrote:

> Hello:
> 	On a system running:
> 
> FreeBSD 14.0-CURRENT #0 main-f0a15aafcb
> Mon Oct 31 08:19:54 EDT 2022
> amd64
> 
> 	with the port tree and installed ports updated nightly,
> gstreamer1-plugins-bad fail to compile with:

[ snip ]

> [ 10% 67/665] /usr/local/bin/meson --internal symbolextractor
> /data/port-work/usr/ports/multimedia/gstreamer1-plugins-bad/work/gst-plugins-bad-1.22.0/_build
> gst-libs/gst/interfaces/libgstphotography-1.0.so.0.2200.0
> gst-libs/gst/interfaces/libgstphotography-1.0.so.0.2200.0
> gst-libs/gst/interfaces/libgstphotography-1.0.so.0.2200.0.p/libgstphotography-1.0.so.0.2200.0.symbols
> ninja: build stopped: subcommand failed. ===> Compilation failed
> unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before
> reporting the failure to the maintainer. *** Error code 1
> 
> 	Is this something I've screwed up?
> 	If so - how do I fix it?
> 

This is described in 20221015 entry in UPDATING (/usr/ports/UPDATING) -
in a nutshell, there is probably change in some header file making some
collision using already installed header file instead of the one
comming from sources being compiled. I just encountered it as well, it
is possible to overcome it by removing the old one using

pkg delete -f gstreamer1-plugins-bad-1.20.6

and then doing the build, in my case with

portmaster multimedia/gstreamer1-plugins-bad

but use what are used to use here instead :)

Regards,
Milan