[opensuse-packaging] How can the broken line be found in patch ?
hello, How can the broken line be found in patch? Attaching reiser4-precise-discard.patch Thank you Glenn - https://build.opensuse.org/package/show/home:doiggl/kernel-vanilla - https://build.opensuse.org/package/live_build_log/home:doiggl/kernel-vanilla... home:doiggl/kernel-vanilla/patches.rpmify.tar.bz2 The patch is made from these locations: # http://www.spinics.net/lists/reiserfs-devel/msg04616.html # http://www.spinics.net/lists/reiserfs-devel/msg04617.html # http://www.spinics.net/lists/reiserfs-devel/msg04618.html
From log: [ 123s] + /home/abuild/rpmbuild/SOURCES/guards --default=0 base [ 124s] + cd linux-3.18 [ 124s] + /home/abuild/rpmbuild/SOURCES/apply-patches --vanilla /home/abuild/rpmbuild/SOURCES/series.conf .. [ 124s] + patch -s -F0 -E -p1 --no-backup-if-mismatch -i ../patches.kernel.org/patch-3.18.1 [ 124s] + patch -s -F0 -E -p1 --no-backup-if-mismatch -i ../patches.kernel.org/patch-3.18.1-2 [ 124s] + patch -s -F0 -E -p1 --no-backup-if-mismatch -i ../patches.kernel.org/patch-3.18.2-3 [ 124s] + patch -s -F0 -E -p1 --no-backup-if-mismatch -i ../patches.kernel.org/patch-3.18.3-4 [ 124s] + patch -s -F0 -E -p1 --no-backup-if-mismatch -i ../patches.kernel.org/patch-3.18.4-5 [ 124s] + patch -s -F0 -E -p1 --no-backup-if-mismatch -i ../patches.kernel.org/patch-3.18.5-6 [ 124s] + patch -s -F0 -E -p1 --no-backup-if-mismatch -i ../patches.kernel.org/patch-3.18.6-7 [ 124s] + patch -s -F0 -E -p1 --no-backup-if-mismatch -i ../patches.rpmify/reiser4-for-3.18.6.patch [ 124s] + patch -s -F0 -E -p1 --no-backup-if-mismatch -i ../patches.rpmify/reiser4.various.patch [ 124s] + patch -s -F0 -E -p1 --no-backup-if-mismatch -i ../patches.rpmify/reiser4-precise-discard.patch [ 124s] 4 out of 4 hunks FAILED -- saving rejects to file fs/reiser4/discard.c.rej [ 124s] 4 out of 4 hunks FAILED -- saving rejects to file fs/reiser4/discard.c.rej [ 124s] patch unexpectedly ends in middle of line [ 124s] 1 out of 1 hunk FAILED -- saving rejects to file fs/reiser4/discard.c.rej [ 124s] patch unexpectedly ends in middle of line [ 124s] ++ echo '*** patch ../patches.rpmify/reiser4-precise-discard.patch failed ***' [ 124s] *** patch ../patches.rpmify/reiser4-precise-discard.patch failed
[ 124s] error: Bad exit status from /var/tmp/rpm-tmp.h2qxix (%prep) [ 124s] [ 124s] [ 124s] RPM build errors:
<doiggl@velocitynet.com.au> Wed, 11 Mar 2015 06:30:07 +0300:
hello,
How can the broken line be found in patch? Attaching reiser4-precise-discard.patch Thank you Glenn
Hello! Don't you forget the blank new line at the bottom of the patch file? ;) -- Best regards, Dmitriy DA(P).DarkneSS Perlow @ Linux x64 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
If not, try to apply this patch locally via `cat pathname | patch [-pX]` and compare rejected files against original ones. <doiggl@velocitynet.com.au> Wed, 11 Mar 2015 06:30:07 +0300:
hello,
How can the broken line be found in patch? Attaching reiser4-precise-discard.patch Thank you Glenn
-- Best regards, Dmitriy DA(P).DarkneSS Perlow @ Linux x64 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
<doiggl@velocitynet.com.au> writes:
How can the broken line be found in patch?
It's exactly at the end of the file.
[ 124s] patch unexpectedly ends in middle of line ^^^^
Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (3)
-
Andreas Schwab
-
Dmitriy Perlow
-
doiggl@velocitynet.com.au