ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: devel@lists.altlinux.org
Subject: Re: [devel] Q: mono FTBFS
Date: Wed, 23 Jun 2021 15:17:21 +0300
Message-ID: <20210623121721.GB23626@altlinux.org> (raw)
In-Reply-To: <20210623121139.wajawxgolxy7afda@titan.localdomain>

On Wed, Jun 23, 2021 at 04:11:39PM +0400, Ivan A. Melnikov wrote:
> On Wed, Jun 23, 2021 at 02:01:37PM +0300, Dmitry V. Levin wrote:
> > On Wed, Jun 23, 2021 at 01:51:26PM +0300, Aleksei Nikiforov wrote:
> > > 23.06.2021 13:40, Dmitry V. Levin пишет:
> > [...]
> > > > Вешать баг на rpm-build-mono?
> > > 
> > > Насколько я вижу, с rpm-build-mono всё в порядке. Лучше на rpm-build. 
> > > Там сломали и недочинили.
> > 
> > Какие есть основания полагать, что rpm-build-mono сломался из-за изменений
> > в rpm-build, которых не было?
> 
> Смотрите как интересно. В логах [1] пишут:
> 
> [00:21:46] /usr/lib/rpm/python3.prov: ERROR: rpm-build-python3 is not installed, the following files cannot be processed: /usr/src/tmp/mono-buildroot/usr/bin/mono-gdb.py /usr/src/tmp/mono-buildroot/usr/bin/mono-sgen-gdb.py 
> [00:21:46] find-provides: ERROR: /usr/lib/rpm/python3.prov failed
> 
> И никаких провайдов вида `mono(...)` не находится.
> 
> Но если в сборочную среду добавить rpm-build-python3
> (это я локально в хешере попробовал), то такие зависимости
> находятся:
> 
> $ rpm -qp --provides ~/hasher/repo/x86_64/RPMS.hasher/mono-core-6.12.0.122-alt1.x86_64.rpm | grep ^mono | head -n5
> mono4-core = 6.12.0.122-alt1
> mono(Commons.Xml.Relaxng) = 4.0
> mono(Commons.Xml.Relaxng) = 4.0.0.0
> mono(CustomMarshalers) = 4.0
> mono(CustomMarshalers) = 4.0.0.0
> 
> Мне это кажется странным. Мне кажется, такие ошибки python3.prov
> должны или приводить к падению сборки или игнорироваться,
> а тут происходить что-то третье.

Этому есть очень простое объяснение, см. лог сборки:
$ grep -E '^Finding (Provides|Requires) ' beehive/logs/Sisyphus/x86_64/latest/success/mono-6.12.0.122-alt1 |sort |uniq -c 
     24 Finding Provides (using sh -c '/usr/lib/rpm/find-provides | sort | uniq')
     24 Finding Requires (using sh -c '/usr/lib/rpm/find-requires | sort | uniq | grep ^... | 

Другими словами, пакет mono специально игнорирует ошибки,
которые возвращают find-provides и find-requires.


-- 
ldv


  reply	other threads:[~2021-06-23 12:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-23  1:35 Dmitry V. Levin
2021-06-23  7:49 ` Aleksei Nikiforov
2021-06-23 10:40   ` Dmitry V. Levin
2021-06-23 10:51     ` Aleksei Nikiforov
2021-06-23 11:01       ` Dmitry V. Levin
2021-06-23 11:15         ` Aleksei Nikiforov
2021-06-23 11:57           ` Dmitry V. Levin
2021-06-23 12:21             ` Aleksei Nikiforov
2021-06-23 12:11         ` Ivan A. Melnikov
2021-06-23 12:17           ` Dmitry V. Levin [this message]
2021-06-23 12:23             ` Dmitry V. Levin

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=20210623121721.GB23626@altlinux.org \
    --to=ldv@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