Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934582 - dev-qt/qtmultimedia-6.7.2[gstreamer,-v4l]: undefined references to QGstreamerCustomCamera
Summary: dev-qt/qtmultimedia-6.7.2[gstreamer,-v4l]: undefined references to QGstreamer...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard: workaround applied
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-06-20 02:07 UTC by Aliaksei Urbanski
Modified: 2024-06-20 07:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log.gz,14.34 KB, application/gzip)
2024-06-20 02:20 UTC, Aliaksei Urbanski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aliaksei Urbanski 2024-06-20 02:07:02 UTC
Hello everyone,

It's not possible to build Qt Multimedia 6.7.2 with GStreamer but with no V4L.

Reproducible: Always

Steps to Reproduce:
USE="gstreamer -v4l" emerge =dev-qt/qtmultimedia-6.7.2
Actual Results:  
Build fails due to undefined references to QGstreamerCustomCamera.

Expected Results:  
dev-qt/qtmultimedia-6.7.2 has been built and installed.

The bug was introduced in https://code.qt.io/cgit/qt/qtmultimedia.git/commit/?id=19dad4ec5
(cherry picked from https://code.qt.io/cgit/qt/qtmultimedia.git/commit/?id=f865bbd6)
Comment 1 Ionen Wolkens gentoo-dev 2024-06-20 02:13:39 UTC
Please emerge --sync, v4l already been forced as a workaround in [1].

I'll leave this open until properly resolved though.

[1] https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea66dd695e44
Comment 2 Ionen Wolkens gentoo-dev 2024-06-20 02:18:48 UTC
Also been debating whether it's worth being optional at all given this has no extra dependencies beside linux-headers and is trivial to build (doesn't use libv4l). Albeit non-linux prefixes could be a concern.
Comment 3 Aliaksei Urbanski 2024-06-20 02:20:22 UTC
Created attachment 896123 [details]
build log
Comment 4 Larry the Git Cow gentoo-dev 2024-06-20 07:59:33 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a531b45362dc7f478d5d449307df33c32ba4a41c

commit a531b45362dc7f478d5d449307df33c32ba4a41c
Author:     Aliaksei Urbanski <aliaksei.urbanski@gmail.com>
AuthorDate: 2024-06-20 02:33:54 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2024-06-20 07:58:46 +0000

    dev-qt/qtmultimedia: fix build with [gstreamer,-v4l]
    
    Closes: https://bugs.gentoo.org/934582
    Signed-off-by: Aliaksei Urbanski <aliaksei.urbanski@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/37221
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 .../files/qtmultimedia-6.7.2-gstreamer-no-v4l.patch  | 20 ++++++++++++++++++++
 dev-qt/qtmultimedia/qtmultimedia-6.7.2.ebuild        |  4 ++++
 profiles/base/package.use.force                      |  5 -----
 3 files changed, 24 insertions(+), 5 deletions(-)