Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715796 - net-vpn/wireguard-modules-1.0.20200330 does not build for gentoo-sources-5.4.29
Summary: net-vpn/wireguard-modules-1.0.20200330 does not build for gentoo-sources-5.4.29
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-01 19:40 UTC by Stefan Trenker
Modified: 2020-04-02 05:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for wireguard-modules src-code (kernel-5.4.29.patch,669 bytes, patch)
2020-04-01 19:40 UTC, Stefan Trenker
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Trenker 2020-04-01 19:40:06 UTC
Created attachment 628544 [details, diff]
patch for wireguard-modules src-code

Emerge fails with the following error:

  CC [M]  /var/tmp/portage/net-vpn/wireguard-modules-1.0.20200330/work/wireguard-linux-compat-1.0.20200330/src/timers.o
In Datei, eingebunden von <Kommandozeile>:
/var/tmp/portage/net-vpn/wireguard-modules-1.0.20200330/work/wireguard-linux-compat-1.0.20200330/src/compat/compat.h:1029:20: Fehler: Redefinition von »skb_reset_redirect«
 1029 | static inline void skb_reset_redirect(struct sk_buff *skb)
      |                    ^~~~~~~~~~~~~~~~~~

This happens because include/linux/skbuff.h changed significantly in 5.4.29 compared to 5.4.29

I have prepared a patch for the wireguard-modules to reflect and fix this.
Comment 1 Stefan Trenker 2020-04-02 05:32:58 UTC
The bug can be closed. Its obsoleted by net-vpn/wireguard-modules-1.0.20200401