Source: cataclysm-dda Version: 0.F-3-4 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20220716 ftbfs-bookworm
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DRELEASE -DTILES -DBACKTRACE -DLOCALIZE > -DPREFIX="/usr" -DDATA_DIR_PREFIX -DUSE_XDG_DIR -g -O2 > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -ffast-math -Os -flto=jobserver > -flto-odr-type-merging -Wodr -Werror -Wall -Wextra -Wformat-signedness > -Wlogical-op -Wmissing-declarations -Wmissing-noreturn -Wnon-virtual-dtor > -Wold-style-cast -Woverloaded-virtual -Wpedantic -Wsuggest-override > -Wunused-macros -Wzero-as-null-pointer-constant -Wno-unknown-warning-option > -Wredundant-decls -g -fsigned-char -std=c++14 -MMD -MP -D_REENTRANT -pthread > -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -D_REENTRANT -I/usr/include/SDL2 > -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include > -I/usr/include/libinstpatch-2 -I/usr/include/glib-2.0 > -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/opus > -I/usr/include/SDL2 -DSDL_SOUND -D_REENTRANT -I/usr/include/SDL2 > -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -I/usr/include/harfbuzz > -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include > -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/SDL2 -c > src/sdl_utils.cpp -o obj/tiles/sdl_utils.o > src/sdl_font.cpp: In function ‘int test_face_size(const string&, int, int)’: > src/sdl_font.cpp:25:44: error: invalid conversion from ‘const char*’ to > ‘char*’ [-fpermissive] > 25 | char *style = TTF_FontFaceStyleName( fnt.get() ); > | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ > | | > | const char* > src/sdl_font.cpp:32:64: error: invalid conversion from ‘const char*’ to > ‘char*’ [-fpermissive] > 32 | if( nullptr != ( ts = TTF_FontFaceStyleName( > tf.get() ) ) ) { > | > ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ > | | > | const > char* > g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DRELEASE -DTILES -DBACKTRACE -DLOCALIZE > -DPREFIX="/usr" -DDATA_DIR_PREFIX -DUSE_XDG_DIR -g -O2 > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -ffast-math -Os -flto=jobserver > -flto-odr-type-merging -Wodr -Werror -Wall -Wextra -Wformat-signedness > -Wlogical-op -Wmissing-declarations -Wmissing-noreturn -Wnon-virtual-dtor > -Wold-style-cast -Woverloaded-virtual -Wpedantic -Wsuggest-override > -Wunused-macros -Wzero-as-null-pointer-constant -Wno-unknown-warning-option > -Wredundant-decls -g -fsigned-char -std=c++14 -MMD -MP -D_REENTRANT -pthread > -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -D_REENTRANT -I/usr/include/SDL2 > -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include > -I/usr/include/libinstpatch-2 -I/usr/include/glib-2.0 > -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/opus > -I/usr/include/SDL2 -DSDL_SOUND -D_REENTRANT -I/usr/include/SDL2 > -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -I/usr/include/harfbuzz > -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include > -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/SDL2 -c > src/sdl_wrappers.cpp -o obj/tiles/sdl_wrappers.o > g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DRELEASE -DTILES -DBACKTRACE -DLOCALIZE > -DPREFIX="/usr" -DDATA_DIR_PREFIX -DUSE_XDG_DIR -g -O2 > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -ffast-math -Os -flto=jobserver > -flto-odr-type-merging -Wodr -Werror -Wall -Wextra -Wformat-signedness > -Wlogical-op -Wmissing-declarations -Wmissing-noreturn -Wnon-virtual-dtor > -Wold-style-cast -Woverloaded-virtual -Wpedantic -Wsuggest-override > -Wunused-macros -Wzero-as-null-pointer-constant -Wno-unknown-warning-option > -Wredundant-decls -g -fsigned-char -std=c++14 -MMD -MP -D_REENTRANT -pthread > -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -D_REENTRANT -I/usr/include/SDL2 > -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include > -I/usr/include/libinstpatch-2 -I/usr/include/glib-2.0 > -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/opus > -I/usr/include/SDL2 -DSDL_SOUND -D_REENTRANT -I/usr/include/SDL2 > -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -I/usr/include/harfbuzz > -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include > -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/SDL2 -c > src/sdlsound.cpp -o obj/tiles/sdlsound.o > At global scope: > cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ > may have been intended to silence earlier diagnostics > make[2]: *** [Makefile:971: obj/tiles/sdl_font.o] Error 1 The full build log is available from: http://qa-logs.debian.net/2022/07/16/cataclysm-dda_0.F-3-4_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220716;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220716&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results 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! If you reassign this bug to another package, please marking it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.