From cf932436c83754ecb3f0ef6d05a095f051764d35 Mon Sep 17 00:00:00 2001 From: Brad Hubbard Date: Fri, 24 Sep 2021 12:15:53 +1000 Subject: [PATCH] rpm, debian: Add hostname as a "make check" dependency test_hostname.cc depends on the hostname binary. Fixes: https://tracker.ceph.com/issues/52695 Signed-off-by: Brad Hubbard --- ceph.spec.in | 1 + debian/control | 1 + 2 files changed, 2 insertions(+) diff --git a/ceph.spec.in b/ceph.spec.in index 3827d7bb094f9..6fc47932abe5f 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -245,6 +245,7 @@ BuildRequires: librdkafka-devel BuildRequires: %{luarocks_package_name} %endif %if 0%{with make_check} +BuildRequires: hostname BuildRequires: jq BuildRequires: libuuid-devel BuildRequires: python%{python3_pkgversion}-bcrypt diff --git a/debian/control b/debian/control index 09011acb4fa0b..c3c84c9b4ceb9 100644 --- a/debian/control +++ b/debian/control @@ -20,6 +20,7 @@ Build-Depends: automake, git, gperf, g++ (>= 7), + hostname , javahelper, jq , jsonnet , -- 2.39.5