ALT Linux Team development discussions
 help / color / mirror / Atom feed
* Re: [devel] geda-utils-1:1.2.0-alt1: i586 rebuild failed
  @ 2007-10-08 21:40 ` Vitaly Lipatov
  2007-10-22 15:39   ` Alexey Tourbin
  0 siblings, 1 reply; 5+ messages in thread
From: Vitaly Lipatov @ 2007-10-08 21:40 UTC (permalink / raw)
  To: devel

On 8 октября 2007, QA Team Robot wrote:
...
> /usr/src/tmp/geda-utils-buildroot/usr/bin/refdes_renum syntax
> OK /usr/src/tmp/geda-utils-buildroot/usr/bin/sarlacc_sym
> syntax OK python.req: error while parsing
> /usr/src/tmp/geda-utils-buildroot/usr/bin/tragesym Traceback
> (most recent call last):
>   File "/usr/lib/rpm/python.req.py", line 137, in ?
>     lis =
> parser.suite(open(src).read().replace("\r\n","\n")).tolist(lin
>e_info=1) MemoryError
Не очень понял, это в python.req.py какая-то проблема?

>
> RPM build errors:
> error: /bin/sh failed
> error: Failed to find Requires
>     /bin/sh failed
>     Failed to find Requires
> Command exited with non-zero status 1
> 34.83user 10.64system 0:51.28elapsed 88%CPU (0avgtext+0avgdata
> 0maxresident)k 0inputs+0outputs
> (0major+1035702minor)pagefaults 0swaps hsh-rebuild: rebuild of
> `geda-utils-1.2.0-alt1.src.rpm' failed. Command exited with
> non-zero status 1



-- 
Lav
Виталий Липатов
Санкт-Петербург
GNU! ALT Linux Team! WINE! LaTeX! LyX! http://freesource.info


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [devel] geda-utils-1:1.2.0-alt1: i586 rebuild failed
  2007-10-08 21:40 ` [devel] geda-utils-1:1.2.0-alt1: i586 rebuild failed Vitaly Lipatov
@ 2007-10-22 15:39   ` Alexey Tourbin
  2007-11-11  4:26     ` Alexey Tourbin
  0 siblings, 1 reply; 5+ messages in thread
From: Alexey Tourbin @ 2007-10-22 15:39 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 657 bytes --]

On Tue, Oct 09, 2007 at 01:40:29AM +0400, Vitaly Lipatov wrote:
> On 8 октября 2007, QA Team Robot wrote:
> ...
> > /usr/src/tmp/geda-utils-buildroot/usr/bin/refdes_renum syntax
> > OK /usr/src/tmp/geda-utils-buildroot/usr/bin/sarlacc_sym
> > syntax OK python.req: error while parsing
> > /usr/src/tmp/geda-utils-buildroot/usr/bin/tragesym Traceback
> > (most recent call last):
> >   File "/usr/lib/rpm/python.req.py", line 137, in ?
> >     lis =
> > parser.suite(open(src).read().replace("\r\n","\n")).tolist(lin
> >e_info=1) MemoryError
> Не очень понял, это в python.req.py какая-то проблема?

Какая-то проблема в питоне.
Будем думать.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [devel] geda-utils-1:1.2.0-alt1: i586 rebuild failed
  2007-10-22 15:39   ` Alexey Tourbin
@ 2007-11-11  4:26     ` Alexey Tourbin
  2007-11-11  4:31       ` Alexey Tourbin
  2007-11-11 22:12       ` Vitaly Lipatov
  0 siblings, 2 replies; 5+ messages in thread
From: Alexey Tourbin @ 2007-11-11  4:26 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 1517 bytes --]

On Mon, Oct 22, 2007 at 07:39:06PM +0400, Alexey Tourbin wrote:
> On Tue, Oct 09, 2007 at 01:40:29AM +0400, Vitaly Lipatov wrote:
> > On 8 октября 2007, QA Team Robot wrote:
> > ...
> > > /usr/src/tmp/geda-utils-buildroot/usr/bin/refdes_renum syntax
> > > OK /usr/src/tmp/geda-utils-buildroot/usr/bin/sarlacc_sym
> > > syntax OK python.req: error while parsing
> > > /usr/src/tmp/geda-utils-buildroot/usr/bin/tragesym Traceback
> > > (most recent call last):
> > >   File "/usr/lib/rpm/python.req.py", line 137, in ?
> > >     lis =
> > > parser.suite(open(src).read().replace("\r\n","\n")).tolist(lin
> > >e_info=1) MemoryError
> > Не очень понял, это в python.req.py какая-то проблема?
> 
> Какая-то проблема в питоне.
> Будем думать.

Короче тут такой расклад -- в начале скрипта /usr/bin/tragesym
используется специальная прагма-комментарий "coding: iso8859-1",
а в сборочном чруте не стоит python-modules-encodings,
и питон отваливает с какой-то неадекватной ошибкой.

$ hsh --init
...
$ hsh-shell
...
$$ cat test.py
#!/usr/bin/python
# coding: iso8859-1
$$ python test.py
File "test.py", line 2
SyntaxError: encoding problem: with BOM
$$ /usr/lib/rpm/python.req  test.py
python.req: error while parsing test.py
Traceback (most recent call last):
  File "/usr/lib/rpm/python.req.py", line 137, in ?
    lis = parser.suite(open(src).read().replace("\r\n","\n")).tolist(line_info=1)
MemoryError
$$

Короче, workaround -- в BuildRequires добавить python-modules-encodings.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [devel] geda-utils-1:1.2.0-alt1: i586 rebuild failed
  2007-11-11  4:26     ` Alexey Tourbin
@ 2007-11-11  4:31       ` Alexey Tourbin
  2007-11-11 22:12       ` Vitaly Lipatov
  1 sibling, 0 replies; 5+ messages in thread
From: Alexey Tourbin @ 2007-11-11  4:31 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 723 bytes --]

On Sun, Nov 11, 2007 at 07:26:12AM +0300, Alexey Tourbin wrote:
> Короче тут такой расклад -- в начале скрипта /usr/bin/tragesym
> используется специальная прагма-комментарий "coding: iso8859-1",
> а в сборочном чруте не стоит python-modules-encodings,
> и питон отваливает с какой-то неадекватной ошибкой.

http://bugs.python.org/issue979739

> $$ python test.py
> File "test.py", line 2
> SyntaxError: encoding problem: with BOM
> $$ /usr/lib/rpm/python.req  test.py
> python.req: error while parsing test.py
> Traceback (most recent call last):
>   File "/usr/lib/rpm/python.req.py", line 137, in ?
>     lis = parser.suite(open(src).read().replace("\r\n","\n")).tolist(line_info=1)
> MemoryError
> $$

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [devel] geda-utils-1:1.2.0-alt1: i586 rebuild failed
  2007-11-11  4:26     ` Alexey Tourbin
  2007-11-11  4:31       ` Alexey Tourbin
@ 2007-11-11 22:12       ` Vitaly Lipatov
  1 sibling, 0 replies; 5+ messages in thread
From: Vitaly Lipatov @ 2007-11-11 22:12 UTC (permalink / raw)
  To: devel

On 11 ноября 2007, Alexey Tourbin wrote:
...
> Короче тут такой расклад -- в начале скрипта /usr/bin/tragesym
> используется специальная прагма-комментарий "coding:
> iso8859-1", а в сборочном чруте не стоит
> python-modules-encodings, и питон отваливает с какой-то
> неадекватной ошибкой.
>
...
> Короче, workaround -- в BuildRequires добавить
> python-modules-encodings.
Спасибо! Отправил в Сизиф geda-utils-1:1.2.0-alt2


-- 
С уважением,
Виталий Липатов
Санкт-Петербург
GNU! ALT Linux Team! WINE! LaTeX! LyX! http://freesource.info


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-11-11 22:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-08 21:40 ` [devel] geda-utils-1:1.2.0-alt1: i586 rebuild failed Vitaly Lipatov
2007-10-22 15:39   ` Alexey Tourbin
2007-11-11  4:26     ` Alexey Tourbin
2007-11-11  4:31       ` Alexey Tourbin
2007-11-11 22:12       ` Vitaly Lipatov

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