bugGNU roff - Bugs: bug #60874, localization macro files provoke...

 
 

bug #60874: localization macro files provoke warnings in compatibility mode

Submitter:  Bjarni Ingi Gislason <bjarniig>
Submitted:  Sat 03 Jul 2021 02:13:24 AM UTC
   
 
Category:  Macro - others/general Severity:  3 - Normal
Item Group:  Warning/Suspicious behaviour Status:  Fixed
Privacy:  Public Assigned to:  gbranden
Open/Closed:  Closed Planned Release:  1.23.0
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 04 Jul 2021 03:15:07 AM UTC, comment #2: 


commit 7c31d53f83888d88262075875b6ba5463dcfa5c5
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Sat Jul 3 15:40:42 2021 +1000

    [tmac]: Make l10n work in compatibility mode.

    * tmac/cs.tmac:
    * tmac/de.tmac:
    * tmac/en.tmac:
    * tmac/fr.tmac:
    * tmac/it.tmac:
    * tmac/ja.tmac:
    * tmac/sv.tmac:
    * tmac/zh.tmac: Save and restore compatibility mode.

    * tmac/den.tmac: Invoke requests with `do`.

    Fixes <https://savannah.gnu.org/bugs/?60874>.  Problem was extant in
    groff 1.22.4 and appears to have been present since its first
    implementation in February 2006.  Thanks to Bjarni Ingi Gislason for the
    report.

commit ccaf475d42d98090b308e5540294c557e1330e7e
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Sat Jul 3 15:34:05 2021 +1000

    Add regression test for Savannah #60874.

    * src/roff/groff/tests/initialization_is_quiet.sh: Test it.
    * src/roff/groff/groff.am (groff_TESTS): Run test.

    Test fails at this commit.


G. Branden Robinson <gbranden>
Group administrator
Sat 03 Jul 2021 05:46:45 AM UTC, comment #1: 

Problem was extant in groff 1.22.4 and appears to have been present since its first implementation in February 2006.  I suppose there was little interest in compatibility mode among users of this feature.


$ groff -ww -VV -C -mfr < /dev/null
troff: /usr/share/groff/1.22.4/tmac/fr.tmac:32: warning: macro '[' not defined
troff: /usr/share/groff/1.22.4/tmac/fr.tmac:103: warning: macro 'ms' not defined
troff: /usr/share/groff/1.22.4/tmac/fr.tmac:187: warning: macro 'hl' not defined
troff: /usr/share/groff/1.22.4/tmac/fr.tmac:188: warning: macro 'hp' not defined
troff -ww -C -mfr -Tps | grops


G. Branden Robinson <gbranden>
Group administrator
Sat 03 Jul 2021 02:13:24 AM UTC, original submission:  



  Output from extended "test-groff"

test-groff -C -z troffrc

troff: backtrace: file '/home/bg/git/groff/build/../tmac/en.tmac':29
troff: backtrace: file '/home/bg/git/groff/build/../tmac/troffrc':78
troff: /home/bg/git/groff/build/../tmac/en.tmac:29: warning: macro 'hl' not defined
troff: backtrace: file '/home/bg/git/groff/build/../tmac/en.tmac':32
troff: backtrace: file '/home/bg/git/groff/build/../tmac/troffrc':78
troff: /home/bg/git/groff/build/../tmac/en.tmac:32: warning: macro 'hp' not defined


Bjarni Ingi Gislason <bjarniig>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

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
    2021-07-04 gbranden Planned ReleaseNone 1.23.0
        SummaryCompatibility mode does not work for &quot;tmac/troffrc&quot; localization macro files provoke warnings in compatibility mode
    2021-07-04 gbranden StatusIn Progress Fixed
        Open/ClosedOpen Closed
    2021-07-03 gbranden StatusConfirmed In Progress
    2021-07-03 gbranden StatusNone Confirmed
        Assigned toNone gbranden

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code