[Debian-on-mobile-maintainers] Bug#1016249: osk-sdl: FTBFS: ../src/config.cpp:163:17: error: ‘transform’ was not declared in this scope

Lucas Nussbaum lucas at debian.org
Fri Jul 29 17:22:44 BST 2022


Source: osk-sdl
Version: 0.67-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220728 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> c++ -Iosk-sdl.p -I. -I.. -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 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Wpedantic -std=c++2a -O0 '-DVERSION="0.67"' -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -MD -MQ osk-sdl.p/src_config.cpp.o -MF osk-sdl.p/src_config.cpp.o.d -o osk-sdl.p/src_config.cpp.o -c ../src/config.cpp
> ../src/config.cpp: In member function ‘bool Config::Read(const std::string&)’:
> ../src/config.cpp:163:17: error: ‘transform’ was not declared in this scope
>   163 |                 transform(val.begin(), val.end(), val.begin(), ::tolower);
>       |                 ^~~~~~~~~
> [7/11] c++ -Iosk-sdl.p -I. -I.. -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 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Wpedantic -std=c++2a -O0 '-DVERSION="0.67"' -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -MD -MQ osk-sdl.p/src_toggle.cpp.o -MF osk-sdl.p/src_toggle.cpp.o.d -o osk-sdl.p/src_toggle.cpp.o -c ../src/toggle.cpp
> [8/11] c++ -Iosk-sdl.p -I. -I.. -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 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Wpedantic -std=c++2a -O0 '-DVERSION="0.67"' -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -MD -MQ osk-sdl.p/src_main.cpp.o -MF osk-sdl.p/src_main.cpp.o.d -o osk-sdl.p/src_main.cpp.o -c ../src/main.cpp
> [9/11] c++ -Iosk-sdl.p -I. -I.. -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 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Wpedantic -std=c++2a -O0 '-DVERSION="0.67"' -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -MD -MQ osk-sdl.p/src_util.cpp.o -MF osk-sdl.p/src_util.cpp.o.d -o osk-sdl.p/src_util.cpp.o -c ../src/util.cpp
> [10/11] c++ -Iosk-sdl.p -I. -I.. -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 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Wpedantic -std=c++2a -O0 '-DVERSION="0.67"' -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -MD -MQ osk-sdl.p/src_keyboard.cpp.o -MF osk-sdl.p/src_keyboard.cpp.o.d -o osk-sdl.p/src_keyboard.cpp.o -c ../src/keyboard.cpp
> ninja: build stopped: subcommand failed.
> dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j8 -v returned exit code 1
> make: *** [debian/rules:13: binary] Error 25


The full build log is available from:
http://qa-logs.debian.net/2022/07/28/osk-sdl_0.67-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220728;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220728&fusertaguser=lucas@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.



More information about the Debian-on-mobile-maintainers mailing list