[LU-15005] Ubuntu dkms packages do not list all dependancies required Created: 14/Sep/21  Updated: 06/Jul/22  Resolved: 10/Oct/21

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.14.0
Fix Version/s: Lustre 2.15.0

Type: Improvement Priority: Minor
Reporter: James Beal Assignee: James Beal
Resolution: Fixed Votes: 0
Labels: None
Environment:

Ubuntu 18.04 and Ubuntu 20.04


Issue Links:
Duplicate
Rank (Obsolete): 9223372036854775807

 Description   

When you try and install a lustre-client-modules-dkms package on a clean upstream ubuntu image then installation fails unless a number of other packages are installed in advance.

 

Adding the following patch to lustre 2.14.0 appears to solve the issue.

From d9b448a0cc81830345e5f8ab081fc5e24046e4e4 Mon Sep 17 00:00:00 2001
From: James Beal <jb23@sanger.ac.uk>
Date: Tue, 14 Sep 2021 11:22:30 +0100
Subject: [PATCH 1/2] Add packages needed for an install on an upstream cloud
 image---
 debian/control | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)diff --git a/debian/control b/debian/control
index 77a22a2efe..3bc78e783c 100644
--- a/debian/control
+++ b/debian/control
@@ -108,7 +108,7 @@ Package: lustre-client-modules-dkms
 Section: admin
 Architecture: i386 armhf powerpc ppc64el amd64 ia64
 Priority: optional
-Depends: dkms, automake, libtool, libyaml-dev, linux-headers-generic | linux-headers | linux-headers-amd64, zlib1g
+Depends: dkms, automake, libtool, libyaml-dev, linux-headers-generic | linux-headers | linux-headers-amd64, zlib1g, python3-distutils, python3-dev, libnl-genl-3-dev, zlib1g-dev, pkg-config
 Recommends: linux-image, lustre-client-utils
 Provides: lustre-client-modules
 Description: Lustre Linux kernel module (DKMS)
-- 
2.25.1
From b280f22cf03b6602024f41b78be73a1aef02c6b7 Mon Sep 17 00:00:00 2001
From: James Beal <jb23@sanger.ac.uk>
Date: Tue, 14 Sep 2021 13:58:14 +0100
Subject: [PATCH 2/2] control.main is copied inside---
 debian/control.main | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)diff --git a/debian/control.main b/debian/control.main
index 77a22a2efe..3bc78e783c 100644
--- a/debian/control.main
+++ b/debian/control.main
@@ -108,7 +108,7 @@ Package: lustre-client-modules-dkms
 Section: admin
 Architecture: i386 armhf powerpc ppc64el amd64 ia64
 Priority: optional
-Depends: dkms, automake, libtool, libyaml-dev, linux-headers-generic | linux-headers | linux-headers-amd64, zlib1g
+Depends: dkms, automake, libtool, libyaml-dev, linux-headers-generic | linux-headers | linux-headers-amd64, zlib1g, python3-distutils, python3-dev, libnl-genl-3-dev, zlib1g-dev, pkg-config
 Recommends: linux-image, lustre-client-utils
 Provides: lustre-client-modules
 Description: Lustre Linux kernel module (DKMS)
-- 
2.25.1

 

 

 



 Comments   
Comment by Gerrit Updater [ 21/Sep/21 ]

"James Beal <james.beal@sanger.ac.uk>" uploaded a new patch: https://review.whamcloud.com/44999
Subject: LU-15005 build: Ubuntu dkms packages missing dependancies
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 446dd20f141fe25b75cad39c69944be6c228574d

Comment by Gerrit Updater [ 10/Oct/21 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/44999/
Subject: LU-15005 build: Ubuntu dkms packages missing dependancies
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 98eb212b1b6b1882b0776d16b081f72b04980326

Comment by Peter Jones [ 10/Oct/21 ]

Landed for 2.15

Comment by Gerrit Updater [ 24/Jun/22 ]

"Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/47747
Subject: LU-15005 build: wrong dependencies for lustre-client-modules deb package
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: e0bb0ff54d77553eee54f2efc9892e04f15c3794

Comment by Gerrit Updater [ 24/Jun/22 ]

"Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/47748
Subject: LU-15005 build: wrong dependencies for lustre-client-modules deb package
Project: fs/lustre-release
Branch: b2_15
Current Patch Set: 1
Commit: d746574cd92d612879db0a0ea7c221b41da82dba

Comment by Gerrit Updater [ 06/Jul/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47747/
Subject: LU-15005 build: wrong dependencies for lustre-client-modules deb package
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: b9d818a77b3c33d8d0e907aba1779323792d43ff

Comment by Gerrit Updater [ 06/Jul/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47748/
Subject: LU-15005 build: wrong dependencies for lustre-client-modules deb package
Project: fs/lustre-release
Branch: b2_15
Current Patch Set:
Commit: feba0e67fe819e9a3f1cb154f9d324c3ac28e7e4

Generated at Sat Feb 10 03:14:38 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.