All of lore.kernel.org
 help / color / mirror / Atom feed
From: Felix Tang <felix.gofaster@gmail.com>
To: wireguard@lists.zx2c4.com
Subject: DKMS build failure 1.0.20200623 on Ubuntu 16.04 kernel 4.4.0-159-generic x86_64
Date: Sun, 28 Jun 2020 10:04:27 -0400	[thread overview]
Message-ID: <CALJizUM+ORyc5V-J5eqNqYbPEPDcruZOkvv3iv1KPJOi60YYyQ@mail.gmail.com> (raw)

Hello. Updating Wireguard from PPA fails.


$ sudo apt list --upgradable
Listing... Done
wireguard-dkms/xenial,xenial 1.0.20200623-1~16.04 all [upgradable
from: 1.0.20200611-0ppa1~16.04]

$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  wireguard-dkms
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 252 kB of archives.
After this operation, 2,048 B of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://ppa.launchpad.net/wireguard/wireguard/ubuntu xenial/main
amd64 wireguard-dkms all 1.0.20200623-1~16.04 [252 kB]
Fetched 252 kB in 0s (395 kB/s)
(Reading database ... 309479 files and directories currently installed.)
Preparing to unpack .../wireguard-dkms_1.0.20200623-1~16.04_all.deb ...

------------------------------
Deleting module version: 1.0.20200611
completely from the DKMS tree.
------------------------------
Done.
Unpacking wireguard-dkms (1.0.20200623-1~16.04) over
(1.0.20200611-0ppa1~16.04) ...
Setting up wireguard-dkms (1.0.20200623-1~16.04) ...
Loading new wireguard-1.0.20200623 DKMS files...
Building for 4.4.0-159-generic and 4.4.0-161-generic
Building initial module for 4.4.0-159-generic
Error! Bad return status for module build on kernel: 4.4.0-159-generic (x86_64)
Consult /var/lib/dkms/wireguard/1.0.20200623/build/make.log for more
information.

====

$cat /var/lib/dkms/wireguard/1.0.20200623/build/make.log

DKMS make.log for wireguard-1.0.20200623 for kernel 4.4.0-159-generic (x86_64)
Sun Jun 28 09:05:14 EDT 2020
make: Entering directory '/usr/src/linux-headers-4.4.0-159-generic'
  LD      /var/lib/dkms/wireguard/1.0.20200623/build/built-in.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200623/build/main.o
In file included from include/linux/phy.h:22,
                 from include/net/dsa.h:19,
                 from include/linux/netdevice.h:44,
                 from include/net/ip_tunnels.h:5,
                 from include/net/udp_tunnel.h:4,
                 from
/var/lib/dkms/wireguard/1.0.20200623/build/compat/udp_tunnel/udp_tunnel_partial_compat.h:143,
                 from
/var/lib/dkms/wireguard/1.0.20200623/build/compat/compat.h:73,
                 from <command-line>:
include/linux/module.h:130:6: warning: ‘init_module’ specifies less
restrictive attribute than its target ‘mod_init’: ‘cold’
[-Wmissing-attributes]
  130 |  int init_module(void) __attribute__((alias(#initfn)));
      |      ^~~~~~~~~~~
/var/lib/dkms/wireguard/1.0.20200623/build/main.c:61:1: note: in
expansion of macro ‘module_init’
   61 | module_init(mod_init);
      | ^~~~~~~~~~~
/var/lib/dkms/wireguard/1.0.20200623/build/main.c:20:19: note:
‘init_module’ target declared here
   20 | static int __init mod_init(void)
      |                   ^~~~~~~~
In file included from include/linux/phy.h:22,
                 from include/net/dsa.h:19,
                 from include/linux/netdevice.h:44,
                 from include/net/ip_tunnels.h:5,
                 from include/net/udp_tunnel.h:4,
                 from
/var/lib/dkms/wireguard/1.0.20200623/build/compat/udp_tunnel/udp_tunnel_partial_compat.h:143,
                 from
/var/lib/dkms/wireguard/1.0.20200623/build/compat/compat.h:73,
                 from <command-line>:
include/linux/module.h:136:7: warning: ‘cleanup_module’ specifies less
restrictive attribute than its target ‘mod_exit’: ‘cold’
[-Wmissing-attributes]
  136 |  void cleanup_module(void) __attribute__((alias(#exitfn)));
      |       ^~~~~~~~~~~~~~
/var/lib/dkms/wireguard/1.0.20200623/build/main.c:62:1: note: in
expansion of macro ‘module_exit’
   62 | module_exit(mod_exit);
      | ^~~~~~~~~~~
/var/lib/dkms/wireguard/1.0.20200623/build/main.c:55:20: note:
‘cleanup_module’ target declared here
   55 | static void __exit mod_exit(void)
      |                    ^~~~~~~~
  CC [M]  /var/lib/dkms/wireguard/1.0.20200623/build/noise.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200623/build/device.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200623/build/peer.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200623/build/timers.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200623/build/queueing.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200623/build/send.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200623/build/receive.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200623/build/socket.o
/var/lib/dkms/wireguard/1.0.20200623/build/socket.c: In function ‘send6’:
/var/lib/dkms/wireguard/1.0.20200623/build/socket.c:139:20: error:
‘const struct ipv6_stub’ has no member named ‘ipv6_dst_lookup_flow’;
did you mean ‘ipv6_dst_lookup’?
  139 |   dst = ipv6_stub->ipv6_dst_lookup_flow(sock_net(sock), sock, &fl,
      |                    ^~~~~~~~~~~~~~~~~~~~
      |                    ipv6_dst_lookup
scripts/Makefile.build:285: recipe for target
'/var/lib/dkms/wireguard/1.0.20200623/build/socket.o' failed
make[1]: *** [/var/lib/dkms/wireguard/1.0.20200623/build/socket.o] Error 1
Makefile:1454: recipe for target
'_module_/var/lib/dkms/wireguard/1.0.20200623/build' failed
make: *** [_module_/var/lib/dkms/wireguard/1.0.20200623/build] Error 2
make: Leaving directory '/usr/src/linux-headers-4.4.0-159-generic'

====
$ uname -a
Linux sandbox 4.4.0-159-generic #187-Ubuntu SMP Thu Aug 1 16:28:06 UTC
2019 x86_64 x86_64 x86_64 GNU/Linux

$ apt policy |grep -i wireguard
 500 http://ppa.launchpad.net/wireguard/wireguard/ubuntu xenial/main
i386 Packages
     release v=16.04,o=LP-PPA-wireguard-wireguard,a=xenial,n=xenial,l=WireGuard,c=main,b=i386
 500 http://ppa.launchpad.net/wireguard/wireguard/ubuntu xenial/main
amd64 Packages
     release v=16.04,o=LP-PPA-wireguard-wireguard,a=xenial,n=xenial,l=WireGuard,c=main,b=amd64

             reply	other threads:[~2020-06-29 19:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-28 14:04 Felix Tang [this message]
2020-06-29 23:04 ` DKMS build failure 1.0.20200623 on Ubuntu 16.04 kernel 4.4.0-159-generic x86_64 Jason A. Donenfeld
2020-06-30 12:29   ` Felix Tang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CALJizUM+ORyc5V-J5eqNqYbPEPDcruZOkvv3iv1KPJOi60YYyQ@mail.gmail.com \
    --to=felix.gofaster@gmail.com \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.