[illumos-Developer] Build pkg5-nightly gate, dmake install returning errors, one fix, one question
Mike Gerdts
mgerdts at gmail.com
Sat Aug 7 12:23:58 PDT 2010
On Sat, Aug 7, 2010 at 2:12 PM, Chris J. Ruwe <cjr at cruwe.de> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> hg clone ssh://anon@hg.opensolaris.org
> <mailto:anon at hg.opensolaris.org>/hg/pkg/gate pkg-gate
> cd pkg-gate/src
> dmake install
>
> Following the instructions to be found in the wiki, step 3, I noticed
> errors which cause the 'dmake install' build to abort.
>
> 1) In gui/help/id/id.po, misplaced char in line 726, `\' instead of `
> ', removed -> fixed.
>
> 2) after that,
> msgfmt -o cs.mo cs.po
> cs.po:4118: `msgid' and `msgstr' entries do not bot end with `\n'.
> msgfmt: found 1 fatal error
The makefiles are flawed in that the failures generate the targets,
thereby allowing repeated invocations to eventually silently ignore
errors. A few days back I was compiling pkg on Linux and hacked
(really, hacked) a patch together. There are cases where I changed
the msgid rather than the msgstr. This primarily was done in the
first few. Once I paid attention to what I was doing I started fixing
only msgstr's.
http://cr.opensolaris.org/~mgerdts/pkg-po.patch.gz
I have a feeling that the difference is whether the traditional
Solaris msgfmt is used or the GNU gettext equivalent.
$ pkg search -l msgfmt
INDEX ACTION VALUE PACKAGE
basename file usr/bin/msgfmt pkg:/text/locale at 0.5.11-0.143
basename link usr/gnu/bin/msgfmt pkg:/text/gnu-gettext at 0.16.1-0.134
--
Mike Gerdts
http://mgerdts.blogspot.com/
More information about the Developer
mailing list