Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 609290 - macOS Sierra (10.12.3) bootstrap fails: can't download flex (no ssl support)
Summary: macOS Sierra (10.12.3) bootstrap fails: can't download flex (no ssl support)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: Normal normal with 1 vote (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-13 18:38 UTC by *
Modified: 2018-02-05 03:38 UTC (History)
0 users

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


Attachments
stage2.log (stage2.log.xz,102.53 KB, application/x-xz)
2017-02-13 18:43 UTC, *
Details

Note You need to log in before you can comment on or make changes to this bug.
Description * 2017-02-13 18:38:16 UTC
I just updated from El Capitan to Sierra (10.12.3), have the latest Xcode (8.2.1) and the latest bootstrap-prefix.sh. I first encountered Bug 609220, which may be resolved, but now the download of flex fails because it redirects to a url with https, and wget isn't compiled with ssl:

https://superb-sea2.dl.sourceforge.net/project/flex/flex-2.5.39.tar.xz: HTTPS support not compiled in.
!!! Couldn't download 'flex-2.5.39.tar.xz'. Aborting.

I assume the proper thing here is to use a version of flex on distfiles.gentoo.org as opposed to compiling in ssl support.

Reproducible: Always

Steps to Reproduce:
LATEST_TREE_YES=1 bootstrap-prefix.sh
Comment 1 * 2017-02-13 18:43:59 UTC
Created attachment 463664 [details]
stage2.log
Comment 2 Fabian Groffen gentoo-dev 2017-02-18 17:58:25 UTC
This is likely because gx86 dropped the version we use.  I just bumped it, will upload the file to the mirrors for the time being.
Comment 3 Fabian Groffen gentoo-dev 2017-02-18 18:01:02 UTC
file uploaded
Comment 4 * 2017-02-18 19:01:28 UTC
Sorry does this take awhile to appear? Not seeing it at distfiles.gentoo.org.

$ wget 'http://distfiles.gentoo.org/distfiles/flex-2.5.39.tar.xz'
--2017-02-18 11:00:35--  http://distfiles.gentoo.org/distfiles/flex-2.5.39.tar.xz
Resolving distfiles.gentoo.org... 137.226.34.46, 140.211.166.134, 216.165.129.135, ...
Connecting to distfiles.gentoo.org|137.226.34.46|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-02-18 11:00:35 ERROR 404: Not Found.
Comment 5 * 2017-02-19 05:27:28 UTC
Okay, it's there now and I made it to stage3. But ran into the same problem with zlib:

>>> Emerging (1 of 1) sys-libs/zlib-1.2.10::gentoo_prefix
>>> Downloading 'http://distfiles.gentoo.org/distfiles/zlib-1.2.10.tar.gz'
--2017-02-18 21:19:17--  http://distfiles.gentoo.org/distfiles/zlib-1.2.10.tar.gz
Resolving distfiles.gentoo.org... 216.165.129.135, 64.50.233.100, 156.56.247.195, ...
Connecting to distfiles.gentoo.org|216.165.129.135|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-02-18 21:19:17 ERROR 404: Not Found.
Comment 6 * 2017-02-19 07:35:56 UTC
Forgot to use LATEST_TREE_YES=1. That fixes the zlib issue.
Comment 7 Fabian Groffen gentoo-dev 2017-02-19 09:16:47 UTC
I've uploaded the zlib file as well.  It indeed might take a while before it propagates to all slave mirrors.
Comment 8 Pengcheng Xu 2017-12-25 16:23:55 UTC
The same issue here on High Sierra (wget with no SSL support), but with different files.

--2017-12-26 00:00:48--  http://dev.gentoo.org/~grobian/distfiles/prefix-portage-2.3.8.tar.bz2
Resolving dev.gentoo.org... 2001:470:ea4a:1:5054:ff:fec7:86e4, 140.211.166.183
Connecting to dev.gentoo.org|2001:470:ea4a:1:5054:ff:fec7:86e4|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://dev.gentoo.org/~grobian/distfiles/prefix-portage-2.3.8.tar.bz2 [following]
https://dev.gentoo.org/~grobian/distfiles/prefix-portage-2.3.8.tar.bz2: HTTPS support not compiled in.
!!! downloading http://dev.gentoo.org/~grobian/distfiles/prefix-portage-2.3.8.tar.bz2 failed!

I think we should bootstrap OpenSSL (or GnuTLS) to actually have wget support SSL in the bootstrap progress. Otherwise, as the whole Internet is going HTTPS, the files will get 302'd to HTTPS locations, leaving wget unable to do its job here.
Comment 9 Fabian Groffen gentoo-dev 2017-12-25 16:31:02 UTC
We can try ssl support, I'm just affraid of dependency problems in the early bootstrap stages.  Hence the uploading to the mirrors, where we can get it downloaded over ftp or http (currently).
Comment 10 Fabian Groffen gentoo-dev 2018-01-04 11:45:47 UTC
I think everything is on the mirrors now.
Comment 11 * 2018-02-05 03:38:46 UTC
Did it get removed? I'm getting the same error for the same file.

HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://dev.gentoo.org/~grobian/distfiles/prefix-portage-2.3.18.tar.bz2 [following]
https://dev.gentoo.org/~grobian/distfiles/prefix-portage-2.3.18.tar.bz2: HTTPS support not compiled in.
!!! downloading http://dev.gentoo.org/~grobian/distfiles/prefix-portage-2.3.18.tar.bz2 failed!