Bug#872492: vdr-plugin-spider FTBFS with vdr 2.3.8

Adrian Bunk bunk at debian.org
Thu Aug 17 20:12:11 UTC 2017


Source: vdr-plugin-spider
Version: 0.2.2-21
Severity: serious
Tags: buster sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/vdr-plugin-spider.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='"spider"' -Wdate-time -D_FORTIFY_SOURCE=2  -c -o bitmap.o bitmap.cpp
bitmap.cpp: In member function 'void SpiderPlugin::Bitmap::text(const char*, bool)':
bitmap.cpp:77:11: error: 'max' was not declared in this scope
   int y = max((Height() - wrapper.Lines() * font->Height()) / 2, 0);
           ^~~
bitmap.cpp:77:11: note: suggested alternative:
In file included from /usr/include/c++/7/vector:60:0,
                 from spider.h:30,
                 from bitmap.h:26,
                 from bitmap.cpp:23:
/usr/include/c++/7/bits/stl_algobase.h:265:5: note:   'std::max'
     max(const _Tp& __a, const _Tp& __b, _Compare __comp)
     ^~~
bitmap.cpp: In constructor 'SpiderPlugin::Bitmap::Bitmap(int, int, const char*, const char*)':
bitmap.cpp:54:11: warning: ignoring return value of 'int asprintf(char**, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   asprintf(&path, "%s/%s.xpm", dir, name);
   ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bitmap.cpp: In constructor 'SpiderPlugin::Bitmap::Bitmap(int, int, const char*, const char*, const char*)':
bitmap.cpp:65:11: warning: ignoring return value of 'int asprintf(char**, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   asprintf(&path, "%s/%s_%s.xpm", dir, suit, rank);
   ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<builtin>: recipe for target 'bitmap.o' failed
make[2]: *** [bitmap.o] Error 1



More information about the pkg-vdr-dvb-devel mailing list