Debian Bug report logs -
#894909
wireguard-dkms should build on jessie
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, mickey.derks@gmail.com, Daniel Kahn Gillmor <dkg@fifthhorseman.net>:
Bug#894909; Package wireguard-dkms.
(Thu, 05 Apr 2018 13:03:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Mickey Derks <mickey.derks@gmail.com>:
New Bug report received and forwarded. Copy sent to mickey.derks@gmail.com, Daniel Kahn Gillmor <dkg@fifthhorseman.net>.
(Thu, 05 Apr 2018 13:03:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: wireguard-dkms
Version: 0.0.20180304-1
Severity: grave
Justification: renders package unusable
Dear Maintainer,
On Debian Jessie, with (at least) kernel linux-image-3.16.0-4-686-pae, the DKMS module fails to compile, with an error related to the dev_recursion_level() redifinition in the wireguard source files. See also this CentOS isssue; the patch suggested there (removing the redifinition) fixes the issue for me: https://lists.zx2c4.com/pipermail/wireguard/2017-June/001457.html
-- System Information:
Debian Release: 8.3
APT prefers oldstable
APT policy: (500, 'oldstable')
Architecture: i386 (i686)
Kernel: Linux 3.16.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages wireguard-dkms depends on:
ii dkms 2.2.0.3-2
Versions of packages wireguard-dkms recommends:
ii wireguard-tools 0.0.20180304-1
wireguard-dkms suggests no packages.
-- no debconf information
Information forwarded
to debian-bugs-dist@lists.debian.org:
Bug#894909; Package wireguard-dkms.
(Thu, 05 Apr 2018 15:12:09 GMT) (full text, mbox, link).
Acknowledgement sent
to Daniel Kahn Gillmor <dkg@fifthhorseman.net>:
Extra info received and forwarded to list.
(Thu, 05 Apr 2018 15:12:09 GMT) (full text, mbox, link).
Message #10 received at 894909@bugs.debian.org (full text, mbox, reply):
On Tue 2017-06-27 13:08:14 +0200, Jason A. Donenfeld wrote:
> compat.h is a dumpster fire already. Tons of people use the RHEL kernel.
> I think supporting it won't make an already gross cess pool any more
> disgusting. It's a file of hacks; I might as well add another.
>
> (I probably won't add hacks, though, for the heaps of random custom
> Android vendor kernels.)
sorry to dredge this thread back up from the archives...
https://bugs.debian.org/894909 shows someone trying to build wireguard
against the debian 8 ("jessie" aka "oldstable") 3.16 kernel saying that
they needed a similar patch to make the kernel module build.
I know that debian's kernel team does backport a lot of fixes to our
supported older kernels, similar to older releases of RedHat.
i'm asking over on #debian-kernel (on OFTC) to see whether there is some
similar to RHEL_MAJOR or CONFIG_SUSE_KERNEL or UTS_UBUNTU_RELEASE_ABI
that we can use for jessie.
--dkg
Information forwarded
to debian-bugs-dist@lists.debian.org:
Bug#894909; Package wireguard-dkms.
(Thu, 05 Apr 2018 16:18:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Daniel Kahn Gillmor <dkg@fifthhorseman.net>:
Extra info received and forwarded to list.
(Thu, 05 Apr 2018 16:18:02 GMT) (full text, mbox, link).
Message #15 received at 894909@bugs.debian.org (full text, mbox, reply):
On Thu 2018-04-05 11:08:20 -0400, Daniel Kahn Gillmor wrote:
> On Tue 2017-06-27 13:08:14 +0200, Jason A. Donenfeld wrote:
>> compat.h is a dumpster fire already. Tons of people use the RHEL kernel.
>> I think supporting it won't make an already gross cess pool any more
>> disgusting. It's a file of hacks; I might as well add another.
>>
>> (I probably won't add hacks, though, for the heaps of random custom
>> Android vendor kernels.)
>
> sorry to dredge this thread back up from the archives...
>
> https://bugs.debian.org/894909 shows someone trying to build wireguard
> against the debian 8 ("jessie" aka "oldstable") 3.16 kernel saying that
> they needed a similar patch to make the kernel module build.
>
> I know that debian's kernel team does backport a lot of fixes to our
> supported older kernels, similar to older releases of RedHat.
>
> i'm asking over on #debian-kernel (on OFTC) to see whether there is some
> similar to RHEL_MAJOR or CONFIG_SUSE_KERNEL or UTS_UBUNTU_RELEASE_ABI
> that we can use for jessie.
Ben Hutchings of the debian kernel team followed up there suggesting
feature tests or autoconf-type checks:
11:02 < dkg> https://bugs.debian.org/894909 suggests that some of the
backported fixes to 3.16 in jessie are getting in the way
of compiling wireguard. the referenced upstream thread
shows that they worked around the problem for RHEL7 using
some redhat-specific #defines
11:02 -zwiebelbot:#debian-kernel- Debian#894909: wireguard-dkms:
dev_recursion_level definition problem
- https://bugs.debian.org/894909
11:02 < dkg> is there a comparable fix for older debian kernels?
11:04 < dkg> they have tests for #if RHEL_MAJOR == 7
11:04 < dkg> and #ifdef UTS_UBUNTU_RELEASE_ABI
11:52 < bwh> dkg: I've been there, and the way to deal with this is autoconf-type checks
11:55 < bwh> Well, either '#ifdef feature' or an autoconf-type check
So i don't think there's a comparable #define we can use for the
maintained debian kernels :/
i don't know how dev_recursion_level works. can we wrap the #define
dev_recursion_level() 0 inside an #ifndef dev_recursion_level safely?
--dkg
Information forwarded
to debian-bugs-dist@lists.debian.org:
Bug#894909; Package wireguard-dkms.
(Mon, 18 Jun 2018 18:33:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Daniel Kahn Gillmor <dkg@fifthhorseman.net>:
Extra info received and forwarded to list.
(Mon, 18 Jun 2018 18:33:02 GMT) (full text, mbox, link).
Message #20 received at 894909@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Control: retitle 894909 wireguard-dkms should build on jessie
Control: severity 894909 wishlist
I'm retitling https://bugs.debian.org/894909 to clarify that it's only a
problem on jessie (currently, oldstable), and to mark it as wishlist --
we're currently only really supporting wireguard in unstable, though i
agree it would be nice to make it work in older releases.
--dkg
[signature.asc (application/pgp-signature, inline)]
Changed Bug title to 'wireguard-dkms should build on jessie' from 'wireguard-dkms: dev_recursion_level definition problem'.
Request was from Daniel Kahn Gillmor <dkg@fifthhorseman.net>
to 894909-submit@bugs.debian.org.
(Mon, 18 Jun 2018 18:33:03 GMT) (full text, mbox, link).
Severity set to 'wishlist' from 'grave'
Request was from Daniel Kahn Gillmor <dkg@fifthhorseman.net>
to 894909-submit@bugs.debian.org.
(Mon, 18 Jun 2018 18:33:03 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Thu Jun 27 22:12:55 2019;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.