ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Strange rpm errors
@ 2008-10-16 12:02 Vitaly Ostanin
  2008-10-16 13:09 ` Alexey Tourbin
  0 siblings, 1 reply; 5+ messages in thread
From: Vitaly Ostanin @ 2008-10-16 12:02 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 1099 bytes --]

Здравствуйте.

Обнаружил, что при наличии в спеке в %files такой строки
%doc %_defaultdocdir/%name-%version

пакет не собирается со странными сообщениями:

Wrote: /usr/src/RPM/SRPMS/heartbeat-2.1.3-alt1.src.rpm
error: create archive failed on file 
/usr/src/tmp/heartbeat-buildroot/usr/share/doc/heartbeat-2.1.3/AUTHORS: 
cpio: open failed - Bad file descriptor

RPM build errors:
     File listed twice: /etc/ha.d/resource.d/ldirectord
     File listed twice: /usr/lib/ocf/resource.d/heartbeat/ldirectord
     File listed twice: /usr/share/doc/heartbeat-2.1.3

Если эту строку удалить, то пакет собирается нормально. Я 
понимаю, что сам дурак и всё такое, но всё же rpm мог бы выводить 
более понятное сообщение об ошибке.

Не собирающийся коммит:
http://git.altlinux.org/people/vyt/packages/?p=heartbeat.git;a=commit;h=5f30983b0956d58906f39a8389a0d288ba3759e4
Собирающийся:
http://git.altlinux.org/people/vyt/packages/?p=heartbeat.git;a=commit;h=394bef3755c3ebfa30672854d9d403b9e46cd07b

-- 
Regards, Vyt
mailto:  vyt@altlinux.org
JID:     vitaly.ostanin@gmail.com


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

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

end of thread, other threads:[~2008-10-19 13:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-16 12:02 [devel] Strange rpm errors Vitaly Ostanin
2008-10-16 13:09 ` Alexey Tourbin
2008-10-16 19:03   ` Vitaly Ostanin
2008-10-19 11:52     ` Vitaly Ostanin
2008-10-19 13:01       ` Alexey Tourbin

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git