Bug#993710: caveexpress: FTBFS with box2d 2.4: fatal error: Box2D/Box2D.h: No such file or directory

Rene Engelhard rene at debian.org
Sun Sep 5 08:54:20 BST 2021


Source: caveexpress
Version: 2.5.1-1
Severity: serious

Hi,

as I said in my post to -release caveexpress doesn't build anymore with the newly
unoddinated(!) upload of box2d 2.4:

[...]

[20%] Building CXX object
src/modules/physics/CMakeFiles/physics.dir/DebugRenderer.cpp.o
cd
/home/rene/LibreOffice/git/master/caveexpress-2.5.1/obj-i686-linux-gnu/src/modules/physics
&& /usr/bin/ccache /usr/bin/c++ -DHAVE_LUA_H
-DPKGDATADIR=\"/usr/share/games\"
-I/home/rene/LibreOffice/git/master/caveexpress-2.5.1/obj-i686-linux-gnu
-I/home/rene/LibreOffice/git/master/caveexpress-2.5.1/src
-I/home/rene/LibreOffice/git/master/caveexpress-2.5.1/src/modules
-I/usr/include/SDL2 -I/usr/include/lua5.2 -I/usr/include/box2d -g -O2
-ffile-prefix-map=/home/rene/LibreOffice/git/master/caveexpress-2.5.1=.
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -std=c++11 -fno-exceptions -fno-rtti -g -O2
-ffile-prefix-map=/home/rene/LibreOffice/git/master/caveexpress-2.5.1=.
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -g -Wcast-qual -Wcast-align -Wpointer-arith
-Wno-long-long -Wno-multichar -Wshadow -Wall -Wextra -Wno-sign-compare
-Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros
-Wno-unknown-pragmas -pthread -Wnon-virtual-dtor -o
CMakeFiles/physics.dir/DebugRenderer.cpp.o -c
/home/rene/LibreOffice/git/master/caveexpress-2.5.1/src/modules/physics/DebugRenderer.cpp
In file included from
/home/rene/LibreOffice/git/master/caveexpress-2.5.1/src/modules/physics/DebugRenderer.cpp:1:
/home/rene/LibreOffice/git/master/caveexpress-2.5.1/src/modules/physics/DebugRenderer.h:7:10:
fatal error: Box2D/Box2D.h: No such file or directory
    7 | #include <Box2D/Box2D.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.

[...]


(That was what i expected and because of which I did
https://cgit.freedesktop.org/libreoffice/core/commit/?id=d0601cd3812cbcdaa0decf81c81d73d41a6ccb91
at LibreOffice upstream long ago.)

Regards,

Rene



More information about the Pkg-games-devel mailing list