In file included from ../gjs-1.68.0/modules/cairo-region.cpp:28: ../gjs-1.68.0/modules/cairo-private.h:376:2: error: expected ‘;’ after class definition 376 | } | ^ | ; ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_systemd-20210327-175744 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.1 [2] x86_64-pc-linux-gnu-10.2.0 * clang version 11.1.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/11/bin /usr/lib/llvm/11 11.1.0 Python 3.8.8 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-1.50.0 * The following VMs are available for generation-2: *) AdoptOpenJDK 8.282_p08 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Thu Apr 1 21:50:49 UTC 2021 emerge -qpvO dev-libs/gjs [ebuild N ] dev-libs/gjs-1.68.0 USE="cairo readline -examples -gtk -sysprof -test"
Created attachment 696921 [details] emerge-info.txt
Created attachment 696924 [details] dev-libs:gjs-1.68.0:20210401-220256.log
Created attachment 696927 [details] emerge-history.txt
Created attachment 696930 [details] environment
Created attachment 696933 [details] etc.portage.tar.bz2
Created attachment 696936 [details] temp.tar.bz2
Looks like this will occur if Cairo is built without one of the PS, PDF, or SVG backends. Merge request submitted upstream.
The fallback paths must not have been tested, so there may be other problems. If you could, please test the patch: https://gitlab.gnome.org/GNOME/gjs/-/merge_requests/599.patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=701b1fbcf52aa77f13090a8ec906321290a73dcf commit 701b1fbcf52aa77f13090a8ec906321290a73dcf Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2021-04-18 15:34:54 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2021-04-18 15:36:05 +0000 dev-libs/gjs: Depend on cairo[svg] cairo's IUSE=svg is default-enabled, and as seen by the bug report its presence changes how gjs is compiled. Simply require it. Closes: https://bugs.gentoo.org/779784 Signed-off-by: Matt Turner <mattst88@gentoo.org> dev-libs/gjs/gjs-1.68.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)