ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] geda-utils-1:1.2.0-alt1: i586 rebuild failed
Date: Sun, 11 Nov 2007 07:26:12 +0300
Message-ID: <20071111042612.GX24160@solemn.turbinal> (raw)
In-Reply-To: <20071022153906.GE19325@solemn.turbinal>

[-- 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 --]

  reply	other threads:[~2007-11-11  4:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-08 21:40 ` Vitaly Lipatov
2007-10-22 15:39   ` Alexey Tourbin
2007-11-11  4:26     ` Alexey Tourbin [this message]
2007-11-11  4:31       ` Alexey Tourbin
2007-11-11 22:12       ` Vitaly Lipatov

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=20071111042612.GX24160@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