unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* "make dist" fails ... en@boldquote: warning: PO file headder missing or invalid
@ 2022-01-07 22:43 Vagrant Cascadian
  2022-01-08  0:40 ` Vagrant Cascadian
  0 siblings, 1 reply; 5+ messages in thread
From: Vagrant Cascadian @ 2022-01-07 22:43 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1504 bytes --]

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 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


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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: "make dist" fails ... en@boldquote: warning: PO file headder missing or invalid
  2022-01-07 22:43 "make dist" fails ... en@boldquote: warning: PO file headder missing or invalid Vagrant Cascadian
@ 2022-01-08  0:40 ` Vagrant Cascadian
  2022-01-08  2:22   ` "make dist" fails Vagrant Cascadian
  2022-01-10 13:39   ` "make dist" fails ... en@boldquote: warning: PO file headder missing or invalid zimoun
  0 siblings, 2 replies; 5+ messages in thread
From: Vagrant Cascadian @ 2022-01-08  0:40 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1865 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: "make dist" fails ...
  2022-01-08  0:40 ` Vagrant Cascadian
@ 2022-01-08  2:22   ` Vagrant Cascadian
  2022-01-10 13:39   ` "make dist" fails ... en@boldquote: warning: PO file headder missing or invalid zimoun
  1 sibling, 0 replies; 5+ messages in thread
From: Vagrant Cascadian @ 2022-01-08  2:22 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 833 bytes --]

On 2022-01-07, Vagrant Cascadian wrote:
> 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

And if I build with "make -j11 dist" it also fails:

  msgmerge: error while opening "guix.pot" for reading: No such file or directory
  msgmerge for en@boldquot.po failed!

So, this also appears to require "make -j1 dist".


live well,
  vagrant

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: "make dist" fails ... en@boldquote: warning: PO file headder missing or invalid
  2022-01-08  0:40 ` Vagrant Cascadian
  2022-01-08  2:22   ` "make dist" fails Vagrant Cascadian
@ 2022-01-10 13:39   ` zimoun
  2022-01-10 15:22     ` Mathieu Othacehe
  1 sibling, 1 reply; 5+ messages in thread
From: zimoun @ 2022-01-10 13:39 UTC (permalink / raw)
  To: Vagrant Cascadian, Mathieu Othacehe; +Cc: Guix Devel

Hi,

On Sat, 8 Jan 2022 at 01:47, Vagrant Cascadian <vagrant@debian.org> 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: "make dist" fails ... en@boldquote: warning: PO file headder missing or invalid
  2022-01-10 13:39   ` "make dist" fails ... en@boldquote: warning: PO file headder missing or invalid zimoun
@ 2022-01-10 15:22     ` Mathieu Othacehe
  0 siblings, 0 replies; 5+ messages in thread
From: Mathieu Othacehe @ 2022-01-10 15:22 UTC (permalink / raw)
  To: zimoun; +Cc: Vagrant Cascadian, Guix Devel


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-01-10 15:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-07 22:43 "make dist" fails ... en@boldquote: warning: PO file headder missing or invalid Vagrant Cascadian
2022-01-08  0:40 ` Vagrant Cascadian
2022-01-08  2:22   ` "make dist" fails Vagrant Cascadian
2022-01-10 13:39   ` "make dist" fails ... en@boldquote: warning: PO file headder missing or invalid zimoun
2022-01-10 15:22     ` Mathieu Othacehe

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).