Monday, April 25, 2022

Re: Issue in fetching upstream package source

On 2022/04/25 13:30, Salil Wadnerkar wrote:
> Hi,
>
> I am facing issues in fetching upstream packages hosted on github for
> multiple new packages that I am trying to build,
>
> For example,
> https://github.com/easymodo/qimgv/archive/refs/tags/v1.0.2.tar.gz
> is hosted on the page: https://github.com/easymodo/qimgv/releases/tag/v1.0.2

See the examples and description for the GH_xxx variables
in /usr/ports/infrastructure/templates/Makefile.template

> My Makefile is:
>
> MASTER_SITES=https://github.com/easymodo/qimgv/archive/refs/tags/
> VERSION=1.0.2
> DISTNAME=v${VERSION}
>
> My understanding is this should fetch the tar.gz, but `make fetch` fails
> with this error:
>
> $ make fetch
> ===> Checking files for qimgv-1.0.2
> >> No size recorded for v1.0.2.tar.gz
> *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:3205
> '/usr/ports/distfiles/v1.0.2.tar.gz': @lock=v1.0.2.tar.gz.dist; doas -u
> _pbu...)
> *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2481
> '_internal-fetch': @cd /usr/ports/mystuff/graphics/qimgv &&
> PKGPATH=graphics...)
> *** Error 2 in /usr/ports/mystuff/graphics/qimgv
> (/usr/ports/infrastructure/mk/bsd.port.mk:2607 'fetch': @lock=qimgv-1.0.2;
> export _LOCKS_H...)
>
>
> Can someone show me what I am doing wrong?
>
> Thanks,
> Salil

No comments:

Post a Comment