pkgsrc-Users archive

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

Re: github & FETCH_USING



> I've been trying to do the "simple, obvious" by adding
> 
> FETCH_USING=curl
> 
> I could have sworn that got me in trouble before, but now it
> appears to work as intended, so I'm not arguing against that.

I wonder if there's an update of mk/ between that attempt and the
subsequent success.  Because now another host is failing in the
manner experienced earlier:

...
Requesting https://github.com/NLnetLabs/routinator/archive/v0.16.2.tar.gz
ftp: Receiving HTTP reply: Input line is too long
fetch: Unable to fetch expected file routinator-0.16.2.tar.gz

...
$ grep FETCH_USING /etc/mk.conf
FETCH_USING?=   curl
$ pwd 
/usr/pkgsrc/net/routinator
$ cvs diff Makefile
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/net/routinator/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- Makefile    7 Oct 2025 16:25:44 -0000       1.14
+++ Makefile    23 Nov 2026 14:23:17 -0000
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.14 2025/10/07 16:25:44 he Exp $
 
-VER=           0.15.1
+VER=           0.16.2
 DISTNAME=      routinator-${VER}
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=NLnetLabs/}
$ make makesum
=> Fetching routinator-0.16.2.tar.gz
env: unknown option -- f
Usage: env [-0i] [-u name] [name=value ...] [command]
fetch: Unable to fetch expected file routinator-0.16.2.tar.gz
env: unknown option -- f
Usage: env [-0i] [-u name] [name=value ...] [command]
fetch: Unable to fetch expected file routinator-0.16.2.tar.gz
env: unknown option -- f
Usage: env [-0i] [-u name] [name=value ...] [command]
fetch: Unable to fetch expected file routinator-0.16.2.tar.gz
env: unknown option -- f
Usage: env [-0i] [-u name] [name=value ...] [command]
fetch: Unable to fetch expected file routinator-0.16.2.tar.gz
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/routinator
$ 

Bah!

(And this happens even after a full update of /usr/pkgsrc.)

Anyone else seeing this?


Hmm, ftp has a '-b bufsize' option which can be used to bump the
accepted line size from 16K to 32K, which works around the issue
with the excessively long content-security-policy header github
emits.  But how do I go about adding "-b 32768" to the args to
the ftp fetcher?



Regards,

- Håvard


Home | Main Index | Thread Index | Old Index