ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Vitaly Lipatov <lav@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: [devel] Исчезнувший /usr/bin/pathfix.py
Date: Mon, 19 Feb 2024 00:13:06 +0300
Message-ID: <cb8bee4f8416cf9e339e2a9d4777d8cd@altlinux.ru> (raw)

Добрый день!
Наткнулся на то, что для opennebula не собирается сборочное окружение 
из-за pathfix.py и выполнил
git grep pathfix.py в репозитории https://github.com/altlinux/specs

a/autojump/autojump.spec:BuildRequires: /usr/bin/pathfix.py
a/autojump/autojump.spec:pathfix.py -i %{__python3} -pn . ./bin/*
b/bcc/bcc.spec:pathfix.py -pni %__python3 tools
i/inksmoto/inksmoto.spec:BuildRequires: /usr/bin/pathfix.py
i/inksmoto/inksmoto.spec:pathfix.py -pni "%{__python3} 
%{py3_shbang_opts}" .
m/monsterz/monsterz.spec:BuildRequires: /usr/bin/desktop-file-install 
/usr/bin/pathfix.py
m/monsterz/monsterz.spec:pathfix.py -pni "%{__python3} 
%{py3_shbang_opts}" .
o/opennebula/opennebula.spec:BuildRequires: python3-module-setuptools 
/usr/bin/pathfix.py
o/opennebula/opennebula.spec:pathfix.py -pni %__python3 
%buildroot/usr/lib/one/sunstone/public/bower_components/guacamole-common-js/guacamole/util/*.py
o/opennebula/opennebula.spec:pathfix.py -pni %__python3 
%buildroot/usr/lib/one/sunstone/public/bower_components/no-vnc/utils/*.py
o/opennebula/opennebula.spec:#pathfix.py -pni %__python3 
%buildroot/usr/share/one/websockify/websockify/websocketproxy.py
o/opennebula/opennebula.spec:#pathfix.py -pni %__python3 
%buildroot/usr/share/one/websockify/run
p/protocol/protocol.spec:pathfix.py -pni %__python3 .
p/python/python.spec:- now we don't use pathfix.py 'cause we want to 
build python without python
p/python3/python3.spec:- Added pathfix.py to python3-tools (thx to 
viy@).
r/rpm-build-emacs/rpm-build-emacs.spec:Patch: 
el-pkgutils-pathfix-alt.patch
r/rpm-build-emacs/rpm-build-emacs.spec:- added patch 
el-pkgutils-pathfix-alt.patch:
t/texlive-texmf/texlive-texmf.spec:# for pathfix.py
t/texlive-texmf/texlive-texmf.spec:%{_bindir}/pathfix.py -pni 
"%{__python3} " \

Кто-то использовал эту команду таинственным образом, но если увидеть 
момент её появления можно:
p/python3/python3.spec:- Added pathfix.py to python3-tools (thx to 
viy@).
то исчезла она просто молча.

Из-за чего все эти пакеты перестали пересобираться:
autojump-22.5.3-alt1_7:E: Couldn't find package /usr/bin/pathfix.py
bcc-0.29.1-alt1:+ pathfix.py -pni /usr/bin/python3 tools
bcc-0.29.1-alt1:/usr/src/tmp/rpm-tmp.14890: line 131: pathfix.py: 
command not found
inksmoto-0.7.0-alt2_32:E: Couldn't find package /usr/bin/pathfix.py
monsterz-0.7.1-alt3_34:E: Couldn't find package /usr/bin/pathfix.py
opennebula-6.6.1.1-alt1:E: Couldn't find package /usr/bin/pathfix.py
protocol-0.1.0.20190528-alt1:+ pathfix.py -pni /usr/bin/python3 .
protocol-0.1.0.20190528-alt1:/usr/src/tmp/rpm-tmp.18607: line 125: 
pathfix.py: command not found
texlive-texmf-2021-alt1_4:+ /usr/bin/pathfix.py -pni '/usr/bin/python3 ' 
. texmf-dist/scripts/pdfbook2/pdfbook2 
texmf-dist/scripts/de-macro/de-macro
texlive-texmf-2021-alt1_4:/usr/src/tmp/rpm-tmp.49216: line 180: 
/usr/bin/pathfix.py: No such file or directory

В этой ситуации меня больше возмущает наличие команды с таким названием.

Если то, как избавиться от использования pathfix.py, не вполне очевидно, 
просьба к причастным подсказать, как с ними бороться.

-- 
С уважением,
Виталий Липатов,
ALT Linux Team


             reply	other threads:[~2024-02-18 21:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-18 21:13 Vitaly Lipatov [this message]
2024-02-19  6:37 ` Grigory Ustinov
2024-02-19 13:19   ` Aleksey Novodvorsky

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=cb8bee4f8416cf9e339e2a9d4777d8cd@altlinux.ru \
    --to=lav@altlinux.ru \
    --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