ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <alexey.tourbin@gmail.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: [devel] missing interpreter in shebang (was: [#249453] FAILED (try 4) manatee-open.git=2.167.10-alt1)
Date: Tue, 7 Apr 2020 02:36:50 +0300
Message-ID: <CA+qzenksWSJ40erSi5-btMyzat+-=B_uaWY4sHLTdZFgr_mqUw@mail.gmail.com> (raw)
In-Reply-To: <2fe0ec7a5f6105481e6f1b79a33a1fb3bbb796a6.camel@altlinux.org>

On Mon, Apr 6, 2020 at 1:58 PM Yuri Sedunov <aris@altlinux.org> wrote:
> Неудачненько получилось заменить python на python3:
>
> http://git.altlinux.org/tasks/249453/gears/100/git?p=git;a=commitdiff;h=5627286fda5ad585180a4523bfccfedd163163da;hp=a81fe36e92950377232c0bddc643bb260d3f9afe
>
> diff --git a/api/addwcattr b/api/addwcattr
> index 40766f9..b7030d7 100755 (executable)
> --- a/api/addwcattr
> +++ b/api/addwcattr
> @@ -1,4 +1,4 @@
> -#!/usr/bin/env python
> +#!/usr/bin/env python32
>  # Copyright 2007-2015  Pavel Rychly, Milos Jakubicek
>  from __future__ import print_function
>  from __future__ import unicode_literals
> diff --git a/api/concinfo b/api/concinfo
> index 30ee9c4..4f0b70f 100755 (executable)

shebang.req просто не не нашел python32, и запаковались битые /
незапускаемые скрипты. Если бы путь к интерпретатору был указан
абсолютный, а не через /usr/bin/env, то зависимость на
/usr/bin/python32 проставилась бы в любом случае. Тогда появилась бы
неудволетоворенная зависимость, что по смыслу лучше, чем незапускаемые
скрипты (так как она сигнализирует, что для запуска скриптов чего-то
не хватает). Наверное надо сделать, чтобы shebang.req в таких случаях
либо принудительно проставлял путь на /usr/bin, либо обрывал сборку.

shebang.req: /usr/src/tmp/manatee-open-buildroot/usr/bin/addwcattr:
python32 not found (skip)
shebang.req: /usr/src/tmp/manatee-open-buildroot/usr/bin/concinfo:
python32 not found (skip)
shebang.req: /usr/src/tmp/manatee-open-buildroot/usr/bin/corpconfcheck:
python32 not found (skip)
shebang.req: /usr/src/tmp/manatee-open-buildroot/usr/bin/corpdatacheck:
python32 not found (skip)
shebang.req: /usr/src/tmp/manatee-open-buildroot/usr/bin/corpquery:
python32 not found (skip)
shebang.req: /usr/src/tmp/manatee-open-buildroot/usr/bin/decodevert:
python32 not found (skip)
shebang.req: /usr/src/tmp/manatee-open-buildroot/usr/bin/dumpalign:
python32 not found (skip)

  parent reply	other threads:[~2020-04-06 23:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-06  9:58 [devel] [girar-builder@altlinux.org: [#249453] [test-only] FAILED (try 4) manatee-open.git=2.167.10-alt1 gdex.git=3.12-alt1 ...] Kirill Maslinsky
2020-04-06 10:58 ` Yuri Sedunov
2020-04-06 12:10   ` Kirill Maslinsky
2020-04-06 12:11     ` Kirill Maslinsky
2020-04-06 23:36   ` Alexey Tourbin [this message]
2020-04-07  0:07     ` [devel] missing interpreter in shebang Dmitry V. Levin
2020-04-06 13:45   ` [devel] [girar-builder@altlinux.org: [#249453] [test-only] FAILED (try 4) manatee-open.git=2.167.10-alt1 gdex.git=3.12-alt1 ...] Kirill Maslinsky

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='CA+qzenksWSJ40erSi5-btMyzat+-=B_uaWY4sHLTdZFgr_mqUw@mail.gmail.com' \
    --to=alexey.tourbin@gmail.com \
    --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