ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Evgeny Sinelnikov <sin@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] mutliple pythons in sisyphus check
Date: Wed, 15 Jul 2009 23:34:04 +0400
Message-ID: <921f6bb40907151234q214c8767xd66c710cf0cf6920@mail.gmail.com> (raw)
In-Reply-To: <921f6bb40907151153u5ac14134gf5a725d5855a2b47@mail.gmail.com>

15 июля 2009 г. 22:53 пользователь Evgeny Sinelnikov (sin@altlinux.ru) написал:
> Здравствуйте,
>
> обнаружил вот такую неприятность при сборке дополнительного питона:
> Wrote: /usr/src/RPM/SRPMS/python2.5-2.5.4-alt8.src.rpm
> Wrote: /usr/src/RPM/RPMS/i586/python2.5-2.5.4-alt8.i586.rpm
> Wrote: /usr/src/RPM/RPMS/noarch/python2.5-relaxed-2.5.4-alt8.noarch.rpm
> Wrote: /usr/src/RPM/RPMS/i586/python2.5-base-2.5.4-alt8.i586.rpm
> Wrote: /usr/src/RPM/RPMS/i586/python2.5-modules-2.5.4-alt8.i586.rpm
> Wrote: /usr/src/RPM/RPMS/noarch/python2.5-user-scripts-2.5.4-alt8.noarch.rpm
> Wrote: /usr/src/RPM/RPMS/i586/python2.5-modules-encodings-2.5.4-alt8.i586.rpm
> [...]
> 178.19user 36.68system 4:21.02elapsed 82%CPU (0avgtext+0avgdata 0maxresident)k
> 5128inputs+510296outputs (0major+13933285minor)pagefaults 0swaps
> /.out/python2.5-modules-email-2.5.4-alt8.i586.rpm: python files inside
> %python_libdir can be placed only in %python_sitelibdir,
> %python_tooldir and %python_dynlibdir
> sisyphus_check: check-python ERROR: python modules packaging violation
> [...]
> /.out/python2.5-modules-encodings-2.5.4-alt8.i586.rpm: python files
> inside %python_libdir can be placed only in %python_sitelibdir,
> %python_tooldir and %python_dynlibdir
> sisyphus_check: check-python ERROR: python modules packaging violation
> [...]
>
> Проблема разрешена у меня в гите (коммит 21b2ddf0dc4):
> http://git.altlinux.org/people/sin/packages/sisyphus_check.git?p=sisyphus_check.git;a=commitdiff;h=21b2ddf0dc4f4df2851372013178a8a28a6a99ef

Ну, вот как-то так получается:

[sin@server python2.5]$ hsh-initroot ~/hasher
[...]
<13>Jul 15 19:23:25 rpmi: python-base-2.6.2-alt1 installed
<13>Jul 15 19:23:25 rpmi: rpm-build-python-0.34.3-alt1 installed
<13>Jul 15 19:23:25 rpmi: rpm-build-4.0.4-alt98.16 installed
<13>Jul 15 19:23:26 rpmi: python-modules-email-2.6.2-alt1 installed
<13>Jul 15 19:23:26 rpmi: python-modules-compiler-2.6.2-alt1 installed
<13>Jul 15 19:23:27 rpmi: python-modules-2.6.2-alt1 installed
<13>Jul 15 19:23:28 rpmi: python-modules-encodings-2.6.2-alt1 installed
[...]
[sin@server python2.5]$ hsh-install ~/hasher python2.5
<13>Jul 15 19:27:59 rpmi: python2.5-base-2.5.4-alt8 installed
<13>Jul 15 19:27:59 rpmi: python2.5-modules-curses-2.5.4-alt8 installed
<13>Jul 15 19:27:59 rpmi: libexpat-2.0.1-alt3 installed
<13>Jul 15 19:27:59 rpmi: python2.5-modules-email-2.5.4-alt8 installed
<13>Jul 15 19:27:59 rpmi: python2.5-modules-compiler-2.5.4-alt8 installed
<13>Jul 15 19:28:00 rpmi: python2.5-modules-2.5.4-alt8 installed
<13>Jul 15 19:28:00 rpmi: python2.5-modules-encodings-2.5.4-alt8 installed
<13>Jul 15 19:28:00 rpmi: python2.5-modules-xml-2.5.4-alt8 installed
<13>Jul 15 19:28:00 rpmi: python2.5-modules-hotshot-2.5.4-alt8 installed
<13>Jul 15 19:28:00 rpmi: python2.5-modules-bsddb-2.5.4-alt8 installed
<13>Jul 15 19:28:00 rpmi: python2.5-modules-logging-2.5.4-alt8 installed
<13>Jul 15 19:28:00 rpmi: python2.5-2.5.4-alt8 installed
[sin@server python2.5]$ hsh-shell ~/hasher
[builder@server .in]$ python --version
Python 2.6.2
[builder@server .in]$ python2.5 --version
Python 2.5.4

-- 
Sin (Sinelnikov Evgeny)


  reply	other threads:[~2009-07-15 19:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-15 18:53 Evgeny Sinelnikov
2009-07-15 19:34 ` Evgeny Sinelnikov [this message]
2009-07-15 20:20 ` Dmitry V. Levin
2009-07-16  0:06   ` Evgeny Sinelnikov

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=921f6bb40907151234q214c8767xd66c710cf0cf6920@mail.gmail.com \
    --to=sin@altlinux.ru \
    --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