From: "Patrick Lauer" <patrick@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/ceph/files/, sys-cluster/ceph/
Date: Fri, 4 Oct 2024 11:53:26 +0000 (UTC) [thread overview]
Message-ID: <1728042750.e0728e24f29a6de82909cda5d81017e7900ea8c4.patrick@gentoo> (raw)
commit: e0728e24f29a6de82909cda5d81017e7900ea8c4
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 4 11:52:30 2024 +0000
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Fri Oct 4 11:52:30 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0728e24
sys-cluster/ceph: Fix build with use=spdk
Tests don't build, but we don't even run the tests.
Exclude tests from build.
Closes: https://bugs.gentoo.org/936889
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>
sys-cluster/ceph/ceph-18.2.4-r2.ebuild | 1 +
sys-cluster/ceph/ceph-19.2.0.ebuild | 3 +++
sys-cluster/ceph/files/ceph-18.2.4-spdk.patch | 13 +++++++++++++
3 files changed, 17 insertions(+)
diff --git a/sys-cluster/ceph/ceph-18.2.4-r2.ebuild b/sys-cluster/ceph/ceph-18.2.4-r2.ebuild
index f23e56039cf6..9684c2b6a87a 100644
--- a/sys-cluster/ceph/ceph-18.2.4-r2.ebuild
+++ b/sys-cluster/ceph/ceph-18.2.4-r2.ebuild
@@ -234,6 +234,7 @@ PATCHES=(
"${FILESDIR}/ceph-18.2.1-gcc14.patch"
"${FILESDIR}/ceph-18.2.1-gcc14-2.patch"
"${FILESDIR}/ceph-18.2.4-liburing.patch"
+ "${FILESDIR}/ceph-18.2.4-spdk.patch"
)
check-reqs_export_vars() {
diff --git a/sys-cluster/ceph/ceph-19.2.0.ebuild b/sys-cluster/ceph/ceph-19.2.0.ebuild
index 05634a309b86..24a94bc4b788 100644
--- a/sys-cluster/ceph/ceph-19.2.0.ebuild
+++ b/sys-cluster/ceph/ceph-19.2.0.ebuild
@@ -230,6 +230,7 @@ PATCHES=(
# https://bugs.gentoo.org/936889
"${FILESDIR}/ceph-18.2.1-gcc14.patch"
"${FILESDIR}/ceph-18.2.4-liburing.patch"
+ "${FILESDIR}/ceph-18.2.4-spdk.patch"
)
check-reqs_export_vars() {
@@ -289,6 +290,8 @@ src_prepare() {
if use spdk; then
# https://bugs.gentoo.org/871942
sed -i 's/[#]ifndef HAVE_ARC4RANDOM/#if 0/' src/spdk/lib/iscsi/iscsi.c || die
+ # unittests fail to build (??!?)
+ sed -i -e 's/CONFIG_UNIT_TESTS=y/CONFIG_UNIT_TESTS=n/' src/spdk/CONFIG || die
fi
# remove tests that need root access
diff --git a/sys-cluster/ceph/files/ceph-18.2.4-spdk.patch b/sys-cluster/ceph/files/ceph-18.2.4-spdk.patch
new file mode 100644
index 000000000000..27fb3c6eaa89
--- /dev/null
+++ b/sys-cluster/ceph/files/ceph-18.2.4-spdk.patch
@@ -0,0 +1,13 @@
+diff --git a/cmake/modules/BuildSPDK.cmake b/cmake/modules/BuildSPDK.cmake
+index d6ce97e..0c49e05 100644
+--- a/cmake/modules/BuildSPDK.cmake
++++ b/cmake/modules/BuildSPDK.cmake
+@@ -51,6 +51,8 @@ macro(build_spdk)
+ --with-dpdk=${DPDK_DIR}
+ --without-isal
+ --without-vhost
++ --disable-tests
++ --disable-unit-tests
+ --target-arch=${target_arch}
+ # unset $CFLAGS, otherwise it will interfere with how SPDK sets
+ # its include directory.
next reply other threads:[~2024-10-04 11:53 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-04 11:53 Patrick Lauer [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-09-13 23:49 [gentoo-commits] repo/gentoo:master commit in: sys-cluster/ceph/files/, sys-cluster/ceph/ Patrick McLean
2023-08-10 21:02 Patrick McLean
2023-05-09 17:49 Patrick McLean
2023-04-18 8:46 Sam James
2023-04-11 23:28 Patrick McLean
2023-01-13 1:55 Patrick McLean
2022-12-30 6:33 Sam James
2022-10-20 1:27 Patrick McLean
2022-08-24 23:27 Patrick McLean
2022-08-23 7:44 罗百科
2022-08-22 20:29 Patrick McLean
2022-08-12 20:46 Patrick McLean
2022-07-13 0:20 Patrick McLean
2022-07-13 0:20 Patrick McLean
2022-05-04 22:43 Patrick McLean
2021-12-08 6:21 Patrick McLean
2021-05-27 5:30 Patrick McLean
2021-04-03 4:20 Patrick McLean
2021-02-26 0:44 Patrick McLean
2020-10-02 11:37 Vadim Misbakh-Soloviov
2020-08-05 0:16 Patrick McLean
2020-07-20 20:10 Patrick McLean
2020-06-27 20:00 Patrick McLean
2020-06-01 19:14 Patrick McLean
2020-05-28 19:09 Patrick McLean
2020-04-23 20:44 Patrick McLean
2020-03-05 1:17 Patrick McLean
2019-04-15 23:29 Patrick McLean
2019-04-05 1:48 Patrick McLean
2019-03-22 22:32 Patrick McLean
2019-02-13 19:52 Patrick McLean
2018-10-17 0:38 Patrick McLean
2018-07-10 20:51 Patrick McLean
2018-06-13 17:52 Patrick McLean
2018-03-14 1:34 Patrick McLean
2017-09-07 23:40 Patrick McLean
2017-09-07 23:40 Patrick McLean
2017-09-01 1:46 Patrick McLean
2017-07-31 23:06 Patrick McLean
2017-07-11 2:18 Patrick McLean
2017-03-17 2:20 Patrick McLean
2017-03-08 22:57 Patrick McLean
2017-03-02 0:38 Patrick McLean
2016-10-27 21:31 Patrick McLean
2016-06-16 10:57 Yixun Lan
2016-05-25 17:56 Patrick McLean
2016-02-16 10:04 Yixun Lan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1728042750.e0728e24f29a6de82909cda5d81017e7900ea8c4.patrick@gentoo \
--to=patrick@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox