[Bug 1194875] New: GCC 12: ceph package fails
https://bugzilla.suse.com/show_bug.cgi?id=1194875 Bug ID: 1194875 Summary: GCC 12: ceph package fails Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: screening-team-bugs@suse.de Reporter: martin.liska@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Fails here: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:G... due to: [ 100s] [ 11%] Building CXX object src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure_init.cc.o [ 101s] In file included from /home/abuild/rpmbuild/BUILD/ceph-16.2.6-463-g22e7612f9ad/src/include/rados/rados_types.hpp:10, [ 101s] from /home/abuild/rpmbuild/BUILD/ceph-16.2.6-463-g22e7612f9ad/src/librados/snap_set_diff.h:8, [ 101s] from /home/abuild/rpmbuild/BUILD/ceph-16.2.6-463-g22e7612f9ad/src/librados/snap_set_diff.cc:6: [ 101s] /home/abuild/rpmbuild/BUILD/ceph-16.2.6-463-g22e7612f9ad/src/include/rados/buffer.h:98:52: error: expected template-name before '<' token [ 101s] 98 | struct unique_leakable_ptr : public std::unique_ptr<T, ceph::nop_delete<T>> { [ 101s] | ^ [ 101s] /home/abuild/rpmbuild/BUILD/ceph-16.2.6-463-g22e7612f9ad/src/include/rados/buffer.h:98:52: error: expected '{' before '<' token [ 101s] /home/abuild/rpmbuild/BUILD/ceph-16.2.6-463-g22e7612f9ad/src/include/rados/buffer.h:374:17: error: 'unique_ptr' in namespace 'std' does not name a template type [ 101s] 374 | static std::unique_ptr<ptr_node, disposer> [ 101s] | ^~~~~~~~~~ -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194875 Martin Li��ka <martin.liska@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ncutler@suse.com Blocks| |1194789 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194875 Chenzi Cao <chcao@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|screening-team-bugs@suse.de |ncutler@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194875 https://bugzilla.suse.com/show_bug.cgi?id=1194875#c1 Nathan Cutler <ncutler@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED --- Comment #1 from Nathan Cutler <ncutler@suse.com> --- It is known that ceph pacific (16.2.*) fails to build from source (FTBFS) when compiling with gcc 12 Upstream bug report: https://tracker.ceph.com/issues/53896 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194875 https://bugzilla.suse.com/show_bug.cgi?id=1194875#c2 --- Comment #2 from Martin Li��ka <martin.liska@suse.com> --- Thanks. Just small note, the following error was removed from GCC master: error: use of deleted function 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::nullptr_t) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::nullptr_t = std::nullptr_t]' It will be present since -std=c++23. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194875 Nathan Cutler <ncutler@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|ncutler@suse.com |mlatimer@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194875 Nathan Cutler <ncutler@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ceph-bugs@suse.de -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194875 Nathan Cutler <ncutler@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|ncutler@suse.com | -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194875 https://bugzilla.suse.com/show_bug.cgi?id=1194875#c4 --- Comment #4 from Martin Li��ka <martin.liska@suse.com> --- Do we have any estimation of when can we expect fixed ceph in the devel project? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194875 https://bugzilla.suse.com/show_bug.cgi?id=1194875#c5 --- Comment #5 from Martin Li��ka <martin.liska@suse.com> --- (In reply to Martin Li��ka from comment #4)
Do we have any estimation of when can we expect fixed ceph in the devel project?
May I please ping this question? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194875 https://bugzilla.suse.com/show_bug.cgi?id=1194875#c6 Nathan Cutler <ncutler@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mlatimer@suse.com Flags| |needinfo?(mlatimer@suse.com | |) --- Comment #6 from Nathan Cutler <ncutler@suse.com> --- The issue is presumably fixed in upstream master by https://github.com/ceph/ceph/pull/44670 I just staged the pacific backport: https://tracker.ceph.com/issues/54276 https://github.com/ceph/ceph/pull/45373 I would suggest to cherry-pick that commit to the downstream branch and submit it to openSUSE:Factory with a changes file entry mentioning this bug. @Mike, can you help with that? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194875 Nathan Cutler <ncutler@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ncutler@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194875 Mike Latimer <mlatimer@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |stefen.allen@suse.com Assignee|mlatimer@suse.com |stefen.allen@suse.com Flags|needinfo?(mlatimer@suse.com |needinfo?(stefen.allen@suse |) |.com) -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194875 https://bugzilla.suse.com/show_bug.cgi?id=1194875#c8 Nathan Cutler <ncutler@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |IN_PROGRESS --- Comment #8 from Nathan Cutler <ncutler@suse.com> --- Downstream PR: https://github.com/SUSE/ceph/pull/463 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194875 Stefen Allen <stefen.allen@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(stefen.allen@suse | |.com) | -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194875 https://bugzilla.suse.com/show_bug.cgi?id=1194875#c11 Martin Li��ka <martin.liska@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(stefen.allen@suse | |.com) --- Comment #11 from Martin Li��ka <martin.liska@suse.com> --- May I please ping https://build.opensuse.org/request/show/962281. Note it's the last package that is blocking gcc12 staging project. We really need to reach openQA soon. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194875 https://bugzilla.suse.com/show_bug.cgi?id=1194875#c12 --- Comment #12 from Stefen Allen <stefen.allen@suse.com> --- (In reply to Martin Li��ka from comment #11)
https://build.opensuse.org/request/show/962281 Has been accepted now. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194875 https://bugzilla.suse.com/show_bug.cgi?id=1194875#c13 Martin Li��ka <martin.liska@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED Flags|needinfo?(stefen.allen@suse | |.com) | --- Comment #13 from Martin Li��ka <martin.liska@suse.com> --- Thanks for it, thus fixed in devel project. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194875 https://bugzilla.suse.com/show_bug.cgi?id=1194875#c14 --- Comment #14 from Nathan Cutler <ncutler@suse.com> --- The Factory submission is https://build.opensuse.org/request/show/963723 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194875 https://bugzilla.suse.com/show_bug.cgi?id=1194875#c16 Martin Li��ka <martin.liska@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #16 from Martin Li��ka <martin.liska@suse.com> --- So apparently it's not resolved yet: [ 419s] /home/abuild/rpmbuild/BUILD/ceph-16.2.7-640-gceb23c7491b/src/include/rados/buffer.h:98:52: error: expected '{' before '<' token [ 419s] /home/abuild/rpmbuild/BUILD/ceph-16.2.7-640-gceb23c7491b/src/include/rados/buffer.h:374:17: error: 'unique_ptr' in namespace 'std' does not name a template type [ 419s] 374 | static std::unique_ptr<ptr_node, disposer> [ 419s] | ^~~~~~~~~~ [ 419s] /home/abuild/rpmbuild/BUILD/ceph-16.2.7-640-gceb23c7491b/src/include/rados/buffer.h:65:1: note: 'std::unique_ptr' is defined in header '<memory>'; did you forget to '#include <memory>'? [ 419s] 64 | #include "inline_memory.h" [ 419s] +++ |+#include <memory> [ 419s] 65 | https://build.opensuse.org/build/openSUSE:Factory:Staging:Gcc7/standard/x86_... which is something mentioned by Nathan here: https://tracker.ceph.com/issues/53896#note-5 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194875 https://bugzilla.suse.com/show_bug.cgi?id=1194875#c17 --- Comment #17 from Nathan Cutler <ncutler@suse.com> --- Looks like this is also needed: https://github.com/SUSE/ceph/pull/470 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194875 https://bugzilla.suse.com/show_bug.cgi?id=1194875#c18 --- Comment #18 from Martin Li��ka <martin.liska@suse.com> --- Yes, I can confirm that. It's the last missing piece based on my local build. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194875 https://bugzilla.suse.com/show_bug.cgi?id=1194875#c19 --- Comment #19 from Nathan Cutler <ncutler@suse.com> --- upstream pacific cherry-pick: https://github.com/ceph/ceph/pull/45642 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194875 https://bugzilla.suse.com/show_bug.cgi?id=1194875#c20 --- Comment #20 from Stefen Allen <stefen.allen@suse.com> --- PR #470 is in https://build.opensuse.org/package/requests/filesystems:ceph/ceph Should be set now -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194875 https://bugzilla.suse.com/show_bug.cgi?id=1194875#c21 --- Comment #21 from Nathan Cutler <ncutler@suse.com> --- (In reply to Stefen Allen from comment #20)
I'm sorry, but are you sure about that? - pr#470 is not mentioned in https://build.opensuse.org/package/view_file/filesystems:ceph/ceph/ceph.chan... - the tarball currently in filesystems:ceph/ceph is ceph-16.2.7-650-gd083eaa3886.tar.bz2 - commit d083eaa3886 is "Merge pull request #469 from mgfritch/ses7p-reg-com-images" (which is consistent with ceph.changes) - commit d083eaa3886 is *not* the current HEAD of the ses7p branch. For pr#470 to be present, I would expect the commit to be f5dc462fdb5. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194875 https://bugzilla.suse.com/show_bug.cgi?id=1194875#c22 --- Comment #22 from Nathan Cutler <ncutler@suse.com> --- Ah! This SR needs to be accepted https://build.opensuse.org/request/show/966048 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194875 https://bugzilla.suse.com/show_bug.cgi?id=1194875#c23 Martin Li��ka <martin.liska@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #23 from Martin Li��ka <martin.liska@suse.com> --- Good, fixed in devel project then. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194875 https://bugzilla.suse.com/show_bug.cgi?id=1194875#c31 --- Comment #31 from Swamp Workflow Management <swamp@suse.de> --- SUSE-SU-2022:2817-1: An update that solves one vulnerability, contains one feature and has 7 fixes is now available. Category: security (important) Bug References: 1194131,1194875,1195359,1196044,1196733,1196785,1200064,1200553 CVE References: CVE-2021-3979 JIRA References: SES-2515 Sources used: SUSE Enterprise Storage 7.1 (src): ceph-16.2.9.536+g41a9f9a5573-150300.3.3.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194875 https://bugzilla.suse.com/show_bug.cgi?id=1194875#c34 --- Comment #34 from Swamp Workflow Management <swamp@suse.de> --- SUSE-SU-2022:4501-1: An update that solves one vulnerability, contains three features and has 9 fixes is now available. Category: security (important) Bug References: 1178073,1194131,1194353,1194875,1195359,1196044,1196785,1196938,1200064,1200553 CVE References: CVE-2021-3979 JIRA References: SES-2515,SLE-24710,SLE-24711 Sources used: openSUSE Leap Micro 5.2 (src): ceph-16.2.9.536+g41a9f9a5573-150300.6.3.1, fmt-8.0.1-150300.7.5.1 openSUSE Leap 15.3 (src): ceph-16.2.9.536+g41a9f9a5573-150300.6.3.1, ceph-test-16.2.9.536+g41a9f9a5573-150300.6.3.1, fmt-8.0.1-150300.7.5.1 SUSE Linux Enterprise Module for Basesystem 15-SP3 (src): ceph-16.2.9.536+g41a9f9a5573-150300.6.3.1, fmt-8.0.1-150300.7.5.1 SUSE Linux Enterprise Micro 5.2 (src): ceph-16.2.9.536+g41a9f9a5573-150300.6.3.1, fmt-8.0.1-150300.7.5.1 SUSE Linux Enterprise Micro 5.1 (src): ceph-16.2.9.536+g41a9f9a5573-150300.6.3.1, fmt-8.0.1-150300.7.5.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194875 Martin Li��ka <martin.liska@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ncutler@suse.com Blocks| |1194789 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194875 Chenzi Cao <chcao@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|screening-team-bugs@suse.de |ncutler@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194875 https://bugzilla.suse.com/show_bug.cgi?id=1194875#c1 Nathan Cutler <ncutler@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED --- Comment #1 from Nathan Cutler <ncutler@suse.com> --- It is known that ceph pacific (16.2.*) fails to build from source (FTBFS) when compiling with gcc 12 Upstream bug report: https://tracker.ceph.com/issues/53896 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194875 https://bugzilla.suse.com/show_bug.cgi?id=1194875#c2 --- Comment #2 from Martin Li��ka <martin.liska@suse.com> --- Thanks. Just small note, the following error was removed from GCC master: error: use of deleted function 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::nullptr_t) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::nullptr_t = std::nullptr_t]' It will be present since -std=c++23. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194875 Nathan Cutler <ncutler@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|ncutler@suse.com |mlatimer@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194875 Nathan Cutler <ncutler@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ceph-bugs@suse.de -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com