From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9CC0F158015 for ; Sat, 16 Dec 2023 11:58:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E3B722BC01E; Sat, 16 Dec 2023 11:58:32 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C62D82BC01E for ; Sat, 16 Dec 2023 11:58:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1BD66335D77 for ; Sat, 16 Dec 2023 11:58:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AF1A7ACA for ; Sat, 16 Dec 2023 11:58:30 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1702727902.3d6ce657536c2d79e5c348dbbb5da358dfb95aa6.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/openvswitch/files/, net-misc/openvswitch/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/openvswitch/files/openvswitch-2.17.6-groff-1.23.0.patch net-misc/openvswitch/openvswitch-2.17.6.ebuild X-VCS-Directories: net-misc/openvswitch/ net-misc/openvswitch/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 3d6ce657536c2d79e5c348dbbb5da358dfb95aa6 X-VCS-Branch: master Date: Sat, 16 Dec 2023 11:58:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d156f003-0f24-4089-80c1-c026a0463f55 X-Archives-Hash: ba5c6994b3339ead47c9ab4f9540d0c6 commit: 3d6ce657536c2d79e5c348dbbb5da358dfb95aa6 Author: Sam James gentoo org> AuthorDate: Sat Dec 16 11:56:58 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sat Dec 16 11:58:22 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d6ce657 net-misc/openvswitch: fix build w/ groff-1.23.0 Closes: https://bugs.gentoo.org/910196 Signed-off-by: Sam James gentoo.org> .../files/openvswitch-2.17.6-groff-1.23.0.patch | 145 +++++++++++++++++++++ net-misc/openvswitch/openvswitch-2.17.6.ebuild | 2 + 2 files changed, 147 insertions(+) diff --git a/net-misc/openvswitch/files/openvswitch-2.17.6-groff-1.23.0.patch b/net-misc/openvswitch/files/openvswitch-2.17.6-groff-1.23.0.patch new file mode 100644 index 000000000000..3035005ae52e --- /dev/null +++ b/net-misc/openvswitch/files/openvswitch-2.17.6-groff-1.23.0.patch @@ -0,0 +1,145 @@ +https://bugs.gentoo.org/910196 +https://github.com/openvswitch/ovs/commit/a45b3afbf82e1c1702d25a5097a25c45923c6fae +https://github.com/openvswitch/ovs/commit/6929485d318e08c11e8e98f7847d5cefcb36c21c +https://github.com/openvswitch/ovs/commit/93412e00e7a1f61c5eb4771d150bdbf504ff59aa + +From a45b3afbf82e1c1702d25a5097a25c45923c6fae Mon Sep 17 00:00:00 2001 +From: gordonwwang +Date: Thu, 17 Aug 2023 11:04:39 +0800 +Subject: [PATCH] ovs.tmac: Fix troff warning in versions above groff-1.23. + +When the compilation dependency is groff-1.23, the following message is +displayed in the compilation log, and the compilation fails: + + troff:vswitchd/ovs-vswitchd.8:1298: warning: cannot select font 'CW' + make[1]: *** [Makefile:6761: manpage-check] Error 1 + +CW font was removed and and now groff warns about non-existent font: + https://git.savannah.gnu.org/cgit/groff.git/commit/?id=d75ea8b2e283e37bd560e821fa4597065f36725f) + +Fix that by replacing CW with CR. CW supposed to be an alias of CR +anyway. + +Submitted-at: https://github.com/openvswitch/ovs/pull/416 +Co-authored-by: Xiaojie Chen +Signed-off-by: Xiaojie Chen +Signed-off-by: gordonwwang +Signed-off-by: Ilya Maximets +--- + lib/ovs.tmac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/ovs.tmac b/lib/ovs.tmac +index 5f8f20afa4a..97b6fa3df76 100644 +--- a/lib/ovs.tmac ++++ b/lib/ovs.tmac +@@ -175,7 +175,7 @@ + . nr mE \\n(.f + . nf + . nh +-. ft CW ++. ft CR + .. + . + . + +From 6929485d318e08c11e8e98f7847d5cefcb36c21c Mon Sep 17 00:00:00 2001 +From: Frode Nordahl +Date: Mon, 21 Aug 2023 15:53:33 +0200 +Subject: [PATCH] docs: Add `nowarn` region option to tables. + +Starting with groff 1.23.0 a warning is produced if the tbl +preprocessor is not run. A side effect of enabling it is that +new warnings on table formatting is printed. + +As requested during the review [0] of a series [1] attempting to +address this, this patch makes use of the `nowarn` region option +as opposed to attempting to change the formatting. + +0: https://patchwork.ozlabs.org/project/openvswitch/patch/ZM00Wfa80rOb2oCA@riva.ucam.org/#3164177 +1: https://patchwork.ozlabs.org/project/openvswitch/list/?series=367378&state=* + +Reported-by: Lucas Nussbaum +Reported-at: https://bugs.debian.org/1042358 +Signed-off-by: Frode Nordahl +Signed-off-by: Ilya Maximets +--- + build-aux/extract-ofp-fields | 6 +++--- + lib/meta-flow.xml | 1 + + 2 files changed, 4 insertions(+), 3 deletions(-) + +diff --git a/build-aux/extract-ofp-fields b/build-aux/extract-ofp-fields +index 8766995d9ab..7a9788be968 100755 +--- a/build-aux/extract-ofp-fields ++++ b/build-aux/extract-ofp-fields +@@ -578,7 +578,7 @@ def field_to_xml(field_node, f, body, summary): + body += [""".PP + \\fB%s Field\\fR + .TS +-tab(;); ++tab(;),nowarn; + l lx. + """ % title] + +@@ -655,7 +655,7 @@ def group_xml_to_nroff(group_node, fields): + '.SH \"%s\"\n' % build.nroff.text_to_nroff(title.upper() + " FIELDS"), + '.SS "Summary:"\n', + '.TS\n', +- 'tab(;);\n', ++ 'tab(;),nowarn;\n', + 'l l l l l l l.\n', + 'Name;Bytes;Mask;RW?;Prereqs;NXM/OXM Support\n', + '\_;\_;\_;\_;\_;\_\n'] +@@ -665,7 +665,7 @@ def group_xml_to_nroff(group_node, fields): + return ''.join(content) + + def make_oxm_classes_xml(document): +- s = '''tab(;); ++ s = '''tab(;),nowarn; + l l l. + Prefix;Vendor;Class + \_;\_;\_ +diff --git a/lib/meta-flow.xml b/lib/meta-flow.xml +index ff81fddc5e7..fe80ee930d0 100644 +--- a/lib/meta-flow.xml ++++ b/lib/meta-flow.xml +@@ -3517,6 +3517,7 @@ actions=clone(load:0->NXM_OF_IN_PORT[],output:123) +

+ + ++nowarn; + r r r r r. + Criteria OpenFlow 1.0 OpenFlow 1.1 OpenFlow 1.2+ NXM + \_ \_ \_ \_ \_ +From 93412e00e7a1f61c5eb4771d150bdbf504ff59aa Mon Sep 17 00:00:00 2001 +From: Colin Watson +Date: Mon, 21 Aug 2023 15:53:34 +0200 +Subject: [PATCH] docs: Run tbl preprocessor in manpage-check rule. + +If we omit this, groff 1.23.0 warns: + + tbl preprocessor failed, or it or soelim was not run; table(s) likely + not rendered (TE macro called with TW register undefined) + +Reported-by: Lucas Nussbaum +Reported-at: https://bugs.debian.org/1042358 +Signed-off-by: Colin Watson +Signed-off-by: Ilya Maximets +--- + Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile.am b/Makefile.am +index cb8076433e8..2a41e63ad90 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -368,7 +368,7 @@ ALL_LOCAL += manpage-check + manpage-check: $(man_MANS) $(dist_man_MANS) $(noinst_man_MANS) + @error=false; \ + for manpage in $?; do \ +- LANG=en_US.UTF-8 groff -w mac -w delim -w escape -w input -w missing -w tab -T utf8 -man -p -z $$manpage >$@.tmp 2>&1; \ ++ LANG=en_US.UTF-8 groff -t -w mac -w delim -w escape -w input -w missing -w tab -T utf8 -man -p -z $$manpage >$@.tmp 2>&1; \ + if grep warning: $@.tmp; then error=:; fi; \ + rm -f $@.tmp; \ + done; \ + diff --git a/net-misc/openvswitch/openvswitch-2.17.6.ebuild b/net-misc/openvswitch/openvswitch-2.17.6.ebuild index 9116398edd39..d45a3a68e714 100644 --- a/net-misc/openvswitch/openvswitch-2.17.6.ebuild +++ b/net-misc/openvswitch/openvswitch-2.17.6.ebuild @@ -36,8 +36,10 @@ BDEPEND="virtual/pkgconfig $(python_gen_cond_dep ' dev-python/sphinx[${PYTHON_USEDEP}] ')" + PATCHES=( "${FILESDIR}/xcp-interface-reconfigure-2.3.2.patch" + "${FILESDIR}/openvswitch-2.17.6-groff-1.23.0.patch" ) CONFIG_CHECK="~NET_CLS_ACT ~NET_CLS_U32 ~NET_SCH_INGRESS ~NET_ACT_POLICE ~IPV6 ~TUN"