bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
* autopoint: ... gettext-0.20 ... is too old
@ 2020-01-30 14:09 Jeffrey Walton
  0 siblings, 0 replies; 4+ messages in thread
From: Jeffrey Walton @ 2020-01-30 14:09 UTC (permalink / raw)
  To: bug-gnulib

Hi Everyone,

I'm trying to test Gnulib according to
https://lists.gnu.org/archive/html/bug-gnulib/2017-05/msg00117.html.

I've cloned the latest Gnulib. I'm running this command:


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

* autopoint: ... gettext-0.20 ... is too old
@ 2020-01-30 14:15 Jeffrey Walton
  2020-01-30 14:50 ` Bruno Haible
  0 siblings, 1 reply; 4+ messages in thread
From: Jeffrey Walton @ 2020-01-30 14:15 UTC (permalink / raw)
  To: bug-gnulib

Hi Everyone,

I'm trying to test Gnulib according to
https://lists.gnu.org/archive/html/bug-gnulib/2017-05/msg00117.html.

I've cloned the latest Gnulib. I'm running this command:

GNULIB_DIR=gnulib
GNULIB_TEST_DIR=gnulib_test

git clone ...
cd "$GNULIB_DIR"

if ! ./gnulib-tool --create-testdir --dir=../"$GNULIB_TEST_DIR"
--single-configure;
then
    echo "Failed to copy Gnulib sources"
    exit 1
fi

The command fails with the error message:

  ...
  top/GNUmakefile
  top/README-release
  top/maint.mk
executing autopoint --force
autopoint: *** The AM_GNU_GETTEXT_VERSION declaration in your configure.ac
               file requires the infrastructure from gettext-0.20 but
this version
               is older. Please upgrade to gettext-0.20 or newer.
autopoint: *** Stop.
Failed to copy Gnulib sources

I have updated libraries located at $HOME/tmp/ubsan/lib/. They include
the warez from GetText 0.20.1. But I'm not at the point I can tell
Gnulib where to find the updated libraries (using PKG_CONFIG_PATH).

Running 'gnulib-tool --help' does not appear to offer a way to tell
the tool where to find the updated libraries.

How do I work around the issue?

Thanks in advance.


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

* Re: autopoint: ... gettext-0.20 ... is too old
  2020-01-30 14:15 Jeffrey Walton
@ 2020-01-30 14:50 ` Bruno Haible
  2020-01-30 15:01   ` Jeffrey Walton
  0 siblings, 1 reply; 4+ messages in thread
From: Bruno Haible @ 2020-01-30 14:50 UTC (permalink / raw)
  To: bug-gnulib, noloader

Hi Jeffrey,

> if ! ./gnulib-tool --create-testdir --dir=../"$GNULIB_TEST_DIR"
> --single-configure;
> ...
>   ...
>   top/GNUmakefile
>   top/README-release
>   top/maint.mk
> executing autopoint --force
> autopoint: *** The AM_GNU_GETTEXT_VERSION declaration in your configure.ac
>                file requires the infrastructure from gettext-0.20 but this version
>                is older. Please upgrade to gettext-0.20 or newer.

It's complaining that the 'autopoint' program in $PATH is too old.

Try excluding the module 'gettext' (which is marked obsolete) from
your tests:

./gnulib-tool --create-testdir --dir=../"$GNULIB_TEST_DIR" --avoid=gettext --single-configure

If that does not fix it, install GNU gettext 0.20.1 from source
with a --prefix=PREFIX, and add PREFIX/bin to your PATH.

Bruno



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

* Re: autopoint: ... gettext-0.20 ... is too old
  2020-01-30 14:50 ` Bruno Haible
@ 2020-01-30 15:01   ` Jeffrey Walton
  0 siblings, 0 replies; 4+ messages in thread
From: Jeffrey Walton @ 2020-01-30 15:01 UTC (permalink / raw)
  To: bug-gnulib

On Thu, Jan 30, 2020 at 9:50 AM Bruno Haible <bruno@clisp.org> wrote:
>
> Hi Jeffrey,
>
> > if ! ./gnulib-tool --create-testdir --dir=../"$GNULIB_TEST_DIR"
> > --single-configure;
> > ...
> >   ...
> >   top/GNUmakefile
> >   top/README-release
> >   top/maint.mk
> > executing autopoint --force
> > autopoint: *** The AM_GNU_GETTEXT_VERSION declaration in your configure.ac
> >                file requires the infrastructure from gettext-0.20 but this version
> >                is older. Please upgrade to gettext-0.20 or newer.
>
> It's complaining that the 'autopoint' program in $PATH is too old.
>
> Try excluding the module 'gettext' (which is marked obsolete) from
> your tests:
>
> ./gnulib-tool --create-testdir --dir=../"$GNULIB_TEST_DIR" --avoid=gettext --single-configure
>
> If that does not fix it, install GNU gettext 0.20.1 from source
> with a --prefix=PREFIX, and add PREFIX/bin to your PATH.

Perfect, thanks.


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

end of thread, other threads:[~2020-01-30 15:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-30 14:09 autopoint: ... gettext-0.20 ... is too old Jeffrey Walton
  -- strict thread matches above, loose matches on Subject: below --
2020-01-30 14:15 Jeffrey Walton
2020-01-30 14:50 ` Bruno Haible
2020-01-30 15:01   ` Jeffrey Walton

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