[Debian GNUstep maintainers] Bug#732642: gnustep-base: diff for NMU version 1.22.1-4.3

pino at debian.org pino at debian.org
Sat Jan 25 12:41:22 UTC 2014


tags 732642 + pending
thanks

Dear maintainer,

I've prepared an NMU for gnustep-base (versioned as 1.22.1-4.3) and
uploaded it to DELAYED/10. Please feel free to tell me if I
should delay it longer.

Regards.

diff -u gnustep-base-1.22.1/debian/changelog gnustep-base-1.22.1/debian/changelog
--- gnustep-base-1.22.1/debian/changelog
+++ gnustep-base-1.22.1/debian/changelog
@@ -1,3 +1,12 @@
+gnustep-base (1.22.1-4.3) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS on hurd-i386: provide MAXSYMLINKS (patch maxsymlinks.diff),
+    and disable the hanging test NSURL (patch hurd-ignore-NSURL-test.diff).
+    (Closes: #732642)
+
+ -- Pino Toscano <pino at debian.org>  Sat, 25 Jan 2014 13:27:48 +0100
+
 gnustep-base (1.22.1-4.2) unstable; urgency=low
 
   * Non-maintainer upload.
diff -u gnustep-base-1.22.1/debian/patches/series gnustep-base-1.22.1/debian/patches/series
--- gnustep-base-1.22.1/debian/patches/series
+++ gnustep-base-1.22.1/debian/patches/series
@@ -11,0 +12,2 @@
+maxsymlinks.diff
+hurd-ignore-NSURL-test.diff
only in patch2:
unchanged:
--- gnustep-base-1.22.1.orig/debian/patches/hurd-ignore-NSURL-test.diff
+++ gnustep-base-1.22.1/debian/patches/hurd-ignore-NSURL-test.diff
@@ -0,0 +1,21 @@
+Author: Pino Toscano <toscano.pino at tiscali.it>
+Description: skip/fail NSURL/test00.m right away
+ This test currently hangs on GNU/Hurd, so for now I am disabling it to allow
+ the rest of the test suite to run.
+Last-Update: 2014-01-25
+Forwarded: not-needed
+
+--- a/Tests/base/NSURL/test00.m
++++ b/Tests/base/NSURL/test00.m
+@@ -19,6 +19,11 @@ int main()
+   NSString		*helpers;
+   NSString		*capture;
+   NSString		*respond;
++
++#ifdef __GNU__
++  fprintf(stderr, "FAIL: hangs on GNU/Hurd, ignored for now\n");
++  return 1;
++#endif
+   
+   helpers = [[NSFileManager defaultManager] currentDirectoryPath];
+   helpers = [helpers stringByAppendingPathComponent: @"Helpers"];
only in patch2:
unchanged:
--- gnustep-base-1.22.1.orig/debian/patches/maxsymlinks.diff
+++ gnustep-base-1.22.1/debian/patches/maxsymlinks.diff
@@ -0,0 +1,22 @@
+Author: Pino Toscano <toscano.pino at tiscali.it>
+Description: Provide MAXSYMLINKS if not available
+ Define MAXSYMLINKS using sysconf if not already defined.
+ .
+ Apparently stringByResolvingSymlinksInPath reimplements realpath when PATH_MAX
+ is not defined, instead of e.g. using the POSIX.1-2008 behaviour of realpath.
+ Maybe it could be more worth to do that, as it could avoid using PATH_MAX too.
+Last-Update: 2014-01-25
+Forwarded: not-needed
+
+--- a/Source/NSString.m
++++ b/Source/NSString.m
+@@ -4145,6 +4145,9 @@ static NSFileManager *fm = nil;
+   #undef        HAVE_REALPATH
+   #endif
+   #endif
++  #ifndef MAXSYMLINKS
++  #define MAXSYMLINKS sysconf(_SC_SYMLOOP_MAX)
++  #endif
+   char		newBuf[PATH_MAX];
+ #ifdef HAVE_REALPATH
+ 



More information about the pkg-GNUstep-maintainers mailing list