[LU-8377] lustre fail to build on el7 Created: 07/Jul/16  Updated: 13/Jul/16  Resolved: 13/Jul/16

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

Type: Bug Priority: Major
Reporter: Minh Diep Assignee: Minh Diep
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-5614 use %kernel_module_package for weak-u... Closed
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

After LU-5614 landed, we started to see el7 build failed. it's strange that it only failed on some builder but not all

Provides: lustre-iokit = 2.8.55_49_ged6bc55-3.10.0_327.18.2.el7.x86_64 lustre-iokit(x86-64) = 2.8.55_49_ged6bc55-3.10.0_327.18.2.el7.x86_64
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /bin/bash /usr/bin/perl perl(File::Path) perl(Getopt::Long) perl(Getopt::Std) perl(POSIX)
Processing files: lustre-client-debuginfo-2.8.55_49_ged6bc55-3.10.0_327.18.2.el7.x86_64.x86_64
Provides: lustre-client-debuginfo = 2.8.55_49_ged6bc55-3.10.0_327.18.2.el7.x86_64 lustre-client-debuginfo(x86-64) = 2.8.55_49_ged6bc55-3.10.0_327.18.2.el7.x86_64
Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files /tmp/rpmbuild-lustre-jenkins-MDpKUfHS/BUILDROOT/lustre-2.8.55_49_ged6bc55-1.x86_64
error: Installed (but unpackaged) file(s) found:
/lib/modules/3.10.0-327.18.2.el7.x86_64/extra/lustre-client-tests/fs/llog_test.ko
/lib/modules/3.10.0-327.18.2.el7.x86_64/extra/lustre-client/fs/fid.ko
/lib/modules/3.10.0-327.18.2.el7.x86_64/extra/lustre-client/fs/fld.ko
/lib/modules/3.10.0-327.18.2.el7.x86_64/extra/lustre-client/fs/llite_lloop.ko
/lib/modules/3.10.0-327.18.2.el7.x86_64/extra/lustre-client/fs/lmv.ko
/lib/modules/3.10.0-327.18.2.el7.x86_64/extra/lustre-client/fs/lov.ko
/lib/modules/3.10.0-327.18.2.el7.x86_64/extra/lustre-client/fs/lustre.ko
/lib/modules/3.10.0-327.18.2.el7.x86_64/extra/lustre-client/fs/mdc.ko
/lib/modules/3.10.0-327.18.2.el7.x86_64/extra/lustre-client/fs/mgc.ko
/lib/modules/3.10.0-327.18.2.el7.x86_64/extra/lustre-client/fs/obdclass.ko
/lib/modules/3.10.0-327.18.2.el7.x86_64/extra/lustre-client/fs/obdecho.ko
/lib/modules/3.10.0-327.18.2.el7.x86_64/extra/lustre-client/fs/osc.ko
/lib/modules/3.10.0-327.18.2.el7.x86_64/extra/lustre-client/fs/ptlrpc.ko
/lib/modules/3.10.0-327.18.2.el7.x86_64/extra/lustre-client/fs/ptlrpc_gss.ko
/lib/modules/3.10.0-327.18.2.el7.x86_64/extra/lustre-client/net/ko2iblnd.ko
/lib/modules/3.10.0-327.18.2.el7.x86_64/extra/lustre-client/net/ksocklnd.ko
/lib/modules/3.10.0-327.18.2.el7.x86_64/extra/lustre-client/net/libcfs.ko
/lib/modules/3.10.0-327.18.2.el7.x86_64/extra/lustre-client/net/lnet.ko
/lib/modules/3.10.0-327.18.2.el7.x86_64/extra/lustre-client/net/lnet_selftest.ko

RPM build errors:
Installed (but unpackaged) file(s) found:
/lib/modules/3.10.0-327.18.2.el7.x86_64/extra/lustre-client-tests/fs/llog_test.ko
/lib/modules/3.10.0-327.18.2.el7.x86_64/extra/lustre-client/fs/fid.ko
/lib/modules/3.10.0-327.18.2.el7.x86_64/extra/lustre-client/fs/fld.ko
/lib/modules/3.10.0-327.18.2.el7.x86_64/extra/lustre-client/fs/llite_lloop.ko
/lib/modules/3.10.0-327.18.2.el7.x86_64/extra/lustre-client/fs/lmv.ko
/lib/modules/3.10.0-327.18.2.el7.x86_64/extra/lustre-client/fs/lov.ko
/lib/modules/3.10.0-327.18.2.el7.x86_64/extra/lustre-client/fs/lustre.ko
/lib/modules/3.10.0-327.18.2.el7.x86_64/extra/lustre-client/fs/mdc.ko
/lib/modules/3.10.0-327.18.2.el7.x86_64/extra/lustre-client/fs/mgc.ko
/lib/modules/3.10.0-327.18.2.el7.x86_64/extra/lustre-client/fs/obdclass.ko
/lib/modules/3.10.0-327.18.2.el7.x86_64/extra/lustre-client/fs/obdecho.ko
/lib/modules/3.10.0-327.18.2.el7.x86_64/extra/lustre-client/fs/osc.ko
/lib/modules/3.10.0-327.18.2.el7.x86_64/extra/lustre-client/fs/ptlrpc.ko
/lib/modules/3.10.0-327.18.2.el7.x86_64/extra/lustre-client/fs/ptlrpc_gss.ko
/lib/modules/3.10.0-327.18.2.el7.x86_64/extra/lustre-client/net/ko2iblnd.ko
/lib/modules/3.10.0-327.18.2.el7.x86_64/extra/lustre-client/net/ksocklnd.ko
/lib/modules/3.10.0-327.18.2.el7.x86_64/extra/lustre-client/net/libcfs.ko
/lib/modules/3.10.0-327.18.2.el7.x86_64/extra/lustre-client/net/lnet.ko
/lib/modules/3.10.0-327.18.2.el7.x86_64/extra/lustre-client/net/lnet_selftest.ko
make: *** [rpms] Error 1
+ fatal 1 'Error building rpms for x86_64.'
+ cleanup

https://build.hpdd.intel.com/job/lustre-reviews/40310/arch=x86_64,build_type=client,distro=el7,ib_stack=inkernel/consoleText



 Comments   
Comment by Gerrit Updater [ 07/Jul/16 ]

Minh Diep (minh.diep@intel.com) uploaded a new patch: http://review.whamcloud.com/21199
Subject: LU-8377 build: clean up .rpmmacros
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: cce5a2733e27ba31ddd4af08c51357bd82750987

Comment by Gerrit Updater [ 11/Jul/16 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/21199/
Subject: LU-8377 build: clean up .rpmmacros
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 80a3eb516dd05d8bb18c41680f0cea40f25443ed

Comment by Joseph Gmitter (Inactive) [ 13/Jul/16 ]

Patch landed to master for 2.9.0

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