Source: freedink
Version: 109.6-3
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++ -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 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -D_REENTRANT -pthread -D_DEFAULT_SOURCE 
> -D_XOPEN_SOURCE=600 -D_REENTRANT -I/usr/include/SDL2 
> -I/usr/include/x86_64-linux-gnu -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/opus -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 -o 
> IOGfxSurfaceGL2.o IOGfxSurfaceGL2.cpp
> gfx_fonts.cpp: In function ‘void setup_font(TTF_Font*)’:
> gfx_fonts.cpp:296:44: error: invalid conversion from ‘const char*’ to ‘char*’ 
> [-fpermissive]
>   296 |   char *familyname = TTF_FontFaceFamilyName(font);
>       |                      ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
>       |                                            |
>       |                                            const char*
> gfx_fonts.cpp:299:42: error: invalid conversion from ‘const char*’ to ‘char*’ 
> [-fpermissive]
>   299 |   char *stylename = TTF_FontFaceStyleName(font);
>       |                     ~~~~~~~~~~~~~~~~~~~~~^~~~~~
>       |                                          |
>       |                                          const char*
> 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 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -D_REENTRANT -pthread -D_DEFAULT_SOURCE 
> -D_XOPEN_SOURCE=600 -D_REENTRANT -I/usr/include/SDL2 
> -I/usr/include/x86_64-linux-gnu -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/opus -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 -o 
> IOGfxSurfaceSW.o IOGfxSurfaceSW.cpp
> make[3]: *** [Makefile:2103: gfx_fonts.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/07/16/freedink_109.6-3_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.

Reply via email to