[LU-16317] dkms: missing dependencies for flex, bison and libmount-devel Created: 16/Nov/22 Updated: 17/Feb/23 Resolved: 29/Nov/22 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.15.1 |
| Fix Version/s: | Lustre 2.16.0, Lustre 2.15.2 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Stephane Thiell | Assignee: | Jian Yu |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
CentOS 7.9 |
||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
This is likely a follow-up to The lustre-client dkms for Lustre 2.15.1 fails to build on clients that don't have flex, bison, or libmount-devel installed. checking whether to build Lustre client support... yes checking whether to build Linux kernel modules... yes (linux-gnu) configure: error: flex package is required to build kernel modules configure error, check /var/lib/dkms/lustre-client/2.15.1_2_ga1696d7/build/config.log It looks like Andreas saw it coming in this patch review: https://review.whamcloud.com/c/fs/lustre-release/+/47745 A BuildRequires for flex, bison and also libmount-devel should probably be added to the lustre (and lustre-dkms?) spec files. |
| Comments |
| Comment by Peter Jones [ 16/Nov/22 ] |
|
Jian Could you please advise? Thanks Peter |
| Comment by Gerrit Updater [ 17/Nov/22 ] |
|
"Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49183 |
| Comment by Gerrit Updater [ 29/Nov/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/49183/ |
| Comment by Peter Jones [ 29/Nov/22 ] |
|
Landed for 2.16 |
| Comment by Gerrit Updater [ 29/Nov/22 ] |
|
"Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49272 |
| Comment by Gerrit Updater [ 06/Dec/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/49272/ |
| Comment by Andreas Dilger [ 17/Feb/23 ] |
|
It is also worthwhile to note here for future reference that the libmount-devel RPM is available in the "Power Tools" YUM repository, which needs to be enabled in /etc/yum.repos.d/CentOS-PowerTools.repo or /etc/yum.repos.d/almalinux-powertools.repo. |