bug#68808: subsecond mtime discovery code insufficient

2024-05-29 Thread Karl Berry
Hi Erik, * color-tests2.sh and color-tests2-w.sh fail -- logs attached. Is this with the old make 3.81 from the system, or the new make you compiled? What is in the "stdout" file in t/color-tests2.dir/stdout? And, are these the only two tests that fail in the entire suite? What I see in the

bug#68808: subsecond mtime discovery code insufficient

2024-05-27 Thread Karl Berry
* fine on the tests that failed previously because of macOS default make having only second resolution Great! Thanks much for the instant testing. * color-tests2.sh and color-tests2-w.sh fail -- logs attached. I had tweaked some of the color stuff, so I must have messed up

bug#68808: subsecond mtime discovery code insufficient

2024-05-27 Thread Karl Berry
Hi Erik and all - I (finally) made the change below to have automake test for a make that doesn't support subsecond mtimes even when the rest of the system is ok, as you noted happens with the make-3.81 shipped by macOS. I installed make-3.8.1 on my Rocky 9 system, but it did not cause the

bug#68179: Re: automake-1.16j on OpenBSD

2024-05-26 Thread Karl Berry
I pushed Bogdan's patches. Listing several functions to look for in (lib)objc in multiple places doesn't seem ideal, but factoring that out doesn't seem easy either. strip -x: no problem. The general issue: The AC_PROG_OBJCXX macro already tries to compile a trivial program (of course), but the

bug#70638: [PATCH] doc: Put test-driver option args in separate words, not joined with `='

2024-05-21 Thread Karl Berry
Hi Mark, > ... correct the > documentation and usage messages to describe it accurately, with a > historical note in the manual explaining the long-standing error I finally had a chance to apply this patch. Thank you for your careful work! I just tweaked a few words in

bug#70557: Fix compilation of Vala files conditionally added to _SOURCES

2024-05-06 Thread Karl Berry
Thanks for the Vala doc patch, Reuben. Installed and closing. --best, karl.

bug#70557: Fix compilation of Vala files conditionally added to _SOURCES

2024-04-29 Thread Karl Berry
so you have to give it all the source files at once, Wow. I guess it is worth documenting this limitation of the current Vala support. If you agree with my reasoning above, then I will prepare a documentation patch based on it. All I know about Vala is what you've written, but

bug#70638: Automake custom-driver interface documentation doesn't match implementation

2024-04-29 Thread Karl Berry
Hi Mark - thanks for the report. it seems to me that the least bad approach is to correct the documentation and usage messages to describe it accurately, with a historical note in the manual explaining the long-standing error in previous versions of the documentation. I agree.

bug#70557: Fix compilation of Vala files conditionally added to _SOURCES

2024-04-26 Thread Karl Berry
Reuben, any chance you can whomp up a test for this patch? I don't see a problem with the change, but it's always better to add a test against future regressions, etc. --thanks, karl.

bug#70557: Fix compilation of Vala files conditionally added to _SOURCES

2024-04-25 Thread Karl Berry
Attached, an updated patch that passes the tests. It uses GNU Make functionality, but this is already required by the Vala support. Thanks Ruben. I will peruse as soon as I have a chance, if no one else gets there first ... -k

bug#70410: Fwd: [PATCH] gotools: Workaround non-reproduceability of automake

2024-04-18 Thread Karl Berry
Per https://gcc.gnu.org/pipermail/gcc-patches/2024-April/649576.html this was fixed in https://bugs.gnu.org/46744. As I understand it. Closing.

bug#70410: Fwd: [PATCH] gotools: Workaround non-reproduceability of automake

2024-04-17 Thread Karl Berry
so whether it is @NATIVE_FALSE@install-exec-local: @NATIVE_FALSE@uninstall-local: or @NATIVE_FALSE@uninstall-local: @NATIVE_FALSE@install-exec-local: depends on some hash table traversal or what. Thanks for the report. Any chance of a Makefile.am that can reproduce the

bug#69908: dist-no-built-sources vs. no-dist-built-sources vs. dist-built-sources

2024-03-22 Thread Karl Berry
The output I got from this and dist-no-built-sources.log is rather interesting. As it looks, the test is indeed broken from the beginning. Thank you very much, Jens. We'll deal with this asap. Your original analysis that we simply don't recognize the right option name is looking correct

bug#69908: dist-no-built-sources vs. no-dist-built-sources vs. dist-built-sources

2024-03-20 Thread Karl Berry
Hi Jens - thanks for the report. Nevertheless I think there is something wrong here. Quite likely. Can you please send an example tree that shows the failure? 'DIST_BUILT_SOURCES' => !! option 'dist-built-sources', Hmm. I had a vague impression that the "no-" was automatically

bug#68832: [PATCH] Testing: POSIX yacc and C++ linkage

2024-02-07 Thread Karl Berry
Attaching a simple patch Thanks Bogdan! I pushed those changes. Marcel, if you're able to try testing from the repo, that would be great. Else it hopefully won't be too long before the next pretest (or, even more optimistically, the next release). -karl

bug#68860: race condition with make recheck

2024-02-01 Thread Karl Berry
Hi Peter, The problem seems to be that both $(TESTS) and check_LIBRARIES depend on libfoo.a and trigger compilation of foo.cc. Thanks much for the report and analysis. What you wrote looks sensible to me. My understanding of parallel make is a bit hazy, Me too :(. If anyone else

bug#68832: Testing: POSIX yacc and C++ linkage

2024-01-31 Thread Karl Berry
parse1.yy:30:7: error: conflicting declaration of 'void yyerror(const char*)' with 'C' linkage parse1.yy:7:6: note: previous declaration with 'C++' linkage Thanks much for the careful and complete report. I think this is another manifestation of what Bogdan fixed in other cases in

bug#68119: [GNU automake 1.16.5] test-suite 45 tests failed

2024-01-31 Thread Karl Berry
Erik, I think all the automake test problems you reported here have been resolved (thanks to your excellent debugging). So closing. Leaving #68808 open until Zack or I have a chance to look into testing of make for the subsecond mtimes. Thanks again! -k

bug#63161: Issue with mkinstalldirs and symb links

2024-01-31 Thread Karl Berry
Hi Arnaud - back on this bug from last April, I guess I just don't think it's the job of mkinstalldirs to follow symlinks. It feels like too big a change in behavior. I think the real bug here lies in whatever created the broken symlink in the first place. So I'm going to close this one. All the

bug#67918: random failures with automake-1.16i

2024-01-31 Thread Karl Berry
I'm going to close this bug about the random test failures, partly fixed in #67670 and partly still open in #68808, but nothing to do here. --thanks, karl.

bug#68808: subsecond mtime discovery code insufficient

2024-01-31 Thread Karl Berry
Those square brackets are M4 quotes to prevent M4 from expanding $* and $2 itself. Ah, right. Of course. Good! The $[*] especially confused me. Just looks so perfectly like an array reference of some strange kind :). I think it would be a tiny bit clearer to use $[]*? Or am I missing

bug#68808: subsecond mtime discovery code insufficient

2024-01-30 Thread Karl Berry
(Off-topic for the original bug, but for the sake of public discussion ...) Hi Zack, It is absolutely not *supposed* to be using shell arrays. I guess it's not an array. It's the square bracket syntax that confuses me. A couple of examples from the fn in sanity.m4: test "$[*]" != "X

bug#68808: subsecond mtime discovery code insufficient

2024-01-29 Thread Karl Berry
Hi Erik - following up on your final comment in #68119: P.P.S. It still needs export am_cv_sleep_fractional_seconds=false to correctly run the tests on macOS. Without that, 75-90 tests fail. Maybe we can try to figure out why the code that tries to automatically discern

bug#19692: "rm -f" without file operands specified displays error and exits with status 1 on QNX 6.3.2

2024-01-29 Thread Karl Berry
When I run ‘make check’, it fails after passing t/pm/Wrap.pl with the following error: sh: >&3 : bad file descriptor tap-driver.sh: fatal: I/O or internal error Thanks for trying, though sorry to see that result. It's not clear to me what test is failing or what the

bug#68119: [GNU automake 1.16.5] test-suite 45 tests failed

2024-01-29 Thread Karl Berry
Hi Erik - yay for near-success :). case $(echo "$files" | wc -l | sed 's/^ *//') in 4|6) ;; *) false;; esac I went with that sed. because "wc -l" prints some spaces in front of the number (at least on macOS). I'm surprised this has not been seen already. But fine. At least it's

bug#68119: [GNU automake 1.16.5] test-suite 45 tests failed

2024-01-28 Thread Karl Berry
The attached patch fixes the tests for Python 3.12 Thank you Bogdan! Looks good to me. Installed. (and, hopefully later ones), Maybe until Python 3.12.2, anyway. --thanks, karl.

bug#19692: "rm -f" without file operands specified displays error and exits with status 1 on QNX 6.3.2

2024-01-28 Thread Karl Berry
I was able to bootstrap, configure, build and install automake-1.16j. Great! Is there any other testing I should do? If you're up for it, you could run make -j8 check (or -jwhatever) just to see if other tests fail. (It will take several hours to run without the -j, although

bug#68119: [GNU automake 1.16.5] test-suite 45 tests failed

2024-01-28 Thread Karl Berry
Hi Erik - thanks for the continued testing. Hi, Karl. I get an error on "make" because there is no "makeinfo" command on macOS. Well, since you've come this far, you could try installing the texinfo package, if you have Perl. Or perhaps it would be enough to touch doc/automake.info

bug#68119: [GNU automake 1.16.5] test-suite 45 tests failed

2024-01-28 Thread Karl Berry
Hi Erik, FAIL: t/aclocal-deleted-header-aclocal-amflags FAIL: t/aclocal-deleted-header I'm not sure, but I think the idea of those tests, and others, is that after making the various changes to the configure setup, running make should suffice to rebuild everything. Because that's what is

bug#23563: MKS Platform component 9.X - unable to configure parallel, performing "export ACCEPT_INFERIOR_RM_PROGRAM=YES" doesn't work

2024-01-26 Thread Karl Berry
The email address for the OP bounced. So closing this one.

bug#19692: "rm -f" without file operands specified displays error and exits with status 1 on QNX 6.3.2

2024-01-25 Thread Karl Berry
Hi Matt - back in 2015 (https://debbugs.gnu.org/cgi/bugreport.cgi?bug=19692, sorry for the delayed reply) you reported that your system failed the rm -f test. For the next automake release, we've removed this test and tried to accept any rm. (More info: https://bugs.gnu.org/10828.) If you have

bug#22074: unixware 7.1.4 rm command

2024-01-25 Thread Karl Berry
Hi Jarkko - back in 2015 (https://debbugs.gnu.org/cgi/bugreport.cgi?bug=22074, sorry for the delayed reply) you reported that your system failed the rm -f test. For the next automake release, we've removed this test and tried to accept any rm. (More info: https://bugs.gnu.org/10828.) If you

bug#23563: MKS Platform component 9.X - unable to configure parallel, performing "export ACCEPT_INFERIOR_RM_PROGRAM=YES" doesn't work

2024-01-25 Thread Karl Berry
Hi Bart - back in 2016 (https://debbugs.gnu.org/cgi/bugreport.cgi?bug=23563, sorry for the delayed reply) you reported that your system failed the rm -f test. For the next automake release, we've removed this test and tried to accept any rm. (More info: https://bugs.gnu.org/10828.) If you have

bug#68274: automake 1.16j nonnumerical version confuses scripts

2024-01-21 Thread Karl Berry
I changed the pretest version to 1.16.90. Closing.

bug#64837: FAIL: t/python-prefix

2024-01-17 Thread Karl Berry
I installed Bogdan's version of Stefano's patch from #54412. Fingers crossed. -k

bug#68274: automake 1.16j nonnumerical version confuses scripts

2024-01-13 Thread Karl Berry
there is nothing requiring or restricting the current version behavior other than "it's always been this way". True. but that doesn't mean it's better. No way to know what release or test scripts might be relying on the current convention. Changing for the sake of change doesn't

bug#68274: automake 1.16j nonnumerical version confuses scripts

2024-01-06 Thread Karl Berry
Carl - sorry, you'll need to adjust your script. Automake and other packages have used letters for pretests for decades, and it's not plausible to change now. Also, I have the impression that other packages use random git hexids in their pretest releases, which aren't numeric either. -k

bug#68119: [GNU automake 1.16.5] test-suite 45 tests failed

2024-01-04 Thread Karl Berry
FYI, macOS has an old bison (version 2.3 from 2006). I'm not sure if automake theoretically support bison going back that far, but I'm not going to worry about it since many errors disappear with the new bison. Thanks for thinking of that. In both aclocal-deleted-header.sh and

bug#68119: [GNU automake 1.16.5] test-suite 45 tests failed

2024-01-03 Thread Karl Berry
Using am_cv_sleep_fractional_seconds=false dropped it to 7-11 tests failing. Erik, thanks for all the trials and detailed analysis. Nothing is immediately clear to me either :(, but I'll take a look. -k

bug#67894: automake-1.16i pretest available: please test

2024-01-02 Thread Karl Berry
It seems to work. 'make check -j16' goes through and since it seemed to be of a random nature previously I ran the individual test repeatedly and it passed every time. Thanks for confirming, Peter. Myriad other problems have been reported, so it's nice to have one that actually got

bug#68119: [GNU automake 1.16.5] test-suite 45 tests failed

2024-01-01 Thread Karl Berry
92 tests fail on 1.16j Thanks for trying, though a sad result. I have a hunch that a lot of the failures are timing issues. Although Automake thinks your system "should" work with a 1-millisecond sleep at various points (I gather you're already using autoconf-2.72), maybe there are problems

bug#68165: automake-1.16j on Solaris 11

2023-12-31 Thread Karl Berry
/usr/bin/lex --version and that command reads from standard input: Thanks Bruno. I installed the patch. As for the other (non-ignored) failures, here and in your other reports today ... I can't get far with such system-dependent failures. Any chance you have time to delve into them? I

bug#68119: [GNU automake 1.16.5] test-suite 45 tests failed

2023-12-31 Thread Karl Berry
Hi Erik - thanks for the follow-up. Now I understand. You were testing automake-1.16.5. But you sent it so soon after we released a pretest, I didn't notice, and thought you were testing the pretest :). These test failures (among lots of other things) are supposedly fixed in the current sources.

bug#68151: automake-1.16j on Alpine Linux

2023-12-30 Thread Karl Berry
- does not understand the option '--best', only '-1' ... '-9'. - understands the options '-1' ... '-9' only when compressing, not when Seems a rather unnecessary incompatibility that some system decided not to support --best in gzip, when it has been available for those same 30 years. Oh

bug#68141: automake-1.16j on Ubuntu

2023-12-30 Thread Karl Berry
FAIL: t/python-prefix Log file is attached. I think it is the same issue as reported at https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64837 . Thanks for the report. I hope Mike or Bogdan can look at it. I have trouble discerning fixes for anything Python-related. -k

bug#68119: [GNU automake 1.16.5] test-suite 45 tests failed

2023-12-30 Thread Karl Berry
Subject: [GNU automake 1.16.5] test-suite 45 tests failed Clean install of macOS Sonoma 14.2.1 on MacBook Pro M3 max Thanks for the report, but it seems like something in the environment is causing trouble. For example, one of the failing tests is dist-vs-built-sources.sh: gcc

bug#67894: automake-1.16i pretest available: please test

2023-12-26 Thread Karl Berry
I get one failure (t/nodef) Hi Peter - I hope this random timing bug is fixed now. If you're able to test from the automake source tree (https://savannah.gnu.org/projects/automake/), that would be great. Else the next pretest should be coming along soon. --thanks, karl.

bug#67918: random failures with automake-1.16i

2023-12-26 Thread Karl Berry
I ran `make check` for this release on Fedora-rawhide and got random failures. Multiple runs seem to show different failures on all arches Hi Fredric - I hope this random timing bug is fixed now. If you're able to try testing from the automake source tree

bug#67539: GNU Automake 1.16.5 FAILS one test objc-megademo

2023-12-25 Thread Karl Berry
Closing this since there's nothing left to do on the automake side. (Someone new volunteered to take over libtool, BTW, but I see no changes in the maintainers file as yet. Not sure where that stands.) --best, karl.

bug#67891: automake-1.16i doesn't build on Solaris 10 sparc

2023-12-23 Thread Karl Berry
> help2man: can't get `--help' info from bin/automake > Try `--no-discard-stderr' if option outputs to stderr Regarding automake's running of help2man. I forgot that this is ok because automake (doc/local.mk) includes a copy of the help2man script itself in its distribution,

bug#67891: automake-1.16i doesn't build on Solaris 10 sparc

2023-12-21 Thread Karl Berry
$output =~ s/^((#.*)?\n)*\K/.POSIX:\n\n/; Solaris 10 'perl --version' says it's Perl v5.8.4. v5.8.4 is dated 2004 but \K was added in v5.10 I simply removed the \K, since its only purpose is to optimize use of $& (matched text), but we aren't using $& with this regexp, so far

bug#67918: random failures with automake-1.16i

2023-12-19 Thread Karl Berry
Hi Frederic - (switching to bug-automake for tracking) https://lists.gnu.org/archive/html/automake/2023-12/msg00034.html I ran `make check` for this release on Fedora-rawhide and got random failures. Multiple runs seem to show different failures on all arches Thanks for the

bug#67894: automake-1.16i pretest available: please test

2023-12-19 Thread Karl Berry
Hi Peter - thanks for trying the automake pretest. I get one failure (t/nodef) I suspect a timing problem, since I can't fathom any reason why that particular test would fail on your system specifically. (The test basically just runs a minimal automake twice.) with autoconf 2.71.

bug#67891: automake-1.16i doesn't build on Solaris 10 sparc

2023-12-19 Thread Karl Berry
Here's line 8135: $output =~ s/^((#.*)?\n)*\K/.POSIX:\n\n/; Ah. I'll get rid of the \K, once I remember/look up what it does :). (Jacob, if you have any advice, that would be great.) A simple fix would be for Automake to require Perl 5.10; Nah, we shouldn't require a jump in

bug#67891: automake-1.16i doesn't build on Solaris 10 sparc

2023-12-19 Thread Karl Berry
Hi Paul, help2man: can't get `--help' info from bin/automake Try `--no-discard-stderr' if option outputs to stderr So, the obvious question is, why can't help2man run bin/automake? Clearly it works on other systems, and it doesn't seem like this should be especially system-dependent. Can

bug#62791: BUILT_SOURCES not honoured in parallel build?

2023-12-10 Thread Karl Berry
Patch attached. Looks just fine. Thanks Reuben. I installed it. Closing ... --all the best, karl.

bug#67539: GNU Automake 1.16.5 FAILS one test objc-megademo

2023-12-10 Thread Karl Berry
partially related to how Automake is calling libtool from the build rules (it is missing the --tag option), I added the tags to automake as previously posted here. (https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67539) no tag defined for Objective C[1] (presumably it would be

bug#67673: Automake cannot be installed , help will be highly appreciated

2023-12-09 Thread Karl Berry
Mike wrote me separately to say the problem eventually fixed itself for no evident reason :(. Maybe related to our general timing issue? Anyway, closing. --thanks, karl.

bug#62791: BUILT_SOURCES not honoured in parallel build?

2023-12-08 Thread Karl Berry
The manual currently says: "You should never explicitly mention the intermediate (C or C++) file in any `SOURCES' variable; only list the source file." I don't know the code here, and this probably wasn't the question, but I think the manual's statement about "any `SOURCES'

bug#67673: Automake cannot be installed , help will be highly appreciated

2023-12-08 Thread Karl Berry
nobase-python: running python -V Python 3.12.0 ... ModuleNotFoundError: No module named 'imp' Looks like the failing tests are all Python-related, at least several with the above error. I don't think Python 3.12 was even released at the time of automake 1.16.5. I don't know what

bug#62791: BUILT_SOURCES not honoured in parallel build?

2023-12-06 Thread Karl Berry
Any chance that one of you could write a patch for the manual to explain whatever needs to be explained (better)? --thanks, karl.

bug#64756: rhel8 test failure confirmation?

2023-12-02 Thread Karl Berry
(Trying to switch to add to https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64756.) this doesn't work on systems that wrap `autom4te`. Had no idea anyone did that. grep: /Autom4te/FileUtils.pm: No such file or directory Oops. seems like the only reliable option is to invoke

bug#62896: [Configure] Bug with check for PERL when path has spaces (i.e. Windows)

2023-12-02 Thread Karl Berry
echo "$PERL" | grep '[ \t]' I don't think there's any portable way to use \t to insert a tab in a shell string, besides literally. There's something like tab=`printf '\t'` .. "$tab" ... but I don't see a need to go that far here. I just used a literal tab char. also, can we really

bug#67539: GNU Automake 1.16.5 FAILS one test objc-megademo

2023-12-02 Thread Karl Berry
However it looks like there is no tag defined for Objective C[1] (presumably it would be --tag=OBJC). Adding this option does appear to make things "work" in the sense that libtool just complains about the unknown tag but then proceeds to actually do stuff, rather than exiting

bug#67539: GNU Automake 1.16.5 FAILS one test objc-megademo

2023-11-30 Thread Karl Berry
Hi Dennis, libtool: compile: unable to infer tagged configuration Thanks for the report. As you surmise, apparently this needs to be reported to libtool. (Although afaik libtool is currently unmaintained, so I don't know when or if anything will get fixed.) At least, I have no idea what to

bug#64756: some frequent test failures

2023-11-30 Thread Karl Berry
Hi Bruno, This is with Automake 1.16.5 and Autoconf 2.71 on an ext4 file system. [...] When I add an 'rm -rf autom4te.cache' command before 'automake -a -c', the failures disappear. FWIW, in the Automake development sources, there is now a test to see if autom4te is the new

bug#67477: Automake warns that $(?D) is a non-POSIX variable name

2023-11-27 Thread Karl Berry
Hi Quinn, > Automake seems to be aware of $(@D) and $(@F), but not the others. Thanks for the report. This was fixed not long ago, and will be in the next release. The prior report, for the record: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=9587 All the best, Karl

bug#20082: new warning from ar on rawhide systems

2023-11-21 Thread Karl Berry
> And the patch against Automake attached now, sorry for the delay. https://lists.gnu.org/archive/html/automake-patches/2016-03/msg0.html In the better-late-than-never department: after eight years, I've finally applied this patch to make Automake's default ARFLAGS be cru instead of

bug#66352: parallel make yie lds "find: ���./conf*.dir��� : No such file or directory" errors

2023-11-09 Thread Karl Berry
Thanks Vincent. Closing.

bug#66352: parallel make yields "find: ‘./conf*.dir’: No such file or directory" errors

2023-11-03 Thread Karl Berry
When I want to build Automake (current Git version) with a parallel make ("make -j12"): I surmise this one was caused by the same random timing failures as your other reports, 66353 and 66354. A couple days ago we finally installed a patch (thanks Bogdan and Jacob) so that development

bug#32737: generated LDFLAGS order incorrect

2023-11-02 Thread Karl Berry

bug#64756: some frequent test failures

2023-11-02 Thread Karl Berry
Just to close this out: Bogdan worked up a patch to avoid the fractional-second timestamps unless the new (current autoconf development) autom4te is in used. Here is the basic change: https://git.savannah.gnu.org/cgit/automake.git/commit/?id=b6fa73115d094c8d0da1d6759b6e7c7fca1f8a07 (also appended

bug#66679: automake: error: undefined condition 'TRUE' for 'info_TEXINFOS'

2023-10-22 Thread Karl Berry
automake: Please contact . at /opt/local/share/automake-1.16/Automake/Channels.pm line 655. Automake::Channels::msg("automake", "", "undefined condition Thanks for the report. I (or someone else ... Bogdan?) will look into it as soon as we have a chance. Looking at the

bug#66353: bug#66354: test suite: remake-after-aclocal-m4 failure

2023-10-06 Thread Karl Berry
> Indeed, these are random failures. Closing per https://bugs.gnu.org/64756. Thanks.

bug#55025: [PATCH] New "posix" automake option.

2023-10-06 Thread Karl Berry
I installed your patch (and added a tiny test case). Thanks Vincent! Closing this bug (finally ...). -k

bug#66354: test suite: remake-after-aclocal-m4 failure

2023-10-05 Thread Karl Berry
remake-after-aclocal-m4 is one of the two tests that fail. I've attached the t/remake-after-aclocal-m4.log file. Thanks. I wonder if this and aclocal-I-and-install fail consistently for you. There is a timing issue with development automake that requires development autoconf (for a

bug#55025: [PATCH] New "posix" automake option.

2023-10-05 Thread Karl Berry
This patch is from https://bugs.gnu.org/55025. Thanks Vincent!

bug#55025: Automake should allow one to enable POSIX make behavior

2023-10-02 Thread Karl Berry
Sorry, I don't understand what you want Automake to do. Right now, as far as I can tell, Automake does nothing with .POSIX. It's not mentioned in the manual nor, as far as I can grep, the code. Maybe that's the issue, and you want a leading .POSIX in your Makefile.am to be specially copied at the

bug#65679: Request to cut new automake release to include new pythons

2023-09-01 Thread Karl Berry
WDYT of cutting new `automake` that includes this fix? Then projects could start cutting release tarballs that Just Work for such systems. Agreed we need to make a new automake release asap, but unfortunately the code is not ready. Releasing it would cause more problems than it would

bug#64837: FAIL: t/python-prefix

2023-07-24 Thread Karl Berry
With automake master, on an Ubuntu 22.04 system (with Python 3.10), I don't believe anyone has tried Automake with Python 3.10 before. Mike and Bogdan put in quite a bit of work getting the current tests to work with other versions of Python. Evidently every Python version does new and

bug#64756: some frequent test failures

2023-07-21 Thread Karl Berry
The various test-suite.log files show different test failures each Yes. Painful. I believe this is due to a timing problem with autom4te, exposed by Automake using fractional second sleeps according to what the filesystem supports. It is fixed in the autoconf repository but hasn't been

bug#64743: Speed up GNU make's internal processing

2023-07-20 Thread Karl Berry
Hi Bruno, GNU Automake already emits the '.SUFFIXES:' line. To optimize things for GNU make, it should also emit the remaining part. Ok. I just hope those weird-looking %:: rules do not cause trouble with other makes. I guess we'll find out. The fnoc test also failed due to the new

bug#19614: Split packaging invocation to catch errors

2023-07-18 Thread Karl Berry
tmpname=`mktemp $(distdir)/dist.XX` I don't think we can safely assume mktemp in automake rules. tardir=$(distdir) && $(am__tar) > $(distdir)-$RANDOM.tar 2>$(distdir).err That was my idea ($$ instead of $RANDOM). Certainly simple, but I agree Nick's idea is cleaner: >

bug#19614: Split packaging invocation to catch errors

2023-07-17 Thread Karl Berry
Hi Dimitrios, Bogdan - back on this bug from 2015 (sorry): https://debbugs.gnu.org/cgi/bugreport.cgi?bug=19614 Bogdan sent a patch that splits the tar and compress into separate invocations. It seems basically good to me, but the dist-formats test fails because it builds multiple archive

bug#54063: automake cannot run without generated Texinfo manual

2023-07-14 Thread Karl Berry
I could distribute just the .texi.in file and still get autoreconf/automake/packaging to work. Right now, I get an error about a missing .texi file I thought Mike's fix (-e ... /dev/null) should already have fixed that? Well, in any case, it's not bad to check for the .texi.in, so

bug#54063: automake cannot run without generated Texinfo manual

2023-07-14 Thread Karl Berry
I meant to include the patch I actually applied. commit 5c85a9d31830a61facc298fa7d7d82f5651f1a6c Author: Bogdan AuthorDate: Thu Jul 13 15:32:34 2023 -0700 texi: assume .texi.in generates .texi. This change refines the fix for https://bugs.gnu.org/54063. * bin/automake.in

bug#54063: automake cannot run without generated Texinfo manual

2023-07-13 Thread Karl Berry
Bogdan, Pat, Gavin, all - back on this bug: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54063 Subject: bug#54063: - special case] Try .texi.in when .texi missing Bogdan - the basic idea of your patch seemed fine, to use .texi.in when .texi is missing. After investigating the behavior

bug#15256: bug#31126: GNU Automake 1.16.1 fails 21 tests on Solaris 10 sparcv9

2023-07-09 Thread Karl Berry
Hi - you have each reported Automake test failures on Solaris. I've just pushed a fix from Bogdan (thanks Bogdan!) for some of these, which (sometimes with other fixes already made) closes some bugs. Bogdan explains the details of the latest: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=45205#13

bug#30556: [PATCH] Python tests should run with multiple python versions

2023-07-06 Thread Karl Berry
Mathieu and all - back on this report from 2018: https://bugs.gnu.org/30556. Mike (Frysinger) and Bogdan both made various patches that together have, I think, fixed all these issues. Thanks x 2 :). Here is the patch from Bogdan that I've just pushed to finish it. Closing, with fingers crossed.

bug#24507: noinst_PYTHON breaks uninstall of Python files

2023-07-05 Thread Karl Berry
Hi Akim (hope all is well with you) and all, Back on your report https://bugs.gnu.org/24507 from a mere seven years ago ... > $ cat Makefile.am > noinst_PYTHON = foo.py > python_PYTHON = bar.py ... > $ make uninstall-nodist_vcsn_tools_pythonPYTHON > make: Entering

bug#9587: [PATCH] Automake claims $(*F), $(

2023-07-01 Thread Karl Berry
Back on this bug report from Nick in 2011 (thanks/sorry): https://debbugs.gnu.org/cgi/bugreport.cgi?bug=9587 bd> The attached patch allows the following symbols not to cause Automake errors about non-POSIX variables (and updates the test): $(@F) $(%F) $(?F)

bug#60419: bug#19615: make dist tarball contains owner/group information from the build system

2023-06-29 Thread Karl Berry
Hi Dimitrios and all, Back on this bug from 2015 and earlier (yikes, sorry): https://debbugs.gnu.org/cgi/bugreport.cgi?bug=19615 TAR_OPTIONS = --owner=0 --group=0 I expected that something like this would be the default though. I agree it would be desirable, in theory. But we can't

bug#20077:

2023-06-28 Thread Karl Berry

bug#20077: Allow more V= values for verbose output

2023-06-27 Thread Karl Berry
bd> My last patch for now, this time for https://debbugs.gnu.org/cgi/bugreport.cgi?bug=20077 Thanks Bogdan, but $(shell) is a GNU make extension. It can't be used in Automake's generated Makefile[.in]s. mf> GNU Make supports: mf> am__v_P_$(V) = $(am__v_P_$(AM_DEFAULT_VERBOSITY))

bug#62854: bug#62853: Man page “Name” section should be revised to be conformant to the POSIX man specification

2023-05-29 Thread Karl Berry
Hi Sebastian, Currently, the "Name" section of the automake man I just committed a change to set the Name section, as you suggested. We'll now have (based on the --help message): aclocal - Generate aclocal.m4 by scanning configure.ac automake - Generate Makefile.in files for configure from

bug#23639: Half bug

2023-05-27 Thread Karl Berry
See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=49901 for an explanation. It's partially the macro itself that is buggy: Indeed. I'm merging these bugs, although there is only a little that can be done on the automake side, as far as I can see. --thanks, karl.

bug#62896: [Configure] Bug with check for PERL when path has spaces (i.e. Windows)

2023-05-27 Thread Karl Berry
I (finally) installed this patch to quit early if the perl path has spaces. Thanks. As for MKDIR_P and INSTALL, I guess it is somewhere in the prerequisite/autoconf stuff. I suppose it would be rare that they would be found in a path with spaces while perl was not, so I think it's ok to let that

bug#63161: Issue with mkinstalldirs and symb links

2023-04-29 Thread Karl Berry
Thanks for the report. The glibc installing process is calling ./scripts/mkinstalldirs [..]/lib64 which failed to mkdir -p it. With literal brackets? I don't understand. + if test -L "$@"; then +echo "mkdir -p -- \"\$(realpath $*)\"" Neither test -L nor (especially)

bug#62896: [Configure] Bug with check for PERL when path has spaces (i.e. Windows)

2023-04-23 Thread Karl Berry
But anyway, patch for the Perl path attached. Thanks. Your method seems as good as any to me. I thought about using 'grep -q' and checking the exit code, but maybe this version is more portable. Indeed, grep -q is not portable. It's necessary to >/dev/null instead. --thanks

bug#62896: [Configure] Bug with check for PERL when path has spaces (i.e. Windows)

2023-04-21 Thread Karl Berry
Thanks for the report, Dan, and for looking into this, Bogdan. #!User bins/perl Apart from anything else, this cannot be solved. Shebang lines do not support quoting. Thus I think what we should do is have configure give a better error message when the Perl path contains whitespace,

  1   2   3   4   >