mainAutoconf - Support: sr #110872, m4_warn differs in various ways...

 
 

sr #110872: m4_warn differs in various ways from its documentation

Submitter:  None
Submitted:  Sat 22 Apr 2023 11:01:15 AM UTC
   
 
Priority:  * 7 - Release N (Desirable) Severity:  2 - Minor
Status:  Done Privacy:  Public
Assigned to:  None Originator Email:  -email is unavailable-
Open/Closed:  Closed Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 18 Dec 2023 07:29:04 PM UTC, comment #2: 
Zack Weinberg <zackw>
Group administrator
Fri 15 Dec 2023 08:46:13 PM UTC, comment #1: 

Candidate patch: <https://lists.gnu.org/archive/html/autoconf-patches/2023-12/msg00015.html>.  Needs a portability fix and feedback from Automake maintainers before landing.

Zack Weinberg <zackw>
Group administrator
Sat 22 Apr 2023 11:01:15 AM UTC, original submission:  

OS: Linux user-ThinkPad-X200 5.15.0-70-generic #77+11.0trisquel19 SMP Tue Apr 18 13:57:27 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Automake version: autoreconf (GNU Autoconf) 2.71

Test procedure: run autogen.sh (attached), possibly with 'dnl' comments removed.

Expected result: I would expect to be able to uncomment all of the m4_warn lines, and receive four warnings and no fatal errors

Actual result:  I receive one warning.  If I uncomment either of the 'dnl  m4_warn' lines, I receive an ugly fatal error in autom4te.

Context: I was looking for the category in which to report that the PKG_CHECK_MODULES macro is not defined in the default configuration of my platform.  [[ I have worked out that I need to install pkg-config, thank you. ]]

Partners in guilt:

This page:
https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Diagnostic-Macros.html#Diagnostic-Macros
- implicitly claims that using non-standard categories is possible
- claims that [] and [all] are categories
- does not refer me to the page below

This page:
https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/autom4te-Invocation.html#autom4te-Invocation
-  reports that not all categories are enabled, which would have been useful to know
- contains a different list of categories from my autoreconf's man page

Desired result: if any warnings are on, then categories "", "all" and nonstandard are on.  If I do not get the last, then nonstandard categories produce a user's error message, rather than a programmer's error message.

Regards,
James the pedant.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #54649:  configure.ac added by None (458B - application/octet-stream - Test case)
file #54650:  autogen.sh added by None (154B - application/x-shellscript - Test case)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by zackw (Updated the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-12-18 zackw StatusIn Progress Done
        Open/ClosedOpen Closed
    2023-12-15 zackw StatusConfirmed In Progress
    2023-12-08 zackw StatusNone Confirmed
    2023-12-08 zackw Priority5 - Unprioritized 7 - Release N (Desirable)
    2023-04-22 None Attached File- Added configure.ac, #54649
        Attached File- Added autogen.sh, #54650

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code