When presented with a very very long command line (e.g. WebKit's linking
of libWebCore.la in current git), make fails to execute the command as
it doesn't split the command line to fit within the limits.
This patch provides a POSIX specific fix.
Signed-off-by: Manoj Srivastava <srivasta@golden-gryphon.com>
Moving this version of make to unstable, All known problems exposed in
the archive rebuild have been fixed. There is no change in this version
apart from the ditribution change
Signed-off-by: Manoj Srivastava <srivasta@golden-gryphon.com>
Cherry pick upstream patch to Propagate correct rule status results.
Bug fix: "New make behaviour confuses dpkg-buildpackages' test for
make targets" (Closes: #746443).
* remake.c (update_file, update_file_1, check_dep): Return an enum
update_status value instead of an int, and keep the highest value we
find as we walk the graph so that the ultimate status is correct.
* tests/scripts/options/dash-q: Add a test for updating prerequisites.
* Pull back some patches from upstream git that fix bugs. One of these
converts the mixed implicit and explicit rule error into a warning,
and that should give us a grace period to fix the Makefiles,
* Bug fix: "FTBFS with make 3.82 from experimental", thanks to Daniel
Schepler. This package was not reported broken in the archive rebuild:
see http://aws-logs.debian.net/ftbfs-logs/results-make4/ (Closes: #720686).
* Bug fix: "make 3.82: with -j tries to run receipes without
prerequisites yet done", thanks to Bernhard R. Link. This was not seen
in the archive rebuild, and the upstream report has ben closed a being
fixed in 4.0 (Closes: #722520).
* Bug fix: "run dh-autoreconf to update config.{sub,guess} and
{libtool,aclocal}.m4", thanks to Wookey. We now do indeed run
autoreconf. (Closes: #689626).
* Bug fix: "spurious circular dependency", thanks to Frank Heckenbach
Bug fixed in new version. (Closes: #669968).
* Bug fix: "make 3.82: fails to parse archive syntax", thanks to Andrew
Shadura (Closes: #675612).
* Bug fix: "binary package make lacks "Multi-Arch: foreign"
declaration", thanks to Helmut Grohne (Closes: #693926).
* Bug fix: "make 3.82 breaks kernel module build: 'mixed implicit
and normal rules' in linux-headers-*", thanks to Dean Loros
(Closes: #635317).
* Bug fix: "please package upstream version 4.0", thanks to Andrew
Shadura (Closes: #734387).
* Bug fix: "optionally echo all commands, even if preceded with @",
thanks to Vincent Lefevre (Closes: #451092).
* Bug fix: ""Make is a HUGE memory hog"", thanks to Matthias
Klose (Closes: #342726).
Allows deprecated syntax. However we don't guarantee this syntax
will continue to be legal in the future.
Change suggested by David Boyce <david.s.boyce@gmail.com>
Signed-off-by: Manoj Srivastava <srivasta@golden-gryphon.com>
Conflicts:
NEWS
Expand the characters which are legal in a function name, and check
the name for validity. Create a type for the function pointer.
Convert the last argument from a boolean to flags, to allow for expansion.
function.c (IS_ABSOLUTE) [__CYGWIN__]: Special definition for Cygwin.
(abspath) [__CYGWIN__]: Reset root_len to 1 if the absolute file name
has the Posix /foo/bar form.
[HAVE_DOS_PATHS]: Use root_len instead of hard-coded 2.
Don't dup stdout into stderr in the test suite.
Don't rely on $port_type eq "UNIX" to mean case-preserving.
Check against the real output of ar when creating archives.