Ask Your Question

Revision history [back]

Why can't I rebuild source rpms in Fedora 26

I've recently upgraded my Fedora 25 to 26 using the graphical updater. Since the update I have wanted to modify a few of the Fedora RPMS, but in several cases just rebuilding the stock packages have failed. For example qt5-qtbase and xmlrpc-c both fail to build. This has never been a problem with previous Fedora releases. Here is the build failure from rpmbuild --rebuild xmlrpc-c-1.48.0-4.fc26.src.rpm:

FAILED: lib/abyss++/libxmlrpc_abyss++.so.8.47 ccache c++ -o lib/abyss++/libxmlrpc_abyss++.so.8.47 'lib/abyss++/xmlrpc_abyss++@sha/AbyssServer.cpp.o' 'lib/abyss++/xmlrpc_abyss++@sha/AbyssChanSwitch.cpp.o' 'lib/abyss++/xmlrpc_abyss++@sha/AbyssEnvironment.cpp.o' 'lib/abyss++/xmlrpc_abyss++@sha/AbyssChanSwitchUnix.cpp.o' 'lib/abyss++/xmlrpc_abyss++@sha/AbyssChanSwitchOpenSsl.cpp.o' -Wl,--no-undefined -Wl,--as-needed -shared -fPIC -Wl,-soname,libxmlrpc_abyss++.so.8 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld lib/abyss/src/libxmlrpc_abyss.so.3.47 lib/libutil++/libxmlrpc_util++.so.8.47 '-Wl,-rpath,$ORIGIN/:$ORIGIN/../abyss/src:$ORIGIN/../libutil:$ORIGIN/../libutil++' -Wl,-rpath-link,/home/ts/rpmbuild/BUILD/xmlrpc-c-1.48.0/x86_64-redhat-linux-gnu/lib/abyss++:/home/ts/rpmbuild/BUILD/xmlrpc-c-1.48.0/x86_64-redhat-linux-gnu/lib/abyss/src:/home/ts/rpmbuild/BUILD/xmlrpc-c-1.48.0/x86_64-redhat-linux-gnu/lib/libutil:/home/ts/rpmbuild/BUILD/xmlrpc-c-1.48.0/x86_64-redhat-linux-gnu/lib/libutil++
lib/abyss++/xmlrpc_abyss++@sha/AbyssServer.cpp.o: In function xmlrpc_c::AbyssServer::Session::Impl::readSomeRequestBody(unsigned long, unsigned char*, bool*, unsigned long*)': /home/ts/rpmbuild/BUILD/xmlrpc-c-1.48.0/x86_64-redhat-linux-gnu/../lib/abyss++/AbyssServer.cpp:232: undefined reference toxmlrpc_strfree' lib/abyss++/xmlrpc_abyss++@sha/AbyssServer.cpp.o: In function xmlrpc_c::AbyssServer::Session::Impl::body[abi:cxx11]()': AbyssServer.cpp:(.text+0x17e7): undefined reference toxmlrpc_strfree' lib/abyss++/xmlrpc_abyss++@sha/AbyssEnvironment.cpp.o: In function xmlrpc_c::AbyssEnvironment::AbyssEnvironment()': /home/ts/rpmbuild/BUILD/xmlrpc-c-1.48.0/x86_64-redhat-linux-gnu/../lib/abyss++/AbyssEnvironment.cpp:27: undefined reference toxmlrpc_strfree' collect2: error: ld returned 1 exit status [149/178] "/usr/bin/python3" "/usr/bin/meson" --internal symbolextractor lib/expat/xmlparse/libxmlrpc_xmlparse.so.3.47 'lib/expat/xmlparse/xmlrpc_xmlparse@sha/lib/expat/xmlparse/libxmlrpc_xmlparse.so.3.47.symbols' ninja: build stopped: subcommand failed. error: Bad exit status from /var/tmp/rpm-tmp.VMJd2G (%build)

click to hide/show revision 2
No.2 Revision

updated 2017-08-18 03:52:52 -0600

hhlp gravatar image

Why can't I rebuild source rpms in Fedora 26

I've recently upgraded my Fedora 25 to 26 using the graphical updater. Since the update I have wanted to modify a few of the Fedora RPMS, but in several cases just rebuilding the stock packages have failed. For example qt5-qtbase and xmlrpc-c both fail to build. This has never been a problem with previous Fedora releases. Here is the build failure from rpmbuild --rebuild xmlrpc-c-1.48.0-4.fc26.src.rpm:

FAILED: lib/abyss++/libxmlrpc_abyss++.so.8.47 
ccache c++  -o lib/abyss++/libxmlrpc_abyss++.so.8.47 'lib/abyss++/xmlrpc_abyss++@sha/AbyssServer.cpp.o' 'lib/abyss++/xmlrpc_abyss++@sha/AbyssChanSwitch.cpp.o' 'lib/abyss++/xmlrpc_abyss++@sha/AbyssEnvironment.cpp.o' 'lib/abyss++/xmlrpc_abyss++@sha/AbyssChanSwitchUnix.cpp.o' 'lib/abyss++/xmlrpc_abyss++@sha/AbyssChanSwitchOpenSsl.cpp.o' -Wl,--no-undefined -Wl,--as-needed -shared -fPIC -Wl,-soname,libxmlrpc_abyss++.so.8 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld lib/abyss/src/libxmlrpc_abyss.so.3.47 lib/libutil++/libxmlrpc_util++.so.8.47 '-Wl,-rpath,$ORIGIN/:$ORIGIN/../abyss/src:$ORIGIN/../libutil:$ORIGIN/../libutil++' -Wl,-rpath-link,/home/ts/rpmbuild/BUILD/xmlrpc-c-1.48.0/x86_64-redhat-linux-gnu/lib/abyss++:/home/ts/rpmbuild/BUILD/xmlrpc-c-1.48.0/x86_64-redhat-linux-gnu/lib/abyss/src:/home/ts/rpmbuild/BUILD/xmlrpc-c-1.48.0/x86_64-redhat-linux-gnu/lib/libutil:/home/ts/rpmbuild/BUILD/xmlrpc-c-1.48.0/x86_64-redhat-linux-gnu/lib/libutil++ 
lib/abyss++/xmlrpc_abyss++@sha/AbyssServer.cpp.o: In function xmlrpc_c::AbyssServer::Session::Impl::readSomeRequestBody(unsigned `xmlrpc_c::AbyssServer::Session::Impl::readSomeRequestBody(unsigned long, unsigned char*, bool*, unsigned long*)': /home/ts/rpmbuild/BUILD/xmlrpc-c-1.48.0/x86_64-redhat-linux-gnu/../lib/abyss++/AbyssServer.cpp:232: undefined reference toxmlrpc_strfree' to `xmlrpc_strfree' lib/abyss++/xmlrpc_abyss++@sha/AbyssServer.cpp.o: In function xmlrpc_c::AbyssServer::Session::Impl::body[abi:cxx11]()': `xmlrpc_c::AbyssServer::Session::Impl::body[abi:cxx11]()': AbyssServer.cpp:(.text+0x17e7): undefined reference toxmlrpc_strfree' to `xmlrpc_strfree' lib/abyss++/xmlrpc_abyss++@sha/AbyssEnvironment.cpp.o: In function xmlrpc_c::AbyssEnvironment::AbyssEnvironment()': `xmlrpc_c::AbyssEnvironment::AbyssEnvironment()': /home/ts/rpmbuild/BUILD/xmlrpc-c-1.48.0/x86_64-redhat-linux-gnu/../lib/abyss++/AbyssEnvironment.cpp:27: undefined reference toxmlrpc_strfree' to `xmlrpc_strfree' collect2: error: ld returned 1 exit status [149/178] "/usr/bin/python3" "/usr/bin/meson" --internal symbolextractor lib/expat/xmlparse/libxmlrpc_xmlparse.so.3.47 'lib/expat/xmlparse/xmlrpc_xmlparse@sha/lib/expat/xmlparse/libxmlrpc_xmlparse.so.3.47.symbols' ninja: build stopped: subcommand failed. error: Bad exit status from /var/tmp/rpm-tmp.VMJd2G (%build)

(%build)