From: WANG Cong <xiyou.wangcong-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: 'make rpm' fails
Date: Fri, 29 Jul 2011 08:19:54 +0000 (UTC) [thread overview]
Message-ID: <j0tqfa$2kj$1@dough.gmane.org> (raw)
[root@nec-em18 dracut]# make rpm
mkdir -p rpmbuild
cp dracut-011.tar.bz2 rpmbuild
cd rpmbuild; ../git2spec.pl 011 < ../dracut.spec > dracut.spec; \
rpmbuild --define "_topdir $PWD" --define "_sourcedir $PWD" \
--define "_specdir $PWD" --define "_srcrpmdir $PWD" \
--define "_rpmdir $PWD" -ba dracut.spec || :; \
cd ..;
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ERlVK0
+ umask 022
+ cd /root/dracut/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /root/dracut/rpmbuild/BUILD
+ rm -rf dracut-011
+ /usr/bin/bzip2 -dc /root/dracut/rpmbuild/dracut-011.tar.bz2
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd dracut-011
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #1 (0001-dracut.spec-remove-noreplace-for-01-
dist.conf.patch):'
Patch #1 (0001-dracut.spec-remove-noreplace-for-01-dist.conf.patch):
+ /bin/cat /root/dracut/rpmbuild/0001-dracut.spec-remove-noreplace-for-01-
dist.conf.patch
+ /usr/bin/patch -s -p1 --fuzz=0
+ echo 'Patch #2 (0002-add-TEST-15-BTRFSRAID.patch):'
Patch #2 (0002-add-TEST-15-BTRFSRAID.patch):
+ /bin/cat /root/dracut/rpmbuild/0002-add-TEST-15-BTRFSRAID.patch
+ /usr/bin/patch -s -p1 --fuzz=0
+ echo 'Patch #3 (0003-dracut.logrotate-remove-yearly.patch):'
Patch #3 (0003-dracut.logrotate-remove-yearly.patch):
+ /bin/cat /root/dracut/rpmbuild/0003-dracut.logrotate-remove-yearly.patch
+ /usr/bin/patch -s -p1 --fuzz=0
+ echo 'Patch #4 (0004-dracut-logger-create-logfile-with-0600-
permissions.patch):'
Patch #4 (0004-dracut-logger-create-logfile-with-0600-permissions.patch):
+ /bin/cat /root/dracut/rpmbuild/0004-dracut-logger-create-logfile-
with-0600-permissions.patch
+ /usr/bin/patch -s -p1 --fuzz=0
+ echo 'Patch #5 (0005-90dmsquash-live-optionally-install-eject.patch):'
Patch #5 (0005-90dmsquash-live-optionally-install-eject.patch):
+ /bin/cat /root/dracut/rpmbuild/0005-90dmsquash-live-optionally-install-
eject.patch
+ /usr/bin/patch -s -p1 --fuzz=0
+ echo 'Patch #6 (0006-enable-shutdown-module-by-default.patch):'
Patch #6 (0006-enable-shutdown-module-by-default.patch):
+ /bin/cat /root/dracut/rpmbuild/0006-enable-shutdown-module-by-
default.patch
+ /usr/bin/patch -s -p1 --fuzz=0
+ echo 'Patch #7 (0007-90dm-dm-shutdown.sh-put-shutdown-in-
function.patch):'
Patch #7 (0007-90dm-dm-shutdown.sh-put-shutdown-in-function.patch):
+ /bin/cat /root/dracut/rpmbuild/0007-90dm-dm-shutdown.sh-put-shutdown-in-
function.patch
+ /usr/bin/patch -s -p1 --fuzz=0
+ echo 'Patch #8 (0008-90mdraid-md-shutdown.sh-put-shutdown-in-
function.patch):'
Patch #8 (0008-90mdraid-md-shutdown.sh-put-shutdown-in-function.patch):
+ /bin/cat /root/dracut/rpmbuild/0008-90mdraid-md-shutdown.sh-put-
shutdown-in-function.patch
+ /usr/bin/patch -s -p1 --fuzz=0
+ echo 'Patch #9 (0009-TEST-10-RAID-extend-test-case-to-shutdown.patch):'
Patch #9 (0009-TEST-10-RAID-extend-test-case-to-shutdown.patch):
+ /bin/cat /root/dracut/rpmbuild/0009-TEST-10-RAID-extend-test-case-to-
shutdown.patch
+ /usr/bin/patch -s -p1 --fuzz=0
+ echo 'Patch #10 (0010-TEST-10-RAID-test-init-turn-off-debug-for-
shutdown.patch):'
Patch #10 (0010-TEST-10-RAID-test-init-turn-off-debug-for-shutdown.patch):
+ /bin/cat /root/dracut/rpmbuild/0010-TEST-10-RAID-test-init-turn-off-
debug-for-shutdown.patch
+ /usr/bin/patch -s -p1 --fuzz=0
+ echo 'Patch #11 (0011-shutdown-fixed-check_shutdown-loop.patch):'
Patch #11 (0011-shutdown-fixed-check_shutdown-loop.patch):
+ /bin/cat /root/dracut/rpmbuild/0011-shutdown-fixed-check_shutdown-
loop.patch
+ /usr/bin/patch -s -p1 --fuzz=0
+ echo 'Patch #12 (0012-dracut-lib.sh-fixed-getargs.patch):'
Patch #12 (0012-dracut-lib.sh-fixed-getargs.patch):
+ /bin/cat /root/dracut/rpmbuild/0012-dracut-lib.sh-fixed-getargs.patch
+ /usr/bin/patch -s -p1 --fuzz=0
+ echo 'Patch #13 (0013-99base-dracut-lib.sh-fix-previous-getargs-
patch.patch):'
Patch #13 (0013-99base-dracut-lib.sh-fix-previous-getargs-patch.patch):
+ /bin/cat /root/dracut/rpmbuild/0013-99base-dracut-lib.sh-fix-previous-
getargs-patch.patch
+ /usr/bin/patch -s -p1 --fuzz=0
+ echo 'Patch #14 (0014-TEST-10-RAID-test-init-add-comment-for-rd.break-
shut.patch):'
Patch #14 (0014-TEST-10-RAID-test-init-add-comment-for-rd.break-
shut.patch):
+ /bin/cat /root/dracut/rpmbuild/0014-TEST-10-RAID-test-init-add-comment-
for-rd.break-shut.patch
+ /usr/bin/patch -s -p1 --fuzz=0
+ echo 'Patch #15 (0015-busybox-module-parse-busybox-defined-functions-
dynam.patch):'
Patch #15 (0015-busybox-module-parse-busybox-defined-functions-
dynam.patch):
+ /bin/cat /root/dracut/rpmbuild/0015-busybox-module-parse-busybox-
defined-functions-dynam.patch
+ /usr/bin/patch -s -p1 --fuzz=0
+ echo 'Patch #16 (0016-dracut.kernel.7.xml-s-voonsole.keymap-
vconsole.keyma.patch):'
Patch #16 (0016-dracut.kernel.7.xml-s-voonsole.keymap-
vconsole.keyma.patch):
+ /bin/cat /root/dracut/rpmbuild/0016-dracut.kernel.7.xml-s-
voonsole.keymap-vconsole.keyma.patch
+ /usr/bin/patch -s -p1 --fuzz=0
+ echo 'Patch #17 (0017-dracut.kernel.7.xml-beautified-doc.patch):'
Patch #17 (0017-dracut.kernel.7.xml-beautified-doc.patch):
+ /bin/cat /root/dracut/rpmbuild/0017-dracut.kernel.7.xml-beautified-
doc.patch
+ /usr/bin/patch -s -p1 --fuzz=0
+ echo 'Patch #18 (0018-99base-dracut-lib.sh-don-t-be-quiet-on-
rd.debug.patch):'
Patch #18 (0018-99base-dracut-lib.sh-don-t-be-quiet-on-rd.debug.patch):
+ /bin/cat /root/dracut/rpmbuild/0018-99base-dracut-lib.sh-don-t-be-quiet-
on-rd.debug.patch
+ /usr/bin/patch -s -p1 --fuzz=0
+ echo 'Patch #19 (0019-dracut-functions-only-dinfo-about-missing-optioal-
dr.patch):'
Patch #19 (0019-dracut-functions-only-dinfo-about-missing-optioal-
dr.patch):
+ /bin/cat /root/dracut/rpmbuild/0019-dracut-functions-only-dinfo-about-
missing-optioal-dr.patch
+ /usr/bin/patch -s -p1 --fuzz=0
+ echo 'Patch #20 (0020-99base-init-try-to-mount-usr-if-init-lives-on-
usr.patch):'
Patch #20 (0020-99base-init-try-to-mount-usr-if-init-lives-on-usr.patch):
+ /bin/cat /root/dracut/rpmbuild/0020-99base-init-try-to-mount-usr-if-
init-lives-on-usr.patch
+ /usr/bin/patch -s -p1 --fuzz=0
+ echo 'Patch #21 (0021-fixed-typos.patch):'
Patch #21 (0021-fixed-typos.patch):
+ /bin/cat /root/dracut/rpmbuild/0021-fixed-typos.patch
+ /usr/bin/patch -s -p1 --fuzz=0
+ echo 'Patch #22 (0022-dracut-logger-initialize-basic-vars.patch):'
Patch #22 (0022-dracut-logger-initialize-basic-vars.patch):
+ /bin/cat /root/dracut/rpmbuild/0022-dracut-logger-initialize-basic-
vars.patch
+ /usr/bin/patch -s -p1 --fuzz=0
+ echo 'Patch #23 (0023-dracut-functions-convert-absolute-symlinks-to-
relati.patch):'
Patch #23 (0023-dracut-functions-convert-absolute-symlinks-to-
relati.patch):
+ /bin/cat /root/dracut/rpmbuild/0023-dracut-functions-convert-absolute-
symlinks-to-relati.patch
+ /usr/bin/patch -s -p1 --fuzz=0
+ echo 'Patch #24 (0024-move-debian-to-debian.template-on-request-of-
debian-.patch):'
Patch #24 (0024-move-debian-to-debian.template-on-request-of-
debian-.patch):
+ /bin/cat /root/dracut/rpmbuild/0024-move-debian-to-debian.template-on-
request-of-debian-.patch
+ /usr/bin/patch -s -p1 --fuzz=0
/usr/bin/patch: **** Only garbage was found in the patch input.
error: Bad exit status from /var/tmp/rpm-tmp.ERlVK0 (%prep)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.ERlVK0 (%prep)
mv rpmbuild/noarch/*.rpm .; mv rpmbuild/*.src.rpm .;rm -fr rpmbuild; ls
*.rpm
mv: cannot stat `rpmbuild/noarch/*.rpm': No such file or directory
mv: cannot stat `rpmbuild/*.src.rpm': No such file or directory
ls: cannot access *.rpm: No such file or directory
make: *** [rpm] Error 2
next reply other threads:[~2011-07-29 8:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-29 8:19 WANG Cong [this message]
2011-07-29 8:58 ` 'make rpm' fails Harald Hoyer
[not found] ` <4E327628.5040604-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2011-07-29 9:12 ` Américo Wang
[not found] ` <CAM_iQpWGdyKxbZtMaDmV8oPuxnqjfazYToV6zGPO7yak-8yFLw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-07-29 9:18 ` Harald Hoyer
[not found] ` <4E327AD1.8080009-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-07-29 9:40 ` Américo Wang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='j0tqfa$2kj$1@dough.gmane.org' \
--to=xiyou.wangcong-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.