Source: redis Version: 4:4.0.2-7 Severity: important Tags: upstream Justification: fails to build from source (but built successfully in the past) User: debian-hurd@lists.debian-org Usertags: hurd-i386
Builds of redis for hurd-i386 (admittedly not a release architecture) have been failing lately: rdb.c:990:14: error: 'MAXPATHLEN' undeclared (first use in this function); did you mean 'LUA_PATHSEP'? The Hurd famously has no static MAXPATHLEN or PATH_MAX. You should be able to avoid needing them by (conditionally) substituting the GNU extension get_current_dir_name for getcwd, bearing in mind that you'll need to free() the resulting pointer when done with it, or by looking up _PC_PATH_MAX via pathconf. 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/?a...@monk.mit.edu