From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 15 05:26:36 2017 Received: (at submit) by debbugs.gnu.org; 15 Apr 2017 09:26:36 +0000 Received: from localhost ([127.0.0.1]:47851 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1czJyP-0007fa-94 for submit@debbugs.gnu.org; Sat, 15 Apr 2017 05:26:36 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53250) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1czJyL-0007fG-Mq for submit@debbugs.gnu.org; Sat, 15 Apr 2017 05:26:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1czJyE-0006L8-TB for submit@debbugs.gnu.org; Sat, 15 Apr 2017 05:26:20 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47417) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1czJyE-0006L4-PU for submit@debbugs.gnu.org; Sat, 15 Apr 2017 05:26:18 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44212) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czJyC-0000QF-Im for bug-automake@gnu.org; Sat, 15 Apr 2017 05:26:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1czJy9-0006KX-CS for bug-automake@gnu.org; Sat, 15 Apr 2017 05:26:16 -0400 Received: from mo6-p04-ob.smtp.rzone.de ([2a01:238:20a:202:5304::11]:13300) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1czJy8-0006KN-UD for bug-automake@gnu.org; Sat, 15 Apr 2017 05:26:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1492248369; l=8281; s=domk; d=clisp.org; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Date:Subject:To: From; bh=E/dOE2wVCS7f9oASX3RUAkr2D0uUGOwciGCGgdUiIEY=; b=FWXDNlZz8zxz5ONs0lDOFxbn9VPUGZkgdlOBHYoLatyBwrXb7clizfXFF0YTB25E7I t7XQoqQtBHmgVcpeFa2uGdgbBkrHW9Qj6MdiJM9gq+9g+Pc2gG23zidhcAoaWJQ2OGc6 EcXniGU53hZmvFhb1WqhsSDhapFRaBCWRpRG8= X-RZG-CLASS-ID: mo04 X-RZG-AUTH: :Ln4Re0+Ic/6oZXR1YgKryK8brksyK8dozXDwHXjf9hLwXcJ2lpibDryC/w== Received: from bruno.haible.de (x52716263.dyn.telefonica.de [82.113.98.99]) by smtp.strato.de (RZmta 40.4 SBL|AUTH) with ESMTPSA id h0357ft3F8R8gR9 (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Sat, 15 Apr 2017 10:27:08 +0200 (CEST) From: Bruno Haible To: bug-automake@gnu.org Subject: make check - t/gettext-macros.sh hangs Date: Sat, 15 Apr 2017 10:26:48 +0200 Message-ID: <2545997.nPBCLFQ8es@omega> User-Agent: KMail/5.1.3 (Linux/4.4.0-72-generic; KDE/5.18.0; x86_64; ; ) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart1646916.lO998X8Tx8" Content-Transfer-Encoding: 7Bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) This is a multi-part message in MIME format. --nextPart1646916.lO998X8Tx8 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Hi, 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. 2017-04-15 Bruno Haible * t/gettext-macros.sh: Never invoke gettextize. --- t/gettext-macros.sh.bak 2014-12-31 14:26:32.000000000 +0100 +++ t/gettext-macros.sh 2017-04-15 01:23:19.751007887 +0200 @@ -28,28 +28,19 @@ echo "# Automatically generated by $me." > get.sh echo : >> get.sh -# The 'gettextize' and 'autopoint' scripts will look into Makefile.am. +# The 'autopoint' script will look into Makefile.am. echo ACLOCAL_AMFLAGS = -I m4 > Makefile.am -# Prefer autopoint to gettextize, since the more modern versions of the -# latter might unconditionally require user interaction to complete; -# yes, this means confirmation from /dev/tty (!) -- see: +# Prefer autopoint to gettextize, since the latter unconditionally +# requires user interaction to complete; yes, this means confirmation +# from /dev/tty (!) -- see: # -# Since this "forced interaction" behaviour of gettextize wasn't present -# before the introduction of autopoint, we should be able to safely -# fall back to calling gettextize non-interactively if autopoint is not -# present. -if autopoint --version; then - am_gettextize_command=autopoint -else - am_gettextize_command=gettextize -fi -# We will need to specify the correct autopoint (or gettextize) version -# in the AM_GNU_GETTEXT_VERSION call in configure.ac if we want autopoint -# (or gettextize) to setup the correct infrastructure -- in particular, -# for what concerns us, to bring in all the required .m4 files. -autopoint_version=$(extract_program_version $am_gettextize_command) \ +# We will need to specify the correct autopoint version in the +# AM_GNU_GETTEXT_VERSION call in configure.ac if we want autopoint to +# setup the correct infrastructure -- in particular, for what concerns +# us, to bring in all the required .m4 files. +autopoint_version=$(extract_program_version autopoint) \ && test -n "$autopoint_version" \ || autopoint_version=0.10.35 @@ -61,11 +52,11 @@ AM_GNU_GETTEXT_VERSION([$autopoint_version]) END -if $am_gettextize_command --force && test -f m4/gettext.m4; then +if autopoint --force && test -f m4/gettext.m4; then echo "ACLOCAL_PATH='$(pwd)/m4':\$ACLOCAL_PATH" >> get.sh echo "export ACLOCAL_PATH" >> get.sh else - # Older versions of gettext might not have a gettextize program + # Older versions of gettext might not have an autopoint program # available, but this doesn't mean the user hasn't made the gettext # macros available, e.g., by properly setting ACLOCAL_PATH. rm -rf m4 @@ -93,13 +84,13 @@ ACLOCAL="$ACLOCAL -Wno-syntax" END -# Remove any Makefile.in possibly created by gettextize/autopoint, to -# avoid spurious maintainer-check failures. +# Remove any Makefile.in possibly created by autopoint, to avoid spurious +# maintainer-check failures. rm -f $(find . -name Makefile.in) -# The file gettextize or autopoint might have copied in the 'm4' -# subdirectory of the test directory are going to be needed by -# other tests, so we must not remove the test directory. +# The file autopoint might have copied in the 'm4' subdirectory of the +# test directory are going to be needed by other tests, so we must not +# remove the test directory. keep_testdirs=yes : [1] https://www.gnu.org/software/gettext/manual/html_node/gettextize-Invocation.html --nextPart1646916.lO998X8Tx8 Content-Disposition: attachment; filename="gettext-macros.diff" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="UTF-8"; name="gettext-macros.diff" --- t/gettext-macros.sh.bak 2014-12-31 14:26:32.000000000 +0100 +++ t/gettext-macros.sh 2017-04-15 01:23:19.751007887 +0200 @@ -28,28 +28,19 @@ echo "# Automatically generated by $me." > get.sh echo : >> get.sh -# The 'gettextize' and 'autopoint' scripts will look into Makefile.am. +# The 'autopoint' script will look into Makefile.am. echo ACLOCAL_AMFLAGS = -I m4 > Makefile.am -# Prefer autopoint to gettextize, since the more modern versions of the -# latter might unconditionally require user interaction to complete; -# yes, this means confirmation from /dev/tty (!) -- see: +# Prefer autopoint to gettextize, since the latter unconditionally +# requires user interaction to complete; yes, this means confirmation +# from /dev/tty (!) -- see: # -# Since this "forced interaction" behaviour of gettextize wasn't present -# before the introduction of autopoint, we should be able to safely -# fall back to calling gettextize non-interactively if autopoint is not -# present. -if autopoint --version; then - am_gettextize_command=autopoint -else - am_gettextize_command=gettextize -fi -# We will need to specify the correct autopoint (or gettextize) version -# in the AM_GNU_GETTEXT_VERSION call in configure.ac if we want autopoint -# (or gettextize) to setup the correct infrastructure -- in particular, -# for what concerns us, to bring in all the required .m4 files. -autopoint_version=$(extract_program_version $am_gettextize_command) \ +# We will need to specify the correct autopoint version in the +# AM_GNU_GETTEXT_VERSION call in configure.ac if we want autopoint to +# setup the correct infrastructure -- in particular, for what concerns +# us, to bring in all the required .m4 files. +autopoint_version=$(extract_program_version autopoint) \ && test -n "$autopoint_version" \ || autopoint_version=0.10.35 @@ -61,11 +52,11 @@ AM_GNU_GETTEXT_VERSION([$autopoint_version]) END -if $am_gettextize_command --force && test -f m4/gettext.m4; then +if autopoint --force && test -f m4/gettext.m4; then echo "ACLOCAL_PATH='$(pwd)/m4':\$ACLOCAL_PATH" >> get.sh echo "export ACLOCAL_PATH" >> get.sh else - # Older versions of gettext might not have a gettextize program + # Older versions of gettext might not have an autopoint program # available, but this doesn't mean the user hasn't made the gettext # macros available, e.g., by properly setting ACLOCAL_PATH. rm -rf m4 @@ -93,13 +84,13 @@ ACLOCAL="$ACLOCAL -Wno-syntax" END -# Remove any Makefile.in possibly created by gettextize/autopoint, to -# avoid spurious maintainer-check failures. +# Remove any Makefile.in possibly created by autopoint, to avoid spurious +# maintainer-check failures. rm -f $(find . -name Makefile.in) -# The file gettextize or autopoint might have copied in the 'm4' -# subdirectory of the test directory are going to be needed by -# other tests, so we must not remove the test directory. +# The file autopoint might have copied in the 'm4' subdirectory of the +# test directory are going to be needed by other tests, so we must not +# remove the test directory. keep_testdirs=yes : --nextPart1646916.lO998X8Tx8-- From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 16 06:50:16 2017 Received: (at 26514) by debbugs.gnu.org; 16 Apr 2017 10:50:16 +0000 Received: from localhost ([127.0.0.1]:49817 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1czhl2-0005rs-Ca for submit@debbugs.gnu.org; Sun, 16 Apr 2017 06:50:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1czhl1-0005re-Aa for 26514@debbugs.gnu.org; Sun, 16 Apr 2017 06:50:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1czhkt-0007xO-6b for 26514@debbugs.gnu.org; Sun, 16 Apr 2017 06:50:10 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56573) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czhkk-0007qs-Bi; Sun, 16 Apr 2017 06:49:58 -0400 Received: from mek33-4-82-236-46-88.fbx.proxad.net ([82.236.46.88]:39272 helo=godel) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1czhkj-0004zp-CX; Sun, 16 Apr 2017 06:49:57 -0400 From: Mathieu Lirzin To: Bruno Haible Subject: Re: bug#26514: make check - t/gettext-macros.sh hangs References: <2545997.nPBCLFQ8es@omega> Date: Sun, 16 Apr 2017 12:49:54 +0200 In-Reply-To: <2545997.nPBCLFQ8es@omega> (Bruno Haible's message of "Sat, 15 Apr 2017 10:26:48 +0200") Message-ID: <87lgr0r5il.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26514 Cc: 26514@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) tags 26514 patch fixed close 26514 stop Hello Bruno, Bruno Haible 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 From unknown Sun Jun 22 11:46:07 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 14 May 2017 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator