Gentoo Archives: gentoo-alt

From: "René Berber" <r.berber@××××××××.org>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] Any procedure to test a quick patch to a package?
Date: Wed, 12 Dec 2012 18:09:52
Message-Id: 50C8C0E4.6030401@computer.org
Hi,

While trying to install Prefix in Cygwin I ran into a problem which is 
very easy to correct.  I guess I should open a bug report about the 
Python-patched package, but I would really appreciate if someone points 
me to a quick modify & test procedure (for instance: modify the 
downloaded package; I think I already tried that, with libz, but the 
problem there may be the extension, libz-1.2.7.tar.bz2 doesn't exist in 
the repository, but there is a .gz package which I downloaded and the 
script ignored).

The problem:

$ ./bootstrap-prefix.sh
...
2012-12-11 15:35:37 (192 KB/s) - `python-2.7.2-patched.tar.bz2' saved 
[11702820/11702820]
...
creating 
build/temp.cygwin-1.7.17-i686-2.7/opt/gentoo/tmp/var/tmp/python-2.7.2/Python-2.7.2/Modules/_io
...
/opt/gentoo/tmp/var/tmp/python-2.7.2/Python-2.7.2/Modules/_io/_iomodule.c:172:11: 
warning: 'PyExc_BlockingIOError' redeclared without dllimport attribute: 
previous dllimport ignored
...
/opt/gentoo/tmp/var/tmp/python-2.7.2/Python-2.7.2/Modules/_io/bufferedio.c:583: 
undefined reference to `__imp__PyExc_BlockingIOError'
...
Failed to build these modules:
_io
-- 
René Berber

Replies

Subject Author
Re: [gentoo-alt] Any procedure to test a quick patch to a package? Fabian Groffen <grobian@g.o>