Re: "make dist" fails ... en@boldquote: warning: PO file headder missing or invalid

2022-01-10 Thread Mathieu Othacehe


Hello,

>> > 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? :)
>
> Mathieu, what does Cuirass need to make that happens?

That would require to have a derivation running an equivalent of the
"make dist" command, in the same spirit as the "tarball-jobs" procedure
of the (gnu ci) module I guess.

Thanks,

Mathieu



Re: "make dist" fails ... en@boldquote: warning: PO file headder missing or invalid

2022-01-10 Thread zimoun
Hi,

On Sat, 8 Jan 2022 at 01:47, Vagrant Cascadian  wrote:

> > 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? :)

Mathieu, what does Cuirass need to make that happens?


Cheers,
simon



Re: "make dist" fails ... en@boldquote: warning: PO file headder missing or invalid

2022-01-07 Thread Vagrant Cascadian
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 e...@boldquot.gmo &&
> /gnu/store/z2y9851y1w2r8j8ipkvk0nhhczw8qgci-profile/bin/msgfmt -c
> --statistics --verbose -o e...@boldquot.gmo e...@boldquot.po
> /gnu/store/z2y9851y1w2r8j8ipkvk0nhhczw8qgci-profile/bin/msgfmt:
> e...@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


"make dist" fails ... en@boldquote: warning: PO file headder missing or invalid

2022-01-07 Thread Vagrant Cascadian
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
$ git clean -dfx # remove any potential cruft
...
$ ./bootstrap && ./configure --localstatedir=/var && make -j1 dist
...
rm -f e...@boldquot.gmo &&
/gnu/store/z2y9851y1w2r8j8ipkvk0nhhczw8qgci-profile/bin/msgfmt -c
--statistics --verbose -o e...@boldquot.gmo e...@boldquot.po
/gnu/store/z2y9851y1w2r8j8ipkvk0nhhczw8qgci-profile/bin/msgfmt:
e...@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


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? :)


live well,
  vagrant


signature.asc
Description: PGP signature