Fwd: Bug#778790: glusterfs: FTBFS on new archs: #includes sysctl.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hola,

especially to Niels :)
I just get this about the 3.6.2 version.


-------- Weitergeleitete Nachricht --------
Betreff: Bug#778790: glusterfs: FTBFS on new archs: #includes sysctl.h
Weitersenden-Datum: Sat, 28 Feb 2015 00:18:01 +0000
Weitersenden-Von: Adam Borowski <kilobyte@xxxxxxxxxx>
Weitersenden-An: debian-bugs-dist@xxxxxxxxxxxxxxxx
Weitersenden-CC: Patrick Matthäi <pmatthaei@xxxxxxxxxx>
Datum: Sat, 28 Feb 2015 01:15:23 +0100
Von: Adam Borowski <kilobyte@xxxxxxxxxx>
Antwort an: Adam Borowski <kilobyte@xxxxxxxxxx>, 778790@xxxxxxxxxxxxxxx
An: Patrick Matthäi <pmatthaei@xxxxxxxxxx>
Kopie (CC): 778790@xxxxxxxxxxxxxxx


On Fri, Feb 27, 2015 at 03:28:50PM +0100, Patrick Matthäi wrote:
> Am 19.02.2015 um 23:00 schrieb Adam Borowski:
> >The sysctl(2) syscall isn't used by glusterfs on Linux on runtime (it would
> >spam syslog if called), so it's safe to remove its header.  The attached
> >patch does this.
> 
> are you also able to reproduce this with 3.6.2-1 from experimental?

Yes, although the patch I provided didn't apply.  Here's a new one, for the
experimental version.  Besides making it fit in the new context, I also
changed the condition to defined(CTL_KERN) to match the block where sysctl
is actually used.  Per the comment, /* DARWIN and *BSD */, it's equivalent
to the old version.

-- 
// If you believe in so-called "intellectual property", please immediately
// cease using counterfeit alphabets.  Instead, contact the nearest temple
// of Amon, whose priests will provide you with scribal services for all
// your writing needs, for Reasonable and Non-Discriminatory prices.



--- glusterfs-3.6.2/xlators/mount/fuse/src/fuse-helpers.c~	2015-01-21 13:10:24.000000000 +0100
+++ glusterfs-3.6.2/xlators/mount/fuse/src/fuse-helpers.c	2015-02-28 00:51:14.653040406 +0100
@@ -17,7 +17,7 @@
 #include <sys/types.h>
 #include <libutil.h>
 #include <sys/user.h>
-#else
+#elif defined(CTL_KERN)
 #include <sys/sysctl.h>
 #endif
 

_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-devel

[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux