Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 791769 - games-board/tetzle-2.1.3 - src/graphics_layer.h: error: expected class-name before { token
Summary: games-board/tetzle-2.1.3 - src/graphics_layer.h: error: expected class-name b...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
: 898474 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-05-24 07:24 UTC by Toralf Förster
Modified: 2023-04-23 06:12 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.33 KB, text/plain)
2021-05-24 07:24 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,176.75 KB, text/plain)
2021-05-24 07:24 UTC, Toralf Förster
Details
environment (environment,59.33 KB, text/plain)
2021-05-24 07:24 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,18.27 KB, application/x-bzip)
2021-05-24 07:24 UTC, Toralf Förster
Details
games-board:tetzle-2.1.3:20210524-054945.log (games-board:tetzle-2.1.3:20210524-054945.log,16.16 KB, text/plain)
2021-05-24 07:24 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,16.49 KB, application/x-bzip)
2021-05-24 07:24 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-05-24 07:24:38 UTC
In file included from src/board.h:23,
                 from src/board.cpp:20:
src/graphics_layer.h:163:1: error: expected class-name before ‘{’ token
  163 | {
      | ^
src/graphics_layer.h:183:1: error: expected class-name before ‘{’ token
  183 | {

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j2-20210521-110813

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.8.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.52.1 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  [1]   php7.3
  [2]   php7.4
  [3]   php8.0 *

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon May 24 04:50:12 UTC 2021

emerge -qpvO games-board/tetzle
[ebuild  N    ] games-board/tetzle-2.1.3
Comment 1 Toralf Förster gentoo-dev 2021-05-24 07:24:39 UTC
Created attachment 710874 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-05-24 07:24:40 UTC
Created attachment 710877 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-05-24 07:24:42 UTC
Created attachment 710880 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-05-24 07:24:43 UTC
Created attachment 710883 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-05-24 07:24:44 UTC
Created attachment 710886 [details]
games-board:tetzle-2.1.3:20210524-054945.log
Comment 6 Toralf Förster gentoo-dev 2021-05-24 07:24:45 UTC
Created attachment 710889 [details]
temp.tar.bz2
Comment 7 Ionen Wolkens gentoo-dev 2021-05-24 20:41:05 UTC
this is caused by qtgui[gles2-only]
Comment 8 Ionen Wolkens gentoo-dev 2023-04-23 04:22:37 UTC
*** Bug 898474 has been marked as a duplicate of this bug. ***
Comment 9 Larry the Git Cow gentoo-dev 2023-04-23 04:45:45 UTC
The bug has been referenced in the following commit(s):

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

commit 431f725f7c25210a360bee09eca37826e38414c4
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2023-04-23 04:29:01 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2023-04-23 04:45:17 +0000

    games-board/tetzle: add 2.2.2 (Qt6-only, masked)
    
    Haven't really at bug #791769 for the old version, but this one
    hard-requires QtOpenGL and shouldn't be affected.
    
    Should be closed whenever Qt6 is unmasked.
    
    Drops ~x86 due to Qt6 for now.
    
    Bug: https://bugs.gentoo.org/791769
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 games-board/tetzle/Manifest            |  1 +
 games-board/tetzle/tetzle-2.2.2.ebuild | 18 ++++++++++++++++++
 profiles/package.mask                  |  1 +
 3 files changed, 20 insertions(+)
Comment 10 Larry the Git Cow gentoo-dev 2023-04-23 06:12:56 UTC
The bug has been closed via the following commit(s):

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

commit 5eaf5225f6a87f724926dfc60ceadaa6318e90ca
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2023-04-23 06:04:20 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2023-04-23 06:12:05 +0000

    games-board/tetzle: depend on qtbase/gui[-gles2-only]
    
    Turns out 2.2.2 still fails to build if that's set.
    
    While at it, also update the old so can hopefully close #791769.
    
    Closes: https://bugs.gentoo.org/791769
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 games-board/tetzle/{tetzle-2.1.3.ebuild => tetzle-2.1.3-r1.ebuild} | 4 ++--
 games-board/tetzle/tetzle-2.2.2.ebuild                             | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)