New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unavailable Tcl version when compiling for MacOS 10.6 #92171
Comments
Quoting the Tcl/Tk website:
The link they provide for 8.6.12 is https://prdownloads.sourceforge.net/tcl/tcl8.6.12-src.tar.gz |
It works well using the SourceForge link. |
For the record: $ wget ftp://ftp.tcl.tk/pub/tcl//tcl8_6/tcl8.6.8-src.tar.gz
--2022-05-02 13:02:17-- ftp://ftp.tcl.tk/pub/tcl//tcl8_6/tcl8.6.8-src.tar.gz
=> ‘tcl8.6.8-src.tar.gz.1’
Resolving ftp.tcl.tk (ftp.tcl.tk)... 66.228.49.43
Connecting to ftp.tcl.tk (ftp.tcl.tk)|66.228.49.43|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /pub/tcl//tcl8_6 ... done.
==> SIZE tcl8.6.8-src.tar.gz ... 9793786
==> PASV ... done. ==> RETR tcl8.6.8-src.tar.gz ... done.
Length: 9793786 (9,3M) (unauthoritative)
tcl8.6.8-src.tar.gz.1 100%[=========================================================================================================================================>] 9,34M 5,31MB/s in 1,8s
2022-05-02 13:02:20 (5,31 MB/s) - ‘tcl8.6.8-src.tar.gz.1’ saved [9793786]
$ wget ftp://ftp.tcl.tk/pub/tcl//tcl8_6/tcl8.6.12-src.tar.gz
--2022-05-02 13:02:23-- ftp://ftp.tcl.tk/pub/tcl//tcl8_6/tcl8.6.12-src.tar.gz
=> ‘tcl8.6.12-src.tar.gz.1’
Resolving ftp.tcl.tk (ftp.tcl.tk)... 66.228.49.43
Connecting to ftp.tcl.tk (ftp.tcl.tk)|66.228.49.43|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /pub/tcl//tcl8_6 ... done.
==> SIZE tcl8.6.12-src.tar.gz ... done.
==> PASV ... done. ==> RETR tcl8.6.12-src.tar.gz ...
No such file ‘tcl8.6.12-src.tar.gz’.
|
The SourceForge download link is problematic for the build script because it inserts an intermediate page and that breaks the build-installer.py script. A somewhat easy fix would be to change the |
Good point regarding the redirects. Using curl is a better option. |
Calling out to curl is the easy option, it Is also possible to follow redirects in Python code but that's more work and probably not worth the effort for this script. |
We do keep a copy of the vanilla tcl/tk sources in our own GitHub repo for use on Windows, though the link GitHub gives to the archive is also a redirect ( |
Bug report
MacOS build-installer.py script failing with the --dep-target=10.6 argument. It tries to download an unavailable Tcl version (8.6.12) from the FTP server.
Error
urllib.error.URLError: <urlopen error ftp error: URLError("ftp error: error_perm('550 Failed to change directory.')")>
Your environment
The text was updated successfully, but these errors were encountered: