[Bug 1121395] New: GCC 9: ceph build fails
http://bugzilla.opensuse.org/show_bug.cgi?id=1121395 Bug ID: 1121395 Summary: GCC 9: ceph build fails Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: martin.liska@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- https://build.opensuse.org/build/openSUSE:Factory:Staging:Gcc7/standard/x86_... [ 4920s] [ 71%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_metadata.cc.o [ 4926s] In file included from /home/abuild/rpmbuild/BUILD/ceph-14.0.1-1555-g42662f72f4/src/common/mClockPriorityQueue.h:26, [ 4926s] from /home/abuild/rpmbuild/BUILD/ceph-14.0.1-1555-g42662f72f4/src/osd/mClockOpClassQueue.h:25, [ 4926s] from /home/abuild/rpmbuild/BUILD/ceph-14.0.1-1555-g42662f72f4/src/osd/OSD.h:57, [ 4926s] from /home/abuild/rpmbuild/BUILD/ceph-14.0.1-1555-g42662f72f4/src/osd/OSD.cc:42: [ 4926s] /home/abuild/rpmbuild/BUILD/ceph-14.0.1-1555-g42662f72f4/src/dmclock/src/dmclock_server.h: In constructor 'crimson::dmclock::PriorityQueueBase<C, R, IsDelayed, U1, B>::PriorityQueueBase(crimson::dmclock::PriorityQueueBase<C, R, IsDelayed, U1, B>::ClientInfoFunc, std::chrono::duration<_Rep, _Period>, std::chrono::duration<_Rep, _Period>, std::chrono::duration<_Rep, _Period>, crimson::dmclock::AtLimitParam, double)': [ 4926s] /home/abuild/rpmbuild/BUILD/ceph-14.0.1-1555-g42662f72f4/src/dmclock/src/dmclock_server.h:832:66: error: no matching function for call to 'crimson::dmclock::PriorityQueueBase<C, R, IsDelayed, U1, B>::get_or_default<crimson::dmclock::AtLimit>(crimson::dmclock::AtLimitParam&, crimson::dmclock::AtLimit)' [ 4926s] 832 | at_limit(get_or_default<AtLimit>(at_limit_param, AtLimit::Reject)), [ 4926s] | ^ [ 4926s] /home/abuild/rpmbuild/BUILD/ceph-14.0.1-1555-g42662f72f4/src/dmclock/src/dmclock_server.h:817:16: note: candidate: 'template<class C, class R, bool IsDelayed, bool U1, unsigned int B> template<class T, class Variant> static T crimson::dmclock::PriorityQueueBase<C, R, IsDelayed, U1, B>::get_or_default(const Variant&, T)' [ 4926s] 817 | static T get_or_default(const Variant& param, T default_value) { [ 4926s] | ^~~~~~~~~~~~~~ [ 4926s] /home/abuild/rpmbuild/BUILD/ceph-14.0.1-1555-g42662f72f4/src/dmclock/src/dmclock_server.h:817:16: note: template argument deduction/substitution failed: [ 4926s] /home/abuild/rpmbuild/BUILD/ceph-14.0.1-1555-g42662f72f4/src/dmclock/src/dmclock_server.h:832:66: note: mismatched types 'const Variant' and 'crimson::dmclock::AtLimitParam' {aka 'boost::variant<crimson::dmclock::AtLimit, double>'} [ 4926s] 832 | at_limit(get_or_default<AtLimit>(at_limit_param, AtLimit::Reject)), [ 4926s] | ^ [ 4926s] /home/abuild/rpmbuild/BUILD/ceph-14.0.1-1555-g42662f72f4/src/dmclock/src/dmclock_server.h:833:68: error: no matching function for call to 'crimson::dmclock::PriorityQueueBase<C, R, IsDelayed, U1, B>::get_or_default<crimson::dmclock::RejectThreshold>(crimson::dmclock::AtLimitParam&, int)' [ 4926s] 833 | reject_threshold(get_or_default<RejectThreshold>(at_limit_param, 0)), [ 4926s] | ^ [ 4926s] /home/abuild/rpmbuild/BUILD/ceph-14.0.1-1555-g42662f72f4/src/dmclock/src/dmclock_server.h:817:16: note: candidate: 'template<class C, class R, bool IsDelayed, bool U1, unsigned int B> template<class T, class Variant> static T crimson::dmclock::PriorityQueueBase<C, R, IsDelayed, U1, B>::get_or_default(const Variant&, T)' [ 4926s] 817 | static T get_or_default(const Variant& param, T default_value) { [ 4926s] | ^~~~~~~~~~~~~~ [ 4926s] /home/abuild/rpmbuild/BUILD/ceph-14.0.1-1555-g42662f72f4/src/dmclock/src/dmclock_server.h:817:16: note: template argument deduction/substitution failed: [ 4926s] /home/abuild/rpmbuild/BUILD/ceph-14.0.1-1555-g42662f72f4/src/dmclock/src/dmclock_server.h:833:68: note: mismatched types 'const Variant' and 'crimson::dmclock::AtLimitParam' {aka 'boost::variant<crimson::dmclock::AtLimit, double>'} [ 4926s] 833 | reject_threshold(get_or_default<RejectThreshold>(at_limit_param, 0)), [ 4926s] | ^ -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1121395 Martin Liška <martin.liska@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1120754 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1121395 Abhishek Lekshmanan <abhishek.lekshmanan@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |abhishek.lekshmanan@suse.co | |m -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1121395 http://bugzilla.opensuse.org/show_bug.cgi?id=1121395#c3 --- Comment #3 from Nathan Cutler <ncutler@suse.com> --- Upstream bug report: https://tracker.ceph.com/issues/38144 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1121395 Nathan Cutler <ncutler@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://tracker.ceph.com/is | |sues/38144 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1121395 http://bugzilla.opensuse.org/show_bug.cgi?id=1121395#c4 --- Comment #4 from Kaleb KEITHLEY <kkeithle@redhat.com> --- https://src.fedoraproject.org/rpms/ceph/blob/master/f/0002-f30-gcc9.patch contains the changes I used to build with gcc9 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1121395 http://bugzilla.opensuse.org/show_bug.cgi?id=1121395#c5 --- Comment #5 from Martin Liška <martin.liska@suse.com> --- (In reply to Nathan Cutler from comment #3)
Upstream bug report: https://tracker.ceph.com/issues/38144
Can you please test the package build with:https://src.fedoraproject.org/rpms/ceph/blob/master/f/0002-f30-gcc9.patch Thanks -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1121395 http://bugzilla.opensuse.org/show_bug.cgi?id=1121395#c6 Nathan Cutler <ncutler@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS --- Comment #6 from Nathan Cutler <ncutler@suse.com> --- Upstream merged a fix: https://github.com/ceph/ceph/pull/26301 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1121395 http://bugzilla.opensuse.org/show_bug.cgi?id=1121395#c7 --- Comment #7 from Nathan Cutler <ncutler@suse.com> --- Fixed package ready for testing at https://build.opensuse.org/package/show/filesystems:ceph:nautilus/ceph -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1121395 http://bugzilla.opensuse.org/show_bug.cgi?id=1121395#c8 --- Comment #8 from Martin Liška <martin.liska@suse.com> --- (In reply to Nathan Cutler from comment #7)
Fixed package ready for testing at https://build.opensuse.org/package/show/filesystems:ceph:nautilus/ceph
Should be possible to build the package right now. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com