From: Alexey Tourbin <at@altlinux.ru> To: ALT Devel discussion list <devel@lists.altlinux.org> Subject: Re: [devel] [git update] packages/python: heads/master Date: Sat, 24 Mar 2007 16:14:43 +0300 Message-ID: <20070324131443.GC21952@solemn.turbinal> (raw) In-Reply-To: <20070324123523.GA13770@basalt.office.altlinux.org> [-- Attachment #1: Type: text/plain, Size: 2624 bytes --] On Sat, Mar 24, 2007 at 03:35:23PM +0300, Dmitry V. Levin wrote: > On Fri, Mar 23, 2007 at 04:58:42PM +0300, Alexey M. Tourbin wrote: > > Update of /people/at/packages/python.git > > > > Changes statistics since `2.4.4-alt8-1-gf53bbc3' follows: > > modules-list/base-list | 1 + > > python.spec | 7 ++++++- > > 2 files changed, 7 insertions(+), 1 deletions(-) > > > > Changelog since `2.4.4-alt8-1-gf53bbc3' follows: > > commit 7c17d2037fa800c3785fd5145e3c3161d585087e > > Author: Alexey Tourbin <at@altlinux> > > Date: Fri Mar 23 16:21:32 2007 +0300 > > > > 2.4.4-alt9 > > > > - reconsidered interpackage dependencies, so that python-devel > > depends on all standard python modules > > - moved getopt.py from python-modules to python-base > > Не выходит каменный цветок: Выходит. :) Я это предвидел и озвучил в частной переписке. Дело в том, что в /usr/lib/rpm/brp-bytecompile_python слишком слабое условия для запуска перекомпиляции: if [ -n "$RPM_PYTHON" -a -x "$RPM_PYTHON" ] && [ `find -type f -name \*.py |wc -l` -gt 0 ]; then echo "Bytecompiling python modules in $PWD using $RPM_PYTHON" $RPM_PYTHON /usr/lib/rpm/python.compileall.py "--select=$RPM_PYTHON_COMPILE_METHOD" "--exclude=$RPM_PYTHON_COMPILE_EXCLUDE" "--include=$RPM_PYTHON_COMPILE_INCLUDE" ... В связи с внесением python-base в базовую сборочную среду условие [ -x /usr/bin/python ] всегда выполнено, а модулей для перекомпиляции в python-base не хватает. Это можно частично исправить. /usr/lib/rpm/python.compileall.py на самом деле компилирует не все *.py файлы, а только --include=/usr/lib. Но модуль py_compile он загружает всегда и в безусловном порядке. Если отложить загрузку py_compile до момента фактической компиляции питоновских модулей, то часть пакетов, может быть, починится. > error$ fgrep -l 'ImportError: No module named py_compile' * > amarok-1.4.5-alt2 > crossfire-maps-bigworld-1.9.0-alt1 > devhelp-0.12-alt2 > dict-yo-20031216-alt1 > easyvz-0.1-alt1 > ejabberd-mrim-0.1.1-alt1 > fslint-2.18-alt0 > fsme-examples-1.0.2-alt1 > gnome-applets-extra-bookmarks-0.5-alt1 > gnome-games-2.16.3-alt1 > jabberd2-mrim-0.1.1-alt1 > jmc-0.2.3-alt2 > lm_sensors-2.10.2-alt1 > lyx-1.4.1-alt0.1 > moodss-19.3-alt0.1 > mrsync-3.2.7-alt0.1 > pathological-1.1.3-alt3 > pyraider-0.1-alt1.1 > pyvnc2swf-0.8.2-alt1 > snowball-0.2-alt0.1 > stardict-tools-2.4.8-alt1 > tellico-1.2.9-alt1 > TeXmacs-1.0.6.7-alt1 > tuxpaint-0.9.16-alt0 > wrw-0.2.6-alt0.1 > xemacs-python-modes-1.06-alt2 > [тестовая пересборка ещё не закончилась] [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-03-24 13:14 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-03-24 12:35 ` Dmitry V. Levin 2007-03-24 13:14 ` Alexey Tourbin [this message] 2007-03-24 14:11 ` Dmitry V. Levin 2007-03-24 14:11 ` Alexey Tourbin 2007-03-24 14:12 ` Dmitry V. Levin 2007-03-25 8:27 ` Alexey Tourbin
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=20070324131443.GC21952@solemn.turbinal \ --to=at@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