From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 12 03:43:14 2022 Received: (at submit) by debbugs.gnu.org; 12 Dec 2022 08:43:14 +0000 Received: from localhost ([127.0.0.1]:51437 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4eP3-0004pc-Kb for submit@debbugs.gnu.org; Mon, 12 Dec 2022 03:43:14 -0500 Received: from lists.gnu.org ([209.51.188.17]:34716) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4ctA-0001Gg-HS for submit@debbugs.gnu.org; Mon, 12 Dec 2022 02:06:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4ctA-0004Jp-BX for automake-patches@gnu.org; Mon, 12 Dec 2022 02:06:12 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4ct8-0006kx-Nd for automake-patches@gnu.org; Mon, 12 Dec 2022 02:06:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1670828769; 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=RAhCG+IURTJkGcgUMsVxA63FDS7mQ4UXDgMHHvvdySk=; b=A09jmqnj/LmLMpOE5CF5iDMcfeopsUlsuBeqa5Rz2A/pGncwOf6N9UE92XYQu7KCKbTvza 16jSKBowU52QM/8xMf1OyaO559sNBuPsVQgkipGb/kGannwPZXOtHqplKlmIIZRwHgBT2G 7Fkb3kU6ZO68Vc0cGdRGOEBxXQzNbQs= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-447-Db7WEn0NMsKUQyoWCMJ7Bg-1; Mon, 12 Dec 2022 02:06:07 -0500 X-MC-Unique: Db7WEn0NMsKUQyoWCMJ7Bg-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 7DBBF803533 for ; Mon, 12 Dec 2022 07:06:07 +0000 (UTC) Received: from Nymeria-redhat.redhat.com (unknown [10.39.192.133]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 149E640C2004 for ; Mon, 12 Dec 2022 07:06:06 +0000 (UTC) From: Frederic Berat To: automake-patches@gnu.org Subject: [PATCH 0/2] Port tests to modern C Date: Mon, 12 Dec 2022 08:05:52 +0100 Message-Id: <20221212070554.1635775-1-fberat@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=170.10.129.124; envelope-from=fberat@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 12 Dec 2022 03:43:10 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Hello, There is ongoing work from both GCC and Clang community to set the C99 standard as the default one, in an effort to improve security overall. In this context, Fedora packages were rebuilt with some warnings turned as errors to simulate the change. This leads to failures in Automake, that are attempted to be fixed, mainly in this patchset. Another patch dedicated to Flex related tests will follow. Fred. --- Frédéric Bérat (2): tests: Fix 'type defaults' error in link_cond due to main not being properly declared tests: Fix implicit function declaration errors t/ax/depcomp.sh | 4 ++-- t/c-demo.sh | 1 + t/cond35.sh | 2 ++ t/dist-vs-built-sources.sh | 1 + t/lex-clean.sh | 1 + t/lex-multiple.sh | 4 ++++ t/lex-nodist.sh | 2 ++ t/link_cond.sh | 2 +- t/ltcond2.sh | 2 ++ t/ltconv.sh | 6 ++++++ t/subobj-clean-lt-pr10697.sh | 10 +++++++++- t/subobj-clean-pr10697.sh | 10 +++++++++- t/tags-pr12372.sh | 3 ++- t/yacc-basic.sh | 1 + t/yacc-clean.sh | 4 ++++ t/yacc-nodist.sh | 2 ++ 16 files changed, 49 insertions(+), 6 deletions(-) -- 2.38.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 12 17:57:32 2022 Received: (at 59991) by debbugs.gnu.org; 12 Dec 2022 22:57:32 +0000 Received: from localhost ([127.0.0.1]:56022 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4rjo-0005UY-3p for submit@debbugs.gnu.org; Mon, 12 Dec 2022 17:57:32 -0500 Received: from freefriends.org ([96.88.95.60]:40006) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4rjm-0005US-Fo for 59991@debbugs.gnu.org; Mon, 12 Dec 2022 17:57:30 -0500 X-Envelope-From: karl@freefriends.org Received: from freefriends.org (freefriends.org [96.88.95.60]) by freefriends.org (8.14.7/8.14.7) with ESMTP id 2BCMvShW015255 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 12 Dec 2022 15:57:29 -0700 Received: (from apache@localhost) by freefriends.org (8.14.7/8.14.7/Submit) id 2BCMvSiJ015254; Mon, 12 Dec 2022 15:57:28 -0700 Date: Mon, 12 Dec 2022 15:57:28 -0700 Message-Id: <202212122257.2BCMvSiJ015254@freefriends.org> From: Karl Berry To: fberat@redhat.com, zack@owlfolio.org Subject: Re: [bug#59991] [PATCH 0/2] Port tests to modern C In-Reply-To: <20221212070554.1635775-1-fberat@redhat.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 59991 Cc: 59991@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) There is ongoing work from both GCC and Clang community to set the C99 standard as the default one, Sounds inevitable. in an effort to improve security overall. How does C99 improve security? Just wondering. failures in Automake, that are attempted to be fixed, mainly in this patchset. Thanks for all that work. Unfortunately there is no chance I will be able to look at it any time soon. I doubt Jim has any time available, either, though I'd be glad to be wrong. Zack, would you like be co-maintainer or at least co-developer of Automake? There is, evidently, no one else in the world interested in being actively involved with Automake on the maintainer side. Another patch dedicated to Flex related tests will follow. Just wondering again, is an upstream flex still actively maintained by anyone, anywhere? Looks like https://github.com/westes/flex was touched 6 months ago, so that's good, but there hasn't been a release for over five years. Thanks, Karl From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 12 18:06:20 2022 Received: (at 59991) by debbugs.gnu.org; 12 Dec 2022 23:06:20 +0000 Received: from localhost ([127.0.0.1]:56073 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4rsK-0005dL-49 for submit@debbugs.gnu.org; Mon, 12 Dec 2022 18:06:20 -0500 Received: from woodpecker.gentoo.org ([140.211.166.183]:51646 helo=smtp.gentoo.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4rsI-0005d7-5D for 59991@debbugs.gnu.org; Mon, 12 Dec 2022 18:06:18 -0500 Content-Type: multipart/signed; boundary="Apple-Mail=_FF287DB7-0AE9-4EA6-9284-080346D191A6"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.200.110.1.12\)) Subject: Re: [bug#59991] [PATCH 0/2] Port tests to modern C From: Sam James In-Reply-To: <202212122257.2BCMvSiJ015254@freefriends.org> Date: Mon, 12 Dec 2022 23:05:56 +0000 Message-Id: <5258F140-E410-4EF7-A33B-E10E55B8EE4E@gentoo.org> References: <20221212070554.1635775-1-fberat@redhat.com> <202212122257.2BCMvSiJ015254@freefriends.org> To: Karl Berry X-Mailer: Apple Mail (2.3731.200.110.1.12) X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 59991 Cc: Frederic Berat , Zack Weinberg , 59991@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --Apple-Mail=_FF287DB7-0AE9-4EA6-9284-080346D191A6 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On 12 Dec 2022, at 22:57, Karl Berry wrote: > Another patch dedicated to Flex related tests will follow. >=20 > Just wondering again, is an upstream flex still actively maintained by > anyone, anywhere? Looks like https://github.com/westes/flex was = touched > 6 months ago, so that's good, but there hasn't been a release for over > five years. >=20 I've started investigating using reflex = (https://invisible-island.net/reflex/reflex.html) for this reason. There's a long story with how flex broke with glibc-2.26/2.27 or so with = reallocrray() and implicit function declarations and there hasn't been a release to = fix that (https://github.com/westes/flex/issues/499) so all distros have to backport a bunch of patches to fix it: - = https://github.com/westes/flex/commit/4b5111d9772b5c160340ca96f08d30d7f6db= 5cda - = https://github.com/westes/flex/commit/24fd0551333e7eded87b64dd36062da3df2f= 6380 - = https://github.com/westes/flex/commit/0db9f8903a446e7026874be519b8dc55a471= f014 - = https://github.com/westes/flex/commit/a17d79e9c722a6735b6d2a8f152287404f27= df32 - = https://github.com/westes/flex/commit/4081efa0831b15d7e4e4255401c225ad8262= 426d - = https://github.com/westes/flex/commit/1985bb3c7abed940e91ad816504ef08a18c3= b7c1 Note that some of these affect the generated programs. It's possible = that some of these might actually make the automake patch obsolete, although given = there's no flex release definitely on the horizon, it's probably worth at least = working around it in automake. See also: - https://github.com/westes/flex/issues/436 - https://bugs.gentoo.org/705800 - = https://developers.redhat.com/blog/2019/04/22/implicit-function-declaratio= ns-flexs-use-of-reallocarray Best, sam --Apple-Mail=_FF287DB7-0AE9-4EA6-9284-080346D191A6 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iNUEARYKAH0WIQQlpruI3Zt2TGtVQcJzhAn1IN+RkAUCY5ez1V8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0MjVB NkJCODhERDlCNzY0QzZCNTU0MUMyNzM4NDA5RjUyMERGOTE5MAAKCRBzhAn1IN+R kFzZAP9hnE5WjZC+LH9zjleReagwB56riirJ8E+iFFyYm7OpNwD9E4ycx1sEGJTH gE42GlO2WBWONEyvXxq3DBZ31oAQ1QQ= =Mesq -----END PGP SIGNATURE----- --Apple-Mail=_FF287DB7-0AE9-4EA6-9284-080346D191A6-- From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 13 16:00:58 2022 Received: (at 59991) by debbugs.gnu.org; 13 Dec 2022 21:00:58 +0000 Received: from localhost ([127.0.0.1]:34621 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5COY-0007Pu-6k for submit@debbugs.gnu.org; Tue, 13 Dec 2022 16:00:58 -0500 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:60967) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5COV-0007Pn-LH for 59991@debbugs.gnu.org; Tue, 13 Dec 2022 16:00:56 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id ECC0C320092D; Tue, 13 Dec 2022 16:00:48 -0500 (EST) Received: from imap45 ([10.202.2.95]) by compute1.internal (MEProxy); Tue, 13 Dec 2022 16:00:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=owlfolio.org; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1670965248; x=1671051648; bh=3X+OHlHnGX CpNUL2QPcS+Hqpr58ut2TXQScRrHySi1s=; b=g1xc+fCwadtBkBoGk6F23OACf8 TBsYyq04YmBmjNmJhluu6Vx0mDBpMtyEGzTfj5PErzeQzAw67bSaKCtxfEqQ1wmd S7iUM1paMb+JGAdJ+lRweMReltlDvJYmqUsR4q29jH/HTFHsFmm7/VyM9xaG1AVd vJ4pnyWnWmSDBqCFNSxMi0Un7Hc7YFlrUPBtAacwA/Fhl5SJZ3KoukfBtHee6kDf J/vvTUHBaEKWKnnp6YvRx316W+t1gm7pbI2AaHH2UUt7m0hh66TFYfOAfs6HXtUg wyrAI85Y0Lmw/ZXMX+xD2uBA76FuDwz9m8bjIjI5yb1vPBFMQl33r4oKJIgw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1670965248; x=1671051648; bh=3X+OHlHnGXCpNUL2QPcS+Hqpr58u t2TXQScRrHySi1s=; b=P/A/oe0VHKzxs1dp22YvWsGhxnfcov/XmChIy4eS+goK Ciwp5hXS4N38CtjGMJxnSfiGj5A0Q3eoQa7hnYo+IB9fblbVMMRWQ/+XsC/S3/Ny l9VjuEDIeJnHk+Xs/7TdUuWzT7flgBA+Ysh7n6muhzZWNaFI726F2/z/hU2NAwyC zlZ1GSdQJa/NMM/x9w5FVrE83PWu88VR76IjUNdHMeCDLOmKdSpdGS582ckynTCR fjIxJZy+Wu6YHr9jjHxR5YVCL6+Psv5y19CflEpOWFkFRznFXfY4Ore2/7uHS7/E +Is2WoP7yySDlvsHqJEUFyQRRIF6cyelHvkZWj//kQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfedugdejtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvvefutgesthdtredtreertdenucfhrhhomhepfdgkrggt khcuhggvihhnsggvrhhgfdcuoeiirggtkhesohiflhhfohhlihhordhorhhgqeenucggtf frrghtthgvrhhnpefhleefheduhfelgeehgeejveehueeihedvgfeuueetteelieeiteeh fefhleduieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpeiirggtkhesohiflhhfohhlihhordhorhhg X-ME-Proxy: Feedback-ID: i876146a2:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id E4166272007A; Tue, 13 Dec 2022 16:00:47 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-1115-g8b801eadce-fm-20221102.001-g8b801ead Mime-Version: 1.0 Message-Id: In-Reply-To: <202212122257.2BCMvSiJ015254@freefriends.org> References: <202212122257.2BCMvSiJ015254@freefriends.org> Date: Tue, 13 Dec 2022 16:00:27 -0500 From: "Zack Weinberg" To: "Karl Berry" , "Frederic Berat" Subject: Re: [bug#59991] [PATCH 0/2] Port tests to modern C Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 59991 Cc: 59991@debbugs.gnu.org, Automake development X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Mon, Dec 12, 2022, at 5:57 PM, Karl Berry wrote: > Zack, would you like be co-maintainer or at least co-developer of > Automake? There is, evidently, no one else in the world interested in > being actively involved with Automake on the maintainer side. I have to decline; I don't have anything like the time required and also I am almost completely unfamiliar with the innards of Automake (except for the handful of Perl modules shared with Autoconf). zw From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 16 01:18:22 2022 Received: (at submit) by debbugs.gnu.org; 16 Dec 2022 06:18:22 +0000 Received: from localhost ([127.0.0.1]:47348 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p6434-0004K9-72 for submit@debbugs.gnu.org; Fri, 16 Dec 2022 01:18:22 -0500 Received: from lists.gnu.org ([209.51.188.17]:49942) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p642y-0004K3-Su for submit@debbugs.gnu.org; Fri, 16 Dec 2022 01:18:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p642y-000114-JW for automake-patches@gnu.org; Fri, 16 Dec 2022 01:18:16 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p642v-0001jK-EX for automake-patches@gnu.org; Fri, 16 Dec 2022 01:18:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1671171491; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=A2ISaKeIADRtmIXtZ++TKwZJrhv6gKlnz/BqM8NC0b4=; b=bxgAJat8jsvEWAhP7A8i4EUTBjNFVU84ft8Ce4h50EeIkDg37wnDfgzoL7aoMQKIHpM6S1 uIYymHVnuJmXaRfmAGv8Ga7uqEivVqhQwRSmFkJ7FZUL/gThTNJvvblhPHT/I3dp2ASvfn T6lhPa73/mWIyIDYwAVXn7k+rQjtVek= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-583-ryZyDmxZNKyPUGtnKQYm6g-1; Fri, 16 Dec 2022 01:18:07 -0500 X-MC-Unique: ryZyDmxZNKyPUGtnKQYm6g-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 94C141C09041 for ; Fri, 16 Dec 2022 06:18:07 +0000 (UTC) Received: from Nymeria-redhat.redhat.com (unknown [10.39.192.133]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0CA3B140EBF5; Fri, 16 Dec 2022 06:18:06 +0000 (UTC) From: Frederic Berat To: automake-patches@gnu.org Subject: [bug#59991][PATCH v2 0/3] Port tests to modern C Date: Fri, 16 Dec 2022 07:17:16 +0100 Message-Id: <20221216061719.1646646-1-fberat@redhat.com> In-Reply-To: <20221212070554.1635775-1-fberat@redhat.com> References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.7 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=170.10.129.124; envelope-from=fberat@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20B=C3=A9rat?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) From: Frédéric Bérat Hello, There is ongoing work from both GCC and Clang community to set the C99 standard as the default one. In this context, Fedora packages were rebuilt with some warnings turned as errors to simulate the change. This leads to failures in Automake, that are attempted to be fixed, mainly in this patchset. Fred. Changes from v1: - [PATCH 2/2] has been split in 2, in order to properly detail changes related to depcomp.sh. The code is untouched. --- Frédéric Bérat (3): tests: Fix 'type defaults' error in link_cond due to main not being properly declared tests: Fix implicit function declaration errors tests: Fix implicit function declaration in ax/depcomp.sh t/ax/depcomp.sh | 4 ++-- t/c-demo.sh | 1 + t/cond35.sh | 2 ++ t/dist-vs-built-sources.sh | 1 + t/lex-clean.sh | 1 + t/lex-multiple.sh | 4 ++++ t/lex-nodist.sh | 2 ++ t/link_cond.sh | 2 +- t/ltcond2.sh | 2 ++ t/ltconv.sh | 6 ++++++ t/subobj-clean-lt-pr10697.sh | 10 +++++++++- t/subobj-clean-pr10697.sh | 10 +++++++++- t/tags-pr12372.sh | 3 ++- t/yacc-basic.sh | 1 + t/yacc-clean.sh | 4 ++++ t/yacc-nodist.sh | 2 ++ 16 files changed, 49 insertions(+), 6 deletions(-) -- 2.38.1 From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 04 02:15:40 2023 Received: (at 59991) by debbugs.gnu.org; 4 Feb 2023 07:15:40 +0000 Received: from localhost ([127.0.0.1]:40520 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOClv-0003S1-Tv for submit@debbugs.gnu.org; Sat, 04 Feb 2023 02:15:40 -0500 Received: from mail-lf1-f46.google.com ([209.85.167.46]:34469) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOClt-0003Rl-8G for 59991@debbugs.gnu.org; Sat, 04 Feb 2023 02:15:38 -0500 Received: by mail-lf1-f46.google.com with SMTP id cf42so10864647lfb.1 for <59991@debbugs.gnu.org>; Fri, 03 Feb 2023 23:15:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=43yo0QbbPbjZCTkaGywf3sl0S8MQOGZmZHxtFPrJP4w=; b=sVPp35ADOL9/5n+O8n0ZXJ0C4ZfHGttM6tNc07SOdtHDo5ip/xnvPPDVCG005vl1jL Q4jwhsfAfk/Zw1QdJ5iz1+I0gSSIWPocygbfIh0GoJRgkkHBNpy1D0g08OKKOTDQYx7M o2oiyWzDsj8LwQXcCw4PA+dR0U15kP+L3jZ9tIQbj4D/MQnrcTRze6b0LaYBXlG1p6C1 zKmhtvH27RysTEY45D/tJfVTz8ZOzPzWyf1JZLSOzX2Qs9FlunIrwy8qdEadcK0hfs2e HI6Q6YCUuuKgrG/NGSVzFkRsyrzIMQLmy8SYSrAadiIoldi3HtO8lKdpigmIlHQOEHAp MZ0A== X-Gm-Message-State: AO0yUKWEITVqoPTw/gIZ+8RK9Lqs2q+ydt7DKbD0mpBa0Tr6jgt90XEx T3DTCCo3aVqzL6PoebDt3FQ1lQ4yCQRKtJTiR1I= X-Google-Smtp-Source: AK7set+XGHovwY2HsuhVdt/QuYvXaLlgoOYV/tVqb4IWrB9jDw/8eVyOIxmpIn7E0+E6Xp9Qu3ciyool3m3i9yR/Aro= X-Received: by 2002:ac2:559a:0:b0:4cc:9b9b:5b8c with SMTP id v26-20020ac2559a000000b004cc9b9b5b8cmr2521904lfg.168.1675494931167; Fri, 03 Feb 2023 23:15:31 -0800 (PST) MIME-Version: 1.0 References: <20221212070554.1635775-1-fberat@redhat.com> <20221216061719.1646646-1-fberat@redhat.com> In-Reply-To: <20221216061719.1646646-1-fberat@redhat.com> From: Jim Meyering Date: Fri, 3 Feb 2023 23:15:19 -0800 Message-ID: Subject: Re: [bug#59991] [PATCH v2 0/3] Port tests to modern C To: Frederic Berat Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 59991 Cc: 59991@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) On Thu, Dec 15, 2022 at 10:19 PM Frederic Berat wrote: > From: Fr=C3=A9d=C3=A9ric B=C3=A9rat > Hello, > > There is ongoing work from both GCC and Clang community to set the C99 st= andard > as the default one. > In this context, Fedora packages were rebuilt with some warnings turned a= s > errors to simulate the change. This leads to failures in Automake, that a= re > attempted to be fixed, mainly in this patchset. > > Fred. > > Changes from v1: > - [PATCH 2/2] has been split in 2, in order to properly detail changes > related to depcomp.sh. The code is untouched. > > --- > Fr=C3=A9d=C3=A9ric B=C3=A9rat (3): > tests: Fix 'type defaults' error in link_cond due to main not being > properly declared > tests: Fix implicit function declaration errors > tests: Fix implicit function declaration in ax/depcomp.sh > > t/ax/depcomp.sh | 4 ++-- > t/c-demo.sh | 1 + > t/cond35.sh | 2 ++ > t/dist-vs-built-sources.sh | 1 + > t/lex-clean.sh | 1 + > t/lex-multiple.sh | 4 ++++ > t/lex-nodist.sh | 2 ++ > t/link_cond.sh | 2 +- > t/ltcond2.sh | 2 ++ > t/ltconv.sh | 6 ++++++ > t/subobj-clean-lt-pr10697.sh | 10 +++++++++- > t/subobj-clean-pr10697.sh | 10 +++++++++- > t/tags-pr12372.sh | 3 ++- > t/yacc-basic.sh | 1 + > t/yacc-clean.sh | 4 ++++ > t/yacc-nodist.sh | 2 ++ > 16 files changed, 49 insertions(+), 6 deletions(-) Hi Frederic, Thanks for the work. However, neither in this mail, nor in your original did I find a corresponding patch. Would you please resend them? I looked here, too: https://bugs.gnu.org/59991 From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 04 17:29:36 2023 Received: (at 59991) by debbugs.gnu.org; 4 Feb 2023 22:29:36 +0000 Received: from localhost ([127.0.0.1]:43569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOR2O-0008Ac-MM for submit@debbugs.gnu.org; Sat, 04 Feb 2023 17:29:36 -0500 Received: from freefriends.org ([96.88.95.60]:44582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOR2M-0008AU-DG for 59991@debbugs.gnu.org; Sat, 04 Feb 2023 17:29:34 -0500 X-Envelope-From: karl@freefriends.org Received: from freefriends.org (freefriends.org [96.88.95.60]) by freefriends.org (8.14.7/8.14.7) with ESMTP id 314MTU3T018102 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 4 Feb 2023 15:29:30 -0700 Received: (from apache@localhost) by freefriends.org (8.14.7/8.14.7/Submit) id 314MTTf6018099; Sat, 4 Feb 2023 15:29:29 -0700 Date: Sat, 4 Feb 2023 15:29:29 -0700 Message-Id: <202302042229.314MTTf6018099@freefriends.org> From: Karl Berry To: jim@meyering.net Subject: Re: [bug#59991] [PATCH v2 0/3] Port tests to modern C In-Reply-To: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 59991 Cc: fberat@redhat.com, 59991@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) However, neither in this mail, nor in your original did I find a corresponding patch. Hi Jim - they ended up with separate bug#s, since separate emails. At least I think these are those: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59992 (applied by mike?) https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59993 BTW, see also the next bug, https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59994 for more from Frederic, about flex madness. karl From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 06 07:54:47 2023 Received: (at 59991) by debbugs.gnu.org; 6 Feb 2023 12:54:47 +0000 Received: from localhost ([127.0.0.1]:47558 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pP11C-0006e4-JL for submit@debbugs.gnu.org; Mon, 06 Feb 2023 07:54:46 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:60661) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pP11B-0006dt-FR for 59991@debbugs.gnu.org; Mon, 06 Feb 2023 07:54:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1675688085; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=k3a90u3RXA+01PyXlqu2WmJ8fuMPM/adRlwPWIsMTy4=; b=Kbaes8myAfyteQAIVdbZPWFT9cY+0sV+yC8ituR0vOzCLKSNu5Znq779xt958m6ft13Oc9 ogevNsqgidNjpikWxsytJ3p9YiV+/iv+OXPOBVMjruH6D3TW4eup1Sv0qe8phCTVvoynmm 6CAlDh8gWK+p0BoI/VoDZFTA3tTIvTc= Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-581-HZnTkLSSNASSz0AMs4NA7w-1; Mon, 06 Feb 2023 07:54:43 -0500 X-MC-Unique: HZnTkLSSNASSz0AMs4NA7w-1 Received: by mail-ej1-f70.google.com with SMTP id ae2-20020a17090725c200b0088d91fe7ec5so8521733ejc.1 for <59991@debbugs.gnu.org>; Mon, 06 Feb 2023 04:54:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=k3a90u3RXA+01PyXlqu2WmJ8fuMPM/adRlwPWIsMTy4=; b=yAEBPT3tEWAW1KfHjsAdG0ffE9AglDSxGvPnbqqXOq3uk2Xxp3eZ0TanEtCyl7VJ9i BOy57F+aRe9nejDkwRR5BjGIUWHawL4MJYtrKx5ihU6gdcIvby4NvzFVrRU+XIQCsuEy f5Q81fS49s7ppRiW4Y82X9vwJ44M5fif8Cn+ttRJ/RzR1Rk3jLSY3bG/XnpNSw/TVkoN a6/8/5Ts8AFM0Wr6Spo/+fGnLvATgQsKGSyJI1q6QtPDQJXoNhe/wnGRvwioh+2y+9El DQjLHUi5l9zi2dKc9Xknij+S6wCpyKB39ZNBIhHK1GhOf3jEfLETuaMv7YfWvepZxDtv wlvw== X-Gm-Message-State: AO0yUKVvXTOhgfk27+xspdjPL+E1h78LOmOEcjgsxPMfloZh4PlA2INI nwAM0gQCp9+KyPewPt2AnWI0+7k60ryEGsuqL3OjqR0zC6zceixZ3MjJBaxeVzLRTmSkbdwa7u/ p7apnKrKWSuyhfVkggOUvMfYmc7szDaA= X-Received: by 2002:a17:906:c9d2:b0:878:8062:e98f with SMTP id hk18-20020a170906c9d200b008788062e98fmr5899541ejb.156.1675688082470; Mon, 06 Feb 2023 04:54:42 -0800 (PST) X-Google-Smtp-Source: AK7set8/s4JY8w4POHOUQ19rkjPAe0ZGxphsGTN3CtgXugdnG6a1t4vOn3gCVaJO0hqeEF5uGXRheaaxHW5mLSzsJuc= X-Received: by 2002:a17:906:c9d2:b0:878:8062:e98f with SMTP id hk18-20020a170906c9d200b008788062e98fmr5899536ejb.156.1675688082277; Mon, 06 Feb 2023 04:54:42 -0800 (PST) MIME-Version: 1.0 References: <202302042229.314MTTf6018099@freefriends.org> In-Reply-To: <202302042229.314MTTf6018099@freefriends.org> From: Frederic Berat Date: Mon, 6 Feb 2023 13:54:31 +0100 Message-ID: Subject: Re: [bug#59991] [PATCH v2 0/3] Port tests to modern C To: Karl Berry X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: multipart/alternative; boundary="000000000000e6152305f407889c" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 59991 Cc: jim@meyering.net, 59991@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000e6152305f407889c Content-Type: text/plain; charset="UTF-8" Yes, they got separated bug IDs, next time I should probably consider modifying the patch headers so that they are sent in reply to the cover letter. The first patch has been merged ( https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59992). The second has been divided in 2: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59993#23 and https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60962 (I replied to the wrong message when sending the v3) Fred. On Sat, Feb 4, 2023 at 11:29 PM Karl Berry wrote: > However, neither in this mail, nor in your original did I find a > corresponding patch. > > Hi Jim - they ended up with separate bug#s, since separate emails. > At least I think these are those: > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59992 (applied by mike?) > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59993 > > BTW, see also the next bug, > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59994 > for more from Frederic, about flex madness. > > karl > > --000000000000e6152305f407889c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yes, they got separated bug IDs, next time I should p= robably consider modifying the patch headers so that they are sent in reply= to the cover letter.

The first patch has been mer= ged (http= s://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D59992).
The secon= d has been divided in 2:
and
https://debbugs.gnu.org/cgi/bugreport.cgi?bu= g=3D60962 (I replied to the wrong message when sending the v3)

Fred.




On Sat, Feb 4, 2023 at 11:29 PM Karl Berry <karl@freefriends.org> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l= eft:1px solid rgb(204,204,204);padding-left:1ex">=C2=A0 =C2=A0 However, nei= ther in this mail, nor in your original did I find a
=C2=A0 =C2=A0 corresponding patch.

Hi Jim - they ended up with separate bug#s, since separate emails.
At least I think these are those:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug= =3D59992 (applied by mike?)
https://debbugs.gnu.org/cgi/bugreport.cgi?bug= =3D59993

BTW, see also the next bug,
https://debbugs.gnu.org/cgi/bugreport.cgi?bug= =3D59994
for more from Frederic, about flex madness.

karl

--000000000000e6152305f407889c-- From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 15 16:26:53 2023 Received: (at 59991) by debbugs.gnu.org; 15 Nov 2023 21:26:53 +0000 Received: from localhost ([127.0.0.1]:53985 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r3NPQ-0004rU-UN for submit@debbugs.gnu.org; Wed, 15 Nov 2023 16:26:53 -0500 Received: from frenzy.freefriends.org ([198.99.81.75]:47236 helo=freefriends.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r3NPH-0004qn-3b; Wed, 15 Nov 2023 16:26:46 -0500 X-Envelope-From: karl@freefriends.org Received: from freefriends.org (localhost [127.0.0.1]) by freefriends.org (8.14.7/8.14.7) with ESMTP id 3AFLQgkY009675 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 15 Nov 2023 14:26:42 -0700 Received: (from apache@localhost) by freefriends.org (8.14.7/8.14.7/Submit) id 3AFLQgnq009674; Wed, 15 Nov 2023 14:26:42 -0700 Date: Wed, 15 Nov 2023 14:26:42 -0700 Message-Id: <202311152126.3AFLQgnq009674@freefriends.org> From: Karl Berry To: fberat@redhat.com, 59991@debbugs.gnu.org Subject: Re: [bug#59991] [PATCH v2 0/3] Port tests to modern C In-Reply-To: X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 59991 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Subject: [bug#59991] [PATCH v2 0/3] Port tests to modern C I believe this "header patch" 59991 can be closed (so doing), since 59992, 59993, and 60962 have been merged. The related flex patch 59994 has also been merged. Let me know if anything along these lines is outstanding. --thanks, karl. From unknown Fri Jun 20 19:56:38 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 14 Dec 2023 12:24:17 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator