GNU bug report logs - #33856
PATCH: switch to non-recursive makefile

Previous Next

Package: gzip;

Reported by: Assaf Gordon <assafgordon <at> gmail.com>

Date: Mon, 24 Dec 2018 08:04:02 UTC

Severity: wishlist

Tags: notabug

Full log


View this message in rfc822 format

From: Assaf Gordon <assafgordon <at> gmail.com>
To: 33856 <at> debbugs.gnu.org
Subject: bug#33856: PATCH: switch to non-recursive makefile
Date: Mon, 24 Dec 2018 01:03:29 -0700
[Message part 1 (text/plain, inline)]
Hello,

Attached first attempt at converting gzip to non-recursive makefile.

There's atleast one existing problem which I couldn't figure out:
"dist-check.mk" contains "build_programs =" statement
that is supposed to automatically generate list of programs.
Doesn't seem to work, resulting in:

$ make check
[...]
/bin/bash: line 2: bin_PROGRAMS: command not found
/bin/bash: line 2: @echo: command not found
[...]

and in failure of "tests/help-version":
===
$ make check TESTS=tests/help-version
[....]
+ test '$(echo spy:'
+ test 1.9.19-cfef
+ for i in $built_programs
++ env '$(echo' --version
++ sed -n '1s/.* //p;q'
env: '$(echo': No such file or directory
+ v=
+ break
+ test x = x1.9.19-cfef
+ fail_ '--version-$VERSION mismatch'
===

The "$(echo spy:" is result of incorrect "build_programs" execution
 (I think).

To be continued,
 - assaf

[0001-built-switch-to-non-recursive-make.patch.gz (application/gzip, attachment)]

This bug report was last modified 6 years and 172 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.