tags 1004902 + pending thanks Thanks for the report! I've fixed the error locally and plan to get a new version uploaded in the near future.
Mathias On Thu, 2022-02-03 at 11:13 +0100, Andreas Beckmann wrote: > Source: openrct2 > Version: 0.3.5.1+ds-2 > Severity: serious > Tags: ftbfs > Justification: fails to build from source (but built successfully in > the past) > > Hi, > > openrct2 recently started to FTBFS, probably due to a change in a > build > dependency: > > /build/openrct2-0.3.5.1+ds/src/openrct2/drawing/TTF.cpp: In function > 'bool ttf_provides_glyph(const TTF_Font*, codepoint_t)': > /build/openrct2-0.3.5.1+ds/src/openrct2/drawing/TTF.cpp:358:32: > error: invalid conversion from 'const TTF_Font*' to 'TTF_Font*' [- > fpermissive] > 358 | return TTF_GlyphIsProvided(font, codepoint); > | ^~~~ > | | > | const TTF_Font* > In file included from /build/openrct2- > 0.3.5.1+ds/src/openrct2/drawing/../config/../drawing/Font.h:10, > from /build/openrct2- > 0.3.5.1+ds/src/openrct2/drawing/../config/../drawing/Drawing.h:16, > from /build/openrct2- > 0.3.5.1+ds/src/openrct2/drawing/../config/Config.h:13, > from /build/openrct2- > 0.3.5.1+ds/src/openrct2/drawing/TTF.cpp:21: > /usr/include/SDL2/SDL_ttf.h:184:59: note: initializing argument 1 > of 'int TTF_GlyphIsProvided(TTF_Font*, Uint16)' > 184 | extern DECLSPEC int SDLCALL TTF_GlyphIsProvided(TTF_Font > *font, Uint16 ch); > | > ~~~~~~~~~~^~~~ > make[3]: *** [CMakeFiles/libopenrct2.dir/build.make:2347: > CMakeFiles/libopenrct2.dir/src/openrct2/drawing/TTF.cpp.o] Error 1 > > > I have a successful build from Jan 07, the most "promising" build > dependency > change since then seems to be > > -Setting up libsdl2-ttf-2.0-0:amd64 (2.0.15+dfsg1-2) ...^M > +Setting up libsdl2-ttf-2.0-0:amd64 (2.0.18+dfsg-2) ...^M > > -Setting up libsdl2-ttf-dev:amd64 (2.0.15+dfsg1-2) ...^M > +Setting up libsdl2-ttf-dev:amd64 (2.0.18+dfsg-2) ...^M > > > Andreas
signature.asc
Description: This is a digitally signed message part