Whamcloud - gitweb
LU-16317 build: dkms build requires flex, bison and libmount-devel 72/49272/2
authorJian Yu <yujian@whamcloud.com>
Tue, 29 Nov 2022 17:01:45 +0000 (09:01 -0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 6 Dec 2022 02:52:25 +0000 (02:52 +0000)
This patch fixes lustre.spec.in and lustre-dkms.spec.in to add
requires for flex, bison, libmount and libmount-devel. The last
two have already been added into lustre.spec.in.

Lustre-change: https://review.whamcloud.com/49183
Lustre-commit: c74c630ff7596317d1b500fd385fca271b31708c

Test-Parameters: trivial

Fixes: 121a79651f ("LU-15967 build: configure script does not check for required build tools")
Fixes: f21b944127 ("LU-15940 build: add a required dependency for libmount")

Change-Id: I9923fc7eb09f974e8c38c3664138486a424e16d7
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49272
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre-dkms.spec.in
lustre.spec.in

index 755a3b5..242658f 100644 (file)
@@ -61,6 +61,7 @@ BuildArch:      noarch
 # (ie, "BUILD_DEPENDS[#]=<pkg>"), and have latest DKMS fixes integrated
 # for bugs that prevented our module to build/install.
 Requires:       dkms >= 2.2.0.3-28.git.7c3e7c5
+Requires:       flex bison libmount-devel libmount
 # for lnetctl
 Requires:      libyaml-devel
 Requires:      zlib-devel
index 348a7d9..13ec7c0 100644 (file)
@@ -194,7 +194,7 @@ Requires: %{requires_kmod_name} = %{requires_kmod_version}
 Requires: python3 >= 3.6.0
 BuildRequires: python3-devel >= 3.6.0, swig
 %endif
-BuildRequires: libtool libyaml-devel zlib-devel libnl3-devel
+BuildRequires: libtool libyaml-devel zlib-devel libnl3-devel flex bison
 %if "%{_vendor}" == "redhat"
 BuildRequires: redhat-rpm-config
 BuildRequires: pkgconfig