[Goodies-dev] [Bug 11477] New: build failure on x32: #include <sys/sysctl.h>

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Sat Jan 24 22:11:40 CET 2015


https://bugzilla.xfce.org/show_bug.cgi?id=11477

            Bug ID: 11477
           Summary: build failure on x32: #include <sys/sysctl.h>
    Classification: Panel Plugins
           Product: Xfce4-netload-plugin
           Version: unspecified
          Hardware: PC (x86_64)
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: General
          Assignee: frivoal at xfce.org
          Reporter: kilobyte at angband.pl
        QA Contact: goodies-dev at xfce.org

Created attachment 5878
  --> https://bugzilla.xfce.org/attachment.cgi?id=5878&action=edit
patch dropping the bad #include

Building the plugin fails with:
/usr/include/x86_64-linux-gnux32/bits/sysctl.h:19:3: error: #error "sysctl
system call is unsupported in x32 kernel"

This include is useless and can be removed.  This syscall has been strongly
deprecated for ages and the plugin doesn't use it any more.  On old
architectures, this include is benign as long as it's unused, on new ones (such
as x32) it results in a build failure.

Trivial patch attached.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.


More information about the Goodies-dev mailing list