[LU-562] Ubuntu dpatch deapply-all failed for LU-553 on b1_8 Created: 02/Aug/11  Updated: 23/Jan/12  Resolved: 23/Jan/12

Status: Closed
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 1.8.7

Type: Bug Priority: Minor
Reporter: Andreas Dilger Assignee: WC Triage
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 6572

 Description   

When doing http://build.whamcloud.com/job/lustre-reviews/1551 dpatch deapply-all failed for the patch that was being tested (which creates a new file build/checkpatch.pl), in particular both of these builds failed:

http://build.whamcloud.com/job/lustre-reviews/1551/arch=x86_64,build_type=client,distro=ubuntu1004,ib_stack=inkernel/console
http://build.whamcloud.com/job/lustre-reviews/1572/arch=x86_64,build_type=client,distro=ubuntu1004,ib_stack=inkernel/console

make[1]: Entering directory `/var/lib/jenkins/workspace/lustre-reviews/arch/x86_64/build_type/client/distro/ubuntu1004/ib_stack/inkernel/BUILD/lustre-1.8.6.80'
dh_testdir
dh_testroot
dpatch deapply-all
reverting patch 0012-LU-553-add-checkpatch.pl-for-Lustre-coding-style from ./ ... failed.
make[1]: *** [clean] Error 1
make[1]: Leaving directory `/var/lib/jenkins/workspace/lustre-reviews/arch/x86_64/build_type/client/distro/ubuntu1004/ib_stack/inkernel/BUILD/lustre-1.8.6.80'
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2
make: *** [debs] Error 2
+ rc=2
+ '[' 2 '!=' 0 ']'
+ echo 'Build failed'
Build failed
+ exit 2

The same patch for master had no problems during the build: http://build.whamcloud.com/job/lustre-reviews/1548/

make[1]: Entering directory `/var/lib/jenkins/workspace/lustre-reviews/arch/x86_64/build_type/client/distro/ubuntu1004/ib_stack/inkernel/BUILD/lustre-2.0.66'
dh_testdir
dh_testroot
dpatch deapply-all -v
/usr/bin/make distclean
make[2]: Entering directory `/var/lib/jenkins/workspace/lustre-reviews/arch/x86_64/build_type/client/distro/ubuntu1004/ib_stack/inkernel/BUILD/lustre-2.0.66'
Making distclean in lustre
make[3]: Entering directory `/var/lib/jenkins/workspace/lustre-reviews/arch/x86_64/build_type/client/distro/ubuntu1004/ib_stack/inkernel/BUILD/lustre-2.0.66/lustre'
Making distclean in quota



 Comments   
Comment by Andreas Dilger [ 23/Jan/12 ]

Brian reported in http://review.whamcloud.com/1167 that this was caused by the Ubuntu/Debian build system on b1_8 being much more particular than on master. The resolution was to list the new build/checkpatch.pl file in the EXTRA_DIST list of build/autoMakefile.am.toplevel.

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