ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] [#270965] FAILED (try 3) srpm=recoll-1.31.0-alt1.src.rpm
Date: Fri, 30 Apr 2021 14:40:26 +0300
Message-ID: <20210430114026.GB5477@altlinux.org> (raw)
In-Reply-To: <20210430090200.3pijro6zqf7bzpn5@titan.localdomain>

On Fri, Apr 30, 2021 at 01:02:00PM +0400, Ivan A. Melnikov wrote:
> On Thu, Apr 29, 2021 at 10:23:20PM +0300, Dmitry V. Levin wrote:
> > On Thu, Apr 29, 2021 at 07:12:17PM +0000, Girar awaiter (mike) wrote:
> > > http://git.altlinux.org/tasks/270965/logs/events.3.1.log
> > > 
> > > subtask  name    aarch64    armh    i586  ppc64le  x86_64
> > >    #100  recoll   failed  failed  failed   failed  failed
> > > 
> > > 2021-Apr-29 19:09:42 :: task #270965 for sisyphus resumed by mike:
> > > 2021-Apr-29 19:09:42 :: message: please add rpm-build-python to BR
> > > #100 build recoll-1.31.0-alt1.src.rpm
> > > 2021-Apr-29 19:09:43 :: [x86_64] #100 recoll-1.31.0-alt1.src.rpm: build start
> > > 2021-Apr-29 19:09:43 :: [ppc64le] #100 recoll-1.31.0-alt1.src.rpm: build start
> > > 2021-Apr-29 19:09:43 :: [aarch64] #100 recoll-1.31.0-alt1.src.rpm: build start
> > > 2021-Apr-29 19:09:43 :: [armh] #100 recoll-1.31.0-alt1.src.rpm: build start
> > > 2021-Apr-29 19:09:43 :: [i586] #100 recoll-1.31.0-alt1.src.rpm: build start
> > > [x86_64] find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,python3,qml,shell,typelib)
> > > [x86_64] /usr/lib/rpm/python.prov: ERROR: /usr/lib/rpm/python.prov.py is not available, the following files cannot be processed: /usr/src/tmp/recoll-buildroot/usr/share/recoll/filters/cmdtalk.py /usr/src/tmp/recoll-buildroot/usr/share/recoll/filters/conftree.py /usr/src/tmp/recoll-buildroot/usr/share/recoll/filters/rclexec1.py /usr/src/tmp/recoll-buildroot/usr/share/recoll/filters/rclexecm.py /usr/src/tmp/recoll-buildroot/usr/share/recoll/filters/rclmidi.py /usr/src/tmp/recoll-buildroot/usr/share/recoll/filters/rcluncomp.py /usr/src/tmp/recoll-buildroot/usr/share/recoll/filters/rclxslt.py 
> > > [x86_64] find-provides: ERROR: /usr/lib/rpm/python.prov failed
> > > [x86_64] error: /bin/sh failed
> > > [x86_64] error: Failed to find Provides
> > > [x86_64] RPM build errors:
> > > 2021-Apr-29 19:11:17 :: [x86_64] recoll-1.31.0-alt1.src.rpm: remote: build failed
> > > 2021-Apr-29 19:11:17 :: [x86_64] #100 recoll-1.31.0-alt1.src.rpm: build FAILED
> > 
> > Все вышеперечисленные файлы
> > /usr/src/tmp/recoll-buildroot/usr/share/recoll/filters/*.py не содержат
> > шебанга; python3.prov.files не считает нужным отдавать такие файлы,
> > находящиеся за пределами RPM_PYTHON3_PATH, на обработку python3.prov,
> > а python.prov.files, наоборот, пытается скормить их python.prov.
> 
> Интересно, что в recoll.spec есть
> 
> %add_findreq_skiplist %_datadir/%name/filters/*

И это, видимо, ошибка.

> А падал на них find-provides, хотя эти файлы ничего не предоставляют
> и предоставлять не могут.

Ну вот python.prov.files, видимо, не знает, могут ли файлы оттуда что-то
предоставить.

В текущей редакции это выглядит так:
$ grep python.prov.files /tasks/archive/done/_264/270996/build/100/x86_64/log
[00:01:15] python.prov.files: /usr/src/tmp/recoll-buildroot/usr/share/recoll/filters/cmdtalk.py: ASCII English text (SKIP)
[00:01:15] python.prov.files: /usr/src/tmp/recoll-buildroot/usr/share/recoll/filters/conftree.py: ASCII English text (SKIP)
[00:01:15] python.prov.files: /usr/src/tmp/recoll-buildroot/usr/share/recoll/filters/rclexec1.py: ASCII English text (SKIP)
[00:01:15] python.prov.files: /usr/src/tmp/recoll-buildroot/usr/share/recoll/filters/rclexecm.py: ASCII English text (SKIP)
[00:01:15] python.prov.files: /usr/src/tmp/recoll-buildroot/usr/share/recoll/filters/rclmidi.py: ASCII English text (SKIP)
[00:01:15] python.prov.files: /usr/src/tmp/recoll-buildroot/usr/share/recoll/filters/rcluncomp.py: ASCII Java program text, with CRLF line terminators (SKIP)
[00:01:15] python.prov.files: /usr/src/tmp/recoll-buildroot/usr/share/recoll/filters/rclxslt.py: ASCII English text (SKIP)

Т.е. python.prov.files был готов скормить эти файлы скрипту python.prov.py,
но скрипта не оказалось в наличии, а у файлов нет шебанга, и находятся они
за пределами %python_sitelibdir и %python_sitelibdir_noarch, так что они были
громко поскипаны.


-- 
ldv


  reply	other threads:[~2021-04-30 11:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-29 19:23     ` Dmitry V. Levin
2021-04-30  7:18       ` Aleksei Nikiforov
2021-04-30  9:23         ` Ivan A. Melnikov
2021-04-30 11:46           ` Dmitry V. Levin
2021-04-30  9:02       ` Ivan A. Melnikov
2021-04-30 11:40         ` Dmitry V. Levin [this message]
2021-04-30 20:07           ` Michael Shigorin
2021-04-30  9:09       ` [devel] python2-base в rpm-build Ivan A. Melnikov
2021-04-30 12:01         ` 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=20210430114026.GB5477@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