[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1037602: ceph: ftbfs with GCC-13



Source: ceph
Followup-For: Bug #1037602
Tags: patch
User: debian-riscv@lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: debian-riscv@lists.debian.org

Dear Maintainer,

I found these commits that was trying to fix the issue but it looks like
they not done yet. I can confrim the attached patch can fix the issue.
https://salsa.debian.org/ceph-team/ceph/-/commit/9104dcb08ce6e86f4b2f33286938c6a90f659471
https://salsa.debian.org/ceph-team/ceph/-/commit/9cc4c414c1729b6a5b101c46cdfea4ab32f179f3

Or upgrade to 18.1.2 as you have done on salsa, but this maybe cost more
time to finish.

The reason I am ccing riscv mail list is that the ceph package is a very
key package and now it was a blocker for riscv64 official rebootstrap
from my view.
https://buildd.debian.org/status/package.php?p=ceph

So could you apply it or upgrade to new version at your next upload?

-- 
Regards,
--
  Bo YU

diff -Nru ceph-16.2.11+ds/debian/changelog ceph-16.2.11+ds/debian/changelog
--- ceph-16.2.11+ds/debian/changelog	2023-02-16 18:54:41.000000000 +0800
+++ ceph-16.2.11+ds/debian/changelog	2023-09-18 15:34:20.000000000 +0800
@@ -1,3 +1,10 @@
+ceph (16.2.11+ds-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix gcc-13 build issue. (Closes: #1037602)
+
+ -- Bo YU <tsu.yubo@gmail.com>  Mon, 18 Sep 2023 15:34:20 +0800
+
 ceph (16.2.11+ds-2) unstable; urgency=medium
 
   * Add missing python3-distutils runtime depends in ceph-common.
diff -Nru ceph-16.2.11+ds/debian/patches/fix-gcc-13-issue.patch ceph-16.2.11+ds/debian/patches/fix-gcc-13-issue.patch
--- ceph-16.2.11+ds/debian/patches/fix-gcc-13-issue.patch	1970-01-01 07:30:00.000000000 +0730
+++ ceph-16.2.11+ds/debian/patches/fix-gcc-13-issue.patch	2023-09-18 15:34:15.000000000 +0800
@@ -0,0 +1,59 @@
+--- a/src/common/subsys_types.h
++++ b/src/common/subsys_types.h
+@@ -17,6 +17,7 @@
+ 
+ #include <algorithm>
+ #include <array>
++#include <cstdint>
+ 
+ enum ceph_subsys_id_t {
+   ceph_subsys_,   // default
+--- a/src/rocksdb/db/compaction/compaction_iterator.h
++++ b/src/rocksdb/db/compaction/compaction_iterator.h
+@@ -9,6 +9,7 @@
+ #include <string>
+ #include <unordered_set>
+ #include <vector>
++#include <cstdint>
+ 
+ #include "db/compaction/compaction.h"
+ #include "db/compaction/compaction_iteration_stats.h"
+--- a/src/common/Cycles.h
++++ b/src/common/Cycles.h
+@@ -32,6 +32,8 @@
+ #ifndef CEPH_CYCLES_H
+ #define CEPH_CYCLES_H
+ 
++#include <cstdint>
++
+ /**
+  * This class provides static methods that read the fine-grain CPU
+  * cycle counter and translate between cycle-level times and absolute
+--- a/src/rocksdb/include/rocksdb/rocksdb_namespace.h
++++ b/src/rocksdb/include/rocksdb/rocksdb_namespace.h
+@@ -8,3 +8,5 @@
+ #ifndef ROCKSDB_NAMESPACE
+ #define ROCKSDB_NAMESPACE rocksdb
+ #endif
++
++#include <cstdint>
+--- a/src/rocksdb/third-party/folly/folly/synchronization/detail/ProxyLockable-inl.h
++++ b/src/rocksdb/third-party/folly/folly/synchronization/detail/ProxyLockable-inl.h
+@@ -14,6 +14,7 @@
+ #include <mutex>
+ #include <stdexcept>
+ #include <utility>
++#include <system_error>
+ 
+ namespace folly {
+ namespace detail {
+--- a/src/librbd/api/PoolMetadata.h
++++ b/src/librbd/api/PoolMetadata.h
+@@ -9,6 +9,7 @@
+ 
+ #include <map>
+ #include <string>
++#include <cstdint>
+ 
+ namespace librbd {
+ 
diff -Nru ceph-16.2.11+ds/debian/patches/series ceph-16.2.11+ds/debian/patches/series
--- ceph-16.2.11+ds/debian/patches/series	2023-02-16 18:54:41.000000000 +0800
+++ ceph-16.2.11+ds/debian/patches/series	2023-09-17 23:50:59.000000000 +0800
@@ -23,3 +23,4 @@
 CVE-2022-3650_1_ceph-crash_drop_privleges_to_run_as_ceph_user_rather_than_root.patch
 CVE-2022-3650_2_ceph-crash_fix_stderr_handling.patch
 CVE-2022-3854_1_rgw_Guard_against_malformed_bucket_URLs.patch
+fix-gcc-13-issue.patch
diff -Nru ceph-16.2.11+ds/debian/rules ceph-16.2.11+ds/debian/rules
--- ceph-16.2.11+ds/debian/rules	2023-02-16 18:54:41.000000000 +0800
+++ ceph-16.2.11+ds/debian/rules	2023-09-18 11:46:12.000000000 +0800
@@ -46,7 +46,7 @@
 endif
 
 # Fix build with fmt 9
-export DEB_CXXFLAGS_MAINT_APPEND += -DFMT_DEPRECATED_OSTREAM
+export DEB_CXXFLAGS_MAINT_APPEND += -DFMT_DEPRECATED_OSTREAM -fpermissive
 
 # Enable hardening
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=-lto
diff -Nru ceph-16.2.11+ds/src/test/debian-jessie/debian/changelog ceph-16.2.11+ds/src/test/debian-jessie/debian/changelog
--- ceph-16.2.11+ds/src/test/debian-jessie/debian/changelog	2023-02-16 18:54:41.000000000 +0800
+++ ceph-16.2.11+ds/src/test/debian-jessie/debian/changelog	2023-09-18 15:34:20.000000000 +0800
@@ -1,3 +1,10 @@
+ceph (16.2.11+ds-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix gcc-13 build issue. (Closes: #1037602)
+
+ -- Bo YU <tsu.yubo@gmail.com>  Mon, 18 Sep 2023 15:34:20 +0800
+
 ceph (16.2.11+ds-2) unstable; urgency=medium
 
   * Add missing python3-distutils runtime depends in ceph-common.
diff -Nru ceph-16.2.11+ds/src/test/debian-jessie/debian/patches/fix-gcc-13-issue.patch ceph-16.2.11+ds/src/test/debian-jessie/debian/patches/fix-gcc-13-issue.patch
--- ceph-16.2.11+ds/src/test/debian-jessie/debian/patches/fix-gcc-13-issue.patch	1970-01-01 07:30:00.000000000 +0730
+++ ceph-16.2.11+ds/src/test/debian-jessie/debian/patches/fix-gcc-13-issue.patch	2023-09-18 15:34:15.000000000 +0800
@@ -0,0 +1,59 @@
+--- a/src/common/subsys_types.h
++++ b/src/common/subsys_types.h
+@@ -17,6 +17,7 @@
+ 
+ #include <algorithm>
+ #include <array>
++#include <cstdint>
+ 
+ enum ceph_subsys_id_t {
+   ceph_subsys_,   // default
+--- a/src/rocksdb/db/compaction/compaction_iterator.h
++++ b/src/rocksdb/db/compaction/compaction_iterator.h
+@@ -9,6 +9,7 @@
+ #include <string>
+ #include <unordered_set>
+ #include <vector>
++#include <cstdint>
+ 
+ #include "db/compaction/compaction.h"
+ #include "db/compaction/compaction_iteration_stats.h"
+--- a/src/common/Cycles.h
++++ b/src/common/Cycles.h
+@@ -32,6 +32,8 @@
+ #ifndef CEPH_CYCLES_H
+ #define CEPH_CYCLES_H
+ 
++#include <cstdint>
++
+ /**
+  * This class provides static methods that read the fine-grain CPU
+  * cycle counter and translate between cycle-level times and absolute
+--- a/src/rocksdb/include/rocksdb/rocksdb_namespace.h
++++ b/src/rocksdb/include/rocksdb/rocksdb_namespace.h
+@@ -8,3 +8,5 @@
+ #ifndef ROCKSDB_NAMESPACE
+ #define ROCKSDB_NAMESPACE rocksdb
+ #endif
++
++#include <cstdint>
+--- a/src/rocksdb/third-party/folly/folly/synchronization/detail/ProxyLockable-inl.h
++++ b/src/rocksdb/third-party/folly/folly/synchronization/detail/ProxyLockable-inl.h
+@@ -14,6 +14,7 @@
+ #include <mutex>
+ #include <stdexcept>
+ #include <utility>
++#include <system_error>
+ 
+ namespace folly {
+ namespace detail {
+--- a/src/librbd/api/PoolMetadata.h
++++ b/src/librbd/api/PoolMetadata.h
+@@ -9,6 +9,7 @@
+ 
+ #include <map>
+ #include <string>
++#include <cstdint>
+ 
+ namespace librbd {
+ 
diff -Nru ceph-16.2.11+ds/src/test/debian-jessie/debian/patches/series ceph-16.2.11+ds/src/test/debian-jessie/debian/patches/series
--- ceph-16.2.11+ds/src/test/debian-jessie/debian/patches/series	2023-02-16 18:54:41.000000000 +0800
+++ ceph-16.2.11+ds/src/test/debian-jessie/debian/patches/series	2023-09-17 23:50:59.000000000 +0800
@@ -23,3 +23,4 @@
 CVE-2022-3650_1_ceph-crash_drop_privleges_to_run_as_ceph_user_rather_than_root.patch
 CVE-2022-3650_2_ceph-crash_fix_stderr_handling.patch
 CVE-2022-3854_1_rgw_Guard_against_malformed_bucket_URLs.patch
+fix-gcc-13-issue.patch
diff -Nru ceph-16.2.11+ds/src/test/debian-jessie/debian/rules ceph-16.2.11+ds/src/test/debian-jessie/debian/rules
--- ceph-16.2.11+ds/src/test/debian-jessie/debian/rules	2023-02-16 18:54:41.000000000 +0800
+++ ceph-16.2.11+ds/src/test/debian-jessie/debian/rules	2023-09-18 11:46:12.000000000 +0800
@@ -46,7 +46,7 @@
 endif
 
 # Fix build with fmt 9
-export DEB_CXXFLAGS_MAINT_APPEND += -DFMT_DEPRECATED_OSTREAM
+export DEB_CXXFLAGS_MAINT_APPEND += -DFMT_DEPRECATED_OSTREAM -fpermissive
 
 # Enable hardening
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=-lto
diff -Nru ceph-16.2.11+ds/src/test/ubuntu-16.04/debian/changelog ceph-16.2.11+ds/src/test/ubuntu-16.04/debian/changelog
--- ceph-16.2.11+ds/src/test/ubuntu-16.04/debian/changelog	2023-02-16 18:54:41.000000000 +0800
+++ ceph-16.2.11+ds/src/test/ubuntu-16.04/debian/changelog	2023-09-18 15:34:20.000000000 +0800
@@ -1,3 +1,10 @@
+ceph (16.2.11+ds-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix gcc-13 build issue. (Closes: #1037602)
+
+ -- Bo YU <tsu.yubo@gmail.com>  Mon, 18 Sep 2023 15:34:20 +0800
+
 ceph (16.2.11+ds-2) unstable; urgency=medium
 
   * Add missing python3-distutils runtime depends in ceph-common.
diff -Nru ceph-16.2.11+ds/src/test/ubuntu-16.04/debian/patches/fix-gcc-13-issue.patch ceph-16.2.11+ds/src/test/ubuntu-16.04/debian/patches/fix-gcc-13-issue.patch
--- ceph-16.2.11+ds/src/test/ubuntu-16.04/debian/patches/fix-gcc-13-issue.patch	1970-01-01 07:30:00.000000000 +0730
+++ ceph-16.2.11+ds/src/test/ubuntu-16.04/debian/patches/fix-gcc-13-issue.patch	2023-09-18 15:34:15.000000000 +0800
@@ -0,0 +1,59 @@
+--- a/src/common/subsys_types.h
++++ b/src/common/subsys_types.h
+@@ -17,6 +17,7 @@
+ 
+ #include <algorithm>
+ #include <array>
++#include <cstdint>
+ 
+ enum ceph_subsys_id_t {
+   ceph_subsys_,   // default
+--- a/src/rocksdb/db/compaction/compaction_iterator.h
++++ b/src/rocksdb/db/compaction/compaction_iterator.h
+@@ -9,6 +9,7 @@
+ #include <string>
+ #include <unordered_set>
+ #include <vector>
++#include <cstdint>
+ 
+ #include "db/compaction/compaction.h"
+ #include "db/compaction/compaction_iteration_stats.h"
+--- a/src/common/Cycles.h
++++ b/src/common/Cycles.h
+@@ -32,6 +32,8 @@
+ #ifndef CEPH_CYCLES_H
+ #define CEPH_CYCLES_H
+ 
++#include <cstdint>
++
+ /**
+  * This class provides static methods that read the fine-grain CPU
+  * cycle counter and translate between cycle-level times and absolute
+--- a/src/rocksdb/include/rocksdb/rocksdb_namespace.h
++++ b/src/rocksdb/include/rocksdb/rocksdb_namespace.h
+@@ -8,3 +8,5 @@
+ #ifndef ROCKSDB_NAMESPACE
+ #define ROCKSDB_NAMESPACE rocksdb
+ #endif
++
++#include <cstdint>
+--- a/src/rocksdb/third-party/folly/folly/synchronization/detail/ProxyLockable-inl.h
++++ b/src/rocksdb/third-party/folly/folly/synchronization/detail/ProxyLockable-inl.h
+@@ -14,6 +14,7 @@
+ #include <mutex>
+ #include <stdexcept>
+ #include <utility>
++#include <system_error>
+ 
+ namespace folly {
+ namespace detail {
+--- a/src/librbd/api/PoolMetadata.h
++++ b/src/librbd/api/PoolMetadata.h
+@@ -9,6 +9,7 @@
+ 
+ #include <map>
+ #include <string>
++#include <cstdint>
+ 
+ namespace librbd {
+ 
diff -Nru ceph-16.2.11+ds/src/test/ubuntu-16.04/debian/patches/series ceph-16.2.11+ds/src/test/ubuntu-16.04/debian/patches/series
--- ceph-16.2.11+ds/src/test/ubuntu-16.04/debian/patches/series	2023-02-16 18:54:41.000000000 +0800
+++ ceph-16.2.11+ds/src/test/ubuntu-16.04/debian/patches/series	2023-09-17 23:50:59.000000000 +0800
@@ -23,3 +23,4 @@
 CVE-2022-3650_1_ceph-crash_drop_privleges_to_run_as_ceph_user_rather_than_root.patch
 CVE-2022-3650_2_ceph-crash_fix_stderr_handling.patch
 CVE-2022-3854_1_rgw_Guard_against_malformed_bucket_URLs.patch
+fix-gcc-13-issue.patch
diff -Nru ceph-16.2.11+ds/src/test/ubuntu-16.04/debian/rules ceph-16.2.11+ds/src/test/ubuntu-16.04/debian/rules
--- ceph-16.2.11+ds/src/test/ubuntu-16.04/debian/rules	2023-02-16 18:54:41.000000000 +0800
+++ ceph-16.2.11+ds/src/test/ubuntu-16.04/debian/rules	2023-09-18 11:46:12.000000000 +0800
@@ -46,7 +46,7 @@
 endif
 
 # Fix build with fmt 9
-export DEB_CXXFLAGS_MAINT_APPEND += -DFMT_DEPRECATED_OSTREAM
+export DEB_CXXFLAGS_MAINT_APPEND += -DFMT_DEPRECATED_OSTREAM -fpermissive
 
 # Enable hardening
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=-lto
diff -Nru ceph-16.2.11+ds/src/test/ubuntu-18.04/debian/changelog ceph-16.2.11+ds/src/test/ubuntu-18.04/debian/changelog
--- ceph-16.2.11+ds/src/test/ubuntu-18.04/debian/changelog	2023-02-16 18:54:41.000000000 +0800
+++ ceph-16.2.11+ds/src/test/ubuntu-18.04/debian/changelog	2023-09-18 15:34:20.000000000 +0800
@@ -1,3 +1,10 @@
+ceph (16.2.11+ds-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix gcc-13 build issue. (Closes: #1037602)
+
+ -- Bo YU <tsu.yubo@gmail.com>  Mon, 18 Sep 2023 15:34:20 +0800
+
 ceph (16.2.11+ds-2) unstable; urgency=medium
 
   * Add missing python3-distutils runtime depends in ceph-common.
diff -Nru ceph-16.2.11+ds/src/test/ubuntu-18.04/debian/patches/fix-gcc-13-issue.patch ceph-16.2.11+ds/src/test/ubuntu-18.04/debian/patches/fix-gcc-13-issue.patch
--- ceph-16.2.11+ds/src/test/ubuntu-18.04/debian/patches/fix-gcc-13-issue.patch	1970-01-01 07:30:00.000000000 +0730
+++ ceph-16.2.11+ds/src/test/ubuntu-18.04/debian/patches/fix-gcc-13-issue.patch	2023-09-18 15:34:15.000000000 +0800
@@ -0,0 +1,59 @@
+--- a/src/common/subsys_types.h
++++ b/src/common/subsys_types.h
+@@ -17,6 +17,7 @@
+ 
+ #include <algorithm>
+ #include <array>
++#include <cstdint>
+ 
+ enum ceph_subsys_id_t {
+   ceph_subsys_,   // default
+--- a/src/rocksdb/db/compaction/compaction_iterator.h
++++ b/src/rocksdb/db/compaction/compaction_iterator.h
+@@ -9,6 +9,7 @@
+ #include <string>
+ #include <unordered_set>
+ #include <vector>
++#include <cstdint>
+ 
+ #include "db/compaction/compaction.h"
+ #include "db/compaction/compaction_iteration_stats.h"
+--- a/src/common/Cycles.h
++++ b/src/common/Cycles.h
+@@ -32,6 +32,8 @@
+ #ifndef CEPH_CYCLES_H
+ #define CEPH_CYCLES_H
+ 
++#include <cstdint>
++
+ /**
+  * This class provides static methods that read the fine-grain CPU
+  * cycle counter and translate between cycle-level times and absolute
+--- a/src/rocksdb/include/rocksdb/rocksdb_namespace.h
++++ b/src/rocksdb/include/rocksdb/rocksdb_namespace.h
+@@ -8,3 +8,5 @@
+ #ifndef ROCKSDB_NAMESPACE
+ #define ROCKSDB_NAMESPACE rocksdb
+ #endif
++
++#include <cstdint>
+--- a/src/rocksdb/third-party/folly/folly/synchronization/detail/ProxyLockable-inl.h
++++ b/src/rocksdb/third-party/folly/folly/synchronization/detail/ProxyLockable-inl.h
+@@ -14,6 +14,7 @@
+ #include <mutex>
+ #include <stdexcept>
+ #include <utility>
++#include <system_error>
+ 
+ namespace folly {
+ namespace detail {
+--- a/src/librbd/api/PoolMetadata.h
++++ b/src/librbd/api/PoolMetadata.h
+@@ -9,6 +9,7 @@
+ 
+ #include <map>
+ #include <string>
++#include <cstdint>
+ 
+ namespace librbd {
+ 
diff -Nru ceph-16.2.11+ds/src/test/ubuntu-18.04/debian/patches/series ceph-16.2.11+ds/src/test/ubuntu-18.04/debian/patches/series
--- ceph-16.2.11+ds/src/test/ubuntu-18.04/debian/patches/series	2023-02-16 18:54:41.000000000 +0800
+++ ceph-16.2.11+ds/src/test/ubuntu-18.04/debian/patches/series	2023-09-17 23:50:59.000000000 +0800
@@ -23,3 +23,4 @@
 CVE-2022-3650_1_ceph-crash_drop_privleges_to_run_as_ceph_user_rather_than_root.patch
 CVE-2022-3650_2_ceph-crash_fix_stderr_handling.patch
 CVE-2022-3854_1_rgw_Guard_against_malformed_bucket_URLs.patch
+fix-gcc-13-issue.patch
diff -Nru ceph-16.2.11+ds/src/test/ubuntu-18.04/debian/rules ceph-16.2.11+ds/src/test/ubuntu-18.04/debian/rules
--- ceph-16.2.11+ds/src/test/ubuntu-18.04/debian/rules	2023-02-16 18:54:41.000000000 +0800
+++ ceph-16.2.11+ds/src/test/ubuntu-18.04/debian/rules	2023-09-18 11:46:12.000000000 +0800
@@ -46,7 +46,7 @@
 endif
 
 # Fix build with fmt 9
-export DEB_CXXFLAGS_MAINT_APPEND += -DFMT_DEPRECATED_OSTREAM
+export DEB_CXXFLAGS_MAINT_APPEND += -DFMT_DEPRECATED_OSTREAM -fpermissive
 
 # Enable hardening
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=-lto
diff -Nru ceph-16.2.11+ds/src/test/ubuntu-20.04/debian/changelog ceph-16.2.11+ds/src/test/ubuntu-20.04/debian/changelog
--- ceph-16.2.11+ds/src/test/ubuntu-20.04/debian/changelog	2023-02-16 18:54:41.000000000 +0800
+++ ceph-16.2.11+ds/src/test/ubuntu-20.04/debian/changelog	2023-09-18 15:34:20.000000000 +0800
@@ -1,3 +1,10 @@
+ceph (16.2.11+ds-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix gcc-13 build issue. (Closes: #1037602)
+
+ -- Bo YU <tsu.yubo@gmail.com>  Mon, 18 Sep 2023 15:34:20 +0800
+
 ceph (16.2.11+ds-2) unstable; urgency=medium
 
   * Add missing python3-distutils runtime depends in ceph-common.
diff -Nru ceph-16.2.11+ds/src/test/ubuntu-20.04/debian/patches/fix-gcc-13-issue.patch ceph-16.2.11+ds/src/test/ubuntu-20.04/debian/patches/fix-gcc-13-issue.patch
--- ceph-16.2.11+ds/src/test/ubuntu-20.04/debian/patches/fix-gcc-13-issue.patch	1970-01-01 07:30:00.000000000 +0730
+++ ceph-16.2.11+ds/src/test/ubuntu-20.04/debian/patches/fix-gcc-13-issue.patch	2023-09-18 15:34:15.000000000 +0800
@@ -0,0 +1,59 @@
+--- a/src/common/subsys_types.h
++++ b/src/common/subsys_types.h
+@@ -17,6 +17,7 @@
+ 
+ #include <algorithm>
+ #include <array>
++#include <cstdint>
+ 
+ enum ceph_subsys_id_t {
+   ceph_subsys_,   // default
+--- a/src/rocksdb/db/compaction/compaction_iterator.h
++++ b/src/rocksdb/db/compaction/compaction_iterator.h
+@@ -9,6 +9,7 @@
+ #include <string>
+ #include <unordered_set>
+ #include <vector>
++#include <cstdint>
+ 
+ #include "db/compaction/compaction.h"
+ #include "db/compaction/compaction_iteration_stats.h"
+--- a/src/common/Cycles.h
++++ b/src/common/Cycles.h
+@@ -32,6 +32,8 @@
+ #ifndef CEPH_CYCLES_H
+ #define CEPH_CYCLES_H
+ 
++#include <cstdint>
++
+ /**
+  * This class provides static methods that read the fine-grain CPU
+  * cycle counter and translate between cycle-level times and absolute
+--- a/src/rocksdb/include/rocksdb/rocksdb_namespace.h
++++ b/src/rocksdb/include/rocksdb/rocksdb_namespace.h
+@@ -8,3 +8,5 @@
+ #ifndef ROCKSDB_NAMESPACE
+ #define ROCKSDB_NAMESPACE rocksdb
+ #endif
++
++#include <cstdint>
+--- a/src/rocksdb/third-party/folly/folly/synchronization/detail/ProxyLockable-inl.h
++++ b/src/rocksdb/third-party/folly/folly/synchronization/detail/ProxyLockable-inl.h
+@@ -14,6 +14,7 @@
+ #include <mutex>
+ #include <stdexcept>
+ #include <utility>
++#include <system_error>
+ 
+ namespace folly {
+ namespace detail {
+--- a/src/librbd/api/PoolMetadata.h
++++ b/src/librbd/api/PoolMetadata.h
+@@ -9,6 +9,7 @@
+ 
+ #include <map>
+ #include <string>
++#include <cstdint>
+ 
+ namespace librbd {
+ 
diff -Nru ceph-16.2.11+ds/src/test/ubuntu-20.04/debian/patches/series ceph-16.2.11+ds/src/test/ubuntu-20.04/debian/patches/series
--- ceph-16.2.11+ds/src/test/ubuntu-20.04/debian/patches/series	2023-02-16 18:54:41.000000000 +0800
+++ ceph-16.2.11+ds/src/test/ubuntu-20.04/debian/patches/series	2023-09-17 23:50:59.000000000 +0800
@@ -23,3 +23,4 @@
 CVE-2022-3650_1_ceph-crash_drop_privleges_to_run_as_ceph_user_rather_than_root.patch
 CVE-2022-3650_2_ceph-crash_fix_stderr_handling.patch
 CVE-2022-3854_1_rgw_Guard_against_malformed_bucket_URLs.patch
+fix-gcc-13-issue.patch
diff -Nru ceph-16.2.11+ds/src/test/ubuntu-20.04/debian/rules ceph-16.2.11+ds/src/test/ubuntu-20.04/debian/rules
--- ceph-16.2.11+ds/src/test/ubuntu-20.04/debian/rules	2023-02-16 18:54:41.000000000 +0800
+++ ceph-16.2.11+ds/src/test/ubuntu-20.04/debian/rules	2023-09-18 11:46:12.000000000 +0800
@@ -46,7 +46,7 @@
 endif
 
 # Fix build with fmt 9
-export DEB_CXXFLAGS_MAINT_APPEND += -DFMT_DEPRECATED_OSTREAM
+export DEB_CXXFLAGS_MAINT_APPEND += -DFMT_DEPRECATED_OSTREAM -fpermissive
 
 # Enable hardening
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=-lto

Attachment: signature.asc
Description: PGP signature


Reply to: