Bug#872493: vdr-plugin-sudoku FTBFS with vdr 2.3.8
Adrian Bunk
bunk at debian.org
Thu Aug 17 20:13:01 UTC 2017
Source: vdr-plugin-sudoku
Version: 0.3.5-20
Severity: serious
Tags: buster sid
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/vdr-plugin-sudoku.html
...
g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/vdr-2.3.8=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wl,-z,relro -I/usr/include/vdr/include -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"sudoku"' -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bitmap.o bitmap.cpp
bitmap.cpp: In member function 'void SudokuPlugin::Bitmap::text(const char*, bool)':
bitmap.cpp:54:11: error: 'max' was not declared in this scope
int y = max((Height() - wrapper.Lines() * font->Height()) / 2, 0);
^~~
bitmap.cpp:54:11: note: suggested alternative:
In file included from /usr/include/c++/7/vector:60:0,
from sudoku.h:29,
from bitmap.h:24,
from bitmap.cpp:21:
/usr/include/c++/7/bits/stl_algobase.h:265:5: note: 'std::max'
max(const _Tp& __a, const _Tp& __b, _Compare __comp)
^~~
<builtin>: recipe for target 'bitmap.o' failed
make[2]: *** [bitmap.o] Error 1
More information about the pkg-vdr-dvb-devel
mailing list