[bug#74434] [PATCH] py-compile: Allow user to disable python

2024-11-24 Thread Frederic Berat
On Sun, Nov 24, 2024 at 3:05 AM Karl Berry wrote: > +case "$PYTHON" in > + *python*) ;; > + *) > + echo "$me: Invalid python executable ${PYTHON}"; > + echo "$me: Python support disabled"; > + exit 0;; > +esac > > Thanks. But I'm not sure about requiring the execu

[bug#74434] [PATCH] py-compile: Allow user to disable python

2024-11-20 Thread Frederic Berat
On Tue, Nov 19, 2024 at 10:29 PM Karl Berry wrote: > Hi Frederic, > > I believe this is a common practice > > Well, clearly no one had thought of it nor was it tried at any point > during the lengthy automake pretest sequence, but anyway, agreed that > there's no reason to gratuitously fail i

[bug#68416] [PATCH] python: add 3.20 - 3.16 to the version search list

2024-01-14 Thread Frederic Berat
On Sun, Jan 14, 2024 at 3:13 AM Karl Berry wrote: > With Python 3.12 out now, and 3.13 out in ~9 months, the existing > runway > is running out. Bump up to 3.20 for the next Automake release. > > Applied, thanks. > > Not proposing to try anything for our upcoming release, but I wonder if

[bug#59991] [PATCH v2 0/3] Port tests to modern C

2023-02-06 Thread Frederic Berat
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/cg

[bug#59993] [PATCH v2 3/3] tests: Fix implicit function declaration in ax/depcomp.sh

2023-01-16 Thread Frederic Berat
to figure out why in one case foo.o is consistently rebuilt, while not in the other. On Fri, Jan 13, 2023 at 10:57 AM Frederic Berat wrote: > Ok, I'll try to figure out why this test passes on 1.16.5 but not on HEAD > with the same patch. > > On Fri, Jan 13, 2023 at 9:47 AM Mik

[bug#59994] [PATCH] tests: Don't try to prevent flex to include unistd.h

2023-01-13 Thread Frederic Berat
I probably won't be able to do so before next week at least. If you happen to have time (and be willing) to do it earlier, don't hesitate ;) On Fri, Jan 13, 2023 at 7:31 AM Mike Frysinger wrote: > On Mon, 12 Dec 2022 15:20:46 -0500, Zack Weinberg wrote: > > On 2022-12-12 2:07

[bug#59993] [PATCH v2 3/3] tests: Fix implicit function declaration in ax/depcomp.sh

2023-01-13 Thread Frederic Berat
Ok, I'll try to figure out why this test passes on 1.16.5 but not on HEAD with the same patch. On Fri, Jan 13, 2023 at 9:47 AM Mike Frysinger wrote: > On 13 Jan 2023 09:14, Frederic Berat wrote: > > I made one more build with a different patchset list, could it be that > th

[bug#59993] [PATCH v2 3/3] tests: Fix implicit function declaration in ax/depcomp.sh

2023-01-13 Thread Frederic Berat
I made one more build with a different patchset list, could it be that the failure you encounter is with "t/subobj.sh" ? In my tests run this failure is fixed by: https://lists.gnu.org/archive/html/automake-patches/2022-12/msg1.html On Fri, Jan 13, 2023 at 8:57 AM Frederic Be

[bug#59993] [PATCH v2 3/3] tests: Fix implicit function declaration in ax/depcomp.sh

2023-01-12 Thread Frederic Berat
That's strange, although I tested it on top of automake-1.16.5, I don't have any failure on `make check` with this one here [1]. May you provide more details ? [1] Testsuite summary for GNU Automake 1.16.5 =

[bug#59991] [PATCH v2 0/3] Port tests to modern C

2022-12-15 Thread Frederic Berat
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 f

[bug#59993] [PATCH v2 2/3] tests: Fix implicit function declaration errors

2022-12-15 Thread Frederic Berat
From: Frédéric Bérat Changes from v1: Modifications to "t/ax/depcomp.sh" have been moved to a dedicated patch -- 8< -- This is related to an effort to prepare Automake for future GCC/Clang versions which set c99 as default standard to be used. Function should be properly declared prior to us

[bug#59992] [PATCH v2 1/3] tests: Fix 'type defaults' error in link_cond due to main not being properly declared

2022-12-15 Thread Frederic Berat
From: Frédéric Bérat No modifications from v1 -- 8< -- This is related to an effort to prepare Automake for future GCC/Clang versions which set c99 as default standard to be used. Not properly declaring main as "int main(...)" is rejected since c99. --- t/link_cond.sh | 2 +- 1 file changed, 1

[bug#59993] [PATCH v2 3/3] tests: Fix implicit function declaration in ax/depcomp.sh

2022-12-15 Thread Frederic Berat
From: Frédéric Bérat Changes from v1: Split from [PATCH 2/2] -- 8< -- In depcomp.sh, the following occurs: 1. Files are created so that headers and units are available in subdirectories 2. Multiple "make" are executed, while modifying the content of the headers, some should fail, other

[bug#59993] [PATCH 2/2] tests: Fix implicit function declaration errors

2022-12-15 Thread Frederic Berat
On Mon, Dec 12, 2022 at 9:19 PM Zack Weinberg wrote: > > On 2022-12-12 2:05 AM, Frederic Berat wrote: > > This is related to an effort to prepare Automake for future GCC/Clang > > versions which set c99 as default standard to be used. > > Function should be properly declar

[bug#59992] [PATCH 1/2] tests: Fix 'type defaults' error in link_cond due to main not being properly declared

2022-12-14 Thread Frederic Berat
^~~ less.c:5:13: error: expected type-specifier before ‘;’ token 5 | return new; | ^ On Tue, Dec 13, 2022 at 7:35 AM Frederic Berat wrote: > > On Mon, Dec 12, 2022 at 9:15 PM Zack Weinberg wrote: > > > > On 2022-12-12 2:05 AM, Frederic Berat wrote: >

[bug#59993] [PATCH 2/2] tests: Fix implicit function declaration errors

2022-12-13 Thread Frederic Berat
I'll separe this one in a dedicated patch and give it a more detailed/specific explanation. On Tue, Dec 13, 2022 at 10:02 PM Zack Weinberg wrote: > > On Tue, Dec 13, 2022, at 1:30 AM, Frederic Berat wrote: > > On Mon, Dec 12, 2022 at 9:19 PM Zack Weinberg wrote: > >&g

[bug#59993] [PATCH 2/2] tests: Fix implicit function declaration errors

2022-12-13 Thread Frederic Berat
On Mon, Dec 12, 2022 at 9:19 PM Zack Weinberg wrote: > > On 2022-12-12 2:05 AM, Frederic Berat wrote: > > This is related to an effort to prepare Automake for future GCC/Clang > > versions which set c99 as default standard to be used. > > Function should be properly declar

[bug#59992] [PATCH 1/2] tests: Fix 'type defaults' error in link_cond due to main not being properly declared

2022-12-13 Thread Frederic Berat
On Mon, Dec 12, 2022 at 9:15 PM Zack Weinberg wrote: > > On 2022-12-12 2:05 AM, Frederic Berat wrote: > > This is related to an effort to prepare Automake for future GCC/Clang > > versions which set c99 as default standard to be used. > > Not properly declaring main as &qu

[bug#59989] [PATCH] tests: Fix txinfo-include test for texinfo 7.x

2022-12-13 Thread Frederic Berat
Fine with me, thanks ! On Mon, Dec 12, 2022 at 11:52 PM Karl Berry wrote: > Hi Frederic, > > Texinfo modified its behavior regarding apostrophes, which are now > replaced by UTF-8 right single quotes by default. > > Sorry to hear it, but not surprised. > > -GNU's Not Unix. > +@ve

[bug#59990] [PATCH] tests: depcomp: ensure make_ok() fails when run_make fails

2022-12-12 Thread Frederic Berat
From: Frédéric Bérat While running automake tests with -std-gnu=c99, the compiler report errors which lead to make to fail. Yet, these failures are ignored during the tests, which considers them to be successful as stderror is check for one specific pattern. If make fails, investigation should b

[bug#59991] [PATCH 0/2] Port tests to modern C

2022-12-12 Thread Frederic Berat
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 ar

[bug#59993] [PATCH 2/2] tests: Fix implicit function declaration errors

2022-12-12 Thread Frederic Berat
From: Frédéric Bérat This is related to an effort to prepare Automake for future GCC/Clang versions which set c99 as default standard to be used. Function should be properly declared prior to use in order to be compatible with c99 standard. This is valid for both local functions and standard fun

[bug#59992] [PATCH 1/2] tests: Fix 'type defaults' error in link_cond due to main not being properly declared

2022-12-12 Thread Frederic Berat
From: Frédéric Bérat This is related to an effort to prepare Automake for future GCC/Clang versions which set c99 as default standard to be used. Not properly declaring main as "int main(...)" is rejected since c99. --- t/link_cond.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -

[bug#59994] [PATCH] tests: Don't try to prevent flex to include unistd.h

2022-12-12 Thread Frederic Berat
From: Frédéric Bérat Hello, This patch is mainly a proposal. While the macro can simply be removed as explained below, another possibility it to add a flex option "--never-interactive" to prevent flex to make use of "isatty". -- 8< -- This is related to an effort to prepare Automake for future

[bug#59989] [PATCH] tests: Fix txinfo-include test for texinfo 7.x

2022-12-12 Thread Frederic Berat
From: Frédéric Bérat Texinfo modified its behavior regarding apostrophes, which are now replaced by UTF-8 right single quotes by default. It looks like this was supposed to be the default for few years already, but this behavior was broken so far. Use the @verb construct in order to ensure that