tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Fix mk/fetch/github.mk



> Hi,
> 
> This http://mail-index.netbsd.org/pkgsrc-changes/2024/02/11/msg293220.html
> breaks fetching from git-tags.
> 
> I can not fetch any of the sources for those packages I build from git-HEAD.
> For example for alacritty-dev,
> 
> => Fetching alacritty-0.14.0-5c4469ffa7727b7a8d82f3f8261613a30591b4de.tar.gz
> Requesting https://github.com/alacritty/alacritty/archive/refs/tags/5c4469ffa7727b7a8d82f3f8261613a30591b4de.tar.gz
> Redirected to https://codeload.github.com/alacritty/alacritty/tar.gz/refs/tags/5c4469ffa7727b7a8d82f3f8261613a30591b4de
> Requesting https://codeload.github.com/alacritty/alacritty/tar.gz/refs/tags/5c4469ffa7727b7a8d82f3f8261613a30591b4de
> ftp: Error retrieving file `404 Not Found'
> fetch: Unable to fetch expected file alacritty-0.14.0-5c4469ffa7727b7a8d82f3f8261613a30591b4de.tar.gz
> Trying [2a04:4e42:14::262]:443 ...
> ftp: Can't connect to `2a04:4e42:14::262:443': No route to host
> Trying 151.101.85.6:443 ...
> Requesting https://cdn.NetBSD.org/pub/pkgsrc/distfiles/alacritty-0.14.0-5c4469ffa7727b7a8d82f3f8261613a30591b4de.tar.gz
> ftp: Error retrieving file `404 Not Found'
> fetch: Unable to fetch expected file alacritty-0.14.0-5c4469ffa7727b7a8d82f3f8261613a30591b4de.tar.gz
> Trying [2001:660:3302:282a:204:75ff:fe9f:9e11]:80 ...
> ftp: Can't connect to `2001:660:3302:282a:204:75ff:fe9f:9e11:80': No route to host
> Trying 132.227.74.11:80 ...
> Requesting http://ftp.fr.NetBSD.org/pub/pkgsrc/distfiles/alacritty-0.14.0-5c4469ffa7727b7a8d82f3f8261613a30591b4de.tar.gz
> ftp: Error retrieving file `404 Not Found'
> fetch: Unable to fetch expected file alacritty-0.14.0-5c4469ffa7727b7a8d82f3f8261613a30591b4de.tar.gz
> Trying [2001:470:a085:999::21]:443 ...
> ftp: Can't connect to `2001:470:a085:999::21:443': No route to host
> Trying 199.233.217.201:443 ...
> Requesting https://ftp.NetBSD.org/pub/pkgsrc/distfiles/alacritty-0.14.0-5c4469ffa7727b7a8d82f3f8261613a30591b4de.tar.gz
> ftp: Error retrieving file `404 Not Found'
> fetch: Unable to fetch expected file alacritty-0.14.0-5c4469ffa7727b7a8d82f3f8261613a30591b4de.tar.gz
> *** Error code 1
> 
> Stop.
> 
> Can this be fixed?
> Thanks!
> 
> Regards,
> Pedro

In x11/alacritty/Makefile, this is wrong:

GITHUB_TAG=     refs/tags/v${PKGVERSION_NOREV}

has to be changed to:

GITHUB_TAG=     v${PKGVERSION_NOREV}

Kind regards,
Adam


Home | Main Index | Thread Index | Old Index