bugGNU roff - Bugs: bug #50016, grog 1.22.3 fails to recognize mom...

 
 

bug #50016: grog 1.22.3 fails to recognize mom documents

Submitter:  Helge Blischke <helgeblischke>
Submitted:  Tue 10 Jan 2017 05:43:22 PM UTC
   
 
Category:  Utilities Severity:  3 - Normal
Item Group:  Incorrect behaviour Status:  Fixed
Privacy:  Public Assigned to:  bwarken
Open/Closed:  Closed Planned Release:  1.22.4
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 15 Jun 2022 06:32:19 PM UTC, comment #2: 

It's not easy to tell but this may be the commit that fixed it.


commit 9cba0985f480774c97196f775cae43b48ac9fd82
Author:     Bernd Warken <groff-bernd.warken-72@web.de>
AuthorDate: Thu Sep 25 22:07:49 2014 +0200
Commit:     Bernd Warken <groff-bernd.warken-72@web.de>
CommitDate: Thu Sep 25 22:07:49 2014 +0200

    grog: rewrite with new subs structure, and repair many details.


G. Branden Robinson <gbranden>
Group administrator
Wed 03 May 2017 01:48:23 PM UTC, comment #1: 

This appears to be fixed in git.  It looks like Bernd Warken, back in 2014, fixed the problems you identified in your report.

Here's an example on my Debian Stretch system on amd64, where "local-grog" is grog build from the HEAD of master in groff's git repo.

$ find -name "*.mom" | while read F; do echo $F; local-grog "$F"; done
./contrib/mom/examples/typesetting.mom
man requests found, but file name extension was: mom
groff -T ps -man ./contrib/mom/examples/typesetting.mom
./contrib/mom/examples/letter.mom
groff -T ps ./contrib/mom/examples/letter.mom
./contrib/mom/examples/sample_docs.mom
groff -T ps ./contrib/mom/examples/sample_docs.mom
./contrib/mom/examples/mon_premier_doc.mom
groff -T ps ./contrib/mom/examples/mon_premier_doc.mom
./contrib/mom/examples/mom-pdf.mom
groff -T ps ./contrib/mom/examples/mom-pdf.mom
./doc/automake.mom
groff -T ps -mom ./doc/automake.mom

Here's output from Debian's groff 1.22.3:

$ find -name "*.mom" | while read F; do echo $F; grog "$F"; done
./contrib/mom/examples/typesetting.mom
Undefined subroutine &main::err called at /usr/lib/groff/grog/subs.pl line 995.
./contrib/mom/examples/letter.mom
groff ./contrib/mom/examples/letter.mom
./contrib/mom/examples/sample_docs.mom
groff ./contrib/mom/examples/sample_docs.mom
./contrib/mom/examples/mon_premier_doc.mom
groff ./contrib/mom/examples/mon_premier_doc.mom
./contrib/mom/examples/mom-pdf.mom
groff ./contrib/mom/examples/mom-pdf.mom
./doc/automake.mom
groff -mom ./doc/automake.mom

This is pretty gross and it would be nice if we could do a release soon to get this fix out into the world.

G. Branden Robinson <gbranden>
Group administrator
Tue 10 Jan 2017 05:43:22 PM UTC, original submission:  

grog 1.22.3 fails to recognize mom documents. See attached file grog.diff.

The function err () is called several times in subs.pl but nowhere defined. See attached
file subs.diff.

Helge Blischke <helgeblischke>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #39426:  grog.diff added by helgeblischke (1KiB - application/octet-stream)
file #39427:  subs.diff added by helgeblischke (365B - 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 (Posted a comment)
  • -email is unavailable- added by helgeblischke (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 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-06-15 gbranden CategoryNone Utilities
        Assigned toNone bwarken
        Planned ReleaseNone 1.22.4
        Summarygrog 1.22.3 fails to recognize mom documents. grog 1.22.3 fails to recognize mom documents
    2017-05-03 gbranden StatusNone Fixed
        Open/ClosedOpen Closed
    2017-01-10 helgeblischke Attached File- Added grog.diff, #39426
        Attached File- Added subs.diff, #39427

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code