← Back to team overview

kernel-packages team mailing list archive

[Bug 1379201] Re: openvswitch-datapath-dkms 1.4.6-0ubuntu1.12.04.3: openvswitch kernel module failed to build [error: too many arguments to function ‘ip_select_ident’]

 

make -C /lib/modules/3.2.0-70-virtual/build M=/var/lib/dkms/openvswitch/2.0.2/build/datapath/linux modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-70-virtual'
  CC [M]  /var/lib/dkms/openvswitch/2.0.2/build/datapath/linux/actions.o
  CC [M]  /var/lib/dkms/openvswitch/2.0.2/build/datapath/linux/datapath.o
  CC [M]  /var/lib/dkms/openvswitch/2.0.2/build/datapath/linux/dp_notify.o
  CC [M]  /var/lib/dkms/openvswitch/2.0.2/build/datapath/linux/flow.o
  CC [M]  /var/lib/dkms/openvswitch/2.0.2/build/datapath/linux/vport.o
  CC [M]  /var/lib/dkms/openvswitch/2.0.2/build/datapath/linux/vport-gre.o
  CC [M]  /var/lib/dkms/openvswitch/2.0.2/build/datapath/linux/vport-internal_dev.o
  CC [M]  /var/lib/dkms/openvswitch/2.0.2/build/datapath/linux/vport-lisp.o
/var/lib/dkms/openvswitch/2.0.2/build/datapath/linux/vport-lisp.c: In function �~@~Xovs_tnl_send�~@~Y:
/var/lib/dkms/openvswitch/2.0.2/build/datapath/linux/vport-lisp.c:586:3: warning: passing argument 2 of �~@~X__ip_select_ident�~@~Y makes integer from pointer without a cast [enabled by default]
include/net/ip.h:268:6: note: expected �~@~Xint�~@~Y but argument is of type �~@~Xstruct dst_entry *�~@~Y
/var/lib/dkms/openvswitch/2.0.2/build/datapath/linux/vport-lisp.c:586:3: error: too many arguments to function �~@~X__ip_select_ident�~@~Y
include/net/ip.h:268:6: note: declared here
make[2]: *** [/var/lib/dkms/openvswitch/2.0.2/build/datapath/linux/vport-lisp.o] Error 1
make[1]: *** [_module_/var/lib/dkms/openvswitch/2.0.2/build/datapath/linux] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-70-virtual'
make: *** [default] Error 2
make: Leaving directory `/var/lib/dkms/openvswitch/2.0.2/build/datapath/linux'

-- 
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/1379201

Title:
  openvswitch-datapath-dkms 1.4.6-0ubuntu1.12.04.3: openvswitch kernel
  module failed to build [error: too many arguments to function
  ‘ip_select_ident’]

Status in Ubuntu Cloud Archive:
  New
Status in “linux” package in Ubuntu:
  Invalid
Status in “openvswitch” package in Ubuntu:
  Invalid
Status in “linux” source package in Precise:
  Invalid
Status in “openvswitch” source package in Precise:
  Fix Released

Bug description:
  SRU Justification:

  [Impact]
  Users can't use openvswitch DKMS package on precise/3.2.

  [Test Case]
  1) install precise VM w/ 3.2
  2) sudo apt-get install openvswitch-datapath-dkms
  3) the module should build properly without failure

  [Regression Potential]
  This patch ifdefs based on kernel versions to select the correct function for that patchlevel. However because we only have 3 numbers in version.sh we may fail for trusty-lts kernels before 015c969f and after 3.13.11.

  --

  Update gives this message.

  ProblemType: Package
  DistroRelease: Ubuntu 12.04
  Package: openvswitch-datapath-dkms 1.4.6-0ubuntu1.12.04.3
  ProcVersionSignature: Ubuntu 3.2.0-69.103-generic 3.2.62
  Uname: Linux 3.2.0-69-generic x86_64
  ApportVersion: 2.0.1-0ubuntu17.7
  Architecture: amd64
  DKMSKernelVersion: 3.2.0-70-generic
  Date: Thu Oct  9 09:35:00 2014
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
  MarkForUpload: True
  PackageArchitecture: all
  PackageVersion: 1.4.6-0ubuntu1.12.04.3
  SourcePackage: openvswitch
  Title: openvswitch-datapath-dkms 1.4.6-0ubuntu1.12.04.3: openvswitch kernel module failed to build
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1379201/+subscriptions