ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Исчезнувший /usr/bin/pathfix.py
@ 2024-02-18 21:13 Vitaly Lipatov
  2024-02-19  6:37 ` Grigory Ustinov
  0 siblings, 1 reply; 3+ messages in thread
From: Vitaly Lipatov @ 2024-02-18 21:13 UTC (permalink / raw)
  To: ALT Linux Team development discussions

Добрый день!
Наткнулся на то, что для 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-02-19 13:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-18 21:13 [devel] Исчезнувший /usr/bin/pathfix.py Vitaly Lipatov
2024-02-19  6:37 ` Grigory Ustinov
2024-02-19 13:19   ` Aleksey Novodvorsky

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