Description of problem: Package libjson-rpc-cpp fails to build from source in Fedora rawhide. Version-Release number of selected component (if applicable): 1.1.0-5.fc29 Steps to Reproduce: koji build --scratch f29 libjson-rpc-cpp-1.1.0-5.fc29.src.rpm Additional info: This package is tracked by Koschei. See: http://apps.fedoraproject.org/koschei/package/libjson-rpc-cpp --- [ 72%] Building CXX object src/test/CMakeFiles/unit_testsuite.dir/main.cpp.o cd /builddir/build/BUILD/libjson-rpc-cpp-1.1.0/x86_64-redhat-linux-gnu/src/test && /usr/bin/c++ -DFILEDESCRIPTOR_TESTING -DHTTP_TESTING -DREDIS_TESTING -DSTUBGEN_TESTING -I/usr/include/jsoncpp -I/usr/include/catch -I/builddir/build/BUILD/libjson-rpc-cpp-1.1.0/x86_64-redhat-linux-gnu/gen -I/builddir/build/BUILD/libjson-rpc-cpp-1.1.0/x86_64-redhat-linux-gnu/gen/jsonrpccpp/common -I/builddir/build/BUILD/libjson-rpc-cpp-1.1.0/src/test/.. -I/builddir/build/BUILD/libjson-rpc-cpp-1.1.0/x86_64-redhat-linux-gnu -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=c++11 -o CMakeFiles/unit_testsuite.dir/main.cpp.o -c /builddir/build/BUILD/libjson-rpc-cpp-1.1.0/src/test/main.cpp In file included from /usr/include/catch/internal/catch_impl.hpp:23, from /usr/include/catch/catch.hpp:77, from /builddir/build/BUILD/libjson-rpc-cpp-1.1.0/src/test/main.cpp:11: /usr/include/catch/internal/catch_console_colour_impl.hpp: In member function 'virtual void Catch::{anonymous}::PosixColourImpl::use(Catch::Colour::Code)': /usr/include/catch/internal/catch_console_colour_impl.hpp:121:22: error: 'virtual void Catch::{anonymous}::PosixColourImpl::use(Catch::Colour::Code)' causes a section type conflict with 'static void Catch::FatalConditionHandler::reset()' virtual void use( Colour::Code _colourCode ) { ^~~ In file included from /usr/include/catch/internal/catch_run_context.hpp:23, from /usr/include/catch/catch_session.hpp:13, from /usr/include/catch/internal/catch_impl.hpp:19, from /usr/include/catch/catch.hpp:77, from /builddir/build/BUILD/libjson-rpc-cpp-1.1.0/src/test/main.cpp:11: /usr/include/catch/internal/catch_fatal_condition.hpp:175:21: note: 'static void Catch::FatalConditionHandler::reset()' was declared here static void reset() { ^~~~~ --- This seem to happen only on x86_64 after annobin going 8.10-1.fc29 → 8.12-1.fc29.
There seems to be the same problem with vkamark https://apps.fedoraproject.org/koschei/package/vkmark?collection=f29 https://koji.fedoraproject.org/koji/taskinfo?taskID=28428919 I tried locally(x86_64) with annobin-8.13-1.fc29.x86_64 and it still fails. If I remove the "-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" from the CXXFLAGS the build succeeds.
(In reply to Yanko Kaneti from comment #1) > […] > If I remove the "-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" from the > CXXFLAGS the build succeeds. JFYI, you can use %undefine _annotated_build.
This should be fixed: annobin-8.14-1.fc29
(In reply to Nick Clifton from comment #3) > This should be fixed: annobin-8.14-1.fc29 Works for vkmark. Thanks
Works for libjson-rpc-cpp.