Bug 1542888
| Summary: | qpid-cpp-1.37.0-5.fc28 FTBFS: qpid-cpp-1.37.0/src/qpid/sys/posix/SocketAddress.cpp:208:18: error: catching polymorphic type 'class qpid::Exception' by value [-Werror=catch-value=] | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Petr Pisar <ppisar> |
| Component: | qpid-cpp | Assignee: | Irina Boverman <iboverma> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 28 | CC: | iboverma, jose.p.oliveira.oss, kgiusti, nsantos |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | https://apps.fedoraproject.org/koschei/build/4096770 | ||
| Whiteboard: | |||
| Fixed In Version: | qpid-cpp-1.37.0-6.fc28 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-03-30 12:54:08 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle. Changing version to '28'. qpid-cpp-1.37.0-6.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-3da8a2c52b qpid-cpp-1.37.0-6.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-3da8a2c52b qpid-cpp-1.37.0-6.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report. |
qpid-cpp-1.37.0-5.fc28 fails to build in F28: cd /builddir/build/BUILD/qpid-cpp-1.37.0/src && /usr/bin/c++ -DXQ_EFFECTIVE_BOOLEAN_VALUE_HPP -Dqpidcommon_EXPORTS -I/builddir/build/BUILD/qpid-cpp-1.37.0/src -I/builddir/build/BUILD/qpid-cpp-1.37.0/src/../include -isystem /usr/include/nss3 -isystem /usr/include/nspr4 -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 -fstack-clash-protection -std=c++11 -Wno-error=maybe-uninitialized -fvisibility-inlines-hidden -Werror -pedantic -Wall -Wextra -Wno-shadow -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wvolatile-register-var -Winvalid-pch -Wno-system-headers -Woverloaded-virtual -Wno-deprecated-declarations -Wno-implicit-fallthrough -O2 -g -DNDEBUG -fPIC -pthread -o CMakeFiles/qpidcommon.dir/qpid/sys/posix/SocketAddress.cpp.o -c /builddir/build/BUILD/qpid-cpp-1.37.0/src/qpid/sys/posix/SocketAddress.cpp [...] /builddir/build/BUILD/qpid-cpp-1.37.0/src/qpid/sys/posix/SocketAddress.cpp: In member function 'bool qpid::sys::SocketAddress::isComparable(const qpid::sys::SocketAddress&) const': /builddir/build/BUILD/qpid-cpp-1.37.0/src/qpid/sys/posix/SocketAddress.cpp:208:18: error: catching polymorphic type 'class qpid::Exception' by value [-Werror=catch-value=] } catch (Exception) { ^~~~~~~~~ A difference between passing and failing build root is at <https://apps.fedoraproject.org/koschei/build/4096770>. This issue is probably triggered by upgrading GCC to 8 version.