[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#26514: make check - t/gettext-macros.sh hangs
From: |
Mathieu Lirzin |
Subject: |
bug#26514: make check - t/gettext-macros.sh hangs |
Date: |
Sun, 16 Apr 2017 12:49:54 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
tags 26514 patch fixed
close 26514
stop
Hello Bruno,
Bruno Haible <address@hidden> writes:
> On a Ubuntu 16.04 system (which happens to have the package 'gettext'
> installed but the package 'autopoint' not installed) "make check"
> of Automake 1.15 hangs:
>
> $ ./configure
> $ make
> $ make check 2>&1 | tee log3
> ...
> gcj6: skipped test: GNU Java compiler unavailable
> SKIP: t/gcj6.sh
>
> "ps" shows the following processes running for 45 minutes:
>
> make test-suite.log TEST_LOGS=t/get-sysconf.log ...
> -> /bin/bash -c p='t/gettext-macros.sh'; ...
> -> /bin/bash ./lib/test-driver --test-name t/gettext-macros.sh --log-file
> t/gettext-macros.log --trs-file t/gettext-macros.trs --color-tests no
> --enable-hard-errors yes --expect-failure no -- /bin/bash
> ./t/gettext-macros.sh
> -> /bin/bash ./t/gettext-macros.sh
> -> /bin/sh /usr/bin/gettextize --force
>
> 'autopoint' is not found (since package 'autopoint' is not installed),
> and 'gettextize' is found in /usr/bin/ (as part of package 'gettext').
>
> The fix is obviously to NEVER attempt to run gettextize from a test script,
> because gettextize is an *interactive* tool [1]. The test intended to cope
> with
> GNU gettext versions that predate the introduction of 'autopoint'. But these
> versions are older than July 2002; we can ignore them by now.
You definitely have a better understanding of what should be done for
gettext related stuff than I do. So I trust your expertise.
Applied in commit fc3afa8fe4d65bfad650b6230e1dc12d391a5477.
Thank you.
--
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761 070D 0ADE E100 9460 4D37