bug-gettext
[Top][All Lists]
Advanced

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

Re: [bug-gettext] po/Makefile.in.in: PO_DEPENDS_ON_POT?


From: Daiki Ueno
Subject: Re: [bug-gettext] po/Makefile.in.in: PO_DEPENDS_ON_POT?
Date: Mon, 21 Sep 2015 08:51:48 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Christian Weisgerber <address@hidden> writes:

> The po/Makefile.in.in shipped with gettext 0.19 has added
>
> POFILESDEPS_ = $(srcdir)/$(DOMAIN).pot
> POFILESDEPS_yes = $(POFILESDEPS_)
> POFILESDEPS_no =
> POFILESDEPS = $(POFILESDEPS_$(PO_DEPENDS_ON_POT))
> [...]
> $(POFILES): $(POFILESDEPS)
>
> I wonder what the point of PO_DEPENDS_ON_POT is, since the variable
> isn't defined anywhere.
>
>
> Unfortunately the construct above triggers a bug in FreeBSD 9's
> make(1) that causes it to error out with
>
>   Error expanding embedded variable.
>
> This bug is fixed in FreeBSD 10+.

See this thread:
http://lists.gnu.org/archive/html/bug-gettext/2015-05/msg00015.html

In short, a proper fix is to bump AM_GNU_GETTEXT_VERSION(...) in
configure.ac to 0.19.1 or later, either by hand or gettextize (or make
use of the newly introduced AM_GNU_GETTEXT_REQUIRE_VERSION macro).

> For instance, I ran into it with GNU cpio 2.12.

That's unfortunate.  I'm adding the cpio maintainer to Cc, to notify
this issue.

Maybe the next gettext release should really fix the build
infrastructure of 0.19 in archive.dir.tar*.

Regards,
-- 
Daiki Ueno



reply via email to

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