This bug is missing log files that will aid in diagnosing the problem.
While running an Ubuntu kernel (not a mainline or third-party kernel)
please enter the following command in a terminal window:

apport-collect 1858807

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable
to run this command, please add a comment stating that fact and change
the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the
Ubuntu Kernel Team.

** Changed in: linux (Ubuntu)
       Status: New => Incomplete

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

Title:
  Wireguard install fails on 19.10

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  ------------------------------------
  # apt install wireguard-tools
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  The following additional packages will be installed:
    wireguard-dkms
  The following NEW packages will be installed:
    wireguard-dkms wireguard-tools
  0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
  Need to get 0 B/330 kB of archives.
  After this operation, 2,126 kB of additional disk space will be used.
  Do you want to continue? [Y/n] Y
  Selecting previously unselected package wireguard-dkms.
  (Reading database ... 298438 files and directories currently installed.)
  Preparing to unpack .../wireguard-dkms_0.0.20190913-1ubuntu1_all.deb ...
  Unpacking wireguard-dkms (0.0.20190913-1ubuntu1) ...
  Selecting previously unselected package wireguard-tools.
  Preparing to unpack .../wireguard-tools_0.0.20190913-1ubuntu1_amd64.deb ...
  Unpacking wireguard-tools (0.0.20190913-1ubuntu1) ...
  Setting up wireguard-dkms (0.0.20190913-1ubuntu1) ...
  Loading new wireguard-0.0.20190913 DKMS files...
  Building for 5.5.0-050500rc5-generic
  Building initial module for 5.5.0-050500rc5-generic
  ERROR (dkms apport): kernel package linux-headers-5.5.0-050500rc5-generic is 
not supported
  Error! Bad return status for module build on kernel: 5.5.0-050500rc5-generic 
(x86_64)
  Consult /var/lib/dkms/wireguard/0.0.20190913/build/make.log for more 
information.
  dpkg: error processing package wireguard-dkms (--configure):
   installed wireguard-dkms package post-installation script subprocess 
returned error exit status 10
  Setting up wireguard-tools (0.0.20190913-1ubuntu1) ...
  Processing triggers for man-db (2.8.7-3) ...
  Errors were encountered while processing:
   wireguard-dkms
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  ------------------------------------

  make.log:
  -------------------------------------
  KMS make.log for wireguard-0.0.20190913 for kernel 5.5.0-050500rc5-generic 
(x86_64)
  Wed 08 Jan 2020 03:43:59 PM CET
  make: Entering directory '/usr/src/linux-headers-5.5.0-050500rc5-generic'
    AR      /var/lib/dkms/wireguard/0.0.20190913/build/built-in.a
    CC [M]  /var/lib/dkms/wireguard/0.0.20190913/build/main.o
    CC [M]  /var/lib/dkms/wireguard/0.0.20190913/build/noise.o
    CC [M]  /var/lib/dkms/wireguard/0.0.20190913/build/device.o
    CC [M]  /var/lib/dkms/wireguard/0.0.20190913/build/peer.o
    CC [M]  /var/lib/dkms/wireguard/0.0.20190913/build/timers.o
    CC [M]  /var/lib/dkms/wireguard/0.0.20190913/build/queueing.o
    CC [M]  /var/lib/dkms/wireguard/0.0.20190913/build/send.o
    CC [M]  /var/lib/dkms/wireguard/0.0.20190913/build/receive.o
    CC [M]  /var/lib/dkms/wireguard/0.0.20190913/build/socket.o
    CC [M]  /var/lib/dkms/wireguard/0.0.20190913/build/peerlookup.o
    CC [M]  /var/lib/dkms/wireguard/0.0.20190913/build/allowedips.o
    CC [M]  /var/lib/dkms/wireguard/0.0.20190913/build/ratelimiter.o
    CC [M]  /var/lib/dkms/wireguard/0.0.20190913/build/cookie.o
    CC [M]  /var/lib/dkms/wireguard/0.0.20190913/build/netlink.o
    CC [M]  
/var/lib/dkms/wireguard/0.0.20190913/build/crypto/zinc/chacha20/chacha20.o
    PERLASM 
/var/lib/dkms/wireguard/0.0.20190913/build/crypto/zinc/chacha20/chacha20-x86_64.S
    CC [M]  
/var/lib/dkms/wireguard/0.0.20190913/build/crypto/zinc/poly1305/poly1305.o
  /var/lib/dkms/wireguard/0.0.20190913/build/socket.c: In function ‘send6’:
  /var/lib/dkms/wireguard/0.0.20190913/build/socket.c:145:20: error: ‘const 
struct ipv6_stub’ has no member named ‘ipv6_dst_lookup’; did you mean 
‘ipv6_dst_lookup_flow’?
    145 |   ret = ipv6_stub->ipv6_dst_lookup(sock_net(sock), sock, &dst,
        |                    ^~~~~~~~~~~~~~~
        |                    ipv6_dst_lookup_flow
  make[1]: *** [scripts/Makefile.build:266: 
/var/lib/dkms/wireguard/0.0.20190913/build/socket.o] Error 1
  make[1]: *** Waiting for unfinished jobs....
  /var/lib/dkms/wireguard/0.0.20190913/build/netlink.c: In function 
‘wg_get_device_start’:
  /var/lib/dkms/wireguard/0.0.20190913/build/netlink.c:199:26: error: implicit 
declaration of function ‘genl_family_attrbuf’ 
[-Werror=implicit-function-declaration]
    199 |  struct nlattr **attrs = genl_family_attrbuf(&genl_family);
        |                          ^~~~~~~~~~~~~~~~~~~
  /var/lib/dkms/wireguard/0.0.20190913/build/netlink.c:199:26: warning: 
initialization of ‘struct nlattr **’ from ‘int’ makes pointer from integer 
without a cast [-Wint-conversion]
  cc1: some warnings being treated as errors
  make[1]: *** [scripts/Makefile.build:265: 
/var/lib/dkms/wireguard/0.0.20190913/build/netlink.o] Error 1
  make: *** [Makefile:1693: /var/lib/dkms/wireguard/0.0.20190913/build] Error 2
  make: Leaving directory '/usr/src/linux-headers-5.5.0-050500rc5-generic'
  ------------------------------------

  My system:
  ------------------------------------
  # cat /etc/os-release 
  NAME="Ubuntu"
  VERSION="19.10 (Eoan Ermine)"
  ID=ubuntu
  ID_LIKE=debian
  PRETTY_NAME="Ubuntu 19.10"
  VERSION_ID="19.10"
  HOME_URL="https://www.ubuntu.com/";
  SUPPORT_URL="https://help.ubuntu.com/";
  BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/";
  
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy";
  VERSION_CODENAME=eoan
  UBUNTU_CODENAME=eoan
  -----------------------------------

  ----------------
  Linux MaxPad 5.5.0-050500rc5-generic #202001051940 SMP Mon Jan 6 00:42:45 UTC 
2020 x86_64 x86_64 x86_64 GNU/Linux
  -----------------

  I tried the install with other kernels too: 5.4.8 and and 5.4.

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to