Bug 245909 - multimedia/qt5-multimedia: spuriously picks up dependency on libgstgl-1.0.so.0 if graphics/gstreamer1-plugins-gl is installed during compile
Summary: multimedia/qt5-multimedia: spuriously picks up dependency on libgstgl-1.0.so....
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-25 13:39 UTC by Martin Birgmeier
Modified: 2021-10-07 13:00 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Birgmeier 2020-04-25 13:39:37 UTC
Scenario:
- Updating ports using portmaster
- ports tree at r532912
- building packages
- updating a third machine using these packages

Result:
- The following files dynamically link to libgstgl-1.0.so.0 which is not installed:

/usr/local/lib/libgstgl-1.0.so.0        6
        /usr/local/lib/qt5/plugins/mediaservice/libgstcamerabin.so
        /usr/local/lib/qt5/plugins/mediaservice/libgstmediacapture.so
        /usr/local/lib/qt5/plugins/mediaservice/libgstmediaplayer.so
        /usr/local/lib/qt5/plugins/mediaservice/libgstaudiodecoder.so
        /usr/local/lib/qt5/libQt5MultimediaGstTools.so.5.14.2
        /usr/local/lib/gstreamer-1.0/libgstopengl.so

- This is not marked as a dependency of multimedia/qt5-multimedia

Expected result:
- The dependency should be noted in the package or explicitly suppressed during the build.

-- Martin
Comment 1 commit-hook freebsd_committer freebsd_triage 2021-10-07 12:44:42 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=03f9e999b6e831bbfa2099ea6994e5231a164164

commit 03f9e999b6e831bbfa2099ea6994e5231a164164
Author:     Adriaan de Groot <adridg@FreeBSD.org>
AuthorDate: 2021-10-04 20:25:19 +0000
Commit:     Adriaan de Groot <adridg@FreeBSD.org>
CommitDate: 2021-10-07 12:44:08 +0000

    multimedia/qt5-multimedia: avoid gstreamer-gl

    While qt5-multimedia **works** with gstreamer-gl, it's unexpected,
    and not listed as a dependency. Sabotage the detection of gstreamer-gl
    by breaking the include path it looks for.

    We might consider adding gstreamer-gl to the dependencies, to
    get better overall GL support, but that's a more involved change.

    PR:             245909
    Reported by:    Martin Birgmeier

 multimedia/qt5-multimedia/Makefile                        |  2 +-
 .../files/patch-src_multimedia_configure.json             | 15 +++++++++++++--
 2 files changed, 14 insertions(+), 3 deletions(-)