Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 670792

Summary: media-video/totem-3.26.0[introspection,vala]: Parallel building fails
Product: Gentoo Linux Reporter: Arfrever Frehtes Taifersar Arahesis <arfrever.fta>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED OBSOLETE    
Severity: normal CC: gstreamer, jstein, media-video
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 670790    
Bug Blocks: 351559    
Attachments: Patch for gnome repository

Description Arfrever Frehtes Taifersar Arahesis 2018-11-09 21:22:17 UTC
Parallel building of media-video/totem-3.26.0[introspection,vala] fails due to this long-standing bug in Meson:
https://github.com/mesonbuild/meson/issues/1994

Original bug report in Totem:
https://bugzilla.gnome.org/show_bug.cgi?id=786248

Workaround suggested by Totem upstream:
https://bugzilla.gnome.org/show_bug.cgi?id=786248#c16
"""
    Work-around:
    ninja src/Totem-1.0.gir
    ninja
"""


It is better to firstly fix bug #670790, which will allow to write code in ebuild in more convenient way.
Comment 1 Arfrever Frehtes Taifersar Arahesis 2018-11-09 21:26:26 UTC
Created attachment 554706 [details, diff]
Patch for gnome repository
Comment 2 Arfrever Frehtes Taifersar Arahesis 2018-11-10 23:08:08 UTC
Mart Raudsepp implied in bug #670790 that gnome-meson.eclass is deprecated.
If so, then the change in ebuild should be:
+src_compile() {
+	# Workaround for bug in Meson
+	# https://github.com/mesonbuild/meson/issues/1994
+	# https://bugzilla.gnome.org/show_bug.cgi?id=786248
+	meson_src_compile src/Totem-1.0.gir
+	meson_src_compile
+}
Comment 3 Matt Turner gentoo-dev 2021-04-16 16:57:03 UTC
totem has neither vala nor introspection USE flags today.