Subject: pkg/22402: new pkg tools should depend on new make
To: None <gnats-bugs@gnats.netbsd.org>
From: Alan Barrett <apb@cequrux.com>
List: netbsd-bugs
Date: 08/08/2003 09:40:01
>Number: 22402
>Category: pkg
>Synopsis: new pkg tools should depend on new make
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Aug 08 07:41:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Alan Barrett
>Release: NetBSD 1.6W
>Organization:
Not much
>Environment:
System: NetBSD 1.6W
Architecture: i386
Machine: i386
>Description:
pkgsrc relies on make's ":u" modifier, which is not present in old
versions of make.
We already have the PKGTOOLS_REQD variable in bsd.pkg.mk, which is
supposed to check that the pkg_install, pkg_add and freinds are
sufficiently recent. I think that something similar should also be used
to check that make is sufficiently recent.
>How-To-Repeat:
For example, on a NetBSD-1.5.2 box, I updated to current pkgsrc, and the
PKGTOOLS_REQD test correctly forced me to update pkg_install. After
updating pkg_install and friends, I attempted to build a package from
pkgsrc, and got errors saying "make: Unknown modifier 'u'". Despite the
error messages, the build continued.
>Fix:
I don't know the correct way to fix this problem.
Perhaps we could detect that the system make doesn't support the
features that pkgsrc needs, and automatically add a dependency on a
sufficiently recent bmake (from pkgsrc/devel/bmake).
>Release-Note:
>Audit-Trail:
>Unformatted: