Log

Author Commit Date CI Message
Karl Berry cde0e3bb 2024-06-19T09:41:22 doc: rewrite subsecond NEWS entry, sanity.m4 "make" testing wrong, etc. * m4/sanity.m4 (_AM_FILESYSTEM_TIMESTAMP_RESOLUTION): mention that testing of "make" is wrong here; but $(MAKE) is not available? Do some special pleading that it won't matter in practice; we'll see. https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html (AM_SANITY_CHECK): use $[]* instead of $[*]2 to avoid the confusing apparent (but not) use of shell arrays; the square brackets are parsed off by m4. * lib/am/check.am (output_system_information): en passant, mention that $(AWK) should always be defined since AC_PROG_AWK is part of AM_INIT_AUTOMAKE nowadays. * NEWS: rewrite subsecond NEWS entry:workaround, more references.
Karl Berry c09ff1df 2024-06-19T09:01:51 doc: original purpose of $sleep is when AC_OUTPUT is not used. * t/ax/test-defs.in (sleep): mention original purpose of $sleep, namely when AC_OUTPUT is not used and hence the sleep done in AC_CONFIG_COMMANDS_* is not done: https://lists.gnu.org/archive/html/bug-automake/2010-10/msg00000.html Discovered by Bruno in his rearch on the "sleep" history: https://lists.gnu.org/archive/html/automake/2024-06/msg00054.html
Karl Berry 1696d6d7 2024-06-19T08:59:18 lib scripts: add "(GNU Automake)" to --version output, etc. * lib/ar-lib: add "(GNU Automake)" to --version output, and the "Report bugs" block to --help. * lib/compile: likewise. * lib/depcomp: likewise. * lib/install-sh: likewise. * lib/mdate-sh: likewise. * lib/missing: likewise. * lib/mkinstalldirs: likewise. * lib/py-compile: likewise. * lib/tap-driver.sh: likewise. * lib/test-driver: likewise. * lib/ylwrap: likewise. * t/py-compile-usage.sh: update --version pattern.
Mike Frysinger eb20585d 2024-06-18T10:32:09 aclocal: add --aclocal-path option to override ACLOCAL_PATH envvar. From https://lists.gnu.org/archive/html/automake-patches/2022-01/msg00029.html (plus wording tweaks from Karl; and thanks to Bogdan for research). * bin/aclocal.in (usage): relabel output of m4 search path components to be somewhat more correct (Karl), although it's still a mess. (parse_arguments): add new option --aclocal-path=s. (parse_ACLOCAL_PATH): use $aclocal_path instead of hardwiring envvar. * doc/automake.texi (aclocal Options): document it. (dirlist): new anchor so we can reference it. (Modifying the Macro Search Path: @file{ACLOCAL_PATH}): mention the option. (Possible future incompatibility): tone down; it might never happen. * t/aclocal-path-precedence.sh: test the option. * NEWS: mention the new option.
Karl Berry fbf571f3 2024-06-18T08:54:27 doc: preserve old node name. Following 4981e5997 (doc: modernize version control doc). * doc/automake.texi (CVS): insert @anchor{CVS} so this (prior) node name will still work, e.g., in HTML. Reflow surrounding source.
Bruno Haible fad36f78 2024-06-17T15:38:11 automake: omit 1s test in _AM_FILESYSTEM_TIMESTAMP_RESOLUTION, for speed. From https://lists.gnu.org/archive/html/automake/2024-06/msg00055.html plus https://lists.gnu.org/archive/html/automake/2024-06/msg00054.html. * m4/sanity.m4 (_AM_FILESYSTEM_TIMESTAMP_RESOLUTION): Don't test whether 1 sec works; instead just accept the 2 sec delay in the Automake test $sleep in exchange for not incurring the 2s delay of running the test for all packages on 1s-resolution platforms. Platforms that support subsecond mtimes will still use them.
Collin Funk 6cb69ad8 2024-06-17T14:44:28 test: Improve output of system information in test-suite.log. Fixes https://bugs.gnu.org/71421. * lib/am/check.am ($(TEST_SUITE_LOG): Use $(AWK) instead of 'awk'. Remove an extra space in uname output. Start the line with "System information", and other sections with "Distribution information". * NEWS: add reference to #71421.
Bruno Haible a2d56238 2024-06-17T10:06:25 automake: allow omitting logs of skipped tests from test-suite.log. * doc/automake.texi (Parallel Test Harness): Describe the contents of test-suite.log. Mention IGNORE_SKIPPED_LOGS. (Command-line arguments for test drivers): Document the --collect-skipped-logs option. * lib/test-driver (print_usage): Document --collect-skipped-logs. (collect_skipped_logs): New variable. (gcopy): Use collect_skipped_logs. * lib/am/check.am (am__common_driver_flags): Add the contents of am__collect_skipped_logs. (am__check_pre): Set am__collect_skipped_logs. * t/parallel-tests-without-skipped-logs.sh: New file, based on t/parallel-tests-no-color-in-log.sh. * t/list-of-tests.mk (handwritten_TESTS): Add it. * NEWS: Mention the change.
Karl Berry 9b16e59f 2024-06-17T09:50:57 doc: more subsecond references. * NEWS: add the original commit reference: 720a11531, https://lists.gnu.org/archive/html/automake-commit/2022-02/msg00009.html
Collin Funk 18912ccd 2024-06-16T09:40:49 test: Accommodate C23 compilers. From https://bugs.gnu.org/71425. * t/yacc-deleted-headers.sh: Declare yyparse before use. * t/yacc-depend.sh: Likewise. * t/yacc-mix-c-cxx.sh: Likewise. * t/yacc-d-basic.sh: Likewise. Use void instead of empty parameter list. * t/yacc-depend2.sh: Likewise. * NEWS: mention this. * THANKS: add Collin.
Karl Berry 42bac29f 2024-06-16T09:20:29 test: the instdir-ltlib test is expected to fail. Discussed in https://bugs.gnu.org/71596. * t/list-of-tests.mk (handwritten_TESTS): move t/instdir-ltlib.sh (XFAIL_TESTS): to here. It previously worked by accident because lib_LTLIBRARIES was misspelled as lib_LTIBRARIES; Paul Eggert fixed that on June 7, commit 1d35638b23e95fe6f41c828a3442f6d7f242f4c4, and the test started failing as a result. * t/instdir-ltlib.sh: add some doc. * t/all.sh: likewise. (Another xfail test, which is mysterious to me.)
Karl Berry e09ee974 2024-06-16T08:41:06 aclocal: path separator is ; on OS/2 and Windows. Adapted from and fixes https://bugs.gnu.org/71534. * bin/aclocal.in (parse_ACLOCAL_PATH): use $^O to recognize OS/2 and Windows for the environment path element separator. * NEWS: mention this.
Yves Orton f3752617 2024-06-15T18:18:35 automake: sort keys for reproducibility. Fixes https://bugs.gnu.org/25629. * bin/aclocal.in: sort keys for reproducibility. * bin/automake.in: likewise. * contrib/tap-driver.pl: likewise. * lib/Automake/Channels.pm: likewise. * lib/Automake/Condition.pm: likewise. * lib/Automake/DisjConditions.pm: likewise. * lib/Automake/Getopt.pm: likewise. * lib/Automake/Rule.pm: likewise. * THANKS: Add Yves. * NEWS: mention this.
Karl Berry df2ff7cb 2024-06-12T18:24:14 automake: omit make subsecond tests if at one-second resolution. Partially ameliorates report from Bruno Haible, thread at https://lists.gnu.org/archive/html/automake/2024-06/msg00015.html * m4/sanity.m4 (_AM_FILESYSTEM_TIMESTAMP_RESOLUTION): if resolution is only one second, assume make works, to avoid several sleeps.
Karl Berry 0728c589 2024-06-12T10:20:15 doc: typo in t/color-tests2.sh comment. * t/color-tests2.sh: "a working a working".
Paul Eggert 4981e599 2024-06-07T10:23:59 doc: modernize version control doc Be more generic about version control instead of saying “CVS”. In the specific examples, use Git instead of CVS.
Paul Eggert 1d35638b 2024-06-07T08:41:45 maint: spelling and whitespace fixes Most of these spelling fixes are just to comments and documentation. However, some affect tests as follows: * t/cond36.sh (tparse.h): Fix misspelling of dependency. * t/disthook.sh: Fix misspelling of file. * t/help3.sh: Fix misspelling of long option. * t/instdir-ltlib.sh: Fix misspellings of macro names. This causes the test to fail, so someone with libtool expertise needs to look into this. * t/tap-no-spurious-numbers.sh (highno): Fix misspelling of shell var.
Paul Eggert 85efe505 2024-06-07T07:56:25 maint: fix version mismatch * m4/amversion.m4 (AM_AUTOMAKE_VERSION) (AM_SET_CURRENT_AUTOMAKE_VERSION): Bump to 1.16.91 (auto-updated).
Jim Meyering 01e90dac 2024-06-06T06:53:52 maint: post-release: bump version to 1.16.91 * configure.ac (AC_INIT): Post-release version bump to 1.16.91.
Jim Meyering d61068e1 2024-06-02T18:02:41 tests: work also with v2.72-9-g7a6347d1 and newer * t/dist-missing-m4.sh: Accommodate a slightly different diagnostic ("undefined or overquoted macro" rather than "possibly undefined macro") in autoconf as of v2.72-9-g7a6347d1.
Karl Berry 2e3b7da5 2024-06-02T10:47:20 maint: support test releases numbered from .90 for announcements. * maintainer/maint.mk (beta_version_rx, alpha_version_rx): update to use MAJOR.MINOR.90, .92, ..., for "beta" (test) releases, and .91, .93, ... for "alpha" (development). Follows the 2024-01-21 change. * HACKING: typo en passant.
Karl Berry 61357c93 2024-05-31T08:58:23 maint: secondary updates from make fetch. * doc/help2man: restore copyright list as in upstream. * lib/gendocs.sh: update with make fetch. * lib/texinfo.tex: likewise.
Karl Berry 788615aa 2024-05-31T08:55:10 maint: prepare for next pretest. * HACKING: typo, tweak release info. * maintainer/maint.mk: typo. * maintainer/syntax-checks.mk: typo, and exclude test-defs.sh (actually .in) from the `...` test because I can't figure out how to get the same results with $(...).
Karl Berry b5311796 2024-05-29T18:16:01 missing: shellcheck disable=SC2006,SC2268 From Jacob Bachmeyer, in thread around https://lists.gnu.org/archive/html/automake-patches/2022-01/msg00014.html * lib/missing: disable shellcheck warnings about `...`. We must support pre-POSIX shells in Automake. (scriptversion=2024-05-29.18)
Karl Berry 23e69f6e 2024-05-27T12:34:35 test: check that subsecond mtime works with make. Trying to fix https://bugs.gnu.org/68808. * m4/sanity.m4 (_AM_FILESYSTEM_TIMESTAMP_RESOLUTION): check that make works with subsecond mtimes, as well as sleep and ls. (Known to fail with the make 3.81 that ships with macOS.) * configure.ac (MTIME_RESOLUTION): notice if it erroneously expands to the empty string, i.e., fall back to 1 if $am_cv_filesystem_timestamp_resolution ended up being unset. * t/ax/test-defs.in (MTIME_RESOLUTION): also fall back to 1 if the variable to not set, with a message. Fix other typos en passant. * HACKING: tweak.
Bogdan b5b6f240 2024-05-26T15:35:58 test: objc tests on openbsd. Fixes https://bugs.gnu.org/68179. * t/objcxx-deps.sh: test for objc_getProperty and other functions in the objc library. * t/objcxx-minidemo.sh: likewise. * t/strip2.sh (STRIP): use -x instead of --verbose to test strip with multiple words, to work with openbsd (and aix) strip.
Mark Wooding 0d49ecb2 2024-05-21T09:54:35 doc: test-driver option args are separate words. For https://bugs.gnu.org/70638. As now mentioned in the manual, the description of the test-driver command-line interface has been wrong since 2011 when it was first added. The manual, and the driver usage messages themselves, have consistently shown option arguments joined to the option name with `=' characters, while the implementation of Automake has always provided option arguments in the following argument word, and the provided test drivers only accepted option arguments in the following argument word. Because Automake has never used the `=' syntax, there can't possibly be a working driver which actually follows the specification as written, so, despite the fierce language of the manual, we agreed that changing the specification was the right approach. The `test-driver' program's usage message has already been fixed (#22445), but the full extent of the problem wasn't noticed at that time. * doc/automake.texi (Command-line arguments for test drivers): Fix the table of options to show arguments passed as separate words; add footnote explaining this rather sorry situation. * doc/automake.texi (Use TAP with the Automake test harness): Remove `=' from documentation of `--diagnostic-string', because that was never acceptable either. * lib/tap-driver.sh: Fix usage message. * contrib/tap-driver.pl: Change usage message to match the defined protocol. (This implementation parses options using Perl's `Getopt::Long' module, so it accepts the `=' syntax as specified, but this program isn't actually used.)
Karl Berry 3000a024 2024-05-21T09:48:18 doc: NEWS subsecond reference. * NEWS: another subsecond reference.
Reuben Thomas fa816226 2024-05-06T08:16:40 doc: update Vala documentation From https://bugs.gnu.org/70557#29. * doc/automake.texi (Vala Support): Update the URL for Vala. Drop the mention of a version requirement, as no current system will have a too-old version of Vala. Note the restriction on conditional inclusion of source files in *_SOURCES.
Reuben Thomas 618408d7 2024-04-29T18:21:50 doc: typos in test file. From https://bugs.gnu.org/70557#23. * t/vala-vapi.sh: typos.
Reuben Thomas fba8c57d 2024-04-27T09:34:15 doc: Vala-related typo in automake.in From https://bugs.gnu.org/70557. * bin/automake.in (lang_vala_finish_target): typo.
Bogdan efb9f7b2 2024-02-07T14:56:25 test: protect more yacc declarations against C vs. C++ linkage. Fix for more of https://bugs.gnu.org/68832. * t/yacc-clean-cxx.sh: more #ifdef of yylex, etc., following https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62886, now for OpenIndiana. Specifically: #if (defined __cplusplus) && ((!defined __sun) || (defined __EXTERN_C__)) * t/yacc-cxx.sh: likewise. * t/yacc-d-cxx.sh: likewise. * t/yacc-mix-c-cxx.sh: likewise.
Karl Berry 70127e61 2024-02-03T08:38:49 test: make bug-reporting message on test failure more explicit. From https://bugs.gnu.org/68855. * NEWS: mention this. * lib/am/check.am ($(TEST_SUITE_LOG)) <please_report>: new fn, new wording. * t/ax/test-defs.in (failure_footer_text): new wording. (failure_footer_text_colorized): add red. * t/ax/tap-summary-aux.sh (failure_footer): use failure_footer_text*. * t/tap-doc2.sh: change grep. * t/testsuite-summary-color.sh: likewise. * t/testsuite-summary-count-many.sh: likewise. * t/testsuite-summary-count.sh: likewise. * t/testsuite-summary-reference-log.sh: likewise.
Karl Berry 2f120f1b 2024-01-30T15:10:21 doc: mention pyenv. * HACKING: mention pyenv as a way to test different Python versions.
Karl Berry c354194e 2024-01-29T14:16:01 test: elide leading spaces within case for macOS sh. Yet another fix in https://bugs.gnu.org/68119. * t/py-compile-basedir.sh: sed away the leading spaces from wc -l output within the case statement.
Bogdan f1112a88 2024-01-28T18:12:50 test: another check for PEP-3147 induced by Python 3.12.1. Fix for more of https://bugs.gnu.org/68119. * t/ax/am-test-lib.sh (python_has_pep3147) <am_pep3147_tag>: check sys.implementation.cache_tag as well as the (old) imp.get_tag. For Python 3.12.1.
Karl Berry 50466f62 2024-01-28T07:45:25 test: more rerunning autotools, C++ std:: portability. Trying to fix more of https://bugs.gnu.org/68119. * t/aclocal-deleted-header-aclocal-amflags.sh: $sleep before file modifications. * t/aclocal-deleted-header.sh: likewise. * t/aclocal-deps.sh: likewise. * t/subdir-add2-pr46.sh: likewise. * t/yacc-mix-c-cxx.sh: #include <cstdlib> before using std::..., following yacc-cxx and yacc-d-cxx tests.
Karl Berry d550b6ee 2024-01-27T18:07:48 test: output system information after summary report. From https://bugs.gnu.org/68746. * lib/am/check.am ($(TEST_SUITE_LOG)) <output_system_information>: new shell fn, called inline to write basic os information into test-suite.log. Also, question (do not change) the ".. contents:: :depth: 2" line; what is this for?
Karl Berry 05856fd6 2024-01-27T10:59:15 maint: secondary updates from make fetch. * INSTALL: updated from make distcheck. * maintainer/maint.mk (fetch): update top-level INSTALL if we update lib/INSTALL. * lib/gendocs.sh: update with make fetch.
Karl Berry 248edc44 2024-01-24T15:47:59 maint: Update files from upstream with 'make fetch'. * lib/INSTALL: update with make fetch. * lib/config.guess: likewise. * lib/config.sub: likewise. * lib/gitlog-to-changelog: likewise. * lib/update-copyright: likewise.
Karl Berry 5bb9bb42 2024-01-24T15:43:24 doc: typo for Channels.pm, mention files for which we are the master. * HACKING: mention files for which we are the master. * lib/Automake/ChannelDefs.pm: typo for Automake::Channels; mention that we hold the master copy of this. * lib/Automake/Channels.pm: update/add text for master copy notice. * lib/Automake/Configure_ac.pm: likewise. * lib/Automake/FileUtils.pm: likewise. * lib/Automake/Getopt.pm: likewise. * lib/Automake/XFile.pm: likewise.
Karl Berry 211dc035 2024-01-24T15:34:29 doc: more about pretest numbering. * HACKING: mention change to numbered pretests. * configure.ac: and hence am_beta_version_rx won't match any more. Let's just call all pretests development snapshots.
Karl Berry 2fa17ccc 2024-01-23T08:53:18 automake: recommend autoreconf -f with version mismatches. From https://bugs.gnu.org/68674. * bin/automake.in (scan_autoconf_traces): change error to suggest running autoreconf -f. The version mismatch is most likely to happen due to the cache files, which aclocal && automake (the previous recommendation) does not delete. (scan_autoconf_files): likewise. * doc/automake.texi (Auto-generating aclocal.m4): mention autoreconf. Other minor wording changes.
Karl Berry 2838316b 2024-01-21T08:57:50 maint: use 1.xx.90-style pretest versions. In response to https://bugs.gnu.org/54412. * configure.ac (AC_INIT): 1.16.90. * m4/amversion.m4: Likewise (auto-updated).
Karl Berry 70128b8b 2024-01-20T14:33:14 python: use deb_system instead of posix_local if prefix = /usr. Continuing with https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54412. * m4/python.m4 (AM_PATH_PYTHON) <am_python_setup_scheme>: factor out common scheme-related code to this new variable. If the scheme is posix_local and the prefix is /usr, use deb_system (for Debian package builds). * NEWS: more explanations (and unrelated references, en passant).
Gianfranco Costamagna ac64ce26 2024-01-17T14:48:13 python: use posix_prefix instead of posix_local on Debian. From https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54412#17. (Patch slightly adapted by Bogdan from original by Gianfranco, as posted by Stefano Rivera in message#14.) * m4/python.m4 (AM_PATH_PYTHON): replace Debian's posix_local scheme with posix_prefix. * doc/automake.texi (Python) <pythondir>: say a bit more. * NEWS: mention this.
Karl Berry 22ecc131 2024-01-17T09:51:40 automake: a millisecond is too fast for subsecond-mtime. This patch is from https://bugs.gnu.org/68325. * m4/sanity.m4 (_AM_FILESYSTEM_TIMESTAMP_RESOLUTION): don't try for a millisecond; make a hundredth of a second the fastest we'll go. Apparently there are plenty of systems which supposedly support subsecond-mtimes down to the millisecond and yet randomly fail parallelized tests. For example: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=68119#18 Maybe the tests themselves need fixing. (The ones that run autotools multiple times in succession.) A work in progress.
Karl Berry 420b53da 2024-01-17T09:44:49 doc: mention debian python 3.10 changes; master menu; etc. * doc/automake.texi (Creating amhello): mention libtool too. (FAQ): remove spurious leftover "Errors with distclean" menu entry. (Top): Regenerate master menu (M-x texinfo-master-menu).
Mike Frysinger 3cd8f545 2024-01-13T18:09:02 python: add 3.20 - 3.16 to the version search list. * m4/python.m4: Add python3.20 - python3.16. * NEWS: Mention these versions too.
Paul Eggert b80b5c47 2024-01-01T11:29:06 maint: make update-copyright
Paul Eggert 0d0926ef 2024-01-01T11:27:31 maint: make fetch
Karl Berry ea454b4f 2023-12-31T18:28:10 doc: overview of autotools ordering. * doc/automake.texi (Creating amhello): briefly mention the order in which to run the autotools, a la autoreconf. A couple other tweaks.
Bruno Haible 87119fa3 2023-12-31T15:27:15 test: don't hang waiting for Solaris lex/yacc to read from stdin. From https://bugs.gnu.org/68165. * t/get-sysconf.sh: Don't let $LEX or $YACC read from stdin when trying --version and --help. Only lex --version hangs, but may as well avoid it in general.
Bruno Haible 21ac1161 2023-12-30T15:37:05 dist: Use -9 instead of --best, and only for gzip, to pacify Alpine. From https://bugs.gnu.org/68151. * lib/am/distdir.am (GZIP_ENV): Set to -9, not --best, since Alpine does not support --best. (distcheck): Don't use GZIP_ENV when invoking gzip for decompression, since Alpine does not support -1..-9 with decompression. * doc/automake.texi (The Types of Distributions): Document the change. * NEWS: mention this. (En passant, add more change links.)
Jim Meyering b79e21c5 2023-12-27T07:48:17 maint: avoid a false-positive syntax-check failure * maintainer/syntax-checks.mk (sc_tests_plain_sleep): This would match the "sleep 1" in a comment. So filter out shell-style comments before matching.
Jim Meyering c8fcdede 2023-12-27T06:52:50 maint: avoid a racy distcheck failure * lib/am/distdir.am (am__remove_distdir): Use ";" not "&&" after the chmod-running find, so that a failing find doesn't cause the entire rule to fail. This could happen when a directory like doc/automake.t2d being processed by find is concurrently deleted by another rule.
Hans Ulrich Niedermann 5eb995c3 2023-12-26T14:26:20 doc: typos in NEWS. From https://lists.gnu.org/archive/html/automake/2023-12/msg00037.html. * NEWS: typos.
Karl Berry 01b62818 2023-12-25T15:42:34 test: silent-defaults.sh rerun autotools each time. Follow-up to https://bugs.gnu.org/32868. * t/silent-defaults.sh: rerun $ACLOCAL && $AUTOMAKE for each trial, else test failed. (Why it has always succeeded before now, and/or what has changed, I don't know.) Remake the cache for each trial, for reliability. Echo trial description. * doc/automake.texi (Silent Rules): tweak text. (Unsilencing Automake): new node. Mention make --debug=p to completely unsilence rules.
Karl Berry 354b7e47 2023-12-25T15:40:25 test: self-announce leading installcheck/protocol/PATH information. * t/ax/am-test-lib.sh (am_extra_info): self-announce where the initial reports on installcheck, test protocol, and PATH come from. Apparently this doesn't disturb the tests. If other people don't like the extra verbiage, no problem to remove.
Karl Berry 0249be1e 2023-12-25T15:38:15 test: force long sleep with explicit cache variable setting. From https://bugs.gnu.org/67670. * t/ax/test-defs.in: when MTIME_RESOLUTION is set to 1 because automake/autom4te do not support subsecond-mtime, also set am_cv_sleep_fractional_seconds=false. Otherwise the random parallel test failures from given bug and others return. * m4/sanity.m4 (_AM_SLEEP_FRACTIONAL_SECONDS): reformat. (_AM_FILESYSTEM_TIMESTAMP_RESOLUTION): elide "the" in AC_CACHE_CHECK. * t/amassign.sh: end with :. * HACKING: more on debugging tests. * NEWS: update.
Dimitri Papadopoulos 6a2d079b 2023-12-24T15:02:30 doc: typos from codespell. Report and patch: https://bugs.gnu.org/68003. * bin/automake.in: typo from codespell. * configure.ac: likewise. * t/dist-auxdir-many-subdirs.sh: likewise. * t/instmany-mans.sh: likewise. * t/instmany-python.sh: likewise. * t/instmany.sh: likewise. * t/nostdinc.sh: likewise. * t/parallel-tests-fork-bomb.sh: likewise. * t/rm-f-probe.sh: likewise. * t/tap-basic.sh: likewise. * t/test-driver-custom-multitest.sh: likewise. * t/txinfo-vtexi3.sh: likewise.
Dimitri Papadopoulos f033898f 2023-12-24T14:56:50 doc: update location of FETCHFILES variable. Report and patch: https://bugs.gnu.org/68004. * HACKING: FETCHFILES has been moved: Makefile.am -> maintainer/maint.mk.
Karl Berry aa55e07c 2023-12-24T08:56:30 maint: email in THANKS for Zack Weinberg. * THANKS (Zack Weinberg): update from zackw@panix.com to zack@owlfolio.org, per Zack.
Karl Berry 448fd777 2023-12-24T08:55:04 test: do not leave files as mode zero. Follows up on https://bugs.gnu.org/67868. * t/dist-with-unreadable-makefile-fails.sh: chmod u+rw at end. Also follow usual pattern of ending tests with :, not explicit exit. * t/tap-bad-prog.tap: chmod u+r at end (since only r removed).
Karl Berry 9ab5c03e 2023-12-24T08:45:50 warn: avoid "only used once" warning for subsecond_mtime. * bin/automake.in (version): uselessly use $Automake::FileUtils::subsecond_mtime a second time to avoid Perl warning.
Karl Berry 8f43e75d 2023-12-23T10:44:03 doc: more on help2man and "Errors with distclean". This fixes (the rest of) https://bugs.gnu.org/67891. * doc/automake.texi (Errors with distclean): make a subsection of "Checking the Distribution". Contrast help2man usage examples of Autoconf (includes man pages in distribution) and Automake (no man pages, distributes the help2man script instead). (Checking the Distribution): convert subheadings to subsections. * doc/local.mk: also mention autoconf vs. automake approaches here, and point to the manual. (checklinkx): en passant, remove unused checklinkx exclude.
Zack Weinberg 352d5f6f 2023-12-22T15:52:26 maint: sync autoconf Channels.pm and ChannelsDefs.pm. Patch from https://bugs.gnu.org/67971. The changes address <https://savannah.gnu.org/support/?110872>, about m4_warn code/documentation consistency. It should be impossible to reach report_bad_channel from code in Automake. * lib/Automake/Channels.pm (msg): If the channel argument is invalid, don't crash; report the mistake and use the `syntax' channel. (report_bad_channel): New function for reporting invalid channels. * lib/Automake/ChannelDefs.pm (usage): Clarify that the list of warning categories is exhaustive, and that ``all'', ``none'', ``no-CATEGORY'', and ``error'' are not warning categories.
Karl Berry 3cc3e282 2023-12-21T18:19:36 maint: tweak announcement text again. * maintainer/maint.mk (announcement): "(instead of replying to this mail),"
Karl Berry 95c0aa18 2023-12-21T15:46:43 automake: avoid unnecessary use of \K. This fixes (part of) https://bugs.gnu.org/67891 and follows up on https://bugs.gnu.org/55025. * bin/automake.in (generate_makefile) <posix>: avoid use of \K when removing comment and blank lines before a .POSIX target, since Solaris 10 has perl 5.8.4, and \K was added in 5.10.
Dave Hart 90ef1189 2023-12-20T14:12:34 doc: typo in tap-driver.sh. * lib/tap-driver.sh: to not too.
Karl Berry 5883fcb1 2023-12-20T08:20:26 maint: post-release administrivia. * configure.ac (AC_INIT): now 1.16j, since 1.16i pretest was released (on 2023-12-18). * m4/amversion.m4: Likewise (auto-updated by "make bootstrap").
Karl Berry 80b72e67 2023-12-18T14:20:55 maint: announcement text tweaks. * HACKING: mention DEVEL_SNAPSHOT=1 for us. * NEWS: tweak text. * maintainer/maint.mk (announcement): tweak text, ls -l ./announcement as a clue as to where the result is.
karl 31a4eb47 2023-12-17T08:42:35 dist: more forcefully deal with mode 0 directories created by tests. From https://bugs.gnu.org/67868. * lib/am/distdir.am (am__remove_distdir): make directories readable and searchable, not just writable. (Also typo.) * t/local.mk (clean-local-check): ensure directories are at least mode 700 * t/uninstall-fail.sh: restore reasonable permissions of the mode 0 $inst/share directory at the end.
Karl Berry 5c8dce80 2023-12-13T10:17:49 doc: checklinkx tweaks. * HACKING: mention checklinkx to check for broken links. * contrib/checklinkx: mention us in version info; use warnings instead of -w.
Karl Berry 72ab19f5 2023-12-11T09:08:37 maint: Update files from upstream with 'make fetch'. * lib/INSTALL: update with make fetch. * lib/config.guess: Update. * lib/config.sub: Likewise. * lib/gendocs.sh: Likewise. * lib/gendocs_template: Likewise. * lib/texinfo.tex: Likewise. * lib/update-copyright: Likewise.
Reuben Thomas 0fbca7e7 2023-12-10T15:12:00 doc: add advice to list Yacc/Lex generated sources in BUILT_SOURCES. For https://bugs.gnu.org/62791. * doc/automake.texi (Yacc and Lex): it seems to be necessary to list the generated C source file for a Yacc/Lex file, as well as the header file, in BUILT_SOURCES.
Karl Berry 0d88793d 2023-12-10T15:05:40 doc: NEWS entry for OBJC[XX] tags. This helps https://bugs.gnu.org/67539. * NEWS: update; forgot to commit with prior code change.
Karl Berry 38f2f397 2023-12-10T09:57:53 automake: pass OBJC and OBJCXX tags to libtool. This helps https://bugs.gnu.org/67539. * bin/automake.in <register_language>: pass libtool_flag of OBJC and OBJCXX for the respective languages.
Zack Weinberg cfdb83d4 2023-12-10T09:50:51 automake: again revise file mtime resolution support. This patch is from https://bugs.gnu.org/67670. In order for the Automake testsuite to be able to use sub-second delays to control whether certain files are considered newer than others, five(!) separate pieces of software all need to cooperate: automake itself, autoconf's internal `autom4te' utility, the Perl interpreter and its libraries, the sleep(1) shell utility, and finally the filesystem hosting the build directory. The existing tests for this are a combination of inadequate and incorrect. This patch, in conjunction with a patch just committed to Autoconf trunk, https://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=39d96e6fff7ceae63b823872602caf4d255a38c8 should make everything much more robust, as follows: - _AM_FILESYSTEM_TIMESTAMP_RESOLUTION is completely rewritten. It no longer looks for autom4te at all, because this macro is invoked unconditionally from AM_INIT, so *every* project that uses Automake would get this test that's only relevant to Automake's own testsuite. Also, it tries sleeping for as little as one millisecond (smaller delays consistently get rounded up to 1ms on my computer and I expect that's universal), it should accurately detect FAT's two-second resolution now, and it should not be tripped up anymore by running at precisely the moment that will make a 0.1s sleep cross a 1s boundary (this may sound unlikely but it used to cause a couple of test failures *every time* I ran the automake testsuite on a network filesystem that only supported 1s resolution). - In support of the above, the test for working ls -t moved from AM_SANITY_CHECK to _AM_FILESYSTEM_TIMESTAMP_RESOLUTION. This allowed me to simplify the test for $srcdir/configure being older than a freshly created file. - If automake is capable of reading high-resolution file modification timestamps from the operating system, it prints `Features: subsecond-mtime' as the second line of --version output. (We can't just assume this works for sufficiently new automake, because it depends on whether the Perl interpreter provides this capability, and that's not a simple question of which version of Perl you have, either.) - The Autoconf patch mentioned above adds the same annotation to the output of autom4te --version. - Finally, t/ax/test-defs.in looks for the `Features: subsecond-mtime' string from both automake and autom4te and resets the sleep time to one second if it's not there. There might be a better place to put this, somewhere it'll execute every time the *overall testsuite* is invoked rather than once for each test, but I couldn't find one. Tested on x86-64-linux with development automake and development autoconf. Previous discussion: - https://lists.gnu.org/archive/html/automake/2023-03/msg00000.html - https://lists.gnu.org/archive/html/automake/2023-04/msg00002.html - https://lists.gnu.org/archive/html/automake/2023-12/msg00005.html - https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64756 * m4/sanity.m4 (_AM_FILESYSTEM_TIMESTAMP_RESOLUTION): Rewrite for greater reliability. Don't probe autom4te at all here. Check for working ls -t here. (AM_SANITY_CHECK): Do not cache the result. Do not check for working `ls -t' here. Disentangle control flow in the loop probing the relative ages of build and source directory. * lib/Automake/FileUtils.pm: Sync from autoconf. * bin/automake.in (version): Include `Features: subsecond-mtime' in the output if $Automake::FileUtils::subsecond_mtime is true. * configure.ac: Rename the substitution variable MODIFICATION_DELAY to MTIME_RESOLUTION. * t/ax/test-defs.in: Require both $AUTOMAKE and $AUTOM4TE to report support for high-resolution timestamps before setting $sleep to delay for less than one second. * NEWS: Update info.
Paul Eggert 668e8a20 2023-12-02T21:50:45 Simplify recent $PERL check * configure.ac: Don’t spin off subprocesses to check $PERL.
Karl Berry f2b10583 2023-12-02T14:53:12 configure: better check for the perl patch containing whitespace. More for https://bugs.gnu.org/62896. * configure.ac: quote "$PERL" and check directly with grep.
Karl Berry fac41f94 2023-12-02T14:33:30 doc: autoconf portability link, python NEWS. More for https://bugs.gnu.org/67268. * doc/automake.texi (Usage of Conditionals): link to Autoconf's Limitations of Builtins, e.g., https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.71/html_node/Limitations-of-Builtins.html * NEWS: Python version preferences are not just miscellaneous.
Mike Frysinger 6b4304c1 2022-01-26T06:36:32 python: prioritize python 3.x over 2.x Since Python 2.x went EOL years ago, stop searching for it before any of the Python 3 versions. * m4/python.m4: Move python2 after all python3 versions. * NEWS: Mention update in version search.
Olly Betts 94f4bad7 2023-11-24T09:31:18 compile: support libtool .lo, needed for Xapian on Windows. * lib/compile (func_cl_wrapper):handle *.lo like *.o.
Karl Berry fba903e6 2023-11-23T09:35:09 missing et al.: mention automake home page and gnu.org/gethelp. * lib/compile: in --help message, include automake home page and gnu.org/gethelp, following automake --help. * lib/depcomp: likewise. * lib/install-sh: likewise. * lib/mdate-sh: likewise. * lib/missing: likewise. * lib/mkinstalldirs: likewise. * lib/py-compile: likewise. * lib/ylwrap: likewise.
Alex Vong 68db06db 2023-11-23T09:13:38 missing: add autoreconf, autogen and perl as supported programs. From: https://lists.gnu.org/archive/html/automake-patches/2015-08/msg00000.html * lib/missing: add autoreconf, autogen and perl as supported programs, potentially especially useful from bootstrap scripts. Alphabetize. * NEWS: mention. * THANKS: new contributor.
Karl Berry f68b2784 2023-11-21T09:44:55 contrib: remove test-driver.scm, maintained elsewhere. * contrib/test-driver.scm: remove. Original patch and discussion: https://lists.gnu.org/archive/html/automake-patches/2016-05/msg00000.html Suggestion from guile-devel in 2023 that it's been updated outside of Automake, and merging would not be especially helpful: https://lists.gnu.org/archive/html/guile-devel/2023-11/msg00036.html
Pavel Raiskup 8cdbdda5 2023-11-21T08:30:00 automake: make the ARFLAGS default 'cr' instead of 'cru'. In some GNU/Linux distributions people started to compile 'ar' binary with --enable-deterministic-archives (binutils project). That, however, in combination with our previous long time working default AR_FLAGS=cru causes warnings on such installations: ar: `u' modifier ignored since `D' is the default (see `U') The 'u' option (at least with GNU binutils) did small optimization during repeated builds because it instructed 'ar' to not open/close unchanged *.o files and to rather read their contents from old archive file. However, its removal should not cause a big performance hit for usual workflows. Distributions started using --enable-deterministic-archives knowing that it would disable the 'u', just to rather have a bit more deterministic builds. Also, to justify this change a bit more, keeping 'u' in ARFLAGS could only result in many per-project changes to override Automake's ARFLAGS default, just to silence such warnings. Fixes bug#20082. Reported by Eric Blake. * bin/automake.in (handle_libraries): Use 'ARFLAGS=cr' by default. * doc/automake.texi (Building a library): Mention the changed ARFLAGS default. (@c LocalWords): Replace 'cru' with 'cr'. * m4/ar-lib.m4 (AM_PROG_AR): Cut out 'cru' string into separate ARFLAGS variable with new default 'cr'. * NEWS: Document.
Jakub Wilk 4adfd131 2023-11-19T06:55:04 doc: typos in tap-driver.sh. * lib/tap-driver.sh: fix typos.
Karl Berry f4b5d415 2023-11-18T18:25:16 doc: mention shell operators preferred over `test` options. * doc/automake.texi (Usage of Conditionals): mention that shell operators (&&, ||, ()) are preferred over `test` options (-a, -o, \(\)). Idea and POSIX url reference from Michael Stapelberg, https://lists.gnu.org/archive/html/automake-patches/2016-10/msg00002.html
Karl Berry 458bc6ad 2023-11-15T10:37:22 tests: give input file to sed. * t/posixtarget.sh: sed ... Makefile | grep, not sed ... | grep Makefile, to avoid waiting forever on stdin.
Mike Frysinger d5d5707d 2023-11-15T10:35:40 m4: use AS_IF instead of ! builtin. * m4/sanity.m4: Switch `if !` to AS_IF.
Jim Meyering 5c85c782 2023-11-01T22:20:05 fix: syntax error in sanity.m4 * m4/sanity.m4 (_AM_FILESYSTEM_TIMESTAMP_RESOLUTION): Fix syntax error from preceding change: add a missing double quote.
Karl Berry cfb00bd3 2023-11-01T18:05:53 doc: more NEWS on fractional seconds. * NEWS: fixed autom4te is not yet released.
Karl Berry 581e0ae4 2023-11-01T18:03:36 doc: references for non-fractional timestamps. The non-fractional fix from Bogdan fixes https://bugs.gnu.org/64756, discussed earlier in a long thread on automake in 2023-03 and 2023-04; references in the bug. Jacob Bachmeyer contributed to the analysis and fixes. * m4/sanity.m4:
Karl Berry a1c34d1f 2023-11-01T17:41:53 doc: add bug numbers to NEWS. * NEWS: add some bug numbers.
Bogdan b6fa7311 2023-11-01T17:40:47 m4: fall back to non-fractional timestamps with older autom4te. * m4/sanity.m4 (_AM_FILESYSTEM_TIMESTAMP_RESOLUTION): if HiRes is not present in Autom4te/FileUtils.pm, do not consider fractional sleeps.
Karl Berry 7d727188 2023-11-01T17:36:01 m4: syntax fix for lex change. * m4/lex.m4: dnl caused "fiif" in output.
Karl Berry df85c29c 2023-11-01T09:25:21 doc: tiny Texinfo cleanups. * doc/automake.texi (Public macros): Missed @var usage. (Dependencies): "The Autoconf Manual" in cross-manual xref.
Bogdan c889fedb 2023-11-01T09:22:46 tests: add new test for AM_PROG_LEX arguments. See https://bugs.gnu.org/65600 and https://bugs.gnu.org/65730 and https://lists.gnu.org/archive/html/automake/2023-07/msg00007.html. * t/lex-args.sh: New test. * t/list-of-tests.mk (handwritten_tests): Add it.