[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gettext] distcheck failure caused by address@hidden target

From: Daiki Ueno
Subject: Re: [bug-gettext] distcheck failure caused by address@hidden target
Date: Tue, 12 Aug 2014 15:42:30 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

Hi Ludovic,

address@hidden (Ludovic Courtès) writes:

> ‘make distcheck’ in Guix now fails like this (I think the failure
> appeared when I upgraded to Gettext 0.19.2, though I’m not completely
> sure):

I've just tested it with on Fedora 20 and got the same error.

> mv: cannot move '/data/src/guix/guix-0.8/_build/po/guix/address@hidden' to 
> 'address@hidden': Permission denied
> creation of address@hidden failed: cannot move 
> /data/src/guix/guix-0.8/_build/po/guix/address@hidden to address@hidden
> Makefile:496: recipe for target 'address@hidden' failed

The target is expanded from Rules-quot:

  if $(MSGINIT) ... > $$tmpdir/$$lang.new.po; then \
    if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
      rm -f $$tmpdir/$$lang.new.po; \
    else \
      if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
        :; \

The 'mv' part is called only when the newly generated address@hidden file
has changed from the distributed one - this does not normally happen.

However, I indeed see some differences between two files: line wrapping.
According to the log, after 648453e8, Guix supplies --no-wrap to
msgmerge, but the option is ignored when calling $(MSGINIT) and that is
causing the difference.

Probably gettext should provide MSGINIT_OPTIONS, but if the Guix release
is imminent, there are a couple of workarounds I can think of: (1)
revert the --no-wrap change or (2) add "DIST_DEPENDS_ON_UPDATE_PO = no"
to Makevars.  The latter prevents automatic update of *.po files at
"make dist".

Daiki Ueno

reply via email to

[Prev in Thread] Current Thread [Next in Thread]