[MacPorts] #62024: supertuxkart: @1.2_1 build failure on macOS 10.12: static_assert failure, re: SDL_CONTROLLER_BUTTON

MacPorts noreply at macports.org
Sun Jan 10 19:27:26 UTC 2021


#62024: supertuxkart: @1.2_1 build failure on macOS 10.12: static_assert failure,
re: SDL_CONTROLLER_BUTTON
---------------------+--------------------------
 Reporter:  mascguy  |      Owner:  mascguy
     Type:  defect   |     Status:  assigned
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:           |       Port:  supertuxkart
---------------------+--------------------------
 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/62024>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list