Created attachment 497706 [details] build.log CC [M] /var/tmp/portage/net-misc/openvswitch-2.8.1/work/openvswitch-2.8.1/datapath/linux/vport-netdev.o /var/tmp/portage/net-misc/openvswitch-2.8.1/work/openvswitch-2.8.1/datapath/linux/flow_netlink.c: In function ‘validate_and_copy_set_tun’: /var/tmp/portage/net-misc/openvswitch-2.8.1/work/openvswitch-2.8.1/datapath/linux/flow_netlink.c:2212:43: error: ‘struct ip_tunnel_info’ has no member named ‘dst_cache’ err = dst_cache_init(&tun_dst->u.tun_info.dst_cache, GFP_KERNEL); ^ Portage 2.3.8 (python 3.4.5-final-0, default/linux/x86/13.0, gcc-5.4.0, glibc-2.23-r4, 4.12.12-gentoo i686) ================================================================= System uname: Linux-4.12.12-gentoo-i686-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.4.1 KiB Mem: 3108120 total, 1208264 free KiB Swap: 488276 total, 488276 free Timestamp of repository gentoo: Wed, 04 Oct 2017 22:23:58 +0000 Head commit of repository gentoo: 7321a365bdde05ffe952be424e764b2fbe72f387 sh bash 4.3_p48-r1 ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1 app-shells/bash: 4.3_p48-r1::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.24.1-r2::gentoo dev-lang/python: 2.7.12::gentoo, 3.4.5::gentoo dev-util/cmake: 3.7.2::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.4.1-r2::gentoo sys-apps/openrc: 0.28::gentoo sys-apps/sandbox: 2.10-r3::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.15-r2::gentoo sys-devel/binutils: 2.28.1::gentoo sys-devel/gcc: 5.4.0-r3::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r3::gentoo sys-devel/make: 4.2.1::gentoo sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers) sys-libs/glibc: 2.23-r4::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo.git priority: -1000 ABI="x86" ABI_X86="32" ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" ACCEPT_PROPERTIES="*" ACCEPT_RESTRICT="*" ANT_HOME="/usr/share/ant" ARCH="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -pipe -march=ivybridge -mtune=ivybridge -mno-xsaveopt" CHOST="i686-pc-linux-gnu" CHOST_x86="i686-pc-linux-gnu" COLLISION_IGNORE="/lib/modules/* *.py[co] *$py.class */dropin.cache" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CXXFLAGS="-O2 -pipe -march=ivybridge -mtune=ivybridge -mno-xsaveopt" DEFAULT_ABI="x86" EDITOR="/usr/bin/mcedit" ELIBC="glibc" EPREFIX="" EROOT="/" FCFLAGS="-O2 -march=i686 -pipe" FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -march=i686 -pipe" GCC_SPECS="" GRUB_PLATFORMS="efi-32 pc" HOME="/root" INFOPATH="/usr/share/gcc-data/i686-pc-linux-gnu/5.4.0/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.28.1/info:/usr/share/info:/usr/share/info/emacs-25" INPUT_DEVICES="libinput keyboard mouse" IUSE_IMPLICIT="abi_x86_32 prefix prefix-chain prefix-guest" JAVAC="/etc/java-config-2/current-system-vm/bin/javac" JAVA_HOME="/etc/java-config-2/current-system-vm" JDK_HOME="/etc/java-config-2/current-system-vm" KERNEL="linux" L10N="en en-US de de-DE" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LC_MESSAGES="C" LC_PAPER="de_DE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LIBDIR_x86="lib" LINGUAS="en de" LOGNAME="root" MAIL="/var/mail/root" MAKEOPTS="--jobs 5 --load-average 7.95" MULTILIB_ABIS="x86" MULTIOSDIRS="../lib" NOCOLOR="true" OFFICE_IMPLEMENTATION="libreoffice" OPENGL_PROFILE="xorg-x11" PAGER="/usr/bin/less" PATH="/usr/i686-pc-linux-gnu/gcc-bin/5.4.0:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PWD="/root" PYTHONDONTWRITEBYTECODE="1" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" ROOT="/" ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/5.4.0:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin" RUBY_TARGETS="ruby22" R_HOME="/usr/lib/R" SBCL_HOME="/usr/lib/sbcl" SBCL_SOURCE_ROOT="/usr/lib/sbcl/src" SHELL="/bin/bash" SHLVL="2" SSH_TTY="/dev/pts/0" TERM="screen" TMUX="/tmp/tmux-0/default,4562,0" TMUX_PANE="%1" TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1" USER="root" USERLAND="GNU" VIDEO_CARDS="intel"
I haven't been able to reproduce this can you provide your kernel config?
Created attachment 497728 [details] kernel-config-x86-4.12.12-gentoo kernel-config-x86-4.12.12-gentoo
Created attachment 497730 [details] build.log Updated build.log to reflect that this error still happens even with all required kernel settings.
Selected by: OPENVSWITCH [=n] NET [=y] INET [=y] ( !NF_CONNTRACK [=m] || NF_CONNTRACK [=m] ( !NF_DEFRAG_IPV6 [=m] || NF_DEFRAG_IPV6 [=m] ) ( !NF_NAT [=m] || NF_NAT [=m] ) ( !NF_NAT_IPV4 [=m] || NF_NAT_IPV4 [=m] ) ( !NF_NAT_IPV6 [=m] || NF_NAT_IPV6 [=m] ) ) || NET_IP_TUNNEL [=n] NET [=y] INET [=y] || IPV6_TUNNEL [=n] NET [=y] INET [=y] IPV6 [=m] || IPV6_SEG6_LWTUNNEL [=n] NET [=y] INET [=y] IPV6 [=m] You need to set CONFIG_NET_IPIP to m or y. That brings us up to this error though... In file included from /var/tmp/portage/net-misc/openvswitch-2.8.1/work/openvswitch-2.8.1/datapath/linux/ip_output.c:48:0: ./arch/x86/include/asm/uaccess.h:674:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘movsl_mask’ } ____cacheline_aligned_in_smp movsl_mask; ^ make[5]: *** [scripts/Makefile.build:303: /var/tmp/portage/net-misc/openvswitch-2.8.1/work/openvswitch-2.8.1/datapath/linux/ip_output.o] Error 1 You could try without USE=modules though (til this is figured out).
I have not been able to reproduce this either. I configured the kernel with: make allyesconfig and removed/added all required modules/built-in as the ebuild instructs.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9810e0f55cb9c8da7bdcf6bdcae630e61fcf3594 commit 9810e0f55cb9c8da7bdcf6bdcae630e61fcf3594 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-07-02 12:31:46 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-07-02 12:35:08 +0000 net-misc/openvswitch: add 2.17.2 Bug: https://bugs.gentoo.org/766135 Closes: https://bugs.gentoo.org/596206 Closes: https://bugs.gentoo.org/633516 Closes: https://bugs.gentoo.org/671776 Closes: https://bugs.gentoo.org/672870 Closes: https://bugs.gentoo.org/794535 Closes: https://bugs.gentoo.org/854663 Signed-off-by: Sam James <sam@gentoo.org> net-misc/openvswitch/Manifest | 1 + net-misc/openvswitch/openvswitch-2.17.2.ebuild | 152 +++++++++++++++++++++++++ 2 files changed, 153 insertions(+)