pkgsrc-Users archive

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

Re: odd -J complaint from make on netbsd-11




To: pkgsrc-users%netbsd.org@localhost

Subject: Re: odd -J complaint from make on netbsd-11

From: David Holland <dholland-pkgusers%netbsd.org@localhost>

Date: Wed, 28 Jan 2026 01:45:20 +0000


On Tue, Jan 27, 2026 at 06:54:49PM -0500, Greg Troxel wrote:
 > I am testing an rc of ups-nut 2.8.5 (wip/ups-nut), and while it's mostly
 > ok, building on NetBSD 11 under pkgrsrc gets me:
 > 
 >   make[2]: warning: Invalid internal option "-J" in "/tmp/work/wip/ups-nut/work/nut-2.8.4.1239/tools"; see the manual page
 > 
 > upstream doesn't think -J is in the sources.
 > 
 > If I build MAKE_JOBS=1 (instead of 4 which my mk.conf defaults to), I
 > don't get the error.
 > 
 > If I build -j4 in a subdir -- that provoked the warning from top level,
 > then I don't get a warning.
 > 
 > Building on 9 or 10 does not get this error.
 > 
 > Has anybody seen this?

-J is the internal option for passing around the job-server
information. I think the complaints about it are (relatively) new.

This kind of problem is usually caused by misusing $(MAKE) or
$(MAKEFLAGS) or similar... I remember it came up in base a while back
with some scripts but I already can't remember the details.

-- 
David A. Holland
dholland%netbsd.org@localhost


References:

odd -J complaint from make on netbsd-11
From: Greg Troxel




Prev by Date: odd -J complaint from make on netbsd-11

Next by Date: Re: hplip - Operating System version (10.1) does not match 10.0

Previous by Thread: odd -J complaint from make on netbsd-11

Next by Thread: Re: odd -J complaint from make on netbsd-11

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index