What | Removed | Added |
---|---|---|
Status | RESOLVED | REOPENED |
CC | dimstar@opensuse.org | |
Resolution | FIXED | --- |
(In reply to OBSbugzilla Bot from comment #4) > This is an autogenerated message for OBS integration: > This bug (1173718) was mentioned in > https://build.opensuse.org/request/show/834744 Factory / libmicrohttpd NOTE: The upgrade is not an easy-fly-by, as API is changed i.e libyui-rest-api fails to build: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:I/libyui-rest-api/standard/x86_64 > [ 40s] /usr/bin/c++ -fPIC -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -DNDEBUG -DNDEBUG -std=c++0x -fmessage-length=0 -Wall -Werror -O3 -flto=auto -Wl,--as-needed -Wl,--no-undefined -Wl,-z,now -Wl,--no-undefined -shared -Wl,-soname,libyui-rest-api.so.14 -o libyui-rest-api.so.14.0.0 CMakeFiles/yui-rest-api.dir/YHttpServer.cc.o CMakeFiles/yui-rest-api.dir/YHttpHandler.cc.o CMakeFiles/yui-rest-api.dir/YHttpDialogHandler.cc.o CMakeFiles/yui-rest-api.dir/YHttpRootHandler.cc.o CMakeFiles/yui-rest-api.dir/YHttpVersionHandler.cc.o CMakeFiles/yui-rest-api.dir/YHttpAppHandler.cc.o CMakeFiles/yui-rest-api.dir/YTableActionHandler.cc.o CMakeFiles/yui-rest-api.dir/YHttpWidgetsHandler.cc.o CMakeFiles/yui-rest-api.dir/YHttpWidgetsActionHandler.cc.o CMakeFiles/yui-rest-api.dir/YHttpMount.cc.o CMakeFiles/yui-rest-api.dir/YJsonSerializer.cc.o CMakeFiles/yui-rest- api.dir/YWidgetFinder.cc.o -ldl -lpthread -lmicrohttpd -ljsoncpp /usr/lib64/libyui.so.14.0.0 -ldl -lpthread >[ 40s] /home/abuild/rpmbuild/BUILD/libyui-rest-api-0.5.11/src/YHttpHandler.h:45:24: error: 'handle' violates the C++ One Definition Rule [-Werror=odr] >[ 41s] 45 | virtual MHD_RESULT handle(struct MHD_Connection* connection, >[ 41s] | ^ >[ 41s] /home/abuild/rpmbuild/BUILD/libyui-rest-api-0.5.11/src/YHttpHandler.cc:27:12: note: return value type mismatch >[ 41s] 27 | MHD_RESULT YHttpHandler::handle(struct MHD_Connection* connection, >[ 41s] | ^ >[ 41s] /usr/include/microhttpd.h:141:6: note: type 'MHD_Result' should match type 'int' >[ 41s] 141 | enum MHD_Result >[ 41s] | ^ >[ 41s] /home/abuild/rpmbuild/BUILD/libyui-rest-api-0.5.11/src/YHttpHandler.cc:27:12: note: 'handle' was previously declared here >[ 41s] 27 | MHD_RESULT YHttpHandler::handle(struct MHD_Connection* connection, >[ 41s] | ^ >[ 41s] lto1: all warnings being treated as errors >[ 41s] lto-wrapper: fatal error: /usr/bin/c++ returned 1 exit status pcp fails with similar errors; so in order to have this sec review fixed (and the SR acceptable to TW) we need at least those two packages fixed in parallel - or mhd not changing API