* [devel] Branch 4.0 и пакеты , зависящие от python-devel
@ 2008-03-23 16:45 Sergey Y. Afonin
  2008-03-23 17:45 ` Alexey Tourbin
  0 siblings, 1 reply; 5+ messages in thread
From: Sergey Y. Afonin @ 2008-03-23 16:45 UTC (permalink / raw)
  To: devel
Приветствую.
В процессе работы с #14266 возникла проблема. В Branch не пересобрались
два пакета из списка, которые имеют зависимость на python-devel. Диагностика
вот такая: 
Reading Package Lists...
Building Dependency Tree...
E: Version ='2.5' for 'python' was not found
В обоих спеках (python-module-pyclamav и claws-mail) про версию ни слова. 
Просто в системе с Branch 4.0 сборка проходит. Ни у кого мыслей нет по 
поводу причины ?
-- 
С уважением, Сергей Афонин
^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: [devel] Branch 4.0 и пакеты , зависящие от python-devel
  2008-03-23 16:45 [devel] Branch 4.0 и пакеты , зависящие от python-devel Sergey Y. Afonin
@ 2008-03-23 17:45 ` Alexey Tourbin
  2008-03-23 21:09   ` Sergey Y. Afonin
  0 siblings, 1 reply; 5+ messages in thread
From: Alexey Tourbin @ 2008-03-23 17:45 UTC (permalink / raw)
  To: devel
[-- Attachment #1: Type: text/plain, Size: 774 bytes --]
On Sun, Mar 23, 2008 at 08:45:28PM +0400, Sergey Y. Afonin wrote:
> В процессе работы с #14266 возникла проблема. В Branch не пересобрались
> два пакета из списка, которые имеют зависимость на python-devel. Диагностика
> вот такая: 
> 
> Reading Package Lists...
> Building Dependency Tree...
> E: Version ='2.5' for 'python' was not found
> 
> В обоих спеках (python-module-pyclamav и claws-mail) про версию ни слова. 
> Просто в системе с Branch 4.0 сборка проходит. Ни у кого мыслей нет по 
> поводу причины ?
Мысли по поводу причины есть!!
$ rpm --eval '%setup_python_module pyclamav' |grep :
Requires: python = 2.5 
BuildPreReq: python-devel = 2.5 
BuildPreReq: rpm-build-python >= 0.8 
Provides: python2.5-module-pyclamav = %version-%release 
$
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: [devel] Branch 4.0 и пакеты , зависящие от python-devel
  2008-03-23 17:45 ` Alexey Tourbin
@ 2008-03-23 21:09   ` Sergey Y. Afonin
  2008-03-23 21:17     ` Alexey Tourbin
  0 siblings, 1 reply; 5+ messages in thread
From: Sergey Y. Afonin @ 2008-03-23 21:09 UTC (permalink / raw)
  To: devel
On Sunday 23 March 2008, Alexey Tourbin wrote:
> Мысли по поводу причины есть!!
> 
> $ rpm --eval '%setup_python_module pyclamav' |grep :
> Requires: python = 2.5 
> BuildPreReq: python-devel = 2.5 
 
Логично... Что-то вроде этого я предполагал, только со сборкой питоньих
пакетов дела не имел. Но есть и следующий вопрос: а в Branch-то он почему
2.5 оказался ? И что, собственно, чинить ?
-- 
С уважением, Сергей Афонин
^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: [devel] Branch 4.0 и пакеты , зависящие от python-devel
  2008-03-23 21:09   ` Sergey Y. Afonin
@ 2008-03-23 21:17     ` Alexey Tourbin
  2008-03-23 21:24       ` Sergey Y. Afonin
  0 siblings, 1 reply; 5+ messages in thread
From: Alexey Tourbin @ 2008-03-23 21:17 UTC (permalink / raw)
  To: devel
[-- Attachment #1: Type: text/plain, Size: 955 bytes --]
On Mon, Mar 24, 2008 at 01:09:22AM +0400, Sergey Y. Afonin wrote:
> On Sunday 23 March 2008, Alexey Tourbin wrote:
> 
> > Мысли по поводу причины есть!!
> > 
> > $ rpm --eval '%setup_python_module pyclamav' |grep :
> > Requires: python = 2.5 
> > BuildPreReq: python-devel = 2.5 
>  
> Логично... Что-то вроде этого я предполагал, только со сборкой питоньих
> пакетов дела не имел. Но есть и следующий вопрос: а в Branch-то он почему
> 2.5 оказался ? И что, собственно, чинить ?
Потому что когда вы сделали 'rpm-build -bs *.spec', то у src.rpm пакета
выставился 'BuildPreReq: python-devel = 2.5'.  Значит, такой src.rpm
пакет не удастся собрать с другой версией питона (2.4 в бранче).
Я бы сделал следующее:
1) убрал '%setup_python_module pyclamav';
2) запустил buildreq;
3) убрал все оставшиеся зависимости, прописанные вручную.
Тогда зависимости src.rpm пакета не будут зависеть от среды,
в которой сформирован src.rpm пакет.
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: [devel] Branch 4.0 и пакеты , зависящие от python-devel
  2008-03-23 21:17     ` Alexey Tourbin
@ 2008-03-23 21:24       ` Sergey Y. Afonin
  0 siblings, 0 replies; 5+ messages in thread
From: Sergey Y. Afonin @ 2008-03-23 21:24 UTC (permalink / raw)
  To: devel
On Monday 24 March 2008, Alexey Tourbin wrote:
> Потому что когда вы сделали 'rpm-build -bs *.spec', то у src.rpm пакета
> выставился 'BuildPreReq: python-devel = 2.5'.
Вот как... Что-то я вот об этом не подумал, что оно на этапе построения
src.rpm определяется. Спасибо.
> Я бы сделал следующее:
> 1) убрал '%setup_python_module pyclamav';
> 2) запустил buildreq;
> 3) убрал все оставшиеся зависимости, прописанные вручную.
Так сильно спек лопатить не хочется. Лучше я ключ в среду 4.0 перенесу и 
пересоберу. А это уж пусть мантейнеры думают, как лучше.
-- 
С уважением, Сергей Афонин
^ permalink raw reply	[flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-03-23 21:24 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-23 16:45 [devel] Branch 4.0 и пакеты , зависящие от python-devel Sergey Y. Afonin
2008-03-23 17:45 ` Alexey Tourbin
2008-03-23 21:09   ` Sergey Y. Afonin
2008-03-23 21:17     ` Alexey Tourbin
2008-03-23 21:24       ` Sergey Y. Afonin
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