From: Grigory Ustinov <grenka@altlinux.org> To: devel@lists.altlinux.org Subject: Re: [devel] Исчезнувший /usr/bin/pathfix.py Date: Mon, 19 Feb 2024 09:37:06 +0300 Message-ID: <3701a055-5e1a-434b-8137-b93bae0d2609@altlinux.org> (raw) In-Reply-To: <cb8bee4f8416cf9e339e2a9d4777d8cd@altlinux.ru> 19.02.2024 0:13, Vitaly Lipatov пишет: > Добрый день! Добрейшего утра. > Наткнулся на то, что для opennebula не собирается сборочное окружение > из-за pathfix.py и выполнил > git grep pathfix.py в репозитории https://github.com/altlinux/specs И оказалось, что практически всё уже исправлено и осталось несколько пакетов. > Кто-то использовал эту команду таинственным образом, но если увидеть > момент её появления можно: > p/python3/python3.spec:- Added pathfix.py to python3-tools (thx to viy@). > то исчезла она просто молча. https://github.com/python/cpython/commit/e0ae9ddffe0a708d0d3f5b8cc10488d466fc43c4 Может и стоило её отобразить в некрологе^Wченджлоге. Но она и в апстриме ушла молча. > Из-за чего все эти пакеты перестали пересобираться: > 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, не вполне > очевидно, просьба к причастным подсказать, как с ними бороться. С opennebula всё вообще просто. https://git.altlinux.org/tasks/339176/ - я ещё несколько недель назад подготовил таск, который решает эту проблему но спотыкается о новую джава. Мейнтейнер пакета был извещён. Этот скрипт был призван бороться с бардаком вокруг фиксов шебангов. Мы всё дальше уходим от python2 и апстрим взял курс вперёд. Спойлер: в этом году нас покинет ещё и 2to3, но тут уже всё подготовлено.
next prev parent reply other threads:[~2024-02-19 6:37 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-02-18 21:13 Vitaly Lipatov 2024-02-19 6:37 ` Grigory Ustinov [this message] 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=3701a055-5e1a-434b-8137-b93bae0d2609@altlinux.org \ --to=grenka@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