[pkg-tasktools] Bug#829626: tasksh: FTBFS on hurd-i386: 'PATH_MAX' was not declared in this scope
Aaron M. Ucko
amu at alum.mit.edu
Mon Jul 4 19:23:59 UTC 2016
Source: tasksh
Version: 1.0.0-1
Severity: important
Justification: fails to build from source
The hurd-i386 build of tasksh failed:
/«PKGBUILDDIR»/src/Directory.cpp:166:12: error: 'PATH_MAX' was not declared in this scope
char buf[PATH_MAX];
This is a common portability issue on the Hurd, which imposes no hard
limit here. IIRC, the usual fix is to add a conditional definition:
#ifndef PATH_MAX
# define PATH_MAX 4096
#endif
Could you please take a look?
Thanks!
More information about the pkg-tasktools-discuss
mailing list