Source: ufoai
Version: 2.5-9
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: [email protected]
Dear maintainer,
ufoai FTBFS with mxml 4:
touch release-linux-x86_64/memory/.dirs
===> CXX [memory] src/tools/memory.cpp
"c++" -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/ufoai-2.5=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
-DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations
-Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare
-Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros
-Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE
-D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2
-DNDEBUG -fexpensive-optimizations -fno-strict-aliasing -g -O2
-ffile-prefix-map=/build/reproducible-path/ufoai-2.5=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
-Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT
-Isrc/libs/mxml -c -o release-linux-x86_64/memory/tools/memory.cpp.o
src/tools/memory.cpp -MP -MD -MT release-linux-x86_64/memory/tools/memory.cpp.o
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’
is not valid for C++
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
from /usr/include/stdint.h:26,
from /usr/lib/gcc/x86_64-linux-gnu/15/include/stdint.h:11,
from /usr/include/SDL2/SDL_opengl_glext.h:190,
from /usr/include/SDL2/SDL_opengl.h:2099,
from src/tools/memory.cpp:6:
/usr/include/features.h:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE
are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use
_DEFAULT_SOURCE"
| ^~~~~~~
In file included from src/tools/../common/../shared/shared.h:54,
from src/tools/../common/common.h:30,
from src/tools/memory.cpp:9:
src/tools/../common/../shared/cxx.h:20:43: warning: this use of ‘defined’ may
not be portable [-Wexpansion-to-defined]
20 | #if CXX11(4, 4, 0, cxx_defaulted_functions)
| ^
src/tools/../common/../shared/cxx.h:20:43: warning: this use of ‘defined’ may
not be portable [-Wexpansion-to-defined]
src/tools/../common/../shared/cxx.h:20:43: warning: this use of ‘defined’ may
not be portable [-Wexpansion-to-defined]
src/tools/../common/../shared/cxx.h:26:41: warning: this use of ‘defined’ may
not be portable [-Wexpansion-to-defined]
26 | #if CXX11(4, 4, 0, cxx_deleted_functions)
| ^
src/tools/../common/../shared/cxx.h:26:41: warning: this use of ‘defined’ may
not be portable [-Wexpansion-to-defined]
src/tools/../common/../shared/cxx.h:26:41: warning: this use of ‘defined’ may
not be portable [-Wexpansion-to-defined]
src/tools/../common/../shared/cxx.h:32:47: warning: this use of ‘defined’ may
not be portable [-Wexpansion-to-defined]
32 | #if not CXX11(4, 7, 1400, cxx_override_control)
| ^
src/tools/../common/../shared/cxx.h:32:47: warning: this use of ‘defined’ may
not be portable [-Wexpansion-to-defined]
src/tools/../common/../shared/cxx.h:32:47: warning: this use of ‘defined’ may
not be portable [-Wexpansion-to-defined]
In file included from src/tools/../client/cl_renderer.h:29,
from src/tools/../client/client.h:32,
from src/tools/memory.cpp:12:
src/tools/../client/renderer/r_program.h:33:9: warning: ‘GL_UNIFORM’ redefined
33 | #define GL_UNIFORM 1
| ^~~~~~~~~~
/usr/include/SDL2/SDL_opengl_glext.h:2644:9: note: this is the location of the
previous definition
2644 | #define GL_UNIFORM 0x92E1
| ^~~~~~~~~~
In file included from src/tools/../client/cgame/campaign/../cgame.h:28,
from src/tools/../client/cgame/campaign/../cl_game.h:31,
from
src/tools/../client/cgame/campaign/cp_cgame_callbacks.h:26,
from src/tools/../client/cgame/campaign/cp_campaign.h:46,
from src/tools/memory.cpp:16:
src/tools/../client/cgame/campaign/../../../common/xml.h:23:10: fatal error:
mxml.h: No such file or directory
23 | #include <mxml.h>
| ^~~~~~~~
compilation terminated.
make[2]: *** [Makefile:172: release-linux-x86_64/memory/tools/memory.cpp.o]
Error 1
For details, see
https://buildd.debian.org/status/fetch.php?pkg=ufoai&arch=amd64&ver=2.5-9%2Bb1&stamp=1773606044&raw=0.
Cheers
--
Sebastian Ramacher