From: Alexey Tourbin <at@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Сборка system-config-printer для p5
Date: Fri, 11 Jun 2010 18:26:04 +0400
Message-ID: <20100611142604.GJ13108@altlinux.org> (raw)
In-Reply-To: <AANLkTim_ZtpT9fw9f0Ac9ILFK-FjS3fqIT2Ds9OlXCXe@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1919 bytes --]
On Fri, Jun 11, 2010 at 05:10:24PM +0400, Денис Корявов wrote:
> Всем привет,
>
> Пытаюсь собрать system-config-printer для p5, собрал все необходимые
> пакеты, но при сборке system-config-printer'a findreq падает с
> ошибкой:
>
> python.req: ERROR:
> /usr/src/tmp/system-config-printer-buildroot/usr/share/system-config-printer/asyncpk1.py:
> invalid syntax (line 82)
> Traceback (most recent call last):
> File "/usr/lib/rpm/python.req.py", line 199, in <module>
> lis = parser.suite('\n'.join(lines)+'\n').tolist(line_info=1)
> File "<string>", line 82
> reply_handler=self._pk_reply_handler,
> ^
> SyntaxError: invalid syntax
> find-requires: ERROR: /usr/lib/rpm/python.req failed
> error: /bin/sh failed
> error: Failed to find Requires
Indeed.
http://git.altlinux.org/tasks/25598/task/log
> Никто не подскажет в чем может быть проблема? Я что-то никак не пойму.
> Спасибо.
Note that p5 has python-2.5, and sisyphus has python-2.6.
Also, note that the problem is not specific to find-requires -
the interpreter itself fails to parse the file as well.
[builder@apiary system-config-printer-1.1.17]$ rpm -q python-base
python-base-2.5.4-alt7
[builder@apiary system-config-printer-1.1.17]$ python ./asyncpk1.py
File "./asyncpk1.py", line 78
reply_handler=self._pk_reply_handler,
^
SyntaxError: invalid syntax
[builder@apiary system-config-printer-1.1.17]$
Just for the record, here's the piece of code:
76 try:
77 pk_method (*self._pk_args,
78 reply_handler=self._pk_reply_handler,
79 error_handler=self._pk_error_handler,
80 timeout=3600)
81 except TypeError, e:
82 debugprint ("Type error in PK call: %s" % e)
83 self.call_fallback_fn ()
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2010-06-11 14:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-11 13:10 Денис Корявов
2010-06-11 14:26 ` Alexey Tourbin [this message]
2010-06-11 14:38 ` Andrey Rahmatullin
2010-06-15 6:47 ` Денис Корявов
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=20100611142604.GJ13108@altlinux.org \
--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