Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 670792 - media-video/totem-3.26.0[introspection,vala]: Parallel building fails
Summary: media-video/totem-3.26.0[introspection,vala]: Parallel building fails
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on: 670790
Blocks: parallel-make
  Show dependency tree
 
Reported: 2018-11-09 21:22 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2021-04-16 16:57 UTC (History)
3 users (show)

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


Attachments
Patch for gnome repository (totem.patch,1.98 KB, patch)
2018-11-09 21:26 UTC, Arfrever Frehtes Taifersar Arahesis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.