bugGNU troff - Bugs: bug #60700, [mm] lack of real...


bug #60700: [mm] lack of real "locale" and "se_locale" files provokes warning

Submitted by:  G. Branden Robinson <gbranden>
Submitted on:  Sun 30 May 2021 02:19:34 AM UTC  
Category:  Macro - mm Severity:  2 - Minor
Item Group:  Warning/Suspicious behaviour Status:  Fixed
Privacy:  Public Assigned to:  G. Branden Robinson <gbranden>
Open/Closed:  Closed Planned Release:  1.23.0

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sat 17 Jul 2021 01:01:23 AM UTC, comment #2: 

commit 62a5f6b87ccc69ba5c6df32b087f58eaa131d55f
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Sat Jul 17 08:30:17 2021 +1000

    [mm]: Stop installing empty macro files.

    * contrib/mm/mm.am: Delete variable `MMLOCALE`.
      (install_mm): Delete `for` loop that touches the files.
      (uninstall_mm): Delete `for` loop that deletes the files.

    * contrib/mm/m.tmac: Update initializtion.
      - Load the `\*[@country]_locale` file with `msoquiet` instead of
      - Add version check to require groff 1.23 or later, since the
        `msoquiet` request is now being used.
      - Move "include guard" to follow the compatibility mode and groff
        version checks.  Remove its `do` prefix.

    * contrib/mm/groff_mm.7.man (Localization): Migrate topic into its own
      subsection and update discussion.

    Fixes <https://savannah.gnu.org/bugs/?60700>.

G. Branden Robinson <gbranden>
Project AdministratorIn charge of this item.
Fri 16 Jul 2021 09:59:33 PM UTC, comment #1: 

Alternatively, we can load them with .msoquiet and not ship them at all.

G. Branden Robinson <gbranden>
Project AdministratorIn charge of this item.
Sun 30 May 2021 02:19:34 AM UTC, original submission:  

Our contrived creation of these files as zero-length as part of the "install" Make target means that they don't exist in build directories, which leads to diagnostics when testing mm thence.

troff: .../../contrib/mm/m.tmac:365: warning: can't open macro file 'mm/locale': No such file or directory

It would be nice not only to resolve this problem, but to have real files we distribute, perhaps with comments advising mm users of what sorts of things they might put there.

I'm open to suggestions for content.

G. Branden Robinson <gbranden>
Project AdministratorIn charge of this item.


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

Attach Files:

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 (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-07-17 gbranden StatusIn Progress => Fixed
        Open/ClosedOpen => Closed
        Planned ReleaseNone => 1.23.0
    2021-07-16 gbranden Severity1 - Wish => 2 - Minor
        Item GroupNew feature => Warning/Suspicious behaviour
        StatusNone => In Progress
        Assigned toNone => gbranden
        Summary[mm] ship real example "locale" and "se_locale" files => [mm] lack of real "locale" and "se_locale" files provokes warning

    Back to the top

    Powered by Savane 3.7