Bug 268560 - can't install audio/gstreamer1-plugins-ogg
Summary: can't install audio/gstreamer1-plugins-ogg
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-multimedia (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-25 19:52 UTC by gja822
Modified: 2023-02-02 10:10 UTC (History)
2 users (show)

See Also:
riggs: maintainer-feedback+
tijl: merge-quarterly+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gja822 2022-12-25 19:52:11 UTC
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?
Comment 1 gja822 2023-01-02 09:36:43 UTC
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
Comment 2 Tijl Coosemans freebsd_committer freebsd_triage 2023-01-04 14:27:05 UTC
I suspect you have libtremor installed.  Is it possible to delete that package or is it required by something?
Comment 3 gja822 2023-01-05 08:03:45 UTC
(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!
Comment 4 Tijl Coosemans freebsd_committer freebsd_triage 2023-01-13 21:42:57 UTC
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.
Comment 5 Thomas Zander freebsd_committer freebsd_triage 2023-01-14 09:10:20 UTC
(In reply to Tijl Coosemans from comment #4)

Looks like you're right. Thanks for the heads up. Taking a look...
Comment 6 commit-hook freebsd_committer freebsd_triage 2023-01-14 10:20:55 UTC
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(+)
Comment 7 commit-hook freebsd_committer freebsd_triage 2023-01-14 10:22:57 UTC
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(+)