Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 779784 - dev-libs/gjs-1.68.0 - ../.../cairo-private.h: error: expected ; after class definition
Summary: dev-libs/gjs-1.68.0 - ../.../cairo-private.h: error: expected ; after class d...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://gitlab.gnome.org/GNOME/gjs/-/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-02 08:08 UTC by Toralf Förster
Modified: 2021-04-18 15:36 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.67 KB, text/plain)
2021-04-02 08:09 UTC, Toralf Förster
Details
dev-libs:gjs-1.68.0:20210401-220256.log (dev-libs:gjs-1.68.0:20210401-220256.log,63.67 KB, text/plain)
2021-04-02 08:09 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,167.05 KB, text/plain)
2021-04-02 08:09 UTC, Toralf Förster
Details
environment (environment,91.67 KB, text/plain)
2021-04-02 08:09 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,18.25 KB, application/x-bzip)
2021-04-02 08:09 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,25.15 KB, application/x-bzip)
2021-04-02 08:09 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 2021-04-02 08:08:59 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2021-04-02 08:09:00 UTC
Created attachment 696921 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-02 08:09:02 UTC
Created attachment 696924 [details]
dev-libs:gjs-1.68.0:20210401-220256.log
Comment 3 Toralf Förster gentoo-dev 2021-04-02 08:09:04 UTC
Created attachment 696927 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-04-02 08:09:05 UTC
Created attachment 696930 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-04-02 08:09:06 UTC
Created attachment 696933 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-04-02 08:09:07 UTC
Created attachment 696936 [details]
temp.tar.bz2
Comment 7 Matt Turner gentoo-dev 2021-04-03 00:41:47 UTC
Looks like this will occur if Cairo is built without one of the PS, PDF, or SVG backends.

Merge request submitted upstream.
Comment 8 Matt Turner gentoo-dev 2021-04-03 00:45:54 UTC
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
Comment 9 Larry the Git Cow gentoo-dev 2021-04-18 15:36:11 UTC
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(-)