installation failure because can't fetch the file (10.6.8)

Christopher Jones jonesc at hep.phy.cam.ac.uk
Fri Jan 19 18:41:33 UTC 2018


Hi,

So indeed the issue is

--->  Attempting to fetch decorator-4.2.1.tar.gz from https://files.pythonhosted.org/packages/source/d/decorator

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0DEBUG: Fetching distfile failed: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

so the upstream server providing the source rejected your connection.

the SSL requirement is not a per port thing, per se, but varies according the policies of the upstream web server hosting the ports source code. For the other ports you have installed you most probably just got them from the binary tar balls, via the macports servers, which did not reject your connection. This just happens to be the first you have hit which does.

Chris

> On 19 Jan 2018, at 5:46 pm, Franco Vaccari <vaccari at units.it> wrote:
> 
> Hi,
> 
> Here it is, but I wonder whether such a SSL version requirement is per-package, because I had no problem in installing a large number of packages before finding this issue.
> 
> Thanks for looking into it!
> 
> Franco
> 
> <debug10.6.8.txt.gz>
> 
>> On 19 Jan 2018, at 17:34, Chris Jones <jonesc at hep.phy.cam.ac.uk> wrote:
>> 
>> Hi,
>> 
>> I think you cut from the list of responses the useful ones. Most probably one of the ones you cut was showing that the connection was rejected due to the use of an insecure SSL version, or similar.
>> 
>> Please post the complete log, compressed to save space.
>> 
>> cheers Chris
>> 
>> On 19/01/18 15:59, Franco Vaccari wrote:
>>> I’m trying to update MacPorts on some old computers running 10.6.8. I decided to go with a fresh installation on a test machine, removing the existing /opt/local, before hopefully do the same on the main server.
>>> I successfully installed many of the packages my group use routinely, but with several packages the process fails as it can’t get the required files. One example is py36-decorator, that I could successfully install on a more modern computer running 10.12.
>>> The network connection is the same, both computers live in a private network and get to the outside world through the same server, there is no specific firewall rule that could interfere.
>>> I’ve run the command on both computers in debug mode. The error comes out like this on the 10.6.8 machine
>>> DEBUG: Searching for dependency: py36-setuptools
>>> DEBUG: Found Dependency: receipt exists for py36-setuptools
>>> DEBUG: Searching for dependency: python36
>>> DEBUG: Found Dependency: receipt exists for python36
>>> DEBUG: Executing org.macports.main (py36-decorator)
>>> DEBUG: dropping privileges: euid changed to 504, egid changed to 501.
>>> DEBUG: archivefetch phase started at Fri Jan 19 15:57:33 CET 2018
>>> --->  Fetching archive for py36-decorator
>>> DEBUG: Executing org.macports.archivefetch (py36-decorator)
>>> DEBUG: euid/egid changed to: 0/0
>>> DEBUG: chowned /opt/local/var/macports/incoming to macports
>>> DEBUG: euid/egid changed to: 504/501
>>> --->  py36-decorator-4.2.1_0.darwin_10.noarch.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
>>> --->  Attempting to fetch py36-decorator-4.2.1_0.darwin_10.noarch.tbz2 from http://fco.it.packages.macports.org/mirrors/macports-packages/py36-decorator
>>>  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>>>                                 Dload  Upload   Total   Spent    Left  Speed
>>>  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0DEBUG: Fetching archive failed: The requested URL returned error: 404
>>> --->  Attempting to fetch py36-decorator-4.2.1_0.darwin_10.noarch.tbz2 from https://packages.macports.org/py36-decorator
>>>  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>>>                                 Dload  Upload   Total   Spent    Left  Speed
>>>  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0DEBUG: Fetching archive failed: The requested URL returned error: 404
>>> --->  Attempting to fetch py36-decorator-4.2.1_0.darwin_10.noarch.tbz2 from http://lil.fr.packages.macports.org/py36-decorator
>>>  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>>>                                 Dload  Upload   Total   Spent    Left  Speed
>>>  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0DEBUG: Fetching archive failed: The requested URL returned error: 404
>>> DEBUG: Privilege de-escalation not attempted as not running as root.
>>> DEBUG: fetch phase started at Fri Jan 19 15:57:36 CET 2018
>>> --->  Fetching distfiles for py36-decorator
>>> DEBUG: Executing org.macports.fetch (py36-decorator)
>>> --->  decorator-4.2.1.tar.gz does not exist in /opt/local/var/macports/distfiles/py-decorator
>>> --->  Attempting to fetch decorator-4.2.1.tar.gz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/py-decorator
>>>  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>>>                                 Dload  Upload   Total   Spent    Left  Speed
>>>  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0DEBUG: Fetching distfile failed: The requested URL returned error: 404
>>> --->  Attempting to fetch decorator-4.2.1.tar.gz from http://lil.fr.distfiles.macports.org/py-decorator
>>>  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>>>                                 Dload  Upload   Total   Spent    Left  Speed
>>>  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0DEBUG: Fetching distfile failed: The requested URL returned error: 404
>>> --->  Attempting to fetch decorator-4.2.1.tar.gz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/py-decorator
>>>  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>>>                                 Dload  Upload   Total   Spent    Left  Speed
>>> 138   277  138   277    0     0    257      0  0:00:01  0:00:01 --:--:--   257
>>> 138   277  138   277    0     0    257      0  0:00:01  0:00:01 --:--:--     0
>>>  0   277    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0DEBUG: Fetching distfile failed: The requested URL returned error: 404
>>> and more mirrors are listed with negative response, while all goes smooth with 10.12.6:
>>> DEBUG: Searching for dependency: python36
>>> DEBUG: Found Dependency: receipt exists for python36
>>> DEBUG: Executing org.macports.main (py36-decorator)
>>> DEBUG: dropping privileges: euid changed to 502, egid changed to 501.
>>> DEBUG: archivefetch phase started at Fri Jan 19 15:57:08 CET 2018
>>> --->  Fetching archive for py36-decorator
>>> DEBUG: Executing org.macports.archivefetch (py36-decorator)
>>> DEBUG: euid/egid changed to: 0/0
>>> DEBUG: chowned /opt/local/var/macports/incoming to macports
>>> DEBUG: euid/egid changed to: 502/501
>>> --->  py36-decorator-4.2.1_0.darwin_16.noarch.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
>>> --->  Attempting to fetch py36-decorator-4.2.1_0.darwin_16.noarch.tbz2 from https://packages.macports.org/py36-decorator
>>>  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>>>                                 Dload  Upload   Total   Spent    Left  Speed
>>> 100 13236  100 13236    0     0   130k      0 --:--:-- --:--:-- --:--:--  130k
>>> --->  Attempting to fetch py36-decorator-4.2.1_0.darwin_16.noarch.tbz2.rmd160 from https://packages.macports.org/py36-decorator
>>>  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>>>                                 Dload  Upload   Total   Spent    Left  Speed
>>> 100   512  100   512    0     0  10521      0 --:--:-- --:--:-- --:--:-- 10666
>>> DEBUG: Privilege de-escalation not attempted as not running as root.
>>> DEBUG: Skipping completed org.macports.fetch (py36-decorator)
>>> DEBUG: Privilege de-escalation not attempted as not running as root.
>>> DEBUG: Skipping completed org.macports.checksum (py36-decorator)
>>> DEBUG: Privilege de-escalation not attempted as not running as root.
>>> DEBUG: Skipping completed org.macports.extract (py36-decorator)
>>> DEBUG: Privilege de-escalation not attempted as not running as root.
>>> DEBUG: Skipping completed org.macports.patch (py36-decorator)
>>> DEBUG: Privilege de-escalation not attempted as not running as root.
>>> DEBUG: Skipping completed org.macports.configure (py36-decorator)
>>> DEBUG: Privilege de-escalation not attempted as not running as root.
>>> DEBUG: Skipping completed org.macports.build (py36-decorator)
>>> DEBUG: Privilege de-escalation not attempted as not running as root.
>>> DEBUG: Skipping completed org.macports.destroot (py36-decorator)
>>> DEBUG: Privilege de-escalation not attempted as not running as root.
>>> DEBUG: install phase started at Fri Jan 19 15:57:09 CET 2018
>>> --->  Installing py36-decorator @4.2.1_0
>>> DEBUG: elevating privileges for install: euid changed to 0, egid changed to 0.
>>> DEBUG: Executing org.macports.install (py36-decorator)
>>> DEBUG: activate phase started at Fri Jan 19 15:57:09 CET 2018
>>> DEBUG: Executing org.macports.activate (py36-decorator)
>>> --->  Activating py36-decorator @4.2.1_0
>>> I could list the full logs if needed, but I didn’t want to flood the list, to begin with…
>>> It looks that py36-decorator-4.2.1_0.darwin_16.noarch.tbz2.rmd160 is there, but py36-decorator-4.2.1_0.darwin_10.noarch.tbz2 is not.
>>> py36-decorator is not the only python3.6 package showing the issue. Is there some misconfiguration somewhere or is it just so that 10.6.8 is too old for MacPorts to play with? It would be a pity for me, as we depend on a good old Xserve that will definitely never see a newer system…
>>> Thanks
>>> Franco
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1910 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20180119/a4fe921d/attachment.bin>


More information about the macports-users mailing list