from /var/tmp/portage/games-util/antimicro-2.20.2/work/antimicro-2.20.2/src/inputdevice.h:28, from /var/tmp/portage/games-util/antimicro-2.20.2/work/antimicro-2.20.2/src/main.cpp:49: /usr/include/x86_64-pc-linux-gnu/SDL2/SDL_config.h:33:26: fatal error: SDL_platform.h: No such file or directory compilation terminated. make[2]: *** [CMakeFiles/antimicro.dir/build.make:155: CMakeFiles/antimicro.dir/src/main.cpp.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/games-util/antimicro-2.20.2/work/antimicro-2.20.2_build' ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-desktop-plasma_20180224-093310 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-5.4.0 * Available Python interpreters, in order of preference: [1] python3.5 [2] python2.7 (fallback) [3] pypy3 (fallback) Available Ruby profiles: [1] ruby22 (with Rubygems) [2] ruby23 (with Rubygems) * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.6.0 [icedtea-bin-8] 2) JamVM JDK 2.0.0 [jamvm] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm [2] jamvm emerge -qpv games-util/antimicro [ebuild N ] games-util/antimicro-2.20.2
Created attachment 521700 [details] emerge-info.txt
Created attachment 521702 [details] emerge-history.txt
Created attachment 521704 [details] environment
Created attachment 521706 [details] etc.portage.tbz2
Created attachment 521708 [details] games-util:antimicro-2.20.2:20180301-141123.log
Created attachment 521710 [details] logs.tbz2
Created attachment 521712 [details] temp.tbz2
*** Bug 664608 has been marked as a duplicate of this bug. ***
Created attachment 545952 [details, diff] Patch CMakeLists.txt to include SDL2 directories Hi, I'm new here :-D I just tried installing antimicro-2.23 and got the same error, but I was able to fix it by patching the main CMakeLists.txt file. The issue seems to be the same as some other reported bugs (e.g. bug 634470), where the SDL include directories aren't added to the build process. I've attached a patch that fixed this issue for me, who's using SDL2. I'll try to put up a pull request at the AntiMicro github soon, since the problem isn't ultimately gentoo-specific.
(In reply to TB from comment #9) > Created attachment 545952 [details, diff] [details, diff] > Patch CMakeLists.txt to include SDL2 directories > > I've attached a patch that fixed this issue for me, who's using SDL2. > > I'll try to put up a pull request at the AntiMicro github soon, since the > problem isn't ultimately gentoo-specific. Hey, did that ever happen? :)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44408c23a81c88f99ab2ea6a94bae01f1a3e2f19 commit 44408c23a81c88f99ab2ea6a94bae01f1a3e2f19 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-04-05 23:23:34 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-04-05 23:24:34 +0000 games-util/antimicro: include SDL 2 patch Not clear why this doesn't happen for me, but it happened for toralf and a user, which is good enough. Patch is straightforward. Thanks-to: Tim Barnes <tim.barnes@gmail.com> Closes: https://bugs.gentoo.org/649242 Signed-off-by: Sam James <sam@gentoo.org> games-util/antimicro/antimicro-2.23.ebuild | 1 + games-util/antimicro/files/antimicro-2.23-SDL2-include.patch | 12 ++++++++++++ 2 files changed, 13 insertions(+)