Package: remake / 4.1+dbg1.1+dfsg-1

Metadata

Package Version Patches format
remake 4.1+dbg1.1+dfsg-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 handle_excessive_command_length Patch to fix large c.patch | (download)

configure.ac | 3 2 + 1 - 0 !
job.c | 51 50 + 1 - 0 !
2 files changed, 52 insertions(+), 2 deletions(-)

 [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>

0002 Fix test issues with ar in deterministic mode.patch | (download)

tests/scripts/features/archives | 14 7 + 7 - 0 !
tests/scripts/targets/POSIX | 2 1 + 1 - 0 !
tests/test_driver.pl | 5 5 + 0 - 0 !
3 files changed, 13 insertions(+), 8 deletions(-)

 fix test issues with ar in deterministic mode

The ar program in the binutils package in Debian is now configured
with --enable-deterministic-archives. This change makes the archives
reproducible, by setting the UID, GID, and timestamp to 0. However,
when dealing with archives created with the libxx(*.o) style rules,
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 and make fails to build, failing 7 out of 10 archive
tests.Since make seems to depend on timestamps for this rule it makes
sense to always pass on the -U flag for the test suite

This commit makes the minimal changes to make the test suite pass
whether or not ar defaults to using deterministic mode.

There is some online discussion:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798804
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798913
https://bugzilla.redhat.com/show_bug.cgi?id=1195883

Signed-off-by: Manoj Srivastava <srivasta@debian.org>

0003 Make ar_member_date compatible with archives with ti.patch | (download)

ar.c | 33 25 + 8 - 0 !
commands.c | 5 4 + 1 - 0 !
dir.c | 7 5 + 2 - 0 !
make.h | 3 2 + 1 - 0 !
makeint.h | 2 1 + 1 - 0 !
remake.c | 7 3 + 4 - 0 !
6 files changed, 40 insertions(+), 17 deletions(-)

 make ar_member_date compatible with archives with timestamps set to 0

ar_scan() scanning function uses 0 to indicate that scanning should continue.
0004 Issue a warning when we detect a deterministic archi.patch | (download)

remake.c | 7 7 + 0 - 0 !
1 file changed, 7 insertions(+)

 issue a warning when we detect a "deterministic" archive

binutils will create archive with timestamps set to 0 when running in
"deterministic" mode. As make will always try to update such members,
let's notify users with a warning.

0005 main.c main SV 43434 Handle NULL returns from ttynam.patch | (download)

main.c | 15 10 + 5 - 0 !
makeint.h | 3 2 + 1 - 0 !
2 files changed, 12 insertions(+), 6 deletions(-)

 * main.c (main): [sv 43434] handle null returns from ttyname().


0006 Reinstate manpage. Document target option.patch | (download)

make.1 | 90 79 + 11 - 0 !
1 file changed, 79 insertions(+), 11 deletions(-)

 reinstate manpage. document --target option

Fixes issue #32