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 15:04:24 +0300 Message-ID: <20210429120424.GB21867@altlinux.org> (raw) In-Reply-To: <9d4b7860-22ed-f4de-a236-d4fbd02122c1@altlinux.org> On Thu, Apr 29, 2021 at 10:49:39AM +0300, Aleksei Nikiforov wrote: > 29.04.2021 05:35, Dmitry V. Levin пишет: > > On Mon, Mar 01, 2021 at 04:11:28PM +0300, Dmitry V. Levin wrote: > >> Hi, > >> > >> В связи с тем, что пользователи python2 в Сизифе наконец-то массово > >> переходят на python3, возникает вопрос, не пора ли нам уже распрощаться > >> с пакетом rpm-build-python в составе базовой сборочной среды? > >> > >> Просьба тем, кто занимается массовой миграцией пакетов с python2 > >> на python3, подготовить ответ на этот вопрос. > > > > Никто не ответил? Ну что же, тогда уберём rpm-build-python и узнаем. > > Здравствуйте. > > После этого изменения вылезла вот такая ошибка: > > http://git.altlinux.org/tasks/270927/logs/events.1.1.log > > [x86_64] find-requires: running scripts > (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) > [x86_64] /usr/lib/rpm/python.req: line 2: /usr/bin/python2.7: No such > file or directory > [x86_64] find-requires: ERROR: /usr/lib/rpm/python.req failed > [x86_64] error: /bin/sh failed > [x86_64] error: Failed to find Requires > [x86_64] RPM build errors: Идея была в том, что если в пакете есть что-то на python2, но пакет rpm-build-python не установлен, то сборка упадёт с такой диагностикой. Однако ... > В пакете нет ни python-2, ни python-3. ... где-то что-то зачем-то вызвало /usr/lib/rpm/python.req с пустым списком аргументов. Вставил объезд в python.req и python.prov, чтобы "skip python invocation when invoked without arguments". [#270943] DONE rpm-build-python.git=0.40.1-alt1 -- ldv
next prev parent reply other threads:[~2021-04-29 12:04 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 [this message] 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 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=20210429120424.GB21867@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