[Bug 755136] New: patch command failes architecture dependent
https://bugzilla.novell.com/show_bug.cgi?id=755136 https://bugzilla.novell.com/show_bug.cgi?id=755136#c0 Summary: patch command failes architecture dependent Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: i686 OS/Version: openSUSE 12.1 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: sledz@zone42.org QAContact: qa-bugs@suse.de Found By: --- Blocker: --- Created an attachment (id=484321) --> (http://bugzilla.novell.com/attachment.cgi?id=484321) Archive to reproduce the bug User-Agent: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0 Depending on the architecture the patch command fails with "can't find file to patch" in some situations. Behaviour can be reproduced e.g. on i686 but not on x86_64. Reproducible: Always Steps to Reproduce: 1. Untar attached file: tar xvf patch.bug.tar 2. cd patch.bug/bash-3.2 3. patch --dry-run -p0 < ../bash32-001 Actual Results: Ignoring potentially dangerous file name ../bash-3.2/parse.y patching file parse.y Ignoring potentially dangerous file name ../bash-3.2/patchlevel.h can't find file to patch at input line 35 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |*** ../bash-3.2/patchlevel.h Thu Apr 13 08:31:04 2006 |--- patchlevel.h Mon Oct 16 14:22:54 2006 -------------------------- File to patch: ^C Expected Results: Ignoring potentially dangerous file name ../bash-3.2/parse.y patching file parse.y Ignoring potentially dangerous file name ../bash-3.2/patchlevel.h patching file patchlevel.h # rpm -q -i patch Name : patch Version : 2.6.1.116 Release : 4.1.5 Architecture: i586 Install Date: Sat Nov 19 18:03:12 2011 Group : Productivity/Text/Utilities Size : 169579 License : GPLv3+ Signature : RSA/SHA256, Sat Oct 29 03:49:29 2011, Key ID b88b2fd43dbdc284 Source RPM : patch-2.6.1.116-4.1.5.src.rpm Build Date : Sat Oct 29 03:49:12 2011 Build Host : build09 Relocations : (not relocatable) Packager : http://bugs.opensuse.org Vendor : openSUSE URL : ftp://alpha.gnu.org/gnu/diffutils/ Summary : GNU patch Description : The GNU patch program is used to apply diffs between original and changed files (generated by the diff command) to the original files. Authors: -------- Larry Wall Paul Eggert Distribution: openSUSE 12.1 # arch i686 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=755136
https://bugzilla.novell.com/show_bug.cgi?id=755136#c
kk zhang
https://bugzilla.novell.com/show_bug.cgi?id=755136
https://bugzilla.novell.com/show_bug.cgi?id=755136#c
Steffen Sledz
https://bugzilla.novell.com/show_bug.cgi?id=755136
https://bugzilla.novell.com/show_bug.cgi?id=755136#c1
Jean Delvare
https://bugzilla.novell.com/show_bug.cgi?id=755136
https://bugzilla.novell.com/show_bug.cgi?id=755136#c2
--- Comment #2 from Jean Delvare
https://bugzilla.novell.com/show_bug.cgi?id=755136
https://bugzilla.novell.com/show_bug.cgi?id=755136#c3
--- Comment #3 from Jean Delvare
https://bugzilla.novell.com/show_bug.cgi?id=755136
https://bugzilla.novell.com/show_bug.cgi?id=755136#c4
--- Comment #4 from Jean Delvare
https://bugzilla.novell.com/show_bug.cgi?id=755136
https://bugzilla.novell.com/show_bug.cgi?id=755136#c5
Jean Delvare
https://bugzilla.novell.com/show_bug.cgi?id=755136
https://bugzilla.novell.com/show_bug.cgi?id=755136#c6
Steffen Sledz
https://bugzilla.novell.com/show_bug.cgi?id=755136
https://bugzilla.novell.com/show_bug.cgi?id=755136#c7
Jean Delvare
https://bugzilla.novell.com/show_bug.cgi?id=755136
https://bugzilla.novell.com/show_bug.cgi?id=755136#c8
--- Comment #8 from Steffen Sledz
https://bugzilla.novell.com/show_bug.cgi?id=755136
https://bugzilla.novell.com/show_bug.cgi?id=755136#c9
--- Comment #9 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=755136
https://bugzilla.novell.com/show_bug.cgi?id=755136#c10
--- Comment #10 from Jean Delvare
https://bugzilla.novell.com/show_bug.cgi?id=755136
https://bugzilla.novell.com/show_bug.cgi?id=755136#c11
--- Comment #11 from Steffen Sledz
https://bugzilla.novell.com/show_bug.cgi?id=755136
https://bugzilla.novell.com/show_bug.cgi?id=755136#c12
Jean Delvare
https://bugzilla.novell.com/show_bug.cgi?id=755136
https://bugzilla.novell.com/show_bug.cgi?id=755136#c13
--- Comment #13 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=755136
https://bugzilla.novell.com/show_bug.cgi?id=755136#c14
--- Comment #14 from Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com