Project

General

Profile

Bug #10352

gmsgfmt looks for /usr/share/locale/en_US.UTF-8/LC_MESSAGES/gettext-tools.mo, which does not exist

Added by Michal Nowak 8 months ago.

Status:
New
Priority:
Normal
Assignee:
Category:
OI-Userland
Target version:
-
Start date:
2019-02-07
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

This happened, when updating Inkscape to 0.92.4 (https://github.com/OpenIndiana/oi-userland/pull/4727):

newman:~/ws/oi-userland/components/image/inkscape $ gmsgfmt --xml --template inkscape-0.92.4/inkscape.appdata.xml.in -d inkscape-0.92.4/po -o build/amd64/inkscape.appdata.xml
gmsgfmt: cannot locate ITS rules for inkscape-0.92.4/inkscape.appdata.xml.in

gmsgfmt can't open /usr/share/gettext-0.19.8/its nor /usr/share/locale/en_US.UTF-8/LC_MESSAGES/gettext-tools.mo as they do not exist:

...
open("/usr/share/gettext-0.19.8/its", O_RDONLY|O_NDELAY|O_LARGEFILE) Err#2 ENOENT
open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/gettext-tools.mo", O_RDONLY) Err#2 ENOENT
fcntl(1, F_GETFL)                = 2
fstat64(2, 0x08046AA0)                = 0
gmsgfmtwrite(2, " g m s g f m t", 7)            = 7
: write(2, " :  ", 2)                = 2
cannot locate ITS rules for write(2, " c a n n o t   l o c a t".., 28)    = 28
inkscape-0.92.4/inkscape.appdata.xml.inwrite(2, " i n k s c a p e - 0 . 9".., 39)    = 39

write(2, "\n", 1)                = 1
close(1)                    = 0
close(2)                    = 0
_exit(1)

I looked into GNU gettext, but didn't see any obvious problem.


Files

gmsgfmt.truss_1 (8.36 KB) gmsgfmt.truss_1 Michal Nowak, 2019-02-07 07:20 AM

Also available in: Atom PDF