From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] I: Что-то с python3.prov.py не то...
Date: Thu, 11 Apr 2013 22:17:53 +0400
Message-ID: <20130411181752.GA21415@altlinux.org> (raw)
In-Reply-To: <5166F588.7060506@solin.spb.ru>
[-- Attachment #1: Type: text/plain, Size: 1791 bytes --]
On Thu, Apr 11, 2013 at 09:40:24PM +0400, Aleksey Avdeev wrote:
> 11.04.2013 21:19, Paul Wolneykien пишет:
> > 11.04.2013 21:07, Aleksey Avdeev пишет:
> >> 11.04.2013 18:13, Aleksey Avdeev пишет:
> >>> 11.04.2013 18:08, Aleksey Avdeev пишет:
> >>> ...
> >>>> Т. е. похоже что-то изменилось в самом python3, к чему
> >>>> python3.prov.py
> >>>> оказался чувствителен.
> >>>
> >>> Сейчас ловлю точку отказа отладкой...
> >>
> >> Корень проблемы:
> >>
> >> $ /usr/src/tmp/python3-buildroot/usr/bin/python3-config
> >> --extension-suffix
> >> None
> >>
> >> Решение: Надо придумать, как добиться возвращения правельного
> >> результата,
> >> аналогичного python3-3.3.0:
> >>
> >> $ /usr/src/tmp/python3-buildroot/usr/bin/python3-config
> >> --extension-suffix
> >> .cpython-33m.so
> >
> > Давай придумаем. Что внутри python3-config? Откуда он берёт ответ на
> > вопрос --extension-suffix?
>
> Уже (см. соседнее письмо): diff для python3/Misc/python-config.in (см.
> <http://git.altlinux.org/people/solo/packages/?p=python3.git;a=commitdiff;h=001b4a54de71226a2f7e0d9f5a409774a686effd#patch581>)
> показал:
>
> 1. Что я был неправ, катя бочку на python3-config (она здесь не причём).
>
> 2. Правильное решение (но на прямую несовместимое с python3 < 3.3.1).
>
> Возможно стоит в python3.prov.py заменить конструкцию
>
> extension_suffix = sysconfig.get_config_var('SO')
>
> на что-то типа:
>
> extension_suffix = sysconfig.get_config_var('EXT_SUFFIX')
> if extension_suffix == None :
> extension_suffix = sysconfig.get_config_var('SO')
Да, в http://hg.python.org/cpython/file/v3.3.1/Misc/NEWS#l832 об этом
явно написано. Ну вообще они молодцы делать несовместимые изменения в
стабильных ветках, конечно.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2013-04-11 18:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-11 12:33 ` [devel] I: Что-то с python3.prov.py не то... (was: Re: [#94425] FAILED python3.git=3.3.1-alt1) Aleksey Avdeev
2013-04-11 13:46 ` Dmitry V. Levin
2013-04-11 14:08 ` [devel] I: Что-то с python3.prov.py не то Aleksey Avdeev
2013-04-11 14:13 ` Aleksey Avdeev
2013-04-11 14:17 ` Aleksey Novodvorsky
2013-04-11 17:07 ` Aleksey Avdeev
2013-04-11 17:19 ` Paul Wolneykien
2013-04-11 17:40 ` Aleksey Avdeev
2013-04-11 18:17 ` Dmitry V. Levin [this message]
2013-04-11 17:27 ` Aleksey Avdeev
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=20130411181752.GA21415@altlinux.org \
--to=ldv@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