Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907921 - media-plugins/grilo-plugins: cannot build plugins because of missing opensubtitles dependency
Summary: media-plugins/grilo-plugins: cannot build plugins because of missing opensubt...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-05 21:58 UTC by mrhel
Modified: 2023-06-06 02:24 UTC (History)
0 users

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


Attachments
all the logs that emerge recommends I submit (logs.tar.xz,140.00 KB, application/x-tar)
2023-06-05 21:58 UTC, mrhel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mrhel 2023-06-05 21:58:45 UTC
Created attachment 863361 [details]
all the logs that emerge recommends I submit

When running `emerge gnome`, the merging gets hung up on the grilo-plugins package, saying that there's a missing opensubtitles dependency, and in the list of dependencies in the meson.build file, there is an `unresolvable-dep`, which I've confirmed is in the GNOME repository, so it's not some kind of patch or whatever after downloading the source code. Everything else in gnome will build except for the couple things that depend on this package, and there's no info on what dependencies are missing. Attached are all the logs that emerge recommends I submit.
Comment 1 Greg Kubaryk 2023-06-06 00:09:21 UTC
probably will also want to attach /var/tmp/portage/media-plugins/grilo-plugins-0.3.15/work/grilo-plugins-0.3.15-build/meson-logs/meson-log.txt

is there anything noteworthy about your /var/tmp/portage?
Comment 2 Matt Turner gentoo-dev 2023-06-06 02:16:53 UTC
opensubtitles dependencies are

>     ['opensubtitles', [gio_dep, libsoup24_dep], []],

But your build log shows

> Run-time dependency libsoup-3.0 found: YES 3.4.1

So it's finding libsoup-3.0, and not searching for libsoup-2.4. It chooses the version based on what media-libs/grilo is built against:
> if grilo_net_dep.found()
>   soup_api_version = grilo_net_dep.get_variable('soupapiversion', default_value: '2.4')
> else
>   soup_api_version = '2.4'
> endif
> 
> [...]
> 
> if soup_api_version == '2.4'
>   libsoup_dep = dependency('libsoup-2.4', required: false)
>   libsoup24_dep = libsoup_dep
>   libsoup30_dep = dependency('unresolvable-dep', required: false)
>   libgdata_dep = dependency('libgdata', version: '>= 0.17.0', required: false)
> else
>   libsoup_dep = dependency('libsoup-3.0', required: false)
>   libsoup30_dep = libsoup_dep
>   libsoup24_dep = dependency('unresolvable-dep', required: false)
>   libgdata_dep = dependency('unresolvable-dep', required: false)
> endif

media-libs/grilo-0.3.15 uses libsoup-2.4 and 0.3.16 uses libsoup-3.0. Do you happen to have media-libs/grilo-0.3.16 installed?
Comment 3 Matt Turner gentoo-dev 2023-06-06 02:19:55 UTC
(In reply to Matt Turner from comment #2)
> media-libs/grilo-0.3.15 uses libsoup-2.4 and 0.3.16 uses libsoup-3.0. Do you
> happen to have media-libs/grilo-0.3.16 installed?

Ah, yes. That's almost certainly the problem because grilo-plugins hasn't been stabilized in bug 907626 yet, but grilo has already been stabilized, and I didn't think to put a < dependency in grilo-plugins.
Comment 4 Larry the Git Cow gentoo-dev 2023-06-06 02:24:22 UTC
The bug has been closed via the following commit(s):

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

commit f6abf4bd49420b39f0d4756fd35f05daf490ff0d
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2023-06-06 02:20:58 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2023-06-06 02:24:17 +0000

    media-plugins/grilo-plugins: Depend on same version of grilo
    
    Closes: https://bugs.gentoo.org/907921
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 media-plugins/grilo-plugins/grilo-plugins-0.3.15.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)