[Syslog-ng-maintainers] Bug#885248: syslog-ng: FTBFS on hurd-i386: typos in get_path_max
Aaron M. Ucko
ucko at debian.org
Tue Dec 26 03:43:34 GMT 2017
Source: syslog-ng
Version: 3.13.2-1
Severity: important
Tags: upstream
Justification: fails to build from source (but built successfully in the past)
Builds of syslog-ng for hurd-i386 (admittedly not a release
architecture) have been failing lately:
/<<PKGBUILDDIR>>/debian/build-tree/../../modules/affile/directory-monitor.c: In function 'get_path_max':
/<<PKGBUILDDIR>>/debian/build-tree/../../modules/affile/directory-monitor.c:87:11: error: 'pathmax' undeclared (first use in this function); did you mean 'path_max'?
pathmax++;
^~~~~~~
path_max
/<<PKGBUILDDIR>>/debian/build-tree/../../modules/affile/directory-monitor.c:87:11: note: each undeclared identifier is reported only once for each function it appears in
/<<PKGBUILDDIR>>/debian/build-tree/../../modules/affile/directory-monitor.c:126:1: error: invalid storage class for function '_get_real_path'
[...]
It's great that directory-monitor.c already attempts to accommodate
systems like the Hurd with no fixed PATH_MAX, but there are a couple
of typos in the relevant code. Please try removing the unbalanced
(and unneeded) { on line 65 and fixing the spelling of path_max on
line 87.
Thanks!
--
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu
More information about the Syslog-ng-maintainers
mailing list