Commit graph

2294 commits

Author SHA1 Message Date
Manoj Srivastava
4251e3ef95 Merge branch 'backport-bug-fixes' 2014-05-13 17:01:25 -07:00
Paul Smith
4564714302 * makeint.h (STOP_SET): [SV 40371] Cast to unsigned char.
* tests/scripts/misc/utf8: Test variable names with characters >127.
Fix suggested by Robert Bogomip <bob.bogo@milohedge.com>
2014-05-13 16:48:14 -07:00
Manoj Srivastava
87c5013031 [master]: Build make-guile as an alternative for make
* Also create a new binary package, make-guile, which is identical to
  the make package, but has built in support for Guile a a programming
  langiage, and adds run time dependencies outside of libc.
  (Closes: #747615,  #747674).
* Bug fix #747615: "Please provide a version with Guile support
  enabled", thanks to Jose Antonio Ortega Ruiz
* Bug fix #747674: "undeterministic build due to missing configure
  arguments/build-conflicts", thanks to Bernhard R. Link

Signed-off-by: Manoj Srivastava <srivasta@golden-gryphon.com>
2014-05-11 22:43:12 -07:00
Manoj Srivastava
6536b40890 [master]: A new bug fixing release
* 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. There is a
  patch used by people to solve this (gentoo, etc). Adam Conrad has
  provided a patch to fix this.  (Closes: #688601).
* Pre-4.0 make had an memory corruption issue that caused repeated
  execution of a specific makefile to display the cirruption. Running
  with make 4.0 does not show the issue. (Closes: #682895).
* recently, the Multi-Arch: foreign tag was added toth make binary
  package.  Jakub Wilk pointed out that this is not correct, some of the
  make interfaces are actually architecture-dependent. Reverting that
  change.
* Bug fix #688601: "fails to execute extraordinarily long command
  lines", thanks to Daniel Stone
* Bug fix #682895: "incorrect variable handling and corruption", thanks
  to Tim Spriggs
2014-05-04 18:14:56 -07:00
Manoj Srivastava
c7a2f0b917 Merge branch 'handle_excessive_command_length' 2014-05-04 17:10:18 -07:00
Manoj Srivastava
407e2fb313 [handle_excessive_command_length]: Patch to fix large cmmand line
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>
2014-05-04 17:08:48 -07:00
Manoj Srivastava
150fbdd711 [master]: Move to unstable.
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>
2014-05-02 18:33:24 -07:00
Manoj Srivastava
6bcf932e3f [master]: Cherry pick upstream patch
Cherry pick upstream patch to Propagate correct rule status results.

Bug fix: "New make behaviour confuses dpkg-buildpackages&#39; test for
make targets" (Closes: #746443).
2014-05-01 22:14:36 -07:00
Manoj Srivastava
2ec11d798a Merge branch 'backport-bug-fixes' 2014-05-01 22:07:23 -07:00
Paul Smith
c2b96a5524 [SV 42249] Propagate correct rule status results.
* 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.
2014-05-01 22:06:57 -07:00
Manoj Srivastava
9ad3957dc4 [master]: Pull back some patches from upstream git that fix bugs.
* 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 &quot;Multi-Arch: foreign&quot;
  declaration", thanks to Helmut Grohne (Closes: #693926).
* Bug fix: "make 3.82 breaks kernel module build: &#39;mixed implicit
  and normal rules&#39; 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: "&quot;Make is a HUGE memory hog&quot;", thanks to Matthias
  Klose (Closes: #342726).
2014-04-29 00:01:25 -07:00
Manoj Srivastava
1641fa6671 Merge branch 'backport-bug-fixes' 2014-04-28 23:19:26 -07:00
Paul Smith
542e69a1f3 * job.c (set_child_handler_action_flags): [SV 41341]
Ensure signal handler is in place before alarm(1).
2014-04-28 23:19:00 -07:00
Alan Hourihane
a9cdb6855e * configure.ac: [SV 40790] Fix load autoconf variables.
Copyright-paperwork-exempt: yes
2014-04-28 23:18:28 -07:00
Paul Smith
06187745af * commands.c: [SV 40789] Remove unneeded header dlfcn.h 2014-04-28 23:17:48 -07:00
Daniel Richard G
2c64a077bd * load.c: [SV 40515] Define RTLD_GLOBAL if not set.
Copyright-paperwork-exempt: yes
2014-04-28 23:17:00 -07:00
Paul Smith
8a346f4b7c * read.c (record_files): [SV 33034] Change fatal() to error()
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
2014-04-28 23:15:55 -07:00
Paul Smith
13023618e5 [SV 40139] Modify "missing separator" for better translation 2014-04-28 23:13:17 -07:00
Manoj Srivastava
b5ba68e8f0 GNU Make release 4.0
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.12 (GNU/Linux)
 
 iEYEABECAAYFAlJU9CEACgkQlrBHFWM4ttRd+QCfRBoIgXCMw8oeH2ys/vgkL0NQ
 JW8Ani4g1INBsRANOYqDD/U1HoVzQgW5
 =30+D
 -----END PGP SIGNATURE-----

Merge tag '4.0' into upstream

GNU Make release 4.0
2014-04-17 15:13:45 -07:00
Manoj Srivastava
5a75938b2a [master]: New upstream version and a new build system.
Signed-off-by: Manoj Srivastava <srivasta@golden-gryphon.com>
2014-04-13 01:29:25 -07:00
Manoj Srivastava
75ace01961 Merge branch 'upstream'
Signed-off-by: Manoj Srivastava <srivasta@golden-gryphon.com>

Conflicts:
	configure.in
	remake.c
2014-04-13 01:06:03 -07:00
Manoj Srivastava
bab5ce525e Imported Upstream version 4.0 2014-04-13 01:03:46 -07:00
Manoj Srivastava
9f16fdb5ce Merge branch 'add-usr-local-lib-to-search-for-debian' 2014-04-13 00:40:57 -07:00
Manoj Srivastava
3898469116 Merge branch 'multiarch-patch' 2014-04-13 00:40:19 -07:00
Manoj Srivastava
147ab2de2e git-archimport-id: srivasta@debian.org--lenny/make-dfsg--debian--3.81--patch-3 2014-04-12 23:24:16 -07:00
Manoj Srivastava
1d865a1496 [topic--multi-arch]: NMU changes from Steve Langaseck to support multi-arch.
Signed-off-by: Manoj Srivastava <srivasta@debian.org>
2014-04-12 23:11:07 -07:00
Paul Smith
52191d9d61 GNU Make release 4.0. 2013-10-09 02:09:21 -04:00
Paul Smith
dc9ae5e017 [SV 39709] Fix some typos. 2013-10-09 01:53:55 -04:00
Eli Zaretskii
723e047428 Untabify posixfcn.c. 2013-10-07 19:16:11 +03:00
Eli Zaretskii
b69b04dc8c Foix compilation with MSVC.
w32/compat/posixfcn.c (tmpfile): Move declaration of h before
 the first executable statement.  Reported by Gisle Vanem <gvanem@yahoo.no>.
2013-10-07 19:14:01 +03:00
Paul Smith
b539908f73 Clean up some tests for use on Windows. 2013-10-05 19:30:48 -04:00
Paul Smith
2fb91e19a0 Sanitize the registered function interface.
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.
2013-10-05 16:10:30 -04:00
Eli Zaretskii
f96c114e22 function.c (abspath): Reset root_len to one for Cygwin only when
HAVE_DOS_PATHS is defined.  Suggested by Christopher Faylor.
2013-10-03 19:02:14 +03:00
Eli Zaretskii
98197303b1 Fix tmpfile on MS-Windows.
w32/compat/posixfcn.c (tmpfile): New function, a replacement for
 the Windows libc version.
2013-10-02 19:48:21 +03:00
Eli Zaretskii
f8786092ad Fix $abspath on Cygwin when HAVE_DOS_PATHS is in effect.
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.
2013-10-02 19:39:53 +03:00
Paul Smith
1d4c15b4e1 Release GNU Make version 3.99.93. 2013-10-01 00:33:01 -04:00
Paul Smith
b1c7f0df4e Fix portability issues for Guile 1.8. 2013-09-30 10:56:20 -04:00
Paul Smith
8e12202870 Final fixes for obscure output-sync errors. 2013-09-30 00:12:36 -04:00
Paul Smith
1f4ca0539b Fixes for building with MSVC. 2013-09-30 00:12:36 -04:00
Paul Smith
d0944ee2e8 Solaris /bin/sh can't handle multiple options ("-e -c"). 2013-09-30 00:12:18 -04:00
Paul Smith
38066b6f19 Fix build failures on EMX for output-sync support. 2013-09-29 13:17:56 -04:00
Paul Smith
3bf3fde984 Portability for Guile 1.8. Force UTF-8 encoding. 2013-09-29 13:16:21 -04:00
Paul Smith
543521cd47 Reset GNUMAKEFLAGS after parsing.
If we don't do this we'll continually add flags on recursion.  This
is mainly for users to set in their environment before invoking make.
2013-09-29 13:15:00 -04:00
Paul Smith
e8122ecb5d Rename dash-w to print-directory.
Avoid conflicts with dash-W on case-insensitive filesystems.
2013-09-23 11:24:51 -04:00
Eli Zaretskii
55a0c0e414 Fix broken w32 build due to OUTPUT_SYNC -> NO_OUTPUT_SYNC inversion.
w32/compat/posixfcn.c: Fix the forgotten OUTPUT_SYNC conditional.
 job.h: Ditto, but in a comment.
2013-09-23 10:56:51 +03:00
Paul Smith
8a3436c65d Release GNU Make version 3.99.92. 2013-09-23 00:55:55 -04:00
Paul Smith
fd30db1290 [SV 31155] Parse order-only tokens in second expansion results. 2013-09-22 17:10:35 -04:00
Paul Smith
c3524b83b9 Use explicit cast between void* and pointer-to-function. 2013-09-22 17:10:35 -04:00
Paul Smith
0296e40fc7 Allow loaded objects to opt out of the "auto-rebuild" feature. 2013-09-22 17:10:35 -04:00
Paul Smith
f69922b335 Defer Guile initialization until the first $(guile...) call. 2013-09-22 17:10:35 -04:00