* Re: [devel] zephulor-0.9a-alt3: i586 rebuild failed
@ 2007-11-20 16:17 ` Alexey Tourbin
0 siblings, 0 replies; only message in thread
From: Alexey Tourbin @ 2007-11-20 16:17 UTC (permalink / raw)
To: devel; +Cc: Vitaly Lipatov
[-- Attachment #1: Type: text/plain, Size: 1365 bytes --]
On Mon, Nov 19, 2007 at 10:56:50PM +0300, QA Team Robot wrote:
> Package: zephulor-0.9a-alt3
> Packager: Vitaly Lipatov <lav@altlinux>
> Status: i586 rebuild failed.
> Please investigate.
> python.req: ERROR: /usr/src/tmp/zephulor-buildroot/usr/share/games/zephulor/maptool/interface.py: invalid syntax (line 76)
> Traceback (most recent call last):
> File "/usr/lib/rpm/python.req.py", line 173, in ?
> lis = parser.suite('\n'.join(lines)+'\n').tolist(line_info=1)
> File "<string>", line 76
> if self.isactive = 0:
> ^
> SyntaxError: invalid syntax
Здесь отловилась реальная ошибка в питоновском коде.
/usr/share/games/zephulor/maptool/interface.py:
73 def activate(self):
74 """Activate if deactivated, returns nonzero on success"""
75
76 if self.isactive = 0:
77 self.isactive = 1
78 return(1)
79 else:
80 return
81
82 def deactivate(self):
83 """Deactivate if activated, returns nonzero on success"""
84
85 if self.isactive = 1:
86 self.isactive = 0
87 return(1)
88 else:
89 return
В условии if должно быть не присваивание, а сравнение.
Желательно известить об этом апстрим.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-11-20 16:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-20 16:17 ` [devel] zephulor-0.9a-alt3: i586 rebuild failed Alexey Tourbin
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