[Gluster-devel] Fwd: Bug#778790: glusterfs: FTBFS on new archs: #includes sysctl.h

Patrick Matthäi pmatthaei at debian.org
Mon Feb 23 08:10:59 UTC 2015


please see below.

-------- Weitergeleitete Nachricht --------
Betreff: 	Bug#778790: glusterfs: FTBFS on new archs: #includes sysctl.h
Weitersenden-Datum: 	Thu, 19 Feb 2015 22:03:02 +0000
Weitersenden-Von: 	Adam Borowski <kilobyte at angband.pl>
Weitersenden-An: 	debian-bugs-dist at lists.debian.org
Weitersenden-CC: 	Patrick Matthäi <pmatthaei at debian.org>
Datum: 	Thu, 19 Feb 2015 23:00:05 +0100
Von: 	Adam Borowski <kilobyte at angband.pl>
Antwort an: 	Adam Borowski <kilobyte at angband.pl>, 778790 at bugs.debian.org
An: 	Debian Bug Tracking System <submit at bugs.debian.org>

Package: glusterfs
Version: 3.5.2-1
Severity: wishlist
Tags: patch
User: debian-x32 at lists.debian.org
Usertags: port-x32 ftbfs-x32

I'm afraid that glusterfs fails to build on new architectures.  This is
caused by deprecated #include <sysctl.h>, which compiles successfully on
old architectures, but on new archs like x32, contains nothing but a #error
with an explanatory message.

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.

-- System Information:
Debian Release: 8.0
   APT prefers unstable
   APT policy: (600, 'unstable'), (500, 'unreleased'), (50, 'experimental')
Architecture: x32 (x86_64)

Kernel: Linux 3.19.0-x32 (SMP w/6 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-devel/attachments/20150223/95edfe3c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no-sysctl-on-linux.patch
Type: text/x-diff
Size: 581 bytes
Desc: not available
URL: <http://www.gluster.org/pipermail/gluster-devel/attachments/20150223/95edfe3c/attachment.bin>

More information about the Gluster-devel mailing list