Bug#952014: freedink: FTBFS: input.cpp:94:15: error: ‘SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH’ was not declared in this scope
On Sun, 23 Feb 2020 at 08:32:42 +0100, Lucas Nussbaum wrote: > During a rebuild of all packages in sid, your package failed to build > on amd64. > > Relevant part (hopefully): > > input.cpp: In function ‘void input_init()’: > > input.cpp:94:15: error: ‘SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH’ was not > > declared in this scope > >94 | SDL_SetHint(SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH, "0"); This appears to have been caused by SDL2 having been upgraded to 2.0.10. >From SDL2's WhatsNew.txt: > * Added the hint SDL_HINT_MOUSE_TOUCH_EVENTS to control whether SDL will > synthesize touch events from mouse events ... > Android: ... > * Removed SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH (replaced by > SDL_HINT_MOUSE_TOUCH_EVENTS and SDL_HINT_TOUCH_MOUSE_EVENTS) > SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH=1, should be replaced by setting > both previous hints to 0. > SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH=0, should be replaced by setting > both previous hints to 1. smcv
Bug#952014: freedink: FTBFS: input.cpp:94:15: error: ‘SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH’ was not declared in this scope
Source: freedink Version: 109.6-2 Severity: serious Justification: FTBFS on amd64 Tags: buster sid Usertags: ftbfs-20200222 ftbfs-buster Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > g++ -DHAVE_CONFIG_H -I. -I.. -DBUILD_DATA_DIR=\"/usr/share/games\" > -I../gnulib/lib -I../gnulib/lib -DLOCALEDIR=\"/usr/share/locale\" -I../intl > -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -Wno-write-strings -Wall > -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong > -Wformat -Werror=format-security -D_REENTRANT -I/usr/include/SDL2 > -I/usr/include/x86_64-linux-gnu/SDL2 -I/usr/include/SDL2 -c -o paths.o > paths.cpp > input.cpp: In function ‘void input_init()’: > input.cpp:94:15: error: ‘SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH’ was not > declared in this scope >94 | SDL_SetHint(SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH, "0"); > | ^ > make[3]: *** [Makefile:2101: input.o] Error 1 The full build log is available from: http://qa-logs.debian.net/2020/02/22/freedink_109.6-2_unstable.log A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! About the archive rebuild: The rebuild was done on EC2 VM instances from Amazon Web Services, using a clean, minimal and up-to-date chroot. Every failed build was retried once to eliminate random failures.