From nobody Sun Aug 21 16:15:41 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4M9gZk14xgz4Z9fX for ; Sun, 21 Aug 2022 16:15:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M9gZj6fKmz3FSq for ; Sun, 21 Aug 2022 16:15:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4M9gZj5ZZ9zGqS for ; Sun, 21 Aug 2022 16:15:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 27LGFf0D016341 for ; Sun, 21 Aug 2022 16:15:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 27LGFfAx016340 for ports-bugs@FreeBSD.org; Sun, 21 Aug 2022 16:15:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 265976] net/wireguard-kmod: Broken since 1400066 on CURRENT Date: Sun, 21 Aug 2022 16:15:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: rhurlin@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: decke@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661098541; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0TWqx1wBcuJ/kT1Fy3q97bXCYBgnrCEMjFAzTG0BHAU=; b=vPlPqwLn/f0yiM2e/oTYkRcoBCdnpKFIIbDtpovXhcGcj2FonzzEuIohRiO0sdLDSFRLQo oURcQj0tf++JiKfVSC28e5VnJv5T6+qr3Oe1bDOj8wpRegcytu48Npe9XV2XhTr17/m6pv itbG60+L+Dmgt/CtkYnLsCiw+LgRqmKee3EBsJ/ZmrZBsR/CMTF2PExyqmKQl3DDh9NuXD UehsVwFuPfVxKGhLFzhaCx7cZeJn5IO5GD1a7mTXrDxZ5NVarFxNROZ7lQ3+PsjROLqszB Jfz07sdYLvVsPXnRi1/YP4WnDM/t9XYflMdCCRuxLSxiH8ofI3Z6jFEJ8FfLbg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661098541; a=rsa-sha256; cv=none; b=bfLezqpWblduJ7PUmYDOVzquyi1Mdpmq+WH6qw3NV6WkTyP+dTfBQROJeCQlm58w7wID3+ ipJdhYPCs2zO6Ecu5ykP/Ti1/7EDSlWlBwxFjnhP5Q9dJhF/IwTME/kDVZs1Zu4n9Kv7eh raeFtvp/gdnjPYcLrqAdRuB9bEk+0xwMMMtYKRZAi/8BsApzXvfnHJrl15Iq2MQ+93VZxU QfJWuu5kWbLCK+sBe3OKWaBUWWiodHY4ZNdlbE4WKFyIdF9vLIpP6hNfEsdaMYkKaZAlpC mLscGv5w5UC5c8VzbEX0hG59GvwAbHyMrMEfDfl+uLKec0CXsBE2viA5+bEZkg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265976 Bug ID: 265976 Summary: net/wireguard-kmod: Broken since 1400066 on CURRENT Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: decke@FreeBSD.org Reporter: rhurlin@FreeBSD.org Flags: maintainer-feedback?(decke@FreeBSD.org) Assignee: decke@FreeBSD.org Created attachment 236047 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D236047&action= =3Dedit patch to add support for changed struct on 1400066 and newer Since OSVERSION 1400066, one get the following breakage when try to build net/wireguard on CURRENT: cc -O2 -pipe -fno-strict-aliasing -include /usr/ports/net/wireguard-kmod/work/wireguard-freebsd-0.0.20220615/src/compa= t.h=20 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -include /usr/ports/net/wireguard-kmod/work/wireguard-freebsd-0.0.20220615/src/opt_g= lobal.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common=20 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=3D./machine=3D/usr/src/sys/amd64/include -fdebug-prefix-map=3D./x86=3D/usr/src/sys/x86/include -fdebug-prefix-map=3D./i386=3D/usr/src/sys/i386/include -MD -MF.depend= .if_wg.o -MTif_wg.o -mcmodel=3Dkernel -mno-red-zone -mno-mmx -mno-sse -msoft-float=20 -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -W= all -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=3Dtautological-compare -Wno-error=3Dempty-body -Wno-error=3Dparentheses-equality -Wno-error=3Dunused-function -Wno-error=3Dpointer-sign -Wno-error=3Dshift-negative-value -Wno-address-of-packed-member -Wno-format-zero-length -mno-aes -mno-avx=20 -std=3Diso9899:1999 -c if_wg.c -o if_wg.o In file included from if_wg.c:74: ./support.h:40:26: error: no member named 'pr_usrreqs' in 'struct protosw' error =3D (*so->so_proto->pr_usrreqs->pru_sockaddr)(so, nam); ~~~~~~~~~~~~ ^ 1 error generated. *** Error code 1 Stop. make[1]: stopped in /usr/ports/net/wireguard-kmod/work/wireguard-freebsd-0.0.20220615/src Since commit e7d02be, the struct pr_usrreqs is merged into struct protosw. = The attached patch uses this change for CURRENT >=3D 1400066. The patch builds and installs fine on Poudriere and on my box. Working with= the patched wireguard-kmod seems to have no regressions so far. --=20 You are receiving this mail because: You are the assignee for the bug.=