[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "make dist" fails ... en@boldquote: warning: PO file headder missing
From: |
Vagrant Cascadian |
Subject: |
Re: "make dist" fails ... en@boldquote: warning: PO file headder missing or invalid |
Date: |
Fri, 07 Jan 2022 16:40:17 -0800 |
On 2022-01-07, Vagrant Cascadian wrote:
> Trying to run "make dist" from Debian running guix... but it fails.
> nckx confirmed to have similar issues.
>
> $ guix shell --container --pure --development guix guix git imagemagick perl
> less glibc glibc-locales
> ...
> $ export LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 # ensure UTF-8 locale available
> in guix
Apparently I also need to ...
$ export LANGUAGE=en
> $ git clean -dfx # remove any potential cruft
> ...
> $ ./bootstrap && ./configure --localstatedir=/var && make -j1 dist
> ...
> rm -f en@boldquot.gmo &&
> /gnu/store/z2y9851y1w2r8j8ipkvk0nhhczw8qgci-profile/bin/msgfmt -c
> --statistics --verbose -o en@boldquot.gmo en@boldquot.po
> /gnu/store/z2y9851y1w2r8j8ipkvk0nhhczw8qgci-profile/bin/msgfmt:
> en@boldquot.po: warning: PO file header missing or invalid
>
> warning:
>
> charset
>
> conversion
>
> will
>
> not
>
> work
> /gnu/store/z2y9851y1w2r8j8ipkvk0nhhczw8qgci-profile/bin/msgfmt: found 1
> fatal error
And then I hit the bug that 7e91d5d58c50fa64f41218c9c8157a4e8dbb3107
fixed. :)
So ... setting LANG LANGUAGE and LC_ALL seems to be a viable workaround,
but a bit ugly to be so locale-dependent.
> I've also in the past implored to set up a ci job for "make dist" to
> make it at least easier to figure out which commits trigger these
> issues... how can I help move that forward? :)
Please, please! :)
live well,
vagrant
signature.asc
Description: PGP signature