bugGNU roff - Bugs: bug #61062, [PATCH] Errors from a new...

 
 

bug #61062: [PATCH] Errors from a new "automake" about undefined macros "AC_..."

Submitter:  Bjarni Ingi Gislason <bjarniig>
Submitted:  Thu 19 Aug 2021 09:24:19 PM UTC
   
 
Category:  General Severity:  3 - Normal
Item Group:  Build/Installation Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 30 Aug 2023 07:39:14 AM UTC, comment #1: 

m4/groff.m4 has changed enough since this patch was put forward that it no longer applies.  I've attached an updated patch.

I don't know enough (i.e., anything) about the build system to comment on the patch.

(file #55097)

Dave <barx>
Group Member
Thu 19 Aug 2021 09:24:19 PM UTC, original submission:  

From 1378d15f1a9aeb256390e9e858968ee0becf86f3 Mon Sep 17 00:00:00 2001
From: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Date: Thu, 19 Aug 2021 15:51:48 +0000
Subject: [PATCH] Errors from a new "automake" about undefined macros "AC_..."

automake (GNU automake) 1.16.4
Copyright (C) 2021 Free Software Foundation, Inc.

  From "make clean":

CDPATH="${ZSH_VERSION+.}:" && cd .. && /bin/bash
'/home/bg/git/groff/build-aux/missing' autoconf
configure.ac:21: warning: AC_INIT: not a literal:
"m4_esyscmd(build-aux/git-version-gen --prefix "" .tarball-version)"
configure:24123: error: possibly undefined macro: AC_DEFINE
      If this token and others are legitimate, please use
m4_pattern_allow.
      See the Autoconf documentation.
configure:24128: error: possibly undefined macro: AC_MSG_FAILURE
configure:24130: error: possibly undefined macro: AC_MSG_WARN
make: *** [Makefile:5911: ../configure] Error 1

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
---
 m4/groff.m4 | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/m4/groff.m4 b/m4/groff.m4
index 9a481607..c45c0e4c 100644
--- a/m4/groff.m4
+++ b/m4/groff.m4
@@ -16,6 +16,10 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.

+m4_pattern_allow([^AC_DEFINE$])
+m4_pattern_allow([^AC_MSG_FAILURE$])
+m4_pattern_allow([^AC_MSG_WARN$])
+
 AC_DEFUN([GROFF_PRINT],
   [if test -z "$PSPRINT"; then
      AC_CHECK_PROGS([LPR], [lpr])
--
2.32.0


Bjarni Ingi Gislason <bjarniig>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #55097:  61062.patch added by barx (463B - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by barx (Updated the item)
  • -email is unavailable- added by gbranden (Updated the item)
  • -email is unavailable- added by bjarniig (Submitted 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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-08-30 barx Attached File- Added 61062.patch, #55097
    2022-06-15 gbranden CategoryCore General

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code