-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
When I try to build (with automake 1.18.1), I get:
automake: warnings are treated as errors
Makefile.am:82: warning: escaping \# comment markers is not portable
Makefile.am: installing 'build-aux/depcomp'
autoreconf: error: automake failed with exit status: 1
As of automake 1.17 (2024-07-11):
- Variables using escaped \# will trigger portability warnings, but be
retained when appended. GNU Make & BSD Makes are known to support it.
(bug#7610)
configure.ac has:
AM_INIT_AUTOMAKE([1.11 check-news dist-xz foreign silent-rules subdir-objects
-Wall -Werror])
Makefile.am has:
tests/data/acls/val\#id tests/data/acls/val.id \
The result of this combination is that the build fails. (Note that I haven't actually tested 1.17, but the error message, Makefile.am line, and NEWS entry seem very suggestive.)
The obvious approaches to me are:
- Drop that test file
- Figure out some other escaping scheme (the automake commit says "POSIX does not provide any way of retaining the # marker in variables." so I'm not sure there is one?)
- drop
-Wall -Werror(possibly by ignoring whatever the relevant warning type is, or removing-Werror)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels