Bug#875331: r-cran-dotcall64: FTBFS on hurd-i386: PATH_MAX undeclared

Aaron M. Ucko ucko at debian.org
Sun Sep 10 18:48:28 UTC 2017


Source: r-cran-dotcall64
Version: 0.9.04-1
Severity: important
Tags: upstream
Justification: fails to build from source

The build of r-cran-dotcall64 for hurd-i386 (admittedly not a release
architecture) failed:

  dotCall64.c:88:19: error: 'PATH_MAX' undeclared (first use in this function); did you mean 'INT8_MAX'?

The Hurd has no hard PATH_MAX.  Best practice is to substitute
pathconf(_PC_PATH_MAX), which can in turn entail allocating more
buffers dynamically.  Alternatively, you can supply a fallback
constant definition, typically 4096.

Could you please take a look?

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 debian-science-maintainers mailing list