Unable to fetch sources from GitLab instance
Dave Allured - NOAA Affiliate
dave.allured at noaa.gov
Sun Jul 30 02:24:29 UTC 2023
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.
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 https://trac.macports.org/wiki/ProblemHotlist#fetch-failures.
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.
Also see: https://trac.macports.org/wiki/ProblemHotlist#letsencrypt
On Sat, Jul 29, 2023 at 9:14 AM Jason Liu <jasonliu at umich.edu> wrote:
> 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.
> --
> Jason Liu
>
>
> On Fri, Jul 28, 2023 at 11:47 PM Jason Liu <jasonliu at umich.edu> wrote:
>
>> Hi all,
>>
>> 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.
>>
>> I'm trying to create a Portfile for librist, which is one of the projects
>> that's being hosted on https://code.videolan.org. My question to René
>> (and everyone else) is: Have you had any luck trying to fetch sources from
>> code.videolan.org? 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:
>>
>> /usr/bin/curl -LROJk
>> https://code.videolan.org/rist/librist/-/archive/v0.2.7/librist-v0.2.7.tar.bz2
>>
>> Does anyone have any explanation for the behavior that I'm seeing?
>> --
>> Jason Liu
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20230729/f87e1fa6/attachment-0001.htm>
More information about the macports-dev
mailing list