Source: sharutils Version: 1:4.13.5-1 Severity: important Tags: patch User: [email protected] Usertags: hurd Control: forwarded -1 [email protected]
Hi, sharutils 4.13.5 [1] does not build on GNU/Hurd. The problem is the definition of MAXPATHLEN done in libopts (embedded copy of part of autogen's code) if not defined already, which is not suitable for use in preprocessors conditions, as in autoopts.h: # if defined(PATH_MAX) && (PATH_MAX > MAXPATHLEN) I just reported the issue to [email protected] (although it most probably is still in moderation, so not appearing in archives yet) with a patch for autogen. In the meanwhile, attached there is a patch for sharutils, which is the same fix I sent for autogen but applied to the local copy in sharutils. [1] https://buildd.debian.org/status/fetch.php?pkg=sharutils&arch=hurd-i386&ver=1%3A4.13.5-1&stamp=1381663210 Thanks, -- Pino
--- a/libopts/compat/compat.h +++ b/libopts/compat/compat.h @@ -237,7 +237,7 @@ #endif #if !defined (MAXPATHLEN) -# define MAXPATHLEN ((size_t)4096) +# define MAXPATHLEN 4096 #endif /* MAXPATHLEN */ #define AG_PATH_MAX ((size_t)MAXPATHLEN)

