From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 11 Jun 2010 18:26:04 +0400 From: Alexey Tourbin To: ALT Linux Team development discussions Message-ID: <20100611142604.GJ13108@altlinux.org> Mail-Followup-To: ALT Linux Team development discussions References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lYetfuAxy9ic4HK3" Content-Disposition: inline In-Reply-To: Subject: Re: [devel] =?koi8-r?b?88LP0svBIHN5c3RlbS1jb25maWctcHJpbnRlciDEzNEg?= =?koi8-r?b?cDU=?= X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jun 2010 14:26:05 -0000 Archived-At: List-Archive: List-Post: --lYetfuAxy9ic4HK3 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 11, 2010 at 05:10:24PM +0400, =E4=C5=CE=C9=D3 =EB=CF=D2=D1=D7= =CF=D7 wrote: > =F7=D3=C5=CD =D0=D2=C9=D7=C5=D4, >=20 > =F0=D9=D4=C1=C0=D3=D8 =D3=CF=C2=D2=C1=D4=D8 system-config-printer =C4=CC= =D1 p5, =D3=CF=C2=D2=C1=CC =D7=D3=C5 =CE=C5=CF=C2=C8=CF=C4=C9=CD=D9=C5 > =D0=C1=CB=C5=D4=D9, =CE=CF =D0=D2=C9 =D3=C2=CF=D2=CB=C5 system-config-pri= nter'a findreq =D0=C1=C4=C1=C5=D4 =D3 > =CF=DB=C9=C2=CB=CF=CA: >=20 > python.req: ERROR: > /usr/src/tmp/system-config-printer-buildroot/usr/share/system-config-prin= ter/asyncpk1.py: > invalid syntax (line 82) > Traceback (most recent call last): > File "/usr/lib/rpm/python.req.py", line 199, in > lis =3D parser.suite('\n'.join(lines)+'\n').tolist(line_info=3D1) > File "", line 82 > reply_handler=3Dself._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 > =EE=C9=CB=D4=CF =CE=C5 =D0=CF=C4=D3=CB=C1=D6=C5=D4 =D7 =DE=C5=CD =CD=CF= =D6=C5=D4 =C2=D9=D4=D8 =D0=D2=CF=C2=CC=C5=CD=C1? =F1 =DE=D4=CF-=D4=CF =CE= =C9=CB=C1=CB =CE=C5 =D0=CF=CA=CD=D5. > =F3=D0=C1=D3=C9=C2=CF. 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=3Dself._pk_reply_handler, ^ SyntaxError: invalid syntax [builder@apiary system-config-printer-1.1.17]$=20 Just for the record, here's the piece of code: 76 try: 77 pk_method (*self._pk_args, 78 reply_handler=3Dself._pk_reply_handler, 79 error_handler=3Dself._pk_error_handler, 80 timeout=3D3600) 81 except TypeError, e: 82 debugprint ("Type error in PK call: %s" % e) 83 self.call_fallback_fn () --lYetfuAxy9ic4HK3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkwSR3wACgkQfBKgtDjnu0bzgACfRJ4GEtKGv1YJMYcI7La96PLP E+IAniMWW023AX/MKzzoCsWHwj50xqY3 =aouB -----END PGP SIGNATURE----- --lYetfuAxy9ic4HK3--