[opensuse-packaging] error: Bad exit status from /var/tmp/rpm-tmp.J9PPYN (%prep)
![](https://seccdn.libravatar.org/avatar/29b81b0b98e8ef7ad3358a1a78734f79.jpg?s=120&d=mm&r=g)
Hello, How can this error be fixed. What things do you look for ? --Glenn build log: https://build.opensuse.org/package/live_build_log/home:doiggl/reiser4progs/o... error: Bad exit status from /var/tmp/rpm-tmp.J9PPYN (%prep) . . [ 54s] + umask 022 [ 54s] + cd /home/abuild/rpmbuild/BUILD [ 54s] + cd /home/abuild/rpmbuild/BUILD [ 54s] + rm -rf reiser4progs-1.0.9 [ 54s] + /usr/bin/gzip -dc /home/abuild/rpmbuild/SOURCES/reiser4progs-1.0.9.tar.gz [ 54s] + /bin/tar -xf - [ 54s] + STATUS=0 [ 54s] + '[' 0 -ne 0 ']' [ 54s] + cd reiser4progs-1.0.9 [ 54s] + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 54s] + echo 'Patch #0 (reiser4-node41-layout-support-joined.patch):' [ 54s] Patch #0 (reiser4-node41-layout-support-joined.patch): [ 54s] + /usr/bin/cat /home/abuild/rpmbuild/SOURCES/reiser4-node41-layout-support-joined.patch [ 54s] + /usr/bin/patch -p1 --fuzz=0 [ 54s] can't find file to patch at input line 3 [ 54s] Perhaps you used the wrong -p or --strip option? [ 54s] The text leading up to this was: [ 54s] -------------------------- [ 54s] |--- a/fs/reiser4/Makefile [ 54s] |+++ b/fs/reiser4/Makefile [ 54s] -------------------------- [ 54s] File to patch: [ 54s] Skip this patch? [y] [ 54s] Skipping patch. [ 54s] 1 out of 1 hunk ignored [ 54s] can't find file to patch at input line 13 [ 54s] Perhaps you used the wrong -p or --strip option? [ 54s] The text leading up to this was: [ 54s] -------------------------- [ 54s] |--- a/fs/reiser4/plugin/node/Makefile [ 54s] |+++ b/fs/reiser4/plugin/node/Makefile [ 54s] -------------------------- [ 54s] File to patch: [ 54s] Skip this patch? [y] [ 54s] Skipping patch. [ 54s] 1 out of 1 hunk ignored [ 54s] can't find file to patch at input line 22 [ 54s] Perhaps you used the wrong -p or --strip option? [ 54s] The text leading up to this was: [ 54s] -------------------------- [ 54s] |--- a/fs/reiser4/plugin/node/node.c [ 54s] |+++ b/fs/reiser4/plugin/node/node.c [ 54s] -------------------------- [ 54s] File to patch: [ 54s] Skip this patch? [y] [ 54s] Skipping patch. [ 54s] 1 out of 1 hunk ignored [ 54s] can't find file to patch at input line 69 [ 54s] Perhaps you used the wrong -p or --strip option? [ 54s] The text leading up to this was: [ 54s] -------------------------- [ 54s] |--- a/fs/reiser4/plugin/node/node.h [ 54s] |+++ b/fs/reiser4/plugin/node/node.h [ 54s] -------------------------- [ 54s] File to patch: [ 54s] Skip this patch? [y] [ 54s] Skipping patch. [ 54s] 1 out of 1 hunk ignored [ 54s] can't find file to patch at input line 84 [ 54s] Perhaps you used the wrong -p or --strip option? [ 54s] The text leading up to this was: [ 54s] -------------------------- [ 54s] |--- a/fs/reiser4/plugin/node/node40.c [ 54s] |+++ b/fs/reiser4/plugin/node/node40.c [ 54s] -------------------------- [ 54s] File to patch: [ 54s] Skip this patch? [y] [ 54s] Skipping patch. [ 54s] 11 out of 11 hunks ignored [ 54s] can't find file to patch at input line 324 [ 54s] Perhaps you used the wrong -p or --strip option? [ 54s] The text leading up to this was: [ 54s] -------------------------- [ 54s] |--- a/fs/reiser4/plugin/node/node40.h [ 54s] |+++ b/fs/reiser4/plugin/node/node40.h [ 54s] -------------------------- [ 54s] File to patch: [ 54s] Skip this patch? [y] [ 54s] Skipping patch. [ 54s] 2 out of 2 hunks ignored [ 54s] patching file fs/reiser4/plugin/node/node41.c [ 54s] patching file fs/reiser4/plugin/node/node41.h [ 54s] can't find file to patch at input line 532 [ 54s] Perhaps you used the wrong -p or --strip option? [ 54s] The text leading up to this was: [ 54s] -------------------------- [ 54s] |--- a/fs/reiser4/plugin/plugin.h [ 54s] |+++ b/fs/reiser4/plugin/plugin.h [ 54s] -------------------------- [ 54s] File to patch: [ 54s] Skip this patch? [y] [ 54s] Skipping patch. [ 54s] 1 out of 1 hunk ignored [ 54s] can't find file to patch at input line 543 [ 54s] Perhaps you used the wrong -p or --strip option? [ 54s] The text leading up to this was: [ 54s] -------------------------- [ 54s] |--- a/fs/reiser4/reiser4.h [ 54s] |+++ b/fs/reiser4/reiser4.h [ 54s] -------------------------- [ 54s] File to patch: [ 54s] Skip this patch? [y] [ 54s] Skipping patch. [ 54s] 1 out of 1 hunk ignored [ 54s] can't find file to patch at input line 553 [ 54s] Perhaps you used the wrong -p or --strip option? [ 54s] The text leading up to this was: [ 54s] -------------------------- [ 54s] |--- a/fs/reiser4/plugin/disk_format/disk_format40.c [ 54s] |+++ b/fs/reiser4/plugin/disk_format/disk_format40.c [ 54s] -------------------------- [ 54s] File to patch: [ 54s] Skip this patch? [y] [ 54s] Skipping patch. [ 54s] 2 out of 2 hunks ignored [ 54s] can't find file to patch at input line 576 [ 54s] Perhaps you used the wrong -p or --strip option? [ 54s] The text leading up to this was: [ 54s] -------------------------- [ 54s] |--- a/fs/reiser4/jnode.c [ 54s] |+++ b/fs/reiser4/jnode.c [ 54s] -------------------------- [ 54s] File to patch: [ 54s] Skip this patch? [y] [ 54s] Skipping patch. [ 54s] 2 out of 2 hunks ignored [ 54s] can't find file to patch at input line 606 [ 54s] Perhaps you used the wrong -p or --strip option? [ 54s] The text leading up to this was: [ 54s] -------------------------- [ 54s] |--- a/fs/reiser4/plugin/disk_format/disk_format40.h [ 54s] |+++ b/fs/reiser4/plugin/disk_format/disk_format40.h [ 54s] -------------------------- [ 54s] File to patch: [ 54s] Skip this patch? [y] [ 54s] Skipping patch. [ 54s] 1 out of 1 hunk ignored [ 54s] patching file configure.in [ 54s] patching file include/reiser4/plugin.h [ 54s] patching file plugin/Makefile.am [ 54s] patching file plugin/node/Makefile.am [ 54s] patching file plugin/node/node41/Makefile.am [ 54s] patching file plugin/node/node41/node41.c [ 54s] patching file plugin/node/node41/node41.h [ 54s] patching file libreiser4/factory.c [ 54s] patching file libreiser4/profile.c [ 54s] patching file plugin/node/node41/node41_repair.c [ 54s] patching file plugin/node/node41/node41_repair.h [ 54s] patching file plugin/node/node40/node40.h [ 54s] patching file plugin/node/node40/node40.c [ 54s] patching file plugin/node/node40/node40_repair.c [ 54s] patching file plugin/node/node40/node40_repair.h [ 54s] patching file include/reiser4/format.h [ 54s] patching file libreiser4/filesystem.c [ 54s] patching file libreiser4/format.c [ 54s] patching file libreiser4/tree.c [ 54s] patching file plugin/format/format40/format40.c [ 54s] patching file plugin/format/format40/format40.h [ 54s] error: Bad exit status from /var/tmp/rpm-tmp.J9PPYN (%prep) [ 54s] [ 54s] [ 54s] RPM build errors: [ 54s] Bad exit status from /var/tmp/rpm-tmp.J9PPYN (%prep) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/0ab7e02630bf8ea7396ee92940c8b594.jpg?s=120&d=mm&r=g)
On 02/17/2015 02:56 PM, doiggl@velocitynet.com.au wrote:
[ 54s] + echo 'Patch #0 (reiser4-node41-layout-support-joined.patch):' [ 54s] Patch #0 (reiser4-node41-layout-support-joined.patch): [ 54s] + /usr/bin/cat /home/abuild/rpmbuild/SOURCES/reiser4-node41-layout-support-joined.patch [ 54s] + /usr/bin/patch -p1 --fuzz=0 [ 54s] can't find file to patch at input line 3 [ 54s] Perhaps you used the wrong -p or --strip option?
I recommend using quilt for patch management in this case. $ quilt setup *spec $ cd reiser* $ quilt push -a If this works, then the patches will also apply on OBS. Other commands: $ quilt new $ quilt refresh $ quilt add $ quilt pop Further reading on quilt: $ quilt CMD --help $ man quilt $ rpm -ql quilt | grep pdf /usr/share/doc/packages/quilt/quilt.pdf Have fun, Berny -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/995333432565ad6e9ab0505464619fcb.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 17.02.2015 doiggl@velocitynet.com.au wrote:
[ 54s] 2 out of 2 hunks ignored [ 54s] can't find file to patch at input line 606 [ 54s] Perhaps you used the wrong -p or --strip option?
Read the logs. Fix the patches. Try again. Regards, Johannes - -- You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, the Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war. (aus alt.jokes) -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with SeaMonkey - http://www.enigmail.net/ iEYEARECAAYFAlTjS/wACgkQzi3gQ/xETbLphgCfRmTGAyUCZ60o9dVZHsejL5jb sroAn1GEfwDWdnQ1O7MtGvkFDCR9235e =J3Gf -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (3)
-
Bernhard Voelker
-
doiggl@velocitynet.com.au
-
Johannes Kastl