Commit graph

31 commits

Author SHA1 Message Date
Manoj Srivastava
484dd2fed4
bug(race): Disable inheritance of jobserver FDs for recursive make
Closes: #963335

Signed-off-by: Manoj Srivastava <srivasta@debian.org>
2020-06-30 00:58:56 -07:00
Manoj Srivastava
cd6a65e8b8
fix(includes) Fix ordering if include dirs
There has been a long standind bug where INCLUDE_DIRS /usr/include is
included twice.  The more important problem is it is before the
/usr/local/include. This commit fixes the ordering. So now
/usr/local/include comes before /usr/include, which it should, but
this is a change in behaviour.

Closes: #493523

Signed-off-by: Manoj Srivastava <srivasta@debian.org>
2020-06-05 19:02:00 -07:00
Manoj Srivastava
f92a9948a9
fix(links): Fix broken symlinks
Bug fix: "Broken symlinks: /usr/bin/gmake,
/usr/share/man/man1/gmake.1.gz", thanks to Peter Wienemann
I forgot that we must use absolute pathnames,

Closes: #961860

Signed-off-by: Manoj Srivastava <srivasta@debian.org>
2020-06-04 22:01:29 -07:00
Manoj Srivastava
522734144b
feat(new): New upstream version
This is a new upstream minor version of Make. There are a few backward
incompatible changes.

Signed-off-by: Manoj Srivastava <srivasta@debian.org>
2020-05-20 17:42:53 -07:00
Manoj Srivastava
3b423d83e8 [master]: Ack NMUs, no actual changes here.
Signed-off-by: Manoj Srivastava <srivasta@debian.org>
2020-05-03 18:56:07 -07:00
Manoj Srivastava
e3cbc89ac8
[master]: New upstream release.
Signed-off-by: Manoj Srivastava <srivasta@debian.org>
2018-02-12 16:37:42 -08:00
Manoj Srivastava
44a6217c26
[master]: NMU to ensure the stack limit is reset when make re-execs itself.
Signed-off-by: Manoj Srivastava <srivasta@debian.org>
2018-02-12 14:53:15 -08:00
Manoj Srivastava
e4f294d58a
[document-jobserver-fds]: Reword the manual page
While the wording included in the manual page was not verbatim copying
from the source material, it was perhaps not distinct enough. The
manual page is not a copy/edit of the source material anymore, being
rewritten using different words and flow.

Signed-off-by: Manoj Srivastava <srivasta@debian.org>
2016-03-11 17:31:29 -08:00
Manoj Srivastava
1794349e4a
[master]: Document jobserver implementation
Update the man page with details on the internal --jobserver-fds
 option, and the jobserver pipe used to handle -j correctly in
 recursive make invocations.

 Based on details gleaned from:
 http://make.mad-scientist.net/papers/jobserver-implementation/

  forwarded this bug to upstream bug reporting system.
  (Closes: #781416).

Signed-off-by: Manoj Srivastava <srivasta@debian.org>
2016-03-11 14:19:32 -08:00
Manoj Srivastava
d23f13df1c
[master]: Cherry pick fix from upstream
Bug fix: "-q fails for recursive makes", thanks to David Bremner
 (Closes: #766140).

Signed-off-by: Manoj Srivastava <srivasta@debian.org>
2016-03-09 16:11:41 -08:00
Manoj Srivastava
1ff168fdf4
Satisfiable cross build dependencies
libbsd-resource-perl is only needed for running tests.  Bug fix:
"make-dfsg has unsatisfiable cross build dependendencies in a
bootstrap setting: libbsd-resource-perl", thanks to Helmut Grohne
(Closes: #812725).

Signed-off-by: Manoj Srivastava <srivasta@debian.org>
2016-02-14 21:15:41 -08:00
Manoj Srivastava
db65ba64e9
Reduce max open FDs during fail fopen testing
While increasing the timeout is a solution, it still did not work for
the slower architectures. Reducing the maximum open file descriptor
limits (only while testing) to try and get the the time under control.

Signed-off-by: Manoj Srivastava <srivasta@debian.org>
2016-01-23 16:10:42 -08:00
Manoj Srivastava
5acd74f0dd
[master]: Increase fopen fail test timeout
Make has a test where we Recurse infinitely until we run out of open
files, and ensure we fail with a non-zero exit code., On some machines
the default time out was inadequate, since the test did not run till
conclusion. Doubling it did not have any effect. Quadrupling the
timeout worked.

Signed-off-by: Manoj Srivastava <srivasta@debian.org>
2016-01-22 02:01:16 -08:00
Manoj Srivastava
ec29ef9688
[master]L Handle NULL retirns from ttyname
Cherry pick a fix from upstream

Signed-off-by: Manoj Srivastava <srivasta@debian.org>
2016-01-22 00:37:52 -08:00
Manoj Srivastava
f8a4b24632 [master]: Redo the handling of changed ar behaviour
Also added a NEWS file, since there is a change in the behaviour of
ar, and thus make.

Signed-off-by: Manoj Srivastava <srivasta@debian.org>
2016-01-18 16:11:09 -08:00
Manoj Srivastava
0e15d5c2e7 Merge remote-tracking branch 'refs/remotes/dgit/dgit/sid' into dgit/sid 2016-01-16 23:54:15 -08:00
Manoj Srivastava
7e054fba25 [master]: Fixes for backwards incompatible ar behaviour
It looks like the ar program in the binutils package in debian is now
configured with --enable-deterministic-archives. However, when dealing
with archive members, make needs the timestamp of the file in order to
decide to update it or not. With the current deterministic behavior of
ar, the timestamp is always 0. This change in ar introduced a behavior
that is not backward compatible and forces the use of the option U

make fails to build, failing 7 out of 10 archive tests.Since make seems
t depend on timestamps to handle rebuilds of archives correctly, it
makes sense to always pass on the -U flag, and depend on a version of ar
that supports it.

Should this U option be included in a Makefile, older versions of ar
would reject it and fail.

Signed-off-by: Manoj Srivastava <srivasta@debian.org>
2016-01-16 22:44:57 -08:00
Manoj Srivastava
8e9d488f79 [master]: Make the binary packages M-A: Allowed
From: Helmut Grohne
it is doubtful wheter we can actually go
m-a:foreign. soon someone will come along and point out that the
"load" directive is not architecture agnosting and he'd be right.

the advantages are:
1) it's trivial to implement
2) after (cross)build-essential depends on make:any a large swath of
   things will just work
3) it's something that works today.

the single downside is that if we ever determine that m-a:foreign is
better, the move will be a bit painful.

Signed-off-by: Manoj Srivastava <srivasta@debian.org>
2016-01-16 02:43:45 -08:00
Manoj Srivastava
c6229f2395 [master]: Demote the make packages priorities
make is now priority optional, along with gcc, floex and
bison. make-guile, which conflicts with it, is now priority extra.

Bug fix: "Neither make nor make-guile should be standard", thanks to
Josh Triplett (Closes: #761301).

Bug fix: "make instead of make-guile should be standard", thanks to
Joey Hess (Closes: #762017).

Signed-off-by: Manoj Srivastava <srivasta@debian.org>
2016-01-16 02:43:41 -08:00
Manoj Srivastava
2b2890cdcc [master]: Fix manpage typos
Bug fix: "Typos in manpage", thanks to Josh Triplett
   (Closes: #763147).

Signed-off-by: Manoj Srivastava <srivasta@debian.org>
2016-01-16 02:43:38 -08:00
Manoj Srivastava
6592ff6f78 [master]: Packaging cleanups.
Signed-off-by: Manoj Srivastava <srivasta@debian.org>
2016-01-16 02:43:25 -08:00
Manoj Srivastava
c90659504c [master]: Remove the new build directories.
Signed-off-by: Manoj Srivastava <srivasta@debian.org>
2016-01-16 02:24:59 -08:00
Aurelien Jarno
9be19177b4 make-dfsg (4.0-8.2) unstable; urgency=medium
* Non-maintainer upload.
  * Use a wrapper in the testsuite for ar to force it to not run in
    deterministic mode (Closes: #782750).

# imported from the archive
2015-08-25 11:05:48 -07:00
Manoj Srivastava
c1761a6862 [master]: Set fopen-fail timeout to 300
Update the timeout for the fopen fail test to 300 seconds, since the
test was taking longer than the default 5 seconds to run. The root
cause was discovered by Víctor M. Jáquez L. (Closes: #748657)
2014-06-13 16:13:45 -07:00
Manoj Srivastava
84dcee71fb [master]: A new bug fixing version
* There is an issue involving UTF-8 characters and the function
  find_char_unquote (read.c). The problem in the macro STOP_SET
  (makeint.h) where a character is converted to an int. Conversion to
  int is not correct. Characters with codes greater than 0x7f ( in
  particular in Cyrillic UTF- 8 ) into a large negative number. Thnks to
  the analysis from Юрий Матронов <ymuser@mail.ru>. This bug was
  independently reported and fixed upstream, so cherry picking that
  commit from upstream (which also comes with a test).
  (Closes: #747764).
* added a script that, given a list of targets, will build the first
  target that actually exists. Script created by Joey Hess.
  (Closes: #598534).

Signed-off-by: Manoj Srivastava <srivasta@golden-gryphon.com>
2014-05-13 18:56:19 -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
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
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
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