pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Python 3.x fails build on Solaris 10
Excerpts from John H's message of 2021-05-27 16:50:21 +0000:
> On Thu, May 27, 2021 at 09:00:43AM +0200, Claes N?st?n wrote:
> > Excerpts from Claes N?st?n's message of 2021-05-27 07:54:19 +0200:
> >
> > Tried it out and got Python 2.7, 3.[6789] building, attaching the diff
> > if there's interest in getting updated patches in.
> >
> > /Claes
>
> Thanks Claes, the patch applied successfully for python versions <= 3.7
> but 3.8 onwards reported errors during patching. I'll paste the output
> below if it's of any use, let me know if you want the rej files.
>
Those patches should apply clean on a pkgsrc trunk from today, forgot to
mention it's not based on 2021Q1.
>
> However, a working 3.7 was enough to get me compiling gcc7. (:
>
Nice, gcc8 compiled fine for me on sparc (x86 required some manual work
to get it going) but took ages.
>
> Thank you also, Nia, for responding.
>
> John
>
> # cat python-sol10.diff | /usr/bin/gpatch -p1
> patching file lang/python27/distinfo
> patching file lang/python27/patches/patch-setup.py
> patching file lang/python36/distinfo
> patching file lang/python36/patches/patch-Modules_socketmodule.c
> patching file lang/python36/patches/patch-setup.py
> patching file lang/python37/distinfo
> patching file lang/python37/patches/patch-Modules_socketmodule.c
> patching file lang/python37/patches/patch-setup.py
> patching file lang/python38/distinfo
> Hunk #1 FAILED at 14.
> Hunk #2 FAILED at 22.
> 2 out of 2 hunks FAILED -- saving rejects to file lang/python38/distinfo.rej
> patching file lang/python38/patches/patch-Modules_socketmodule.c
> patching file lang/python38/patches/patch-setup.py
> Hunk #1 FAILED at 80.
> 1 out of 1 hunk FAILED -- saving rejects to file lang/python38/patches/patch-setup.py.rej
> patching file lang/python39/distinfo
> Hunk #1 FAILED at 14.
> 1 out of 1 hunk FAILED -- saving rejects to file lang/python39/distinfo.rej
> patching file lang/python39/patches/patch-Modules_socketmodule.c
> Hunk #1 FAILED at 2.
> Hunk #2 FAILED at 13.
> 2 out of 2 hunks FAILED -- saving rejects to file lang/python39/patches/patch-Modules_socketmodule.c.rej
> patching file lang/python39/patches/patch-setup.py
>
Home |
Main Index |
Thread Index |
Old Index