ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Aleksei Nikiforov <darktemplar@altlinux.org>
To: devel@lists.altlinux.org
Subject: Re: [devel] [#270965] FAILED (try 3) srpm=recoll-1.31.0-alt1.src.rpm
Date: Fri, 30 Apr 2021 10:18:59 +0300
Message-ID: <0d2d2cab-83ea-1f41-0c3b-6ce366586d71@altlinux.org> (raw)
In-Reply-To: <20210429192319.GA27880@altlinux.org>

29.04.2021 22:23, Dmitry V. Levin пишет:
> 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.
> 
> Не знаю, о чём думали питоноводы, которые это реализовали, они нам не
> рассказали, но в результате попытки удалить python2-base из rpm-build
> сотни пакетов перестали собираться.
> 
> Увы, это значит, что rpm-build-python (а вместе с ним и python2-base)
> придётся вернуть в rpm-build до лучших времён.
> 
> P.S. Если бы во всех файлах /usr/share/recoll/filters/*.py был шебанг,
> то пакет собрался бы.
> 
> 

Я думаю дело в том, что когда это делали, дефолтным был python2. Раз уж 
начали экспериментировать, может стоит переделать чтобы по-дефолту такие 
непомеченные файлы отдавались в python3 на обработку? Ситуация с тех пор 
поменялась, и теперь дефолт - python3. То, что не перешло ещё на python3 
- скорее всего давно не поддерживается.

С уважением,
Алексей Никифоров


  reply	other threads:[~2021-04-30  7:18 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 [this message]
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
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=0d2d2cab-83ea-1f41-0c3b-6ce366586d71@altlinux.org \
    --to=darktemplar@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