Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 761814 - games-action/supertuxkart-1.2 : /.../gamepad_config.cpp: error: static assertion failed: non continous name
Summary: games-action/supertuxkart-1.2 : /.../gamepad_config.cpp: error: static assert...
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:
Depends on:
Blocks:
 
Reported: 2020-12-26 22:31 UTC by Toralf Förster
Modified: 2021-01-02 21:00 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.99 KB, text/plain)
2020-12-26 22:31 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,175.39 KB, text/plain)
2020-12-26 22:32 UTC, Toralf Förster
Details
environment (environment,103.20 KB, text/plain)
2020-12-26 22:32 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,22.33 KB, application/x-bzip)
2020-12-26 22:32 UTC, Toralf Förster
Details
games-action:supertuxkart-1.2:20201224-144606.log (games-action:supertuxkart-1.2:20201224-144606.log,180.43 KB, text/plain)
2020-12-26 22:32 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.66 KB, application/x-bzip)
2020-12-26 22:32 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,30.68 KB, application/x-bzip)
2020-12-26 22:32 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 2020-12-26 22:31:58 UTC
/var/tmp/portage/games-action/supertuxkart-1.2/work/SuperTuxKart-1.2-src/src/input/gamepad_config.cpp:35:45: error: static assertion failed: non continous name
   35 | static_assert(SDL_CONTROLLER_BUTTON_MAX - 1 == SDL_CONTROLLER_BUTTON_DPAD_RIGHT, "non continous name");
      |               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-20201219-115221

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.0.0
Available Python interpreters, in order of preference:
  [1]   python3.9
  [2]   python3.8 (fallback)
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems)
  [2]   ruby26 (with Rubygems)
  [3]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.48.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.272_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu Dec 24 01:44:05 PM UTC 2020

emerge -qpvO games-action/supertuxkart
[ebuild  N    ] games-action/supertuxkart-1.2  USE="-debug -libressl -nettle -recorder -sqlite -wiimote"
Comment 1 Toralf Förster gentoo-dev 2020-12-26 22:31:59 UTC
Created attachment 679626 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-12-26 22:32:01 UTC
Created attachment 679629 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-12-26 22:32:02 UTC
Created attachment 679632 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-12-26 22:32:04 UTC
Created attachment 679635 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-12-26 22:32:05 UTC
Created attachment 679638 [details]
games-action:supertuxkart-1.2:20201224-144606.log
Comment 6 Toralf Förster gentoo-dev 2020-12-26 22:32:06 UTC
Created attachment 679641 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-12-26 22:32:08 UTC
Created attachment 679644 [details]
temp.tbz2
Comment 8 Silvio 2020-12-31 22:12:13 UTC
Same problem here.
Moreover Supertuxkart doesn't work, it hangs as soon as the race starts
Comment 9 Silvio 2021-01-01 17:31:54 UTC
It happens always, in every PC I have.
I think could be a problem with 
x86_64-pc-linux-gnu-10.2.0
any workaround?
Comment 10 James Le Cuirot gentoo-dev 2021-01-01 17:42:02 UTC
I've hit it too but I think it's the recent SDL2 update. Not had a chance to look deeper yet.
Comment 11 Silvio 2021-01-01 17:47:05 UTC
If you want I can do some tests.
Which package have I do downgrade to make a test?
Comment 12 Larry the Git Cow gentoo-dev 2021-01-02 21:00:55 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=288360dc7ce2f968a2f12099edeace3f3ed1a705

commit 288360dc7ce2f968a2f12099edeace3f3ed1a705
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2021-01-02 20:59:21 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2021-01-02 20:59:21 +0000

    games-action/supertuxkart: Fix build with latest SDL2
    
    Closes: https://bugs.gentoo.org/761814
    Package-Manager: Portage-3.0.12, Repoman-3.0.1
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 .../files/supertuxkart-1.2-new-sdl.patch           | 106 +++++++++++++++++++++
 games-action/supertuxkart/supertuxkart-1.2.ebuild  |   3 +-
 2 files changed, 108 insertions(+), 1 deletion(-)