During upgrade I've encountered a problem with audio/gstreamer1-plugins-ogg. I've tried to deinstall and install again existing gstreamer1 ports, and now I have these installed: gstreamer1-1.20.5 gstreamer1-libav-1.20.5 gstreamer1-plugins-1.20.5 gstreamer1-plugins-a52dec-1.20.5 gstreamer1-plugins-bad-1.20.5 gstreamer1-plugins-dts-1.20.5 gstreamer1-plugins-dvdread-1.20.5 gstreamer1-plugins-good-1.20.5 gstreamer1-plugins-jpeg-1.20.5 gstreamer1-plugins-mpg123-1.20.5 gstreamer1-plugins-png-1.20.5 gstreamer1-plugins-soup-1.20.5 gstreamer1-plugins-ugly-1.20.5 gstreamer1-plugins-v4l2-1.20.5 gstreamer1-plugins-vpx-1.20.5 gstreamer1-vaapi-1.20.5 But when I need www/qt5-webkit it pulls in audio/gstreamer1-plugins-ogg which can't be built for me. ---------- Run-time dependency vorbisidec found: YES 1.2.1 ext/vorbis/meson.build:46:2: ERROR: Unknown variable "audio_dep". A full log can be found at /usr/ports/audio/gstreamer1-plugins-ogg/work/gst-plugins-base-1.20.5/_build/meson-logs/meson-log.txt WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated. ===> Script "configure" failed unexpectedly. Please report the problem to multimedia@FreeBSD.org [maintainer] and attach the "/usr/ports/audio/gstreamer1-plugins-ogg/work/gst-plugins-base-1.20.5/_build/meson-logs/meson-log.txt" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 Stop. ---------- What's the right way to cope with gstreamer1, when I'm building from ports?
The same for me (12.4-STABLE FreeBSD 12.4-STABLE r372806 amd64) in other ports: Run-time dependency vorbisidec found: YES 1.2.1 ext/vorbis/meson.build:46:2: ERROR: Unknown variable "audio_dep". A full log can be found at /usr/ports/graphics/gstreamer1-plugins-gl/work/gst-plugins-base-1.20.5/_build/meson-logs/meson-log.txt WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated. ===> Script "configure" failed unexpectedly. Please report the problem to multimedia@FreeBSD.org [maintainer] and attach the "/usr/ports/graphics/gstreamer1-plugins-gl/work/gst-plugins-base-1.20.5/_build/meson-logs/meson-log.txt" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 Stop. make[1]: stopped in /usr/ports/graphics/gstreamer1-plugins-gl *** Error code 1 Stop. make: stopped in /usr/ports/graphics/gstreamer1-plugins-gl Run-time dependency vorbisidec found: YES 1.2.1 ext/vorbis/meson.build:46:2: ERROR: Unknown variable "audio_dep". A full log can be found at /usr/ports/multimedia/gstreamer1-plugins-theora/work/gst-plugins-base-1.20.5/_build/meson-logs/meson-log.txt WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated. ===> Script "configure" failed unexpectedly. Please report the problem to multimedia@FreeBSD.org [maintainer] and attach the "/usr/ports/multimedia/gstreamer1-plugins-theora/work/gst-plugins-base-1.20.5/_build/meson-logs/meson-log.txt" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 Stop. make: stopped in /usr/ports/multimedia/gstreamer1-plugins-theora Run-time dependency vorbisidec found: YES 1.2.1 ext/vorbis/meson.build:46:2: ERROR: Unknown variable "audio_dep". A full log can be found at /usr/ports/x11-toolkits/gstreamer1-plugins-pango/work/gst-plugins-base-1.20.5/_build/meson-logs/meson-log.txt WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated. ===> Script "configure" failed unexpectedly. Please report the problem to multimedia@FreeBSD.org [maintainer] and attach the "/usr/ports/x11-toolkits/gstreamer1-plugins-pango/work/gst-plugins-base-1.20.5/_build/meson-logs/meson-log.txt" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 Stop. make: stopped in /usr/ports/x11-toolkits/gstreamer1-plugins-pango
I suspect you have libtremor installed. Is it possible to delete that package or is it required by something?
(In reply to Tijl Coosemans from comment #2) Yes, I had audio/libtremor installed. No direct dependencies for it, so deinstallation is almost seamless. Thank you!
Thomas, I think it is a real bug and that it can be fixed by adding tremor to BASE_GST_ALL_PLUGINS in multimedia/gstreamer1-plugins/Makefile.common.
(In reply to Tijl Coosemans from comment #4) Looks like you're right. Thanks for the heads up. Taking a look...
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=192c7ba5fa087b1fc8140cddd58b55f511e0e0e6 commit 192c7ba5fa087b1fc8140cddd58b55f511e0e0e6 Author: Thomas Zander <riggs@FreeBSD.org> AuthorDate: 2023-01-14 10:15:00 +0000 Commit: Thomas Zander <riggs@FreeBSD.org> CommitDate: 2023-01-14 10:20:35 +0000 multimedia/gstreamer1-plugins: Fix build in the presence of tremor Details: If audio/libtremor is installed, the dependency may be picked up by the auto detection. This leads so a build error in gstreamer1-plugins-ogg. This patch explicitly disables tremor in gstreamer-* ports. PR: 268560 Reported by: gja822@narod.ru MFH: 2023Q1 multimedia/gstreamer1-plugins/Makefile.common | 1 + 1 file changed, 1 insertion(+)
A commit in branch 2023Q1 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3d16169112ef1e96ab65d4cf7c84e366b10eeb6f commit 3d16169112ef1e96ab65d4cf7c84e366b10eeb6f Author: Thomas Zander <riggs@FreeBSD.org> AuthorDate: 2023-01-14 10:15:00 +0000 Commit: Thomas Zander <riggs@FreeBSD.org> CommitDate: 2023-01-14 10:21:10 +0000 multimedia/gstreamer1-plugins: Fix build in the presence of tremor Details: If audio/libtremor is installed, the dependency may be picked up by the auto detection. This leads so a build error in gstreamer1-plugins-ogg. This patch explicitly disables tremor in gstreamer-* ports. PR: 268560 Reported by: gja822@narod.ru MFH: 2023Q1 (cherry picked from commit 192c7ba5fa087b1fc8140cddd58b55f511e0e0e6) multimedia/gstreamer1-plugins/Makefile.common | 1 + 1 file changed, 1 insertion(+)