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: time to wave rpm-build-python off
Date: Thu, 29 Apr 2021 19:54:57 +0300
Message-ID: <20210429165457.GA26075@altlinux.org> (raw)
In-Reply-To: <20210429161405.GB24650@altlinux.org>

On Thu, Apr 29, 2021 at 07:14:05PM +0300, Dmitry V. Levin wrote:
[...]
> Соответственно, python.req может рассказать, для обработки каких файлов
> нужен отсутствующий python.req.py.

И тут вылезет много всякого.  Например:

2021-Apr-29 15:53:21 :: test-only task #269879 for sisyphus resumed by arseny:
[...]
#1300 build 2.6.3.1-alt1.git.11.gb3efc3da2.1 from /people/arseny/packages/CGenius.git fetched at 2021-Apr-27 21:07:20
2021-Apr-29 16:12:29 :: [x86_64] #1300 CGenius.git 2.6.3.1-alt1.git.11.gb3efc3da2.1: build start
[x86_64] find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell)
[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/CGenius-buildroot/usr/share/games/commandergenius/scripts/Oblivion/exitToLevel.py /usr/src/tmp/CGenius-buildroot/usr/share/games/commandergenius/scripts/Oblivion/extraSpawn.py /usr/src/tmp/CGenius-buildroot/usr/share/games/commandergenius/scripts/Oblivion/messageMap.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 16:14:24 :: [x86_64] CGenius.git 2.6.3.1-alt1.git.11.gb3efc3da2.1: remote: build failed
2021-Apr-29 16:14:24 :: [x86_64] #1300 CGenius.git 2.6.3.1-alt1.git.11.gb3efc3da2.1: build FAILED

/usr/share/games/commandergenius/scripts/Oblivion/*.py - это скрипты
на питоне неизвестной версии, шебангов в них нет.

/usr/lib/rpm/python.prov.files считает, что /usr/lib/rpm/python.prov
следует их обработать.
Но если спросить, скажем, /usr/lib/rpm/python3.prov.files, там тоже
наверняка скажут, что /usr/lib/rpm/python3.prov следует их обработать.

С python*.req аналогично.


-- 
ldv


  reply	other threads:[~2021-04-29 16:54 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-01 13:11 Dmitry V. Levin
2021-04-29  2:35 ` Dmitry V. Levin
2021-04-29  5:11   ` Anton Farygin
2021-04-29  7:49   ` Aleksei Nikiforov
2021-04-29 12:04     ` Dmitry V. Levin
2021-04-29 15:55       ` Dmitry V. Levin
2021-04-29 16:03         ` Anton Farygin
2021-04-29 16:14           ` Dmitry V. Levin
2021-04-29 16:54             ` Dmitry V. Levin [this message]
2021-05-04  5:11                 ` Ivan A. Melnikov
2021-05-04 15:07                     ` Dmitry V. Levin
2021-05-04 15:27                           ` Антон Мидюков
2021-04-29 16:24         ` Anton Farygin
2021-04-29 16:41           ` Dmitry V. Levin
2021-04-29 18:00             ` Vladimir D. Seleznev
2021-04-30  7:16         ` Aleksei Nikiforov
2021-04-30 12:12   ` Dmitry V. Levin
2021-04-30 15:26       ` Dmitry V. Levin
2021-05-06  8:01     ` Kirill Maslinsky
2021-05-06 11:54       ` Dmitry V. Levin
2021-05-06 13:13         ` Yuri Sedunov

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=20210429165457.GA26075@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