[LU-15592] lbuild patching rhel8 kmodtool is broken Created: 23/Feb/22  Updated: 23/Feb/22

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Minh Diep Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Recent change from kmodtool broke the patch we did for lbuild. We need to evaluate if we need to patch or not; and fix it

09:45:57 ++ RHEL_KMODTOOL=/usr/lib/rpm/redhat/kmodtool
09:45:57 ++ LBUILD_KMODTOOL=/var/lib/jenkins/workspace/lustre-master/arch/x86_64/build_type/client/distro/el8.5/ib_stack/inkernel/contrib/lbuild/rhel8/kmodtool
09:45:57 ++ cp /usr/lib/rpm/redhat/kmodtool /var/lib/jenkins/workspace/lustre-master/arch/x86_64/build_type/client/distro/el8.5/ib_stack/inkernel/contrib/lbuild/rhel8/kmodtool
09:45:57 ++ pushd /var/lib/jenkins/workspace/lustre-master/arch/x86_64/build_type/client/distro/el8.5/ib_stack/inkernel/contrib/lbuild/rhel8
09:45:57 ~/workspace/lustre-master/arch/x86_64/build_type/client/distro/el8.5/ib_stack/inkernel/contrib/lbuild/rhel8 ~/workspace/lustre-master/arch/x86_64/build_type/client/distro/el8.5/ib_stack/inkernel/BUILD
09:45:57 ++ patch -p1
09:45:57 patching file kmodtool
09:45:57 Hunk #1 FAILED at 62.
09:45:57 1 out of 1 hunk FAILED -- saving rejects to file kmodtool.rej
09:45:57 +++ set +x
09:45:57 An unexpected error has occurred at lbuild-rhel8:29.
09:45:57 Unfortunately the above line number in the message may or may not be correct,
09:45:57 but details have been send to the lbuild maintainer.  Attempting to continue.
09:45:57 Untrapped error

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