← Back to team overview

kernel-packages team mailing list archive

[Bug 1592930] Re: failures building userspace packages that include ethtool.h

 

FYI - hit the same when building openvswitch in an yakkety sbuild env

In file included from ../lib/netdev-linux.c:30:0:
/usr/include/linux/ethtool.h: In function ‘ethtool_validate_speed’:
/usr/include/linux/ethtool.h:1321:18: error: ‘INT_MAX’ undeclared (first use in this function)
  return speed <= INT_MAX || speed == SPEED_UNKNOWN;
                  ^

Please beg a pardon if I miss a point, but what counts in my case should be the linux-header in the sbuild environment I think.
So I wanted to ask what the status on yakkety is - should the patch be in there already or is it just on its way?

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1592930

Title:
  failures building userspace packages that include ethtool.h

Status in linux package in Ubuntu:
  Triaged
Status in linux source package in Xenial:
  Fix Committed

Bug description:
  Current -proposed kernel produces errors when building userspace
  packages that require ethtool.h from linux-headers.

  This was noted by Iain Lane when building systemd with this kernel:

  In file included from ../src/udev/net/ethtool-util.c:22:0:
  /usr/include/linux/ethtool.h: In function ‘ethtool_validate_speed’:
  /usr/include/linux/ethtool.h:1321:18: error: ‘INT_MAX’ undeclared (first use in this function)
    return speed <= INT_MAX || speed == SPEED_UNKNOWN;
                    ^
  /usr/include/linux/ethtool.h:1321:18: note: each undeclared identifier is reported only once for each function it appears in

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1592930/+subscriptions


References