ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Vitaly Ostanin <vyt@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: [devel] Strange rpm errors
Date: Thu, 16 Oct 2008 16:02:00 +0400
Message-ID: <48F72D38.1040403@altlinux.org> (raw)

[-- 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 --]

             reply	other threads:[~2008-10-16 12:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-16 12:02 Vitaly Ostanin [this message]
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

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=48F72D38.1040403@altlinux.org \
    --to=vyt@altlinux.org \
    --cc=devel@lists.altlinux.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

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