ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] суровый робот sisyphus_check.
Date: Fri, 3 Oct 2008 08:44:27 +0400
Message-ID: <20081003044427.GF6399@altlinux.org> (raw)
In-Reply-To: <20081002194150.GA2884@dad.imath.kiev.ua>

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

On Thu, Oct 02, 2008 at 10:41:50PM +0300, Igor Vlasenko wrote:
> /.out/repocop-0.07-alt15.noarch.rpm: invalid noarch file paths: /usr/lib64/repocop/pkgcollectors /usr/lib64/repocop/pkgtests /usr/lib64/repocop/srccollectors /usr/lib64/repocop/srctests
> sisyphus_check: check-noarch ERROR: noarch packaging violation
> hsh-rebuild: pkg.tar: sisyphus_check failed.
> 
> Интересная ситуация. 
> Я добавил владение папками /usr/lib{,64}/repocop/*,
> чтобы убирать за архитектурно-зависимыми тестами
> (если снести их и repocop, чтобы не осталось мусора в системе).

Нет, там используется именно %_libdir.

%dir %_datadir/repocop/pkgtests
%dir %_datadir/repocop/srctests
%dir %_libdir/repocop/pkgtests
%dir %_libdir/repocop/srctests

А это как раз то, чего не должно быть в noarch пакете,
потому что %_libdir раскрывается по-разному, в результате чего
получаются неидентичные noarch пакеты.

> Не хочется заводить целый пакет на пару пустых папок.
> Нет ли возможности отключать проверки sisyphus_check 
> через spec?

Предлагаю не паковать %_libdir/repocop (кстати, этот каталог сейчас
не запакован, а только подкаталоги).  Архитектурно-зависимых (то есть
компилируемых) тестов сейчас всё равно нет, и вряд ли они появятся.

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

  parent reply	other threads:[~2008-10-03  4:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-02 19:41 Igor Vlasenko
2008-10-02 20:47 ` Michael Shigorin
2008-10-02 21:17 ` Alexey Gladkov
2008-10-03  4:44 ` Alexey Tourbin [this message]
2008-10-03 16:39   ` Igor Vlasenko

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=20081003044427.GF6399@altlinux.org \
    --to=at@altlinux.ru \
    --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