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

Bug 756781

Summary: sys-kernel/gentoo-sources-5.4.80: CONFIG_WIREGUARD vanished
Product: Gentoo Linux Reporter: tea <tea+gentoo>
Component: Current packagesAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED FIXED    
Severity: normal CC: powerman-asdf, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 754219    

Description tea 2020-11-26 05:41:30 UTC
sys-kernel/gentoo-sources-5.4.72 had CONFIG_WIREGUARD, sys-kernel/gentoo-sources-5.4.80 has it not.

Reproducible: Always

Steps to Reproduce:
1. Compile sys-kernel/gentoo-sources-5.4.72 with CONFIG_WIREGUARD=y
2. Copy .config to sys-kernel/gentoo-sources-5.4.80
3. Run make oldconfig
4. Run make menuconfig and search for CONFIG_WIREGUARD



emerge --info:

Portage 3.0.9 (python 3.7.9-final-0, default/linux/amd64/17.1/desktop, gcc-9.3.0, glibc-2.32-r2, 5.4.80-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-5.4.80-gentoo-x86_64-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8700_@_2.53GHz-with-gentoo-2.7
KiB Mem:     4014128 total,   3428908 free
KiB Swap:    3035292 total,   3035292 free
Timestamp of repository gentoo: Wed, 25 Nov 2020 23:30:01 +0000
Head commit of repository gentoo: 7f5ebe7684c5bd359f03f22b801c268000c96adc
Timestamp of repository audio-overlay: Wed, 25 Nov 2020 18:29:14 +0000
Head commit of repository audio-overlay: 0479a34746e1825cf37ce8175713c27b9cfe111f

Timestamp of repository guru: Wed, 25 Nov 2020 18:29:33 +0000
Head commit of repository guru: 64725def682b24921f2c2fe61e587a4973a0a449

Timestamp of repository jorgicio: <<<<<<< HEAD
Head commit of repository jorgicio: e6e1c3dfd24ec64101c18b1e00cf8b61ba2c83ba

Timestamp of repository steam-overlay: Wed, 25 Nov 2020 18:28:41 +0000
Head commit of repository steam-overlay: e326f9cdca590cdac3ab0ca1d2a640fbe00501ee

Timestamp of repository sublime-text: Wed, 25 Nov 2020 18:28:41 +0000
Head commit of repository sublime-text: 0115c4ae295a6ef290a4a6492b57183f98558962

Timestamp of repository tastytea: Wed, 25 Nov 2020 18:29:25 +0000
Head commit of repository tastytea: 6bd00871d24501d296443d9b49efb3a77f0c73aa

sh bash 5.0_p18
ld GNU ld (Gentoo 2.34 p6) 2.34.0
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18-r4::gentoo, 3.6.12::gentoo, 3.7.9::gentoo, 3.8.6::gentoo, 3.9.0::gentoo
dev-util/cmake:           3.17.4-r1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.15.1-r2::gentoo, 1.16.2-r1::gentoo
sys-devel/binutils:       2.34-r2::gentoo
sys-devel/gcc:            9.3.0-r1::gentoo
sys-devel/gcc-config:     2.3.2-r1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24

audio-overlay
    location: /var/db/repos/audio-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/audio-overlay.git
    masters: gentoo

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo

jorgicio
    location: /var/db/repos/jorgicio
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/jorgicio.git
    masters: gentoo

localrepo
    location: /usr/local/portage
    masters: gentoo

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo

sublime-text
    location: /var/db/repos/sublime-text
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/sublime-text.git
    masters: gentoo

tastytea
    location: /var/db/repos/tastytea
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/tastytea.git
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de de_DE en"
MAKEOPTS="-j1 -l1.5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 avahi berkdb bluetooth branding bzip2 cacert cairo cdda cdr cli crypt cups dbus dga dri drm dts dvd dvdr elogind emacs emboss encode exif flac fontconfig fortran gdbm gif gimp gpg gpm gstreamer gtk gtkstyle gui iconv icu id3tag idn ipv6 jpeg lcms libglvnd libnotify libtirpc mad mmx mng mp3 mp4 mpeg multilib ncurses networkmanager nfs nls nptl offensive ogg opengl openmp opus pam pango pcre pcsc-lite pdf png policykit ppds prison pulseaudio qt5 readline resolvconf sdl seccomp smp spell split-usr sse sse2 sse4_1 ssl ssse3 startup-notification svg taglib tcpd theora threads tiff truetype udev udisks unicode upnp upower usb vaapi vdpau vim vim-syntax vorbis wavpack webp wxwidgets x264 x265 xattr xcb xcomposite xml xrandr xv xvid zeroconf zlib zsh-completion" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 ssse3 sse3 sse4_1" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" L10N="de en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="X86" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7 python3_6" RUBY_TARGETS="ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alex Efros 2020-11-26 07:44:47 UTC
The workaround is obvious (`emerge net-vpn/wireguard-modules`), but probably it's good idea to add ewarn to ebuild to let people know they'll get unexpected issues with network settings after updating to this kernel version.
Comment 2 Larry the Git Cow gentoo-dev 2020-11-26 15:17:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb4360298b692668b4c3002e6b20216439f57534

commit cb4360298b692668b4c3002e6b20216439f57534
Author:     Mike Pagano <mpagano@gentoo.org>
AuthorDate: 2020-11-26 15:17:38 +0000
Commit:     Mike Pagano <mpagano@gentoo.org>
CommitDate: 2020-11-26 15:17:38 +0000

    sys-kernel/gentoo-sources: Add wireguard patch
    
    Closes: https://bugs.gentoo.org/756781
    Package-Manager: Portage-3.0.9, Repoman-3.0.2
    Signed-off-by: Mike Pagano <mpagano@gentoo.org>

 sys-kernel/gentoo-sources/Manifest                 |  3 +++
 .../gentoo-sources/gentoo-sources-5.4.80-r1.ebuild | 28 ++++++++++++++++++++++
 2 files changed, 31 insertions(+)