ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Slava Dubrovskiy <slava@elan.com.ua>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] Не ставится mailman
Date: Thu, 02 Nov 2006 15:30:50 +0200
Message-ID: <4549F30A.3080301@elan.com.ua> (raw)
In-Reply-To: <4549CC86.40905@elan.com.ua>

Slava Dubrovskiy пишет:
>> Мне кажется, что проблема не в питоне. Что-то с зависимостями самого
>> пакета. Вот например он требует: python2.4(Mailman) но пакет сам
>> должен провайдить это. Нет такого питоньего модуля. Вот разбираюсь...
>>     
> Вообщем разобрался. Из-за #8829 в спек было поставлено AutoProv: yes,
> nopython
> А добавить Provides: python2.4(Defaults) python2.4(Mailman)
> python2.4(japanese) python2.4(korean) python2.4(mm_config)
> никто не догадался. Добавление вышеуказанных Provides исправляет ситуацию.
> Думаю это баг. Вообщем #10226
>   
Не все так просто. Такой пакет получается не работоспособным.
Traceback (most recent call last):
  File "/usr/share/mailman/cron/gate_news", line 38, in ?
    import paths
  File "/usr/share/mailman/cron/paths.py", line 56, in ?
    import japanese
ImportError: No module named japanese

В спеке стоит:
# DIRTY HACK!!! NEED RESEARCH!!!
%__rm -rf $RPM_BUILD_ROOT%prefix/pythonlib/{japanese,korean,lib,korean.pth}

Т.е. эти модули перед проверкой ELF объектов удаляются, и логично
получается что пекет не провайдит их. А без них не работает.
А если не удалять, то не проходит
verify-elf: ERROR:
./usr/share/mailman/pythonlib/japanese/c/_japanese_codecs.so: ELF object
out of allowed directory tree
verify-elf: WARNING:
./usr/share/mailman/pythonlib/japanese/c/_japanese_codecs.so: undefined
symbol: PyExc_ValueError
verify-elf: WARNING:
./usr/share/mailman/pythonlib/japanese/c/_japanese_codecs.so: undefined
symbol: PyExc_UnicodeError
и т.д.

подскажите, как быть?

-- 
С уважением,
Дубровский Вячеслав.



  reply	other threads:[~2006-11-02 13:30 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-01  7:59 Slava Dubrovskiy
2006-11-01 22:54 ` Dmitry V. Levin
2006-11-02  5:43   ` Vladimir V. Kamarzin
2006-11-02  9:19   ` Konstantin A. Lepikhov
2006-11-02  9:49     ` Slava Dubrovskiy
2006-11-02 10:16       ` Konstantin A. Lepikhov
2006-11-02 10:25         ` Slava Dubrovskiy
2006-11-02 10:46           ` Slava Dubrovskiy
2006-11-02 13:30             ` Slava Dubrovskiy [this message]
2006-11-02 15:00               ` Dmitry V. Levin
2006-11-02 15:30                 ` Slava Dubrovskiy
2006-11-02 12:40     ` Dmitry V. Levin
2006-11-09 14:27   ` Slava Dubrovskiy
2006-11-09 14:51     ` Slava Dubrovskiy
2006-11-09 19:38     ` [sisyphus] mailman Pavel Usischev
2006-11-09 20:00       ` Slava Dubrovskiy
2006-11-09 21:18         ` Pavel Usischev
2006-11-09 19:39     ` [sisyphus] Не ставится mailman Konstantin A. Lepikhov
2006-11-09 19:56       ` Slava Dubrovskiy
2006-11-09 20:12         ` Konstantin A. Lepikhov
2006-11-10  7:30           ` Slava Dubrovskiy
2006-11-10 12:16             ` Alexey I. Froloff
2006-11-10 12:25               ` Slava Dubrovskiy
2006-11-10 22:13                 ` Pavel Usischev
2006-11-10 22:20                   ` Dmitry V. Levin
2006-11-10 23:46                     ` Pavel Usischev
2006-11-13 11:45                       ` Slava Dubrovskiy
2006-11-09 22:25     ` Dmitry V. Levin
2006-11-10  9:32       ` Slava Dubrovskiy
2006-11-10 10:16         ` Konstantin A. Lepikhov
2006-11-10 11:14         ` Dmitry V. Levin
2006-11-10 11:39           ` Slava Dubrovskiy
2006-11-16  9:35             ` Fr. Br. George
2006-11-16 14:39               ` Slava Dubrovskiy
2006-11-21 11:05                 ` Fr. Br. George

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=4549F30A.3080301@elan.com.ua \
    --to=slava@elan.com.ua \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git