Subject: Re: vim problems
To: Martti Kuparinen <martti.kuparinen@iki.fi>
From: Frederick Bruckman <fredb@immanent.net>
List: tech-pkg
Date: 01/09/2002 18:11:06
On Wed, 9 Jan 2002, Martti Kuparinen wrote:

> > your latest update of the "vim" package breaks "make fetch":
> >
> > tron@lyssa:/usr/pkgsrc/editors/vim-share>make fetch
> > make: Exec of `/bin/sh' failed (Argument list too long)
> > *** Error code 1
> >
> > Stop.
> > make: stopped in /src/NetBSD-current/pkgsrc/editors/vim-share
> > *** Error code 1

This looks like my fault. I changed the "fetch" targets to gather the
single-package fetch into one shell command. I was afraid there might
be some limit, and I tested it with a few packages with lots of sites
and files, but I didn't anticipate anything like "vim-share", which
has over 100 patch files!

> Anyone else having problems with the latest vim? I can't produce the
> error myself...

Probably because you already have the patches. Try "make fetch-list"
or "make fetch-list-one-pkg". Either will produce a consistent result,
no matter what you already have in "distfiles". It looks like, from
the output of "make -dv fetch-list-one-pkg", that the final ":Q"
quoting of ${_FETCH_ALLFILES} pushes it over the maximum size for a
make variable.

> Anyway, I'm creating a jumbo patch to fix this error.

I see. Other considerations aside, that does make "fetch" a lot easier
to accomplish. Is that acceptable? Or should I look at breaking up the
target into separate shell commands?

Frederick