Mailinglist Archive: opensuse-packaging (102 mails)

< Previous Next >
[opensuse-packaging] spec file problem patch/build failure
Hello,
I try and build reiser4progs-1.0.9 with node41-support.patch but it fails.
How can it be fixed so it build ?
Thanks Glenn

details as follows:

Project
https://build.opensuse.org/package/show/home:doiggl/reiser4progs

Spec file

https://build.opensuse.org/package/view_file/home:doiggl/reiser4progs/reiser4progs.spec?expand=1


using files:
disable_static.diff
reiser4progs-1.0.9-add-node41-support.patch
reiser4progs-1.0.9.tar.gz
reiser4progs.changes

other:
http://www.spinics.net/lists/reiserfs-devel/msg04589.html

[1] build errors and log
https://build.opensuse.org/package/live_build_log/home:doiggl/reiser4progs/openSUSE_13.1/x86_64

[ 47s] + umask 022
[ 47s] + cd /home/abuild/rpmbuild/BUILD
[ 47s] + cd /home/abuild/rpmbuild/BUILD
[ 47s] + rm -rf reiser4progs-1.0.9
[ 47s] + /usr/bin/gzip -dc
/home/abuild/rpmbuild/SOURCES/reiser4progs-1.0.9.tar.gz
[ 47s] + /bin/tar -xf -
[ 48s] + STATUS=0
[ 48s] + '[' 0 -ne 0 ']'
[ 48s] + cd reiser4progs-1.0.9
[ 48s] + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
[ 48s] + echo 'Patch #1 (disable_static.diff):'
[ 48s] Patch #1 (disable_static.diff):
[ 48s] + /usr/bin/cat /home/abuild/rpmbuild/SOURCES/disable_static.diff
[ 48s] + /usr/bin/patch -p0 --fuzz=0
[ 48s] patching file configure.in
[ 48s] + echo 'Patch #2 (reiser4progs-1.0.9-add-node41-support.patch):'
[ 48s] Patch #2 (reiser4progs-1.0.9-add-node41-support.patch):
[ 48s] + /usr/bin/cat
/home/abuild/rpmbuild/SOURCES/reiser4progs-1.0.9-add-node41-support.patch
[ 48s] + /usr/bin/patch -p0 --fuzz=0
[ 48s] can't find file to patch at input line 31
[ 48s] Perhaps you used the wrong -p or --strip option?
[ 48s] The text leading up to this was:
[ 48s] --------------------------
[ 48s] |Support of node41 layout (the same as node40, but
[ 48s] |with 32-bit checksum).
[ 48s] |
[ 48s] |Signed-off-by: Edward Shishkin <edward.shishkin@xxxxxxxxx>
[ 48s] |---
[ 48s] | configure.in | 1
[ 48s] | include/reiser4/format.h | 2
[ 48s] | include/reiser4/plugin.h | 9
[ 48s] | libreiser4/factory.c | 2
[ 48s] | libreiser4/filesystem.c | 11 -
[ 48s] | libreiser4/format.c | 11 +
[ 48s] | libreiser4/profile.c | 4
[ 48s] | libreiser4/tree.c | 28 ++
[ 48s] | plugin/Makefile.am | 2
[ 48s] | plugin/format/format40/format40.c | 9
[ 48s] | plugin/format/format40/format40.h | 18 +
[ 48s] | plugin/node/Makefile.am | 2
[ 48s] | plugin/node/node40/node40.c | 118 ++++++-----
[ 48s] | plugin/node/node40/node40.h | 51 ++++-
[ 48s] | plugin/node/node40/node40_repair.c | 372
+++++++++++++++++++++++++------------
[ 48s] | plugin/node/node40/node40_repair.h | 39 +++
[ 48s] | plugin/node/node41/Makefile.am | 22 ++
[ 48s] | plugin/node/node41/node41.c | 150 ++++++++++++++
[ 48s] | plugin/node/node41/node41.h | 47 ++++
[ 48s] | plugin/node/node41/node41_repair.c | 153 +++++++++++++++
[ 48s] | plugin/node/node41/node41_repair.h | 39 +++
[ 48s] | 21 files changed, 902 insertions(+), 188 deletions(-)
[ 48s] |
[ 48s] |--- a/configure.in
[ 48s] |+++ b/configure.in
[ 48s] --------------------------
[ 48s] File to patch:
[ 48s] Skip this patch? [y]
[ 48s] Skipping patch.
[ 48s] 1 out of 1 hunk ignored
[ 48s] can't find file to patch at input line 41
[ 48s] Perhaps you used the wrong -p or --strip option?
[ 48s] The text leading up to this was:
[ 48s] --------------------------
[ 48s] |--- a/include/reiser4/plugin.h
[ 48s] |+++ b/include/reiser4/plugin.h
[ 48s] --------------------------
[ 48s] File to patch:
[ 48s] Skip this patch? [y]
[ 48s] Skipping patch.
[ 48s] 3 out of 3 hunks ignored
[ 48s] can't find file to patch at input line 76
[ 48s] Perhaps you used the wrong -p or --strip option?
[ 48s] The text leading up to this was:
[ 48s] --------------------------
[ 48s] |--- a/plugin/Makefile.am
[ 48s] |+++ b/plugin/Makefile.am
[ 48s] --------------------------
[ 48s] File to patch:
[ 48s] Skip this patch? [y]
[ 48s] Skipping patch.
[ 48s] 2 out of 2 hunks ignored
[ 48s] can't find file to patch at input line 94
[ 48s] Perhaps you used the wrong -p or --strip option?
[ 48s] The text leading up to this was:
[ 48s] --------------------------
[ 48s] |--- a/plugin/node/Makefile.am
[ 48s] |+++ b/plugin/node/Makefile.am
[ 48s] --------------------------
[ 48s] File to patch:
[ 48s] Skip this patch? [y]
[ 48s] Skipping patch.
[ 48s] 1 out of 1 hunk ignored
[ 48s] patching file b/plugin/node/node41/Makefile.am
[ 48s] patching file b/plugin/node/node41/node41.c
[ 48s] patching file b/plugin/node/node41/node41.h
[ 48s] can't find file to patch at input line 327
[ 48s] Perhaps you used the wrong -p or --strip option?
[ 48s] The text leading up to this was:
[ 48s] --------------------------
[ 48s] |--- a/libreiser4/factory.c
[ 48s] |+++ b/libreiser4/factory.c
[ 48s] --------------------------
[ 48s] File to patch:
[ 48s] Skip this patch? [y]
[ 48s] Skipping patch.
[ 48s] 1 out of 1 hunk ignored
[ 48s] can't find file to patch at input line 338
[ 48s] Perhaps you used the wrong -p or --strip option?
[ 48s] The text leading up to this was:
[ 48s] --------------------------
[ 48s] |--- a/libreiser4/profile.c
[ 48s] |+++ b/libreiser4/profile.c
[ 48s] --------------------------
[ 48s] File to patch:
[ 48s] Skip this patch? [y]
[ 48s] Skipping patch.
[ 48s] 1 out of 1 hunk ignored
[ 48s] patching file b/plugin/node/node41/node41_repair.c
[ 48s] patching file b/plugin/node/node41/node41_repair.h
[ 48s] can't find file to patch at input line 549
[ 48s] Perhaps you used the wrong -p or --strip option?
[ 48s] The text leading up to this was:
[ 48s] --------------------------
[ 48s] |--- a/plugin/node/node40/node40.h
[ 48s] |+++ b/plugin/node/node40/node40.h
[ 48s] --------------------------
[ 48s] File to patch:
[ 48s] Skip this patch? [y]
[ 48s] Skipping patch.
[ 48s] 2 out of 2 hunks ignored
[ 48s] can't find file to patch at input line 618
[ 48s] Perhaps you used the wrong -p or --strip option?
[ 48s] The text leading up to this was:
[ 48s] --------------------------
[ 48s] |--- a/plugin/node/node40/node40.c
[ 48s] |+++ b/plugin/node/node40/node40.c
[ 48s] --------------------------
[ 48s] File to patch:
[ 48s] Skip this patch? [y]
[ 48s] Skipping patch.
[ 48s] 17 out of 17 hunks ignored
[ 48s] can't find file to patch at input line 886
[ 48s] Perhaps you used the wrong -p or --strip option?
[ 48s] The text leading up to this was:
[ 48s] --------------------------
[ 48s] |--- a/plugin/node/node40/node40_repair.c
[ 48s] |+++ b/plugin/node/node40/node40_repair.c
[ 48s] --------------------------
[ 48s] File to patch:
[ 48s] Skip this patch? [y]
[ 48s] Skipping patch.
[ 48s] 13 out of 13 hunks ignored
[ 48s] can't find file to patch at input line 1448
[ 48s] Perhaps you used the wrong -p or --strip option?
[ 48s] The text leading up to this was:
[ 48s] --------------------------
[ 48s] |--- a/plugin/node/node40/node40_repair.h
[ 48s] |+++ b/plugin/node/node40/node40_repair.h
[ 48s] --------------------------
[ 48s] File to patch:
[ 48s] Skip this patch? [y]
[ 48s] Skipping patch.
[ 48s] 1 out of 1 hunk ignored
[ 48s] can't find file to patch at input line 1505
[ 48s] Perhaps you used the wrong -p or --strip option?
[ 48s] The text leading up to this was:
[ 48s] --------------------------
[ 48s] |--- a/include/reiser4/format.h
[ 48s] |+++ b/include/reiser4/format.h
[ 48s] --------------------------
[ 48s] File to patch:
[ 48s] Skip this patch? [y]
[ 48s] Skipping patch.
[ 48s] 2 out of 2 hunks ignored
[ 48s] can't find file to patch at input line 1523
[ 48s] Perhaps you used the wrong -p or --strip option?
[ 48s] The text leading up to this was:
[ 48s] --------------------------
[ 48s] |--- a/libreiser4/filesystem.c
[ 48s] |+++ b/libreiser4/filesystem.c
[ 48s] --------------------------
[ 48s] File to patch:
[ 48s] Skip this patch? [y]
[ 48s] Skipping patch.
[ 48s] 2 out of 2 hunks ignored
[ 48s] can't find file to patch at input line 1556
[ 48s] Perhaps you used the wrong -p or --strip option?
[ 48s] The text leading up to this was:
[ 48s] --------------------------
[ 48s] |--- a/libreiser4/format.c
[ 48s] |+++ b/libreiser4/format.c
[ 48s] --------------------------
[ 48s] File to patch:
[ 48s] Skip this patch? [y]
[ 48s] Skipping patch.
[ 48s] 3 out of 3 hunks ignored
[ 48s] can't find file to patch at input line 1590
[ 48s] Perhaps you used the wrong -p or --strip option?
[ 48s] The text leading up to this was:
[ 48s] --------------------------
[ 48s] |--- a/libreiser4/tree.c
[ 48s] |+++ b/libreiser4/tree.c
[ 48s] --------------------------
[ 48s] File to patch:
[ 48s] Skip this patch? [y]
[ 48s] Skipping patch.
[ 48s] 3 out of 3 hunks ignored
[ 48s] can't find file to patch at input line 1644
[ 48s] Perhaps you used the wrong -p or --strip option?
[ 48s] The text leading up to this was:
[ 48s] --------------------------
[ 48s] |--- a/plugin/format/format40/format40.c
[ 48s] |+++ b/plugin/format/format40/format40.c
[ 48s] --------------------------
[ 48s] File to patch:
[ 48s] Skip this patch? [y]
[ 48s] Skipping patch.
[ 48s] 3 out of 3 hunks ignored
[ 48s] can't find file to patch at input line 1676
[ 48s] Perhaps you used the wrong -p or --strip option?
[ 48s] The text leading up to this was:
[ 48s] --------------------------
[ 48s] |--- a/plugin/format/format40/format40.h
[ 48s] |+++ b/plugin/format/format40/format40.h
[ 48s] --------------------------
[ 48s] File to patch:
[ 48s] Skip this patch? [y]
[ 48s] Skipping patch.
[ 48s] 3 out of 3 hunks ignored
[ 48s] error: Bad exit status from /var/tmp/rpm-tmp.ZlYMpM (%prep)
[ 48s]
[ 48s]
[ 48s] RPM build errors:
[ 48s] Bad exit status from /var/tmp/rpm-tmp.ZlYMpM (%prep)

--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
Follow Ups