Howdy, Attached is a patch for gearmand to fix an FTBFS on PATH_MAX. Could you please take a look and if it looks sane I will submit to Debian.
Thanks! Barry
Index: gearmand-0.32/libtest/server.cc =================================================================== --- gearmand-0.32.orig/libtest/server.cc 2012-06-18 01:26:30.000000000 +0000 +++ gearmand-0.32/libtest/server.cc 2012-06-18 01:37:08.000000000 +0000 @@ -204,13 +204,20 @@ continue; } +#ifdef _GNU_SOURCE + char *getcwd_buf= get_current_dir_name(); +#else char buf[PATH_MAX]; char *getcwd_buf= getcwd(buf, sizeof(buf)); +#endif throw libtest::fatal(LIBYATL_DEFAULT_PARAM, "Unable to open pidfile in %s for: %s stderr:%s", getcwd_buf ? getcwd_buf : "", _running.c_str(), _app.stderr_c_str()); +#ifdef _GNU_SOURCE + free(getcwd_buf); +#endif } } }