<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=windows-1252">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    <br>
    please see below.<br>
    <div class="moz-forward-container"><br>
      <br>
      -------- Weitergeleitete Nachricht --------
      <table class="moz-email-headers-table" border="0" cellpadding="0"
        cellspacing="0">
        <tbody>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Betreff:
            </th>
            <td>Bug#778790: glusterfs: FTBFS on new archs: #includes
              sysctl.h</td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Weitersenden-Datum:
            </th>
            <td>Thu, 19 Feb 2015 22:03:02 +0000</td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Weitersenden-Von:
            </th>
            <td>Adam Borowski <a class="moz-txt-link-rfc2396E" href="mailto:kilobyte@angband.pl">&lt;kilobyte@angband.pl&gt;</a></td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Weitersenden-An:
            </th>
            <td><a class="moz-txt-link-abbreviated" href="mailto:debian-bugs-dist@lists.debian.org">debian-bugs-dist@lists.debian.org</a></td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Weitersenden-CC:
            </th>
            <td>Patrick Matthäi <a class="moz-txt-link-rfc2396E" href="mailto:pmatthaei@debian.org">&lt;pmatthaei@debian.org&gt;</a></td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Datum: </th>
            <td>Thu, 19 Feb 2015 23:00:05 +0100</td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Von: </th>
            <td>Adam Borowski <a class="moz-txt-link-rfc2396E" href="mailto:kilobyte@angband.pl">&lt;kilobyte@angband.pl&gt;</a></td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Antwort
              an: </th>
            <td>Adam Borowski <a class="moz-txt-link-rfc2396E" href="mailto:kilobyte@angband.pl">&lt;kilobyte@angband.pl&gt;</a>,
              <a class="moz-txt-link-abbreviated" href="mailto:778790@bugs.debian.org">778790@bugs.debian.org</a></td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">An: </th>
            <td>Debian Bug Tracking System
              <a class="moz-txt-link-rfc2396E" href="mailto:submit@bugs.debian.org">&lt;submit@bugs.debian.org&gt;</a></td>
          </tr>
        </tbody>
      </table>
      <br>
      <br>
      <pre>Package: glusterfs
Version: 3.5.2-1
Severity: wishlist
Tags: patch
User: <a class="moz-txt-link-abbreviated" href="mailto:debian-x32@lists.debian.org">debian-x32@lists.debian.org</a>
Usertags: port-x32 ftbfs-x32

Hi!
I'm afraid that glusterfs fails to build on new architectures.  This is
caused by deprecated #include &lt;sysctl.h&gt;, 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)

</pre>
      <br>
    </div>
    <br>
  </body>
</html>