From nobody Thu Dec 2 01:20:15 2021 X-Original-To: dev-commits-ports-main@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 9C96018B1A13; Thu, 2 Dec 2021 01:20:19 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J4J6W2lXMz3sqh; Thu, 2 Dec 2021 01:20:19 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from shw-obgw-4004a.ext.cloudfilter.net ([10.228.9.227]) by cmsmtp with ESMTP id sPs3mM6iFlW5qsalmmhkPu; Thu, 02 Dec 2021 01:20:18 +0000 Received: from spqr.komquats.com ([70.66.148.124]) by cmsmtp with ESMTPA id salkmvqrLd5UnsallmkUA2; Thu, 02 Dec 2021 01:20:18 +0000 X-Authority-Analysis: v=2.4 cv=FrgWQknq c=1 sm=1 tr=0 ts=61a81f52 a=Cwc3rblV8FOMdVN/wOAqyQ==:117 a=Cwc3rblV8FOMdVN/wOAqyQ==:17 a=kj9zAlcOel0A:10 a=IOMw9HtfNCkA:10 a=6I5d2MoRAAAA:8 a=YxBL1-UpAAAA:8 a=EkcXrb_YAAAA:8 a=mnhsP3EBjbYI_vRiKs4A:9 a=CjuIK1q_8ugA:10 a=IjZwj45LgO3ly-622nXo:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=LK5xJRSDVpKd5WXXoEvA:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTPS id 8D5C72AF; Wed, 1 Dec 2021 17:20:15 -0800 (PST) Received: from slippy (localhost [127.0.0.1]) by slippy.cwsent.com (8.16.1/8.16.1) with ESMTP id 1B21KFv6010369; Wed, 1 Dec 2021 17:20:15 -0800 (PST) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <202112020120.1B21KFv6010369@slippy.cwsent.com> X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7.1 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: koobs@FreeBSD.org cc: Cy Schubert , ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: Re: git: b8c4bfe660b3 - main - sysutils/reptyr: Address LLVM 13 build failure In-reply-to: References: <202112020054.1B20sZXk040844@gitrepo.freebsd.org> Comments: In-reply-to Kubilay Kocak message dated "Thu, 02 Dec 2021 12:05:46 +1100." List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 01 Dec 2021 17:20:15 -0800 X-CMAE-Envelope: MS4xfDm8A9WNzBGofVsAtxHje+VGoodfdU5zHTO5PWwazT8MAL7jmsoO31dquNhVM4Ym3vhCx9UZSHghJ/onKDyQfzVL4ZFJATFKyJ+rKIfNX7CKa2GE2oTf 6y+PoYDQPp4fncwYA9pWACwsWZi/Irots5xqDzt8SJbDdQnfLq/4jBLlZmiMUUr74GbpOGLHyDLroKJucAptvXXAbl9ID8CD//sWWDIl0y9lZAnaEXDttlPf t6Ww18YnebKQLM2XFUU26jHtrJabdrrw19LPt50Brj/z7nCcYCmDD9gv8DpLpRC2OK+sfG/5iJ/WyozsnEH58mKkp/xuar9ze8VDeyXf1Q4Q1T4Ibmmp3J0O XVITTxYs X-Rspamd-Queue-Id: 4J4J6W2lXMz3sqh X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N In message , Kubilay Kocak wr ites: > On 2/12/2021 11:54 am, Cy Schubert wrote: > > The branch main has been updated by cy: > > > > URL: https://cgit.FreeBSD.org/ports/commit/?id=b8c4bfe660b373862165a58514f2 > 70a51e77e147 > > > > commit b8c4bfe660b373862165a58514f270a51e77e147 > > Author: Cy Schubert > > AuthorDate: 2021-12-02 00:47:57 +0000 > > Commit: Cy Schubert > > CommitDate: 2021-12-02 00:54:18 +0000 > > > > sysutils/reptyr: Address LLVM 13 build failure > > > > Rather than create a patch, simply add -Wno-unused-but-set-variable, > > avoiding a maintainer to backport patches any time the port is updated > . > > > > In file included from platform/freebsd/freebsd_ptrace.c:69: > > In file included from platform/freebsd/arch/amd64.h:23: > > platform/freebsd/arch/x86_common.h:45:6: error: variable 'ret' set but > not used [-Werror,-Wunused-but-set-variable] > > int ret; > > ^ > > platform/freebsd/arch/x86_common.h:54:6: error: variable 'ret' set but > not used [-Werror,-Wunused-but-set-variable] > > int ret; > > ^ > > 2 errors generated. > > Ports usually shouldn't use -Werror and people are strongly encouraged > to add -Wno-error or patch it out is the usual course of action, but > sure, specific warnings can be scoped too. I'll -Wno-error then. -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org The need of the many outweighs the greed of the few.