View Issue Details

IDProjectCategoryView StatusLast Update
0002404GNUnetportabilitypublic2012-11-05 18:34
Reporterbeberking Assigned ToChristian Grothoff  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Platformx86OSDebian/Hurd 
Product Version0.9.2 
Target Version0.9.4Fixed in Version0.9.4 
Summary0002404: Fails to build on GNU Hurd
DescriptionCurrently, gnunet fails to build from source on hurd-i386. See Debian bug #670794 [1].

Cyril Roelandt kindly provided 3 tiny patches against 0.9.2 to fix this issue, you'll find them on the Debian bug page.

Cheers,
Bertrand

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=670794
Tagspatch
Attached Files
01-configure-support-gnu.patch (724 bytes)   
--- gnunet-0.9.2.orig/configure.ac	2012-02-28 09:31:55.000000000 +0000
+++ gnunet-0.9.2/configure.ac	2012-05-27 23:46:57.000000000 +0000
@@ -159,6 +159,11 @@
      DLLDIR=bin
      UNIXONLY=""
      ;;
+gnu*)
+     AC_DEFINE_UNQUOTED(GNU,1,[This is a GNU system])
+     build_target="gnu"
+     UNIXONLY="#"
+     ;;
 *)
      AC_MSG_RESULT(Unrecognised OS $host_os)
      AC_DEFINE_UNQUOTED(OTHEROS,1,[Some strange OS])
@@ -180,6 +185,7 @@
 AM_CONDITIONAL(XFREEBSD, test "$build_target" = "freebsd")
 AM_CONDITIONAL(OPENBSD, test "$build_target" = "openbsd")
 AM_CONDITIONAL(LINUX, test "$build_target" = "linux")
+AM_CONDITIONAL(GNU, test "$build_target" = "gnu")
 
 AC_MSG_RESULT([$build_target])
 AC_SUBST(build_target)
02-include-sys-vfs-on-gnu.patch (331 bytes)   
--- gnunet-0.9.2.orig/src/util/disk.c	2012-02-28 15:16:52.000000000 +0000
+++ gnunet-0.9.2/src/util/disk.c	2012-05-27 19:39:43.000000000 +0000
@@ -51,7 +51,7 @@
 
 
 
-#if defined(LINUX) || defined(CYGWIN)
+#if defined(LINUX) || defined(CYGWIN) || defined(GNU)
 #include <sys/vfs.h>
 #else
 #if defined(SOMEBSD) || defined(DARWIN)
03-include-net-if-on-gnu.patch (325 bytes)   
--- gnunet-0.9.2.orig/src/include/platform.h	2012-02-28 09:20:21.000000000 +0000
+++ gnunet-0.9.2/src/include/platform.h	2012-05-27 19:45:04.000000000 +0000
@@ -146,7 +146,7 @@
 #include <semaphore.h>
 #include <net/if.h>
 #endif
-#ifdef LINUX
+#if defined(LINUX) || defined(GNU)
 #include <net/if.h>
 #endif
 #ifdef SOLARIS

Activities

Christian Grothoff

2012-06-04 11:32

manager   ~0006000

Applied in SVN 21750, 21751 and 21752 respectively. Thanks!

Christian Grothoff

2012-06-04 11:33

manager   ~0006001

Final note: we would welcome a GNU/Hurd buildbot in our farm ;-).

Issue History

Date Modified Username Field Change
2012-06-03 13:21 beberking New Issue
2012-06-03 15:17 beberking Tag Attached: patch
2012-06-03 15:17 beberking File Added: 01-configure-support-gnu.patch
2012-06-03 15:17 beberking File Added: 02-include-sys-vfs-on-gnu.patch
2012-06-03 15:18 beberking File Added: 03-include-net-if-on-gnu.patch
2012-06-04 11:32 Christian Grothoff Note Added: 0006000
2012-06-04 11:33 Christian Grothoff Note Added: 0006001
2012-06-04 11:33 Christian Grothoff Status new => resolved
2012-06-04 11:33 Christian Grothoff Fixed in Version => 0.9.4
2012-06-04 11:33 Christian Grothoff Resolution open => fixed
2012-06-04 11:33 Christian Grothoff Assigned To => Christian Grothoff
2012-06-04 11:33 Christian Grothoff Target Version => 0.9.4
2012-11-05 18:34 Christian Grothoff Status resolved => closed