Bug#686267: xplc: FTBFS on hurd-i386
Source: xplc Version: 0.3.13-3 Severity: important Tags: patch Usertags: hurd User: debian-h...@lists.debian.org Hi, xplc fails to build due to PATH_MAX issues. The attached patch solves this problem by using dynamic allocation of the needed strings. It also adds inclusion of two header files needed. These are checked for in the configure script already. Thanks! --- a/xplc/modulemgr.cpp 2004-09-30 23:09:54.0 +0200 +++ b/xplc/modulemgr.cpp 2012-08-30 20:43:10.0 +0200 @@ -29,6 +29,12 @@ #ifdef HAVE_STDINT_H # include #endif +#ifdef HAVE_STDLIB_H +# include +#endif +#ifdef HAVE_STRING_H +# include +#endif #ifdef HAVE_LIMITS_H # include #endif @@ -83,7 +89,8 @@ #if !defined(WIN32) DIR* dir; struct dirent* ent; - char fname[PATH_MAX]; + char *fname = NULL; + int len = 0; IServiceManager* servmgr = XPLC_getServiceManager(); IModuleLoader* loader; ModuleNode* modules = 0; @@ -106,7 +113,10 @@ while((ent = readdir(dir))) { IModule* module; -snprintf(fname, PATH_MAX, "%s/%s", directory, ent->d_name); +len = strlen(directory) + 1 + strlen(ent->d_name) + 1; +free(fname); +fname = (char*)malloc(len); +snprintf(fname, len, "%s/%s", directory, ent->d_name); module = loader->loadModule(fname); if(module) { @@ -117,6 +127,7 @@ } } + free(fname); loader->release(); closedir(dir);
Bug#651749: spread: FTBFS on hurd-i386
Source: spread Version: 3.17.4-3 Severity: important Tags: patch User: debian-h...@lists.debian.org Usertags: hurd Hi, inlined below is a temporary workaround for spread to build on GNU/Hurd in case somebody has interest to NMU it. This package is currently orphaned, but an adopter has announced interest in packaging version 4.1.0, see #489314. Furthermore, the package has unclear licensing terms, see #639916. So until the above problems are resolved there is no idea to spend on creating a proper patch for this old software. --- spread-3.17.4/sp.c 2011-12-11 18:42:13.0 +0100 +++ spread-3.17.4.modified/sp.c 2011-12-11 21:39:34.0 +0100 @@ -82,6 +82,10 @@ void*auth_data; }; +#ifndef MAXHOSTNAMELEN +#define MAXHOSTNAMELEN 64 +#endif + /* length of spread_name connect field is limited to 5 digit port # + '@' + hostname */ #define SPREAD_MAXCONNECT_NAMELEN MAXHOSTNAMELEN + 6 -- To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1323637178.7231.48.ca...@hp.my.own.domain
Bug#747672: Dropping patch
Hi Sean, On Wed, 2016-06-22 at 14:32 +0900, Sean Whitton wrote: > control: found -1 burp/1.4.40-1 > > Dear Svante, > > Although the burp 1.4.40 test suite passes with this patch applied, > upstream reports that the 2.0.x series test suite finds a problem. The > patch causes this problem when applied to burp 1.4.40, even though the > older test suite passes. > > Since this is an old bug, I am preparing a QA upload to drop the patch > for now. ... > > As you can see, get_lock() has three different return codes that mean > > different things. > > If you check 'man 2 flock', you will see that flock() will never set errno > > to EACCES or EAGAIN. This means that get_lock() will never detect the > > difference between a lock existing, or some error. > Thanks to Graham for letting me reproduce this explanation. Explanation understood and appreciated! You did the right thing to remove that patch, and reopen the bug. GNU/Hurd will soon have lockf support too. However, the testsuite fails, sometimes also with the lock.patch applied, ending with: Test 3 Third backup/restore comparison, with changes Killing test server Since the testsuite is run by scripts it is difficult to find out the cause using gdb. Is there some simple way to set a breakpoint to debug this issue? Thanks!
Bug#738644: prelink: FTBFS on hurd-i386
Source: prelink Version: 0.0.20090925-8 Severity: important Tags: patch User: debian-h...@lists.debian.org Usertags: hurd Hi, Currently prelink fails to build on GNU/Hurd due to a missing definition of MAXSYMLINKS. The attached patch solves this problem by calling sysconf at runtime to define it. --- a/src/canonicalize.c 2006-08-13 17:18:17.0 +0200 +++ b/src/canonicalize.c 2014-02-04 12:19:05.0 +0100 @@ -100,6 +100,9 @@ canon_filename (const char *name, int ne if (path_max <= 0) path_max = 1024; #endif +#ifndef MAXSYMLINKS + #define MAXSYMLINKS sysconf(_SC_SYMLOOP_MAX) +#endif rpath = malloc (path_max); if (rpath == NULL)
Bug#747528: ffe: FTBFS on hurd-i386
Source: ffe Version: 0.3.4-1 Severity: important Tags: patch User: debian-h...@lists.debian.org Usertags: hurd Hi, Currently xdebug fails to build from source due to that the flag SA_NOCLDWAIT is not supported on GNU/Hurd. According to the manpage for sigaction this is Linux-specific and was introduced in the 2.6 series. The attached patch fixes this problem by defining SA_NOCLDWAIT to zero when not defined. Thanks! --- a/src/ffe.c 2014-03-26 11:57:46.0 +0100 +++ b/src/ffe.c 2014-05-09 16:18:38.0 +0200 @@ -898,6 +898,9 @@ char *field_list = NULL; #ifdef HAVE_SIGACTION +#ifndef SA_NOCLDWAIT +#define SA_NOCLDWAIT 0 +#endif struct sigaction act; sigemptyset(&act.sa_mask); act.sa_handler = SIG_IGN;
Bug#747528: Correct typo
Of course the text should read: Currently ffe fails to build from source ... -- To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/1399710614.2096.52.camel@PackardBell-PC
Bug#801604: snd: FTBFS on hurd-i386
Source: snd Version: 11.7-4 Severity: important Tags: patch Usertags: hurd User: debian-h...@lists.debian.org Hello, Currently snd FTBFS on GNU/Hurd. This is partly due to a missing condition for the GNU system in configure.ac: *-*-hurd*) should read *-*-gnu*). Additionally the JACK audio system case does also need to be treated. Attached is an updated 06-hurd.diff file enabling a successful build. Thanks! --- configure.ac | 25 + 1 file changed, 25 insertions(+) Index: snd-11.7/configure.ac === --- snd-11.7.orig/configure.ac +++ snd-11.7/configure.ac @@ -1684,6 +1684,36 @@ case "$host" in ;; esac ;; +*-*-gnu*) +LDSO_FLAGS="-shared" +LIBS="$LIBS -lm" +if test "$ac_cv_header_dlfcn_h" = yes ; then + LDFLAGS="$LDFLAGS -ldl" +fi +if test "$GCC" = yes ; then + SO_FLAGS="-fPIC $SO_FLAGS" +fi + +AUDIO_SYSTEM=OSS + +if test "$with_jack" = yes ; then + if test "$with_oss" != yes ; then + AUDIO_SYSTEM=JACK + fi +fi + + case $AUDIO_SYSTEM in + JACK) + AC_DEFINE(HAVE_JACK_IN_LINUX) + AC_DEFINE(HAVE_OSS) + AUDIO_LIB="-lsamplerate" + ;; + OSS) +AC_DEFINE(HAVE_OSS) +AUDIO_SYSTEM=OSS +;; +esac +;; *-*-sunos4*) AC_DEFINE(MUS_SUN) LIBS="$LIBS -lm"