On Jul 7, 2025, at 18:53, Gagan Sidhu wrote: > > trying to see if i can conjure a new libuv with the existing patches. > > i found that i could fetch the release on my brojave machine no problem: > >> ---> libuv-v1.51.0-dist.tar.gz does not exist in >> /opt/local/var/macports/distfiles/libuv >> ---> Attempting to fetch libuv-v1.51.0-dist.tar.gz from >> https://dist.libuv.org/dist/v1.51.0 > > but on lion it acts weird with the exact same portfile. it keeps trying to > fetch from mirrors instead of dist.libuv: > >> ---> Fetching distfiles for libuv >> ---> libuv-v1.51.0-dist.tar.gz does not exist in >> /opt/local/var/macports/distfiles/libuv >> ---> Attempting to fetch libuv-v1.51.0-dist.tar.gz from >> http://distfiles.macports.org/libuv >> % Total % Received % Xferd Average Speed Time Time Time >> Current >> Dload Upload Total Spent Left Speed >> > > > any idea why this is the case? /opt/local/etc/macports/sources.conf are > unchanged in both build environments.
MacPorts will fetch from all available servers, including mirrors, until it finds one that has the file. The order in which it tries the servers is based on ping time so it may differ between machines. On Lion, curl and OpenSSL are so old that it may not be able to get the file from the upstream https site. In that case, copy the distfile to your Lion machine manually. Once the update is committed to master we will automatically mirror the file and it won't be a problem for users.