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