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

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

Reply via email to