ports/138839: lang/python26 SEM option problem

Kamil Deryński kamil at derynski.net
Tue Sep 15 15:33:53 UTC 2009


2009/9/15 Martin Wilke <miwi at freebsd.org>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Tue, Sep 15, 2009 at 03:51:59PM +0200, Kamil Dery??ski wrote:
>> 2009/9/15  <miwi at freebsd.org>:
>> > Synopsis: lang/python26 SEM option problem
>> >
>> > State-Changed-From-To: open->feedback
>> > State-Changed-By: miwi
>> > State-Changed-When: Tue Sep 15 13:13:01 UTC 2009
>> > State-Changed-Why:
>> >
>> > Please test following patch:
>> >
>> > http://tmp.chruetertee.ch/python26-sem-hack.patch
>> >
>> >
>> > http://www.freebsd.org/cgi/query-pr.cgi?pr=138839
>> >
>>
>> I apply this patch. I get following error:
>>
>> ===>  Applying FreeBSD patches for python26-2.6.2_3
>> 1 out of 11 hunks failed--saving rejects to setup.py.rej
>> => Patch patch-setup.py failed to apply cleanly.
>> => Patch(es) patch-Lib_test_test_threading.py
>> patch-Modules-_ctypes-libffi-configure patch-Python2.6-Lib_local.py
>> patch-Python_thread__pthread.h applied cleanly.
>> *** Error code 1
>>
>
> yes please drop befor you work dir and rerun

It doesn't work. Patch apply cleanly.

bsd# patch < python26-sem-hack.patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: Makefile
|===================================================================
|RCS file: /home/pcvs/ports/lang/python26/Makefile,v
|retrieving revision 1.163
|diff -u -r1.163 Makefile
|--- Makefile   11 Sep 2009 14:58:08 -0000      1.163
|+++ Makefile   15 Sep 2009 11:38:46 -0000
--------------------------
Patching file Makefile using Plan A...
Hunk #1 succeeded at 62.
Hunk #2 succeeded at 181.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: files/extra-patch-setup.py
|===================================================================
|RCS file: /home/pcvs/ports/lang/python26/files/extra-patch-setup.py,v
|retrieving revision 1.2
|diff -u -r1.2 extra-patch-setup.py
|--- files/extra-patch-setup.py 11 Sep 2009 14:58:08 -0000      1.2
|+++ files/extra-patch-setup.py 15 Sep 2009 11:35:40 -0000
--------------------------
Patching file files/extra-patch-setup.py using Plan A...
Hunk #1 succeeded at 4.
done

After that when I build, I get the same error.


More information about the freebsd-python mailing list