Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917001 - media-libs/gst-plugins-bad-1.22.3-r3 - ../.../meson.build: ERROR: Dependency gudev-1.0 not found, tried pkgconfig and cmake
Summary: media-libs/gst-plugins-bad-1.22.3-r3 - ../.../meson.build: ERROR: Dependency ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: GStreamer package maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-07 13:55 UTC by Toralf Förster
Modified: 2023-11-08 09:09 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.46 KB, text/plain)
2023-11-07 13:55 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,134.15 KB, text/plain)
2023-11-07 13:55 UTC, Toralf Förster
Details
environment (environment,131.54 KB, text/plain)
2023-11-07 13:55 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.05 KB, application/x-xz)
2023-11-07 13:55 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,21.50 KB, application/x-xz)
2023-11-07 13:55 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,9.58 KB, application/x-xz)
2023-11-07 13:55 UTC, Toralf Förster
Details
media-libs:gst-plugins-bad-1.22.3-r3:20231107-131346.log (media-libs:gst-plugins-bad-1.22.3-r3:20231107-131346.log,19.72 KB, text/plain)
2023-11-07 13:55 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,210.57 KB, text/plain)
2023-11-07 13:56 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,32.53 KB, application/x-xz)
2023-11-07 13:56 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-11-07 13:55:50 UTC
Library lumin_rt_app_1_7 skipped: feature magicleap disabled
Run-time dependency vpl found: YES 2.9
../gst-plugins-bad-1.22.3/sys/msdk/meson.build:175: DEPRECATION: configuration_data.set10 with number. the `set10` method should only be used with booleans
Library dl found: YES
Run-time dependency gudev-1.0 found: NO (tried pkgconfig and cmake)

../gst-plugins-bad-1.22.3/sys/msdk/meson.build:187:17: ERROR: Dependency "gudev-1.0" not found, tried pkgconfig and cmake

A full log can be found at /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3-r3/work/gst-plugins-bad-1.22.3-abi_x86_64.amd64/meson-logs/meson-log.txt

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_systemd-20231105-204015

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.4
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.4
Python 3.11.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
2)	Eclipse Temurin JRE 21.0.1_p12 [openjdk-jre-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-jre-bin-21 

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.3 linux/amd64

  HEAD of ::gentoo
commit 3e6c65ebb424c59dd43b436354531f150a8e6963
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Nov 7 12:46:57 2023 +0000

    2023-11-07 12:46:56 UTC

emerge -qpvO media-libs/gst-plugins-bad
[ebuild  N    ] media-libs/gst-plugins-bad-1.22.3-r3  USE="bzip2 egl introspection nls opengl orc qsv -X -gles2 -gtk -test -vaapi -vnc -wayland" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2023-11-07 13:55:51 UTC
Created attachment 874235 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-11-07 13:55:52 UTC
Created attachment 874236 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-11-07 13:55:55 UTC
Created attachment 874237 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-11-07 13:55:55 UTC
Created attachment 874238 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-11-07 13:55:56 UTC
Created attachment 874239 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-11-07 13:55:57 UTC
Created attachment 874240 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-11-07 13:55:58 UTC
Created attachment 874241 [details]
media-libs:gst-plugins-bad-1.22.3-r3:20231107-131346.log
Comment 8 Toralf Förster gentoo-dev 2023-11-07 13:56:00 UTC
Created attachment 874242 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2023-11-07 13:56:02 UTC
Created attachment 874243 [details]
temp.tar.xz
Comment 10 Mart Raudsepp gentoo-dev 2023-11-07 14:12:06 UTC
It shouldn't even be running anything in sys/msdk; some plugin disable option isn't reaching it from eclass I suppose
Comment 11 Mart Raudsepp gentoo-dev 2023-11-07 14:15:22 UTC
ah, no, Andrew enabled it as part of gst-plugins-bad with USE=qsv instead of doing a split package as it should be, and didn't add all the deps.
I guess a split might be a problem separately from those maybe requiring multilib always still?
Comment 12 Nowa Ammerlaan gentoo-dev 2023-11-07 14:47:03 UTC
(In reply to Mart Raudsepp from comment #11)
> ah, no, Andrew enabled it as part of gst-plugins-bad with USE=qsv instead of
> doing a split package as it should be, and didn't add all the deps.
> I guess a split might be a problem separately from those maybe requiring
> multilib always still?

It is my understanding this is supposed to be part of gst-plugins-bad[1], is this not the case?

[1] https://gstreamer.freedesktop.org/documentation/msdk/index.html?gi-language=c
Comment 13 Mart Raudsepp gentoo-dev 2023-11-07 15:02:28 UTC
We split most everything in ext/ and sys/ folder into split packages instead of USE flags.

The bug here is that it doesn't depend on everything that the plugin actually needs - sys/msdk/meson.build has a lot of other dependencies than you've listed for USE=qsv, including libgudev.

But mid-term it should become a media-plugins/gst-plugins-msdk or whatnot instead, though I see there might be some complications with va requirements, etc that would need to look at a bit deeper.
Comment 14 Larry the Git Cow gentoo-dev 2023-11-08 09:08:33 UTC
The bug has been closed via the following commit(s):

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

commit 7f308fd3a36df8846eb170e677f950d51c8cbd5a
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2023-11-08 09:07:24 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2023-11-08 09:08:07 +0000

    media-libs/gst-plugins-bad: add missing deps for USE=qsv
    
    Closes: https://bugs.gentoo.org/917001
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 media-libs/gst-plugins-bad/gst-plugins-bad-1.20.5-r1.ebuild | 7 ++++++-
 media-libs/gst-plugins-bad/gst-plugins-bad-1.20.6.ebuild    | 7 ++++++-
 media-libs/gst-plugins-bad/gst-plugins-bad-1.22.3-r1.ebuild | 7 ++++++-
 media-libs/gst-plugins-bad/gst-plugins-bad-1.22.3-r3.ebuild | 7 ++++++-
 media-libs/gst-plugins-bad/gst-plugins-bad-1.22.3.ebuild    | 7 ++++++-
 5 files changed, 30 insertions(+), 5 deletions(-)
Comment 15 Nowa Ammerlaan gentoo-dev 2023-11-08 09:09:31 UTC
Added the missing dependencies, we can revisit the splitting later. This looks like a bit more work.