Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 715796

Summary: net-vpn/wireguard-modules-1.0.20200330 does not build for gentoo-sources-5.4.29
Product: Gentoo Linux Reporter: Stefan Trenker <strenker>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch for wireguard-modules src-code

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