bugGNU gettext - Bugs: bug #64335, "/usr/bin/msgfmt: no input...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #64335: "/usr/bin/msgfmt: no input file should be given if --desktop and -d are specified" when building mate-panel

Submitter:  Sam James <thesamesam>
Submitted:  Wed 21 Jun 2023 08:36:48 PM UTC
   
 
Category:  Programmer tools Severity:  3 - Normal
Item Group:  None Status:  Answer Provided
Privacy:  Public Assigned to:  haible
Open/Closed:  Closed

Wed 21 Jun 2023 09:29:01 PM UTC, comment #1: 

In the command line, the options

--keyword Name --keyword Description

needs to be replaced with

--keyword=Name --keyword=Description

Then it works.

Reference: https://www.gnu.org/software/gettext/manual/html_node/msgfmt-Invocation.html#Desktop-Entry-mode-operations

Bruno Haible <haible>
Group administrator
Wed 21 Jun 2023 08:36:48 PM UTC, original submission:  

I get the following build failure with gettext-0.22 when building mate-panel:
```
make[3]: Entering directory '/var/tmp/portage/mate-base/mate-panel-1.26.3/work/mate-panel-1.26.3/libmate-panel-applet'
/usr/bin/msgfmt --desktop --keyword Name --keyword Description --template org.mate.panel.TestApplet.mate-panel-applet.desktop.in -d ../po -o org.mate.panel.TestApplet.mate-panel-applet
/usr/bin/msgfmt: no input file should be given if --desktop and -d are specified
Try '/usr/bin/msgfmt --help' for more information.
make[3]: * [Makefile:1035: org.mate.panel.TestApplet.mate-panel-applet] Error 1
make[3]: Leaving directory '/var/tmp/portage/mate-base/mate-panel-1.26.3/work/mate
```

I've attached ../po as a tarball (po.tar.xz) and the template file (org.mate.panel.TestApplet.mate-panel-applet.desktop.in).

Originally reported downstream in Gentoo at https://bugs.gentoo.org/908877.

Sam James <thesamesam>

 

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

Attached Files
file #54857:  po.tar.xz added by thesamesam (1MiB - application/x-xz)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by haible (Posted a comment)
  • -email is unavailable- added by thesamesam (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.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-06-21 haible CategoryEnd-user / runtime Programmer tools
        StatusNone Answer Provided
        Assigned toNone haible
        Open/ClosedOpen Closed
    2023-06-21 thesamesam Attached File- Added po.tar.xz, #54857
        Attached File- Added org.mate.panel.TestApplet.mate-panel-applet.desktop.in, #54858

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code