Bug#884407: wslay FTBFS with nettle-dev 3.4-1

Adrian Bunk bunk at debian.org
Thu Dec 14 21:52:03 UTC 2017


Source: wslay
Version: 1.0.1~39-g6abacc1-1
Severity: serious

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/wslay.html

...
/build/1st/wslay-1.0.1~39-g6abacc1/examples/echoserv.cc: In function 'std::__cxx11::string base64(const string&)':
/build/1st/wslay-1.0.1~39-g6abacc1/examples/echoserv.cc:126:83: error: invalid conversion from 'uint8_t* {aka unsigned char*}' to 'char*' [-fpermissive]
   base64_encode_raw(dst, src.size(), reinterpret_cast<const uint8_t*>(src.c_str()));
                                                                                   ^
In file included from /build/1st/wslay-1.0.1~39-g6abacc1/examples/echoserv.cc:52:0:
/usr/include/nettle/base64.h:117:1: note:   initializing argument 1 of 'void nettle_base64_encode_raw(char*, size_t, const uint8_t*)'
 base64_encode_raw(char *dst, size_t length, const uint8_t *src);
 ^
/build/1st/wslay-1.0.1~39-g6abacc1/examples/testclient.cc: In function 'std::__cxx11::string base64(const string&)':
/build/1st/wslay-1.0.1~39-g6abacc1/examples/testclient.cc:118:66: error: invalid conversion from 'uint8_t* {aka unsigned char*}' to 'char*' [-fpermissive]
                     reinterpret_cast<const uint8_t*>(src.c_str()));
                                                                  ^
In file included from /build/1st/wslay-1.0.1~39-g6abacc1/examples/testclient.cc:51:0:
/usr/include/nettle/base64.h:117:1: note:   initializing argument 1 of 'void nettle_base64_encode_raw(char*, size_t, const uint8_t*)'
 base64_encode_raw(char *dst, size_t length, const uint8_t *src);
 ^
examples/CMakeFiles/echoserv.dir/build.make:65: recipe for target 'examples/CMakeFiles/echoserv.dir/echoserv.cc.o' failed
make[4]: *** [examples/CMakeFiles/echoserv.dir/echoserv.cc.o] Error 1



More information about the debian-science-maintainers mailing list