bugGNU roff - Bugs: bug #64403, [bjarnigroff] error when compiling...

 
 

bug #64403: [bjarnigroff] error when compiling latest groff; GIFONT not declared

Submitter:  Bjarni Ingi Gislason <bjarniig>
Submitted:  Mon 10 Jul 2023 03:00:57 PM UTC
   
 
Category:  Preprocessor eqn Severity:  3 - Normal
Item Group:  Build/Installation Status:  Invalid
Privacy:  Public Assigned to:  gbranden
Open/Closed:  Closed Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 10 Jul 2023 03:13:39 PM UTC, comment #1: 

I always test before I push to master.  You know that.

I suspect you botched the integration of the post-1.23.0-tag changes with your private groff fork, which is well known on the groff mailing list, if not elsewhere.

See attachments.

(file #54918, file #54919)

G. Branden Robinson <gbranden>
Group administrator
Mon 10 Jul 2023 03:00:57 PM UTC, original submission:  

Subject: error when compiling latest groff; GIFONT not declared

  YACC     src/preproc/eqn/eqn.cpp
updating eqn.output
updating eqn.tab.cpp
updating eqn.tab.hpp
  CXX      src/preproc/eqn/eqn-lex.o
../src/preproc/eqn/lex.cpp:97:15: error: 'GIFONT' was not declared in this scope; did you mean 'GRFONT'?
   97 |   { "gifont", GIFONT },
      |               ^~~~~~
      |               GRFONT
../src/preproc/eqn/lex.cpp: In function 'int yylex()':
../src/preproc/eqn/lex.cpp:1190:10: error: 'GIFONT' was not declared in this scope; did you mean 'GRFONT'?
 1190 |     case GIFONT:
      |          ^~~~~~
      |          GRFONT
--- ../src/preproc/eqn/lex.cpp
+++ ../src/preproc/eqn/lex.cpp
@@ -94,7 +94,7 @@
   { "mark", MARK },
   { "lineup", LINEUP },
   { "space", SPACE },
-  { "gifont", GIFONT },
+  { "gifont", GRFONT },
   { "gfont", GFONT }, // for backward compatibility
   { "gsize", GSIZE },
   { "define", DEFINE },
@@ -1187,7 +1187,7 @@
     case GFONT:
       do_gfont();
       break;
-    case GIFONT:
+    case GRFONT:
       do_gifont();
       break;
     case GRFONT:
make[2]: * [Makefile:10837: src/preproc/eqn/eqn-lex.o] Error 1
make[2]: Leaving directory '/home/bg/git/groff/build'
make[1]: * [Makefile:12460: all-recursive] Error 1
make[1]: Leaving directory '/home/bg/git/groff/build'
make: * [Makefile:6957: all] Error 2


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 #54918:  typescript added by gbranden (160KiB - application/octet-stream)
file #54919:  make-groff-fast-noinst added by gbranden (2KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -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 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-09-23 gbranden Summaryerror when compiling latest groff; GIFONT not declared [bjarnigroff] error when compiling latest groff; GIFONT not declared
    2023-07-10 gbranden Attached File- Added typescript, #54918
        Attached File- Added make-groff-fast-noinst, #54919
        CategoryCore Preprocessor eqn
        StatusNone Invalid
        Assigned toNone gbranden
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-aa77.
    Corresponding source code