<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">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">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">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>