* Re: [devel] [#241521] [test-only] FAILED libomniORB.git=4.2.3-alt1 @ 2019-11-23 11:00 ` Pavel Vainerman 2019-11-23 11:19 ` Pavel Vainerman 0 siblings, 1 reply; 7+ messages in thread From: Pavel Vainerman @ 2019-11-23 11:00 UTC (permalink / raw) To: ALT Linux Team development discussions Добрый день (ещё раз). Тут тоже вопрос по питон. http://git.altlinux.org/tasks/241521/logs/events.1.1.log 22.11.2019 23:18, Girar Builder awaiter robot пишет: > ../../../bin/omniidl -bcxx -p../../../src/lib/omniORB/python -I../../../idl -Wbdebug -Wba -p../../../src/lib/omniORB/python -I../../../idl -Wbdebug -v -ComniORB4 ../../../idl/Naming.idl > /usr/bin/env: 'python': No such file or directory omniidl это скрипт (генератор кода) написанный на питоне и у него в заголовке прописано универсальное #!/usr/bin/env python Как правильно у нас теперь разруливать такие ошикби? -- Pavel Vainerman www.etersoft.ru ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [devel] [#241521] [test-only] FAILED libomniORB.git=4.2.3-alt1 2019-11-23 11:00 ` [devel] [#241521] [test-only] FAILED libomniORB.git=4.2.3-alt1 Pavel Vainerman @ 2019-11-23 11:19 ` Pavel Vainerman 2019-11-23 11:48 ` Антон Мидюков 2019-11-23 11:49 ` Vladimir D. Seleznev 0 siblings, 2 replies; 7+ messages in thread From: Pavel Vainerman @ 2019-11-23 11:19 UTC (permalink / raw) To: devel 23.11.2019 14:09, Andrey Savchenko пишет: > Похоже, где-то в вашем пакете есть sheband /usr/bin/python, это > нужно исправить (указав версию). А какие сейчас правильные версии? python2, python2.7, python3? Как я понял, универсальный #!/usr/bin/env python сейчас тоже под запретом. Что предлагается вместо? -- Pavel Vainerman www.etersoft.ru ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [devel] [#241521] [test-only] FAILED libomniORB.git=4.2.3-alt1 2019-11-23 11:19 ` Pavel Vainerman @ 2019-11-23 11:48 ` Антон Мидюков 2019-11-23 11:51 ` Pavel Vainerman 2019-11-23 11:49 ` Vladimir D. Seleznev 1 sibling, 1 reply; 7+ messages in thread From: Антон Мидюков @ 2019-11-23 11:48 UTC (permalink / raw) To: devel 23.11.2019 18:19, Pavel Vainerman пишет: > 23.11.2019 14:09, Andrey Savchenko пишет: >> Похоже, где-то в вашем пакете есть sheband /usr/bin/python, это >> нужно исправить (указав версию). > А какие сейчас правильные версии? python2, python2.7, python3? > > Как я понял, универсальный #!/usr/bin/env python сейчас тоже под > запретом. Что предлагается вместо? > %__python -- С уважением, Антон Мидюков <antohami@altlinux.org> ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [devel] [#241521] [test-only] FAILED libomniORB.git=4.2.3-alt1 2019-11-23 11:48 ` Антон Мидюков @ 2019-11-23 11:51 ` Pavel Vainerman 2019-11-23 11:55 ` Антон Мидюков 0 siblings, 1 reply; 7+ messages in thread From: Pavel Vainerman @ 2019-11-23 11:51 UTC (permalink / raw) To: devel 23.11.2019 14:48, Антон Мидюков пишет: >> Как я понял, универсальный #!/usr/bin/env python сейчас тоже под >> запретом. Что предлагается вместо? >> > %__python Не совсем понял, как применять этот макрос. Надо по всем фалам где есть "env python" пройтись заменой (subst) на этапе install? -- Pavel Vainerman www.etersoft.ru ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [devel] [#241521] [test-only] FAILED libomniORB.git=4.2.3-alt1 2019-11-23 11:51 ` Pavel Vainerman @ 2019-11-23 11:55 ` Антон Мидюков 0 siblings, 0 replies; 7+ messages in thread From: Антон Мидюков @ 2019-11-23 11:55 UTC (permalink / raw) To: devel 23.11.2019 18:51, Pavel Vainerman пишет: > 23.11.2019 14:48, Антон Мидюков пишет: > >>> Как я понял, универсальный #!/usr/bin/env python сейчас тоже под >>> запретом. Что предлагается вместо? >>> >> %__python > Не совсем понял, как применять этот макрос. > Надо по всем фалам где есть "env python" пройтись заменой (subst) на > этапе install? Да, я так делаю. -- С уважением, Антон Мидюков <antohami@altlinux.org> ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [devel] [#241521] [test-only] FAILED libomniORB.git=4.2.3-alt1 2019-11-23 11:19 ` Pavel Vainerman 2019-11-23 11:48 ` Антон Мидюков @ 2019-11-23 11:49 ` Vladimir D. Seleznev 2019-11-23 11:59 ` Pavel Vainerman 1 sibling, 1 reply; 7+ messages in thread From: Vladimir D. Seleznev @ 2019-11-23 11:49 UTC (permalink / raw) To: ALT Linux Team development discussions On Sat, Nov 23, 2019 at 02:19:00PM +0300, Pavel Vainerman wrote: > 23.11.2019 14:09, Andrey Savchenko пишет: > > Похоже, где-то в вашем пакете есть sheband /usr/bin/python, это > > нужно исправить (указав версию). > > А какие сейчас правильные версии? python2, python2.7, python3? > > Как я понял, универсальный #!/usr/bin/env python сейчас тоже под > запретом. Что предлагается вместо? Если скрипт может работать на третьем питоне, то написать в шебанге #!/usr/bin/python3, иначе #!/usr/bin/python2 или #!/usr/bin/python2.7. -- С уважением, Владимир Селезнев ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [devel] [#241521] [test-only] FAILED libomniORB.git=4.2.3-alt1 2019-11-23 11:49 ` Vladimir D. Seleznev @ 2019-11-23 11:59 ` Pavel Vainerman 0 siblings, 0 replies; 7+ messages in thread From: Pavel Vainerman @ 2019-11-23 11:59 UTC (permalink / raw) To: devel 23.11.2019 14:49, Vladimir D. Seleznev пишет: > Если скрипт может работать на третьем питоне, то написать в шебанге > #!/usr/bin/python3, иначе #!/usr/bin/python2 или #!/usr/bin/python2.7. С третьим как выяснилось не работает, написал python2.7. А !#/usr/bin/env python2.7 уже не рекомендуется? Предпочтительно прямое указание? -- Pavel Vainerman www.etersoft.ru ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2019-11-23 11:59 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2019-11-23 11:00 ` [devel] [#241521] [test-only] FAILED libomniORB.git=4.2.3-alt1 Pavel Vainerman 2019-11-23 11:19 ` Pavel Vainerman 2019-11-23 11:48 ` Антон Мидюков 2019-11-23 11:51 ` Pavel Vainerman 2019-11-23 11:55 ` Антон Мидюков 2019-11-23 11:49 ` Vladimir D. Seleznev 2019-11-23 11:59 ` Pavel Vainerman
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