ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: thecrux@gmail.com
To: Vitaly Kuznetsov <vitty@altlinux.ru>
Cc: ALT Linux Team general development <devel@lists.altlinux.org>
Subject: Re: [devel] rpm-build-python-0.36.0-alt1
Date: Sun, 4 Dec 2011 23:35:24 +0400
Message-ID: <20111204193524.GA1854@mail.truecrux.org> (raw)
In-Reply-To: <c0f806a29cbfb54a48756437edbb7027@hadoop.ru>

On Fri, Dec 02, 2011 at 06:13:54PM +0400, Vitaly Kuznetsov wrote:
> Hi,
> 
> я собираюсь собрать в сизиф новый rpm-build-python 
> http://git.altlinux.org/tasks/59411/logs/events.2.1.log
> 
> В нём два существенных изменения:
> 
> 1) Зависимости на модули из python-base и python-modules теперь больше 
> не генерируются, вместо них генерируются зависимости на собственно 
> python-base и python-modules (причём зависимость на python-modules 
> включает в себя зависимость на python-base). Это сильно сократит объём 
> питонозависимостей и отвяжет от конкретной версии питона простые скрипты 
> на нём (не питономодули). Введи мы такую оптимизацию раньше, задание 
> 56981 сократилось бы в полтора-два раза.
> Что мы теряем? Будет непросто переносить модули из python-base в 
> python-modules при сборке новой версий python. Но вряд ли для второго 
> питона это потребуется.
> 
> 2) Отключается поиск зависимостей в том, что выглядит как python3 
> script (имеет шебанг /usr/bin/python3*) или лежит в %_libdir/python3*. 
> Это нужно для сборки python3 в Сизиф.
> 
> Жду возражений, замечаний и пожеланий.

rpm-build-python 0.36-alt1 не имеет зависимости от python-modules, хотя
использует модули из этого пакета.

Сейчас при сборке получил такую ошибку:

    Traceback (most recent call last):
    File "/usr/lib/rpm/python.req.py", line 39, in <module>
    import subprocess
    ImportError: No module named subprocess
    find-requires: ERROR: /usr/lib/rpm/python.req failed
    error: /bin/sh failed
    error: Failed to find Requires

Баг?

-- 
Vladimir Lettiev aka crux ✉ theCrux@gmail.com


  parent reply	other threads:[~2011-12-04 19:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-02 14:13 Vitaly Kuznetsov
2011-12-02 14:18 ` Dmitry V. Levin
2011-12-04 19:35 ` thecrux [this message]
2011-12-04 19:56   ` Dmitry V. Levin
2011-12-04 20:03     ` Vitaly Kuznetsov
2011-12-04 20:41       ` Dmitry V. Levin
2011-12-05  9:11         ` Vitaly Kuznetsov
2011-12-04 20:01   ` Vitaly Kuznetsov

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=20111204193524.GA1854@mail.truecrux.org \
    --to=thecrux@gmail.com \
    --cc=devel@lists.altlinux.org \
    --cc=vitty@altlinux.ru \
    /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