pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/43067 (devel/p5-Date-Manip causes make core dump on NetBSD 4.0 (+FIX))
The following reply was made to PR pkg/43067; it has been noted by GNATS.
From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/43067 (devel/p5-Date-Manip causes make core dump on NetBSD 4.0
(+FIX))
Date: Wed, 14 Sep 2011 19:03:43 +0700
Date: Wed, 14 Sep 2011 06:15:04 +0000 (UTC)
From: "OBATA Akio" <obache%NetBSD.org@localhost>
Message-ID: <20110914061504.D1FFE63BBA9%www.NetBSD.org@localhost>
| they need to know builtin make version is sufficient, but cannot.
It should always be safe to use the pkgsrc version, just doing so is usually
unnecessary, and hence wasteful.
But we can, as is proposed in this PR, discover that (for example) the
NetBSD 4 version of make is defective, and when that is true, require
the newer version for that release. That is, the proposal here is in
two parts (hence the two PRs) - one is to add the ability to use bmake
to replace make when a package determines (however that is done) that
is necessary, and the second is the fix to this package, to use that
mechanism when building on NetBSD 4 (any version, we'll just wear the
cost if the particular NetBSD 4 happens to be built from cvs after the
fix was pulled up, that's harmless, building make isn't all that hard
or slow, not even on the slower architectures).
Really, this works, it is simple, and effective - the change is non-intrusive.
The alternative (Joerg's suggestion of doing a bootstrap mechanism for
NetBSD 4) is a lot of work, useful for (we hope) only a short time until
NetBSD 4 support is removed, and thereafter lost. On the other hand,
supporting bmake as a build tool replacement for make (note this is for
package makefiles, not for pkgsrc itself) will continue to be useful when
some new package uses some feature that's available in make on NetBSD 6,
or current of the time, but which doesn't work on NetBSD 5, the package
just selects use of bmake (which should continue to be close enough to the
most up to date version) and all is OK.
kre
Home |
Main Index |
Thread Index |
Old Index