[LU-4496] RPM build failed if ./configure --disable-modules Created: 16/Jan/14  Updated: 25/Mar/14  Resolved: 25/Mar/14

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

Type: Bug Priority: Minor
Reporter: Dmitry Eremin (Inactive) Assignee: Dmitry Eremin (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-3953 lustre build system improvments Closed
Severity: 3
Rank (Obsolete): 12301

 Description   

There is no way to produce RPMs for only userspace tools without kernel modules.

./configure --disable-modules
make rpms
[...]
RPM build errors:
    File not found by glob: /home/rpmbuild/BUILDROOT/lustre-client-2.5.54-2.6.32_358.23.2.el6_lustre.g2504340.x86_64_g89510ee.x86_64/lib/modules/2.6.32-358.23.2.el6_lustre.g2504340.x86_64/extra/*
    File not found: /home/rpmbuild/BUILDROOT/lustre-client-2.5.54-2.6.32_358.23.2.el6_lustre.g2504340.x86_64_g89510ee.x86_64/lib/modules/2.6.32-358.23.2.el6_lustre.g2504340.x86_64/extra/kernel/fs/lustre/llog_test.ko
make: *** [rpms] Error 1

lustre.spec file don't have condition and always try to produce lustre-modules RPM.



 Comments   
Comment by Dmitry Eremin (Inactive) [ 19/Feb/14 ]

Patch is http://review.whamcloud.com/9306

Comment by Dmitry Eremin (Inactive) [ 25/Mar/14 ]

landed in master.

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