Opened 4 years ago
Closed 4 years ago
#62024 closed defect (fixed)
supertuxkart: @1.2_1 build failure: static_assert failure, re: SDL_CONTROLLER_BUTTON
Reported by: | mascguy (Christopher Nielsen) | Owned by: | mascguy (Christopher Nielsen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | supertuxkart |
Description
Build fails on macOS 10.12, with a static_assert
failure. Looks like it could be related to libsdl2
?
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_supertuxkart/supertuxkart/work/supertuxkart-1.2/src/input/gamepad_config.cpp:35:1: error: static_assert failed "non continous name" static_assert(SDL_CONTROLLER_BUTTON_MAX - 1 == SDL_CONTROLLER_BUTTON_DPAD_RIGHT, "non continous name"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make[2]: *** [CMakeFiles/supertuxkart.dir/src/input/gamepad_config.cpp.o] Error 1
Full main.log
attached.
Attachments (1)
Change History (5)
Changed 4 years ago by mascguy (Christopher Nielsen)
Attachment: | supertuxkart-main-log-10.12.txt.gz added |
---|
comment:1 Changed 4 years ago by mascguy (Christopher Nielsen)
comment:2 Changed 4 years ago by mascguy (Christopher Nielsen)
Summary: | supertuxkart: @1.2_1 build failure on macOS 10.12: static_assert failure, re: SDL_CONTROLLER_BUTTON → supertuxkart: @1.2_1 build failure: static_assert failure, re: SDL_CONTROLLER_BUTTON |
---|
comment:3 Changed 4 years ago by mascguy (Christopher Nielsen)
Confirmed that build failures aren't specific to any macOS release.
Pull request created with upstream's patch:
comment:4 Changed 4 years ago by Christopher Nielsen <mascguy@…>
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Looks like upstream has a fix:
https://github.com/supertuxkart/stk-code/commit/61833c9c26da5520f2eaa02f2458971ba07f2aad