Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 726332 - Prefix fails stage1 on cygwin because of python
Summary: Prefix fails stage1 on cygwin because of python
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Other
: Normal normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-30 23:09 UTC by Alexey
Modified: 2021-01-21 16:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
stage1.log (stage1.log,660.93 KB, text/x-log)
2020-05-30 23:12 UTC, Alexey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey 2020-05-30 23:09:05 UTC
!!! failed to apply python36-71f2ac2444946c97d892be3892e47d2a509e0e96/00189-use-rpm-wheels.patch

I see python-3.7.7 in var/tmp instead of 3.6
Comment 1 Alexey 2020-05-30 23:12:52 UTC
Created attachment 642798 [details]
stage1.log
Comment 2 Benda Xu gentoo-dev 2020-05-31 02:04:20 UTC
Python 3.6 will be removed from Gentoo soon.  We need to migrate to Python 3.7.
Comment 3 Fabian Groffen gentoo-dev 2020-05-31 08:05:11 UTC
yes, but cygwin patches are a pita.

Alexey you could try changing the following bit in bootstrap-prefix.sh:

PYTHONMAJMIN=3.7   # keep this number in line with PV below for stage1,2
bootstrap_python() {
    PV=3.7.7
    A=Python-${PV}.tar.xz
    patch=true

to

PYTHONMAJMIN=3.6   # keep this number in line with PV below for stage1,2
bootstrap_python() {
    PV=3.6.8
    A=Python-${PV}.tar.xz
    patch=true

Should you need the Python-3.6.8.tar.xz file, you can find a copy here:
https://bootstrap.prefix.bitzolder.nl/distfiles/python-3.6.8.tar.xz@ee55acedef049268307633cbc9c7ff0610d1244f
ensure to rename it to the aforementioned name in your distfiles directory.

We should try to upgrade the cygwin bits to 3.7, but this might get you through stage1.
Comment 4 Alexey 2020-05-31 08:15:44 UTC
Seems to work (so far) with 3.6.10, as that's the version available on distfiles.g.o
Comment 5 Fabian Groffen gentoo-dev 2020-05-31 08:25:35 UTC
that's fine too, of course
Comment 6 Fabian Groffen gentoo-dev 2021-01-21 16:49:42 UTC
this is likely not the only problem, cygwin is heavily under supported