Bug 1542888 - 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=]
Summary: qpid-cpp-1.37.0-5.fc28 FTBFS: qpid-cpp-1.37.0/src/qpid/sys/posix/SocketAddres...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: qpid-cpp
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Irina Boverman
QA Contact: Fedora Extras Quality Assurance
URL: https://apps.fedoraproject.org/kosche...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-07 09:45 UTC by Petr Pisar
Modified: 2018-03-30 12:54 UTC (History)
4 users (show)

Fixed In Version: qpid-cpp-1.37.0-6.fc28
Clone Of:
Environment:
Last Closed: 2018-03-30 12:54:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2018-02-07 09:45:21 UTC
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.

Comment 1 Fedora End Of Life 2018-02-20 15:38:54 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.

Comment 2 Fedora Update System 2018-03-14 16:02:01 UTC
qpid-cpp-1.37.0-6.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-3da8a2c52b

Comment 3 Fedora Update System 2018-03-15 13:30:21 UTC
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

Comment 4 Fedora Update System 2018-03-30 12:54:08 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.