ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Vladimir D. Seleznev" <vseleznv@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Сборка приложений с libpython
Date: Tue, 19 Dec 2017 07:35:43 +0300
Message-ID: <20171219043543.GA27850@portlab> (raw)
In-Reply-To: <4e2d39d5-c008-b3da-7936-9359a2140580@gmail.com>

On Mon, Dec 18, 2017 at 10:01:11PM +0300, Alexei Mezin wrote:
> 18.12.2017 21:18, Vitaly Lipatov пишет:
> > 
> > Так багу?
> 
> 
> Так проверил, например, на P7. И там точно так же. То есть у нас это 
> довольно давно. И код в скрипте python2.7-config как будто намеренно так 
> сделано.
> 
> Или это бага, которую несколько лет никто не замечает, что странно. Или 
> что-то имеется ввиду, и хотелось бы узнать, как объехать заботливо 
> разложенные грабли. Потому что
> 
> https://docs.python.org/2/extending/embedding.html#compiling-and-linking-under-unix-like-systems
> 
> и в других дистрибутивах не выдумывают, а делают "как и инструкции". И 
> апстримы, конечно, ориентируются не на АЛьТ.

Это не бага. Это было сделано с целью, чтобы модули питона не
линковались с libpython: при загрузке модуля интерпретатор питона или
другая программа, использующая питон в качестве своего скриптового
языка, уже имеют все необходимые символы; в добавок, такое решение
позволяет не беспокоиться, если библиотека обновилась и символы немного
разъехались, а также держать несколько реализаций библиотеки в
репозитории.

Это изменение присутствует начиная с этого коммита [1], однако в commit
message зафиксировано решение, а причина того, что было сделано. Просьба
к мейнтейнерам: документировать зачем было сделано то, что было сделано.

-- 
[1] http://git.altlinux.org/gears/p/python.git?p=python.git;a=commitdiff;h=712242dac26472fd0d1ceb0c6f46a7d120a10df8;hp=9f5cde76081f8713e77c7fdabcab6869191cd4d0

-- 
   С уважением,
   Владимир Селезнев


  reply	other threads:[~2017-12-19  4:35 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-18 17:35 Alexei Mezin
2017-12-18 18:18 ` Vitaly Lipatov
2017-12-18 19:01   ` Alexei Mezin
2017-12-19  4:35     ` Vladimir D. Seleznev [this message]
2017-12-19  5:20       ` Dmitry V. Levin
2017-12-19 13:38       ` Alexei V. Mezin
2017-12-19 14:08         ` Dmitry V. Levin
2017-12-19 14:13           ` Alexei V. Mezin
2017-12-19 14:47             ` Dmitry V. Levin
2017-12-20  6:21               ` Alexei Mezin
2017-12-20 11:17                 ` Dmitry V. Levin

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=20171219043543.GA27850@portlab \
    --to=vseleznv@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