<div dir="ltr"><div>Indeed, I was downloading the tarball and manually putting it into the distfiles directory, so that I could get the rest of the Portfile written. I guess I'll just have to take it on faith that one of the newer buildbots will manage to save the distfile into <a href="http://distfiles.macports.org">distfiles.macports.org</a> before the older builders attempt their builds.</div><div><br></div><div>I'm aware of the curl issues on older Macs, since this topic was recently discussed on this mailing list as well... which is why I tried manually running /usr/bin/curl on the tarball, which downloaded fine on both my 10.13 High Sierra and 10.11 El Capitan machines. That's why I was confused when MacPorts couldn't seem to download the file. I was under the impression that MacPorts uses the Apple/system libcurl, which... is the same as what /usr/bin/curl uses? Or am I mistaken about that?</div><div><br></div><div>In any case, thanks Dave, for trying it out and letting me know that I'm not slowly losing my mind writing these Portfiles. 😆 (Or maybe I am anyway, haha)</div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>-- </div><div>Jason Liu</div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 29, 2023 at 10:26 PM Dave Allured - NOAA Affiliate via macports-dev <<a href="mailto:macports-dev@lists.macports.org">macports-dev@lists.macports.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>Jason, port fetch with your unmodified portfile works fine for me. Monterey x86_64, Macports 2.81, freshly updated. I think your portfile recipe for this gitlab instance is good. There have been several recent reports of Macports fetch problems. These often relate to down level Apple native versions of curl on older Macs, improper certificate updates on servers, etc.</div><div><br></div><div>There is a shortcut if it is only a single tar file. Instead of spending time diagnosing, just manually download the distfile, which you already have. Then manually insert that into (prefix)/var/macports/distfiles/librist, then re-run port install, as described in <a href="https://trac.macports.org/wiki/ProblemHotlist#fetch-failures" target="_blank">https://trac.macports.org/wiki/ProblemHotlist#fetch-failures</a>. Port install will then skip the problematic download and be happy with the local copy. When your portfile is later merged into Macports, the distfile will be propagated to various mirrors, which will then serve anyone having problems with the original server.</div><div><div><br></div><div>Also see: <a href="https://trac.macports.org/wiki/ProblemHotlist#letsencrypt" target="_blank">https://trac.macports.org/wiki/ProblemHotlist#letsencrypt</a></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 29, 2023 at 9:14 AM Jason Liu <<a href="mailto:jasonliu@umich.edu" target="_blank">jasonliu@umich.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">By the way, here is my Portfile for librist, in case anyone wants to try and see whether fetching from VideoLAN's GitLab instance works for them.<div>-- <br><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Jason Liu</div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 28, 2023 at 11:47 PM Jason Liu <<a href="mailto:jasonliu@umich.edu" target="_blank">jasonliu@umich.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>I suppose I should be directing this question to René Bertin, since he's the maintainer of the VLC port, but I'm sending this to the entire dev mailing list, in case anyone else has any ideas.</div><div><br></div><div>I'm trying to create a Portfile for librist, which is one of the projects that's being hosted on <a href="https://code.videolan.org" target="_blank">https://code.videolan.org</a>. My question to René (and everyone else) is: Have you had any luck trying to fetch sources from <a href="http://code.videolan.org" target="_blank">code.videolan.org</a>? When I try to use the gitlab PortGroup, MacPorts doesn't seem to find a tarball at the URL that is generated by the PortGroup. However, I'm able to download the file using a web browser, and even curl downloads the file just fine:</div><div><br></div><div>/usr/bin/curl -LROJk <a href="https://code.videolan.org/rist/librist/-/archive/v0.2.7/librist-v0.2.7.tar.bz2" target="_blank">https://code.videolan.org/rist/librist/-/archive/v0.2.7/librist-v0.2.7.tar.bz2</a></div><div><br></div><div>Does anyone have any explanation for the behavior that I'm seeing?</div><div><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>-- </div><div>Jason Liu</div></div></div></div></div></div>
</blockquote></div>
</blockquote></div></div>
</blockquote></div>