All of lore.kernel.org
 help / color / mirror / Atom feed
* 'make rpm' fails
@ 2011-07-29  8:19 WANG Cong
  2011-07-29  8:58 ` Harald Hoyer
  0 siblings, 1 reply; 5+ messages in thread
From: WANG Cong @ 2011-07-29  8:19 UTC (permalink / raw)
  To: initramfs-u79uwXL29TY76Z2rM5mHXA

[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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 'make rpm' fails
  2011-07-29  8:19 'make rpm' fails WANG Cong
@ 2011-07-29  8:58 ` Harald Hoyer
       [not found]   ` <4E327628.5040604-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Harald Hoyer @ 2011-07-29  8:58 UTC (permalink / raw)
  To: WANG Cong; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA

On 29.07.2011 10:19, WANG Cong wrote:
> + /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)
> 

yes.. patch does not understand git's format for file removals :-/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 'make rpm' fails
       [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>
  0 siblings, 1 reply; 5+ messages in thread
From: Américo Wang @ 2011-07-29  9:12 UTC (permalink / raw)
  To: Harald Hoyer; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA

On Fri, Jul 29, 2011 at 4:58 PM, Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote:
> On 29.07.2011 10:19, WANG Cong wrote:
>> + /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)
>>
>
> yes.. patch does not understand git's format for file removals :-/
>

Might convert it to a normal patch? Where removal is diff against
/dev/null.

Thanks!

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 'make rpm' fails
       [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>
  0 siblings, 1 reply; 5+ messages in thread
From: Harald Hoyer @ 2011-07-29  9:18 UTC (permalink / raw)
  To: Américo Wang; +Cc: Harald Hoyer, initramfs-u79uwXL29TY76Z2rM5mHXA

On 29.07.2011 11:12, Américo Wang wrote:
> On Fri, Jul 29, 2011 at 4:58 PM, Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote:
>> On 29.07.2011 10:19, WANG Cong wrote:
>>> + /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)
>>>
>>
>> yes.. patch does not understand git's format for file removals :-/
>>
> 
> Might convert it to a normal patch? Where removal is diff against
> /dev/null.
> 
> Thanks!
> --
> To unsubscribe from this list: send the line "unsubscribe initramfs" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

yes, pushed a patch for git2spec.pl

dracut: harald master * raaced3f9909d /git2spec.pl:
git2spec.pl: make rename diffs
http://git.kernel.org/?p=boot/dracut/dracut.git;a=commitdiff;h=aaced3f9909dddc0ff858634711c3e97b80b09ec

you probably will have to wait until the kernel.org cache is updated, until you
can pull it.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 'make rpm' fails
       [not found]           ` <4E327AD1.8080009-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2011-07-29  9:40             ` Américo Wang
  0 siblings, 0 replies; 5+ messages in thread
From: Américo Wang @ 2011-07-29  9:40 UTC (permalink / raw)
  To: Harald Hoyer; +Cc: Harald Hoyer, initramfs-u79uwXL29TY76Z2rM5mHXA

On Fri, Jul 29, 2011 at 5:18 PM, Harald Hoyer <harald.hoyer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> yes, pushed a patch for git2spec.pl
>
> dracut: harald master * raaced3f9909d /git2spec.pl:
> git2spec.pl: make rename diffs
> http://git.kernel.org/?p=boot/dracut/dracut.git;a=commitdiff;h=aaced3f9909dddc0ff858634711c3e97b80b09ec
>
> you probably will have to wait until the kernel.org cache is updated, until you
> can pull it.
>

Very cool! Thanks for the patch!

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-07-29  9:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-29  8:19 'make rpm' fails WANG Cong
2011-07-29  8:58 ` 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

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.