From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 29 Apr 2021 19:54:57 +0300 From: "Dmitry V. Levin" To: devel@lists.altlinux.org Message-ID: <20210429165457.GA26075@altlinux.org> References: <20210301131128.GA11206@altlinux.org> <20210429023526.GA16568@altlinux.org> <9d4b7860-22ed-f4de-a236-d4fbd02122c1@altlinux.org> <20210429120424.GB21867@altlinux.org> <20210429155504.GA24650@altlinux.org> <4513d92c-b8d2-3648-0da1-b934528432c1@basealt.ru> <20210429161405.GB24650@altlinux.org> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210429161405.GB24650@altlinux.org> Subject: Re: [devel] Q: time to wave rpm-build-python off X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2021 16:54:58 -0000 Archived-At: List-Archive: List-Post: 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