unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Cannot build guix from git due to .po file errors
@ 2020-03-25 18:47 Vagrant Cascadian
  2020-03-25 19:59 ` Danny Milosavljevic
  2020-03-26 14:21 ` Ludovic Courtès
  0 siblings, 2 replies; 6+ messages in thread
From: Vagrant Cascadian @ 2020-03-25 18:47 UTC (permalink / raw)
  To: guix-devel

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

I haven't been able to build guix from a local checkout lately:

$ git describe --match=v'*'
v1.0.1-13415-g0557618dbe
$ git clean -dfx
$ guix environment --pure guix
[env]$ ./bootstrap && ./configure --localstatedir=/var && make -j4 check
++ find po/doc -type f -name 'guix-manual*.po'
...
make[4]: Leaving directory '/home/vagrant/src/guix-workspace/po/guix'
rm -f en@quot.gmo &&
/gnu/store/p50cw1g05g566bkbr6ylcibqffhha8w4-profile/bin/msgfmt -c
--statistics --verbose -o en@quot.gmo en@quot.po
make[5]: Leaving directory '/home/vagrant/src/guix-workspace/po/guix'
make[4]: Leaving directory '/home/vagrant/src/guix-workspace/po/guix'
rm -f en@boldquot.gmo &&
/gnu/store/p50cw1g05g566bkbr6ylcibqffhha8w4-profile/bin/msgfmt -c
--statistics --verbose -o en@boldquot.gmo en@boldquot.po
en@quot.po:4573: format specifications in 'msgstr[0]' are not a subset
of those in 'msgid_plural'
/gnu/store/p50cw1g05g566bkbr6ylcibqffhha8w4-profile/bin/msgfmt: found 1
fatal error
en@quot.po: 938 translated messages.
make[3]: *** [Makefile:202: en@quot.gmo] Error 1
make[3]: *** Waiting for unfinished jobs....
en@boldquot.po:4591: format specifications in 'msgstr[0]' are not a
subset of those in 'msgid_plural'
/gnu/store/p50cw1g05g566bkbr6ylcibqffhha8w4-profile/bin/msgfmt: found 1
fatal error
en@boldquot.po: 938 translated messages.
make[3]: *** [Makefile:202: en@boldquot.gmo] Error 1
make[3]: Leaving directory '/home/vagrant/src/guix-workspace/po/guix'
make[2]: *** [Makefile:239: stamp-po] Error 2
make[2]: Leaving directory '/home/vagrant/src/guix-workspace/po/guix'
make[1]: *** [Makefile:4904: check-recursive] Error 1
make[1]: Leaving directory '/home/vagrant/src/guix-workspace'
make: *** [Makefile:5372: check] Error 2


This has been several days at least, haven't tried to bisect the
issue... I've heard that some people can't reproduce it...

"guix pull" from the same commit works fine, but obviously takes a lot
more CPU and human cycles to run guix pull every change I want to test.


live well,
  vagrant

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

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

* Re: Cannot build guix from git due to .po file errors
  2020-03-25 18:47 Cannot build guix from git due to .po file errors Vagrant Cascadian
@ 2020-03-25 19:59 ` Danny Milosavljevic
  2020-03-26 14:21 ` Ludovic Courtès
  1 sibling, 0 replies; 6+ messages in thread
From: Danny Milosavljevic @ 2020-03-25 19:59 UTC (permalink / raw)
  To: Vagrant Cascadian; +Cc: guix-devel

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

Hi Vagrant,

a workaround that I like to use is

  make SUBDIRS=

It will get rid of the "po" subdir rule.

(I'm not saying that that's the correct fix or anything)

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: Cannot build guix from git due to .po file errors
  2020-03-25 18:47 Cannot build guix from git due to .po file errors Vagrant Cascadian
  2020-03-25 19:59 ` Danny Milosavljevic
@ 2020-03-26 14:21 ` Ludovic Courtès
  2020-03-28 14:46   ` Marius Bakke
  1 sibling, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2020-03-26 14:21 UTC (permalink / raw)
  To: Vagrant Cascadian; +Cc: guix-devel

Hi Vagrant,

Vagrant Cascadian <vagrant@debian.org> skribis:

> en@boldquot.po:4591: format specifications in 'msgstr[0]' are not a
> subset of those in 'msgid_plural'
> /gnu/store/p50cw1g05g566bkbr6ylcibqffhha8w4-profile/bin/msgfmt: found 1
> fatal error

What’s the message on that line?

I haven’t hit the problem yet, probably simply because I haven’t tried
rebuilding the PO files.

Thanks,
Ludo’.

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

* Re: Cannot build guix from git due to .po file errors
  2020-03-26 14:21 ` Ludovic Courtès
@ 2020-03-28 14:46   ` Marius Bakke
  2020-03-28 14:56     ` Marius Bakke
  0 siblings, 1 reply; 6+ messages in thread
From: Marius Bakke @ 2020-03-28 14:46 UTC (permalink / raw)
  To: Ludovic Courtès, Vagrant Cascadian; +Cc: guix-devel

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

Ludovic Courtès <ludo@gnu.org> writes:

> Hi Vagrant,
>
> Vagrant Cascadian <vagrant@debian.org> skribis:
>
>> en@boldquot.po:4591: format specifications in 'msgstr[0]' are not a
>> subset of those in 'msgid_plural'
>> /gnu/store/p50cw1g05g566bkbr6ylcibqffhha8w4-profile/bin/msgfmt: found 1
>> fatal error
>
> What’s the message on that line?

The message is:

msgstr[0] "The following ~*machine will be deployed:~%"

...from (guix scripts deploy).

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

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

* Re: Cannot build guix from git due to .po file errors
  2020-03-28 14:46   ` Marius Bakke
@ 2020-03-28 14:56     ` Marius Bakke
  2020-03-29 14:44       ` Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: Marius Bakke @ 2020-03-28 14:56 UTC (permalink / raw)
  To: Ludovic Courtès, Vagrant Cascadian; +Cc: guix-devel

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

Marius Bakke <mbakke@fastmail.com> writes:

> Ludovic Courtès <ludo@gnu.org> writes:
>
>> Hi Vagrant,
>>
>> Vagrant Cascadian <vagrant@debian.org> skribis:
>>
>>> en@boldquot.po:4591: format specifications in 'msgstr[0]' are not a
>>> subset of those in 'msgid_plural'
>>> /gnu/store/p50cw1g05g566bkbr6ylcibqffhha8w4-profile/bin/msgfmt: found 1
>>> fatal error
>>
>> What’s the message on that line?
>
> The message is:
>
> msgstr[0] "The following ~*machine will be deployed:~%"
>
> ...from (guix scripts deploy).

So this is the same issue as <https://issues.guix.gnu.org/issue/37505>.

I went ahead and applied the same workaround in
388b432cea4ae2bb9bf4b044026b7764ab002e1e.

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

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

* Re: Cannot build guix from git due to .po file errors
  2020-03-28 14:56     ` Marius Bakke
@ 2020-03-29 14:44       ` Ludovic Courtès
  0 siblings, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2020-03-29 14:44 UTC (permalink / raw)
  To: Marius Bakke; +Cc: Vagrant Cascadian, guix-devel

Marius Bakke <mbakke@fastmail.com> skribis:

> Marius Bakke <mbakke@fastmail.com> writes:
>
>> Ludovic Courtès <ludo@gnu.org> writes:
>>
>>> Hi Vagrant,
>>>
>>> Vagrant Cascadian <vagrant@debian.org> skribis:
>>>
>>>> en@boldquot.po:4591: format specifications in 'msgstr[0]' are not a
>>>> subset of those in 'msgid_plural'
>>>> /gnu/store/p50cw1g05g566bkbr6ylcibqffhha8w4-profile/bin/msgfmt: found 1
>>>> fatal error
>>>
>>> What’s the message on that line?
>>
>> The message is:
>>
>> msgstr[0] "The following ~*machine will be deployed:~%"
>>
>> ...from (guix scripts deploy).
>
> So this is the same issue as <https://issues.guix.gnu.org/issue/37505>.
>
> I went ahead and applied the same workaround in
> 388b432cea4ae2bb9bf4b044026b7764ab002e1e.

I see, thanks!

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

end of thread, other threads:[~2020-03-29 14:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-25 18:47 Cannot build guix from git due to .po file errors Vagrant Cascadian
2020-03-25 19:59 ` Danny Milosavljevic
2020-03-26 14:21 ` Ludovic Courtès
2020-03-28 14:46   ` Marius Bakke
2020-03-28 14:56     ` Marius Bakke
2020-03-29 14:44       ` Ludovic Courtès

Code repositories for project(s) associated with this public 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).