Bug#764580: m4 eats memory for breakfast (fwd)

2014-10-09 Thread Santiago Vila
Hello. I received the following report from the Debian bug system: -- Forwarded message -- From: Andreas Henriksson To: Debian Bug Tracking System Date: Thu, 9 Oct 2014 11:21:12 +0200 Subject: Bug#764580: m4 eats memory for breakfast Package: m4 Version: 1.4.17-4 Severity: norm

Re: Bug#764580: m4 eats memory for breakfast (fwd)

2014-10-09 Thread Eric Blake
On 10/09/2014 04:01 AM, Santiago Vila wrote: > > While trying to investigate a reported issue in util-linux > I was going to attempt a git bisect but I wasn't even able > to build the old version. > > git clone git://git.debian.org/git/collab-maint/pkg-util-linux.git util-linux > cd util-linux >

Re: Bug#764580: m4 eats memory for breakfast (fwd)

2014-10-09 Thread Eric Blake
On 10/09/2014 12:47 PM, Eric Blake wrote: >> git clone git://git.debian.org/git/collab-maint/pkg-util-linux.git util-linux >> cd util-linux >> git checkout v2.20.1 >> ./autogen.sh >>autopoint: /usr/bin/autopoint (GNU gettext-tools) 0.19.2 Okay, I am repeating the setup on my Fedora 20 system

Re: Bug#764580: m4 eats memory for breakfast (fwd)

2014-10-09 Thread Eric Blake
On 10/09/2014 01:14 PM, Eric Blake wrote: > On 10/09/2014 12:47 PM, Eric Blake wrote: > >>> git clone git://git.debian.org/git/collab-maint/pkg-util-linux.git >>> util-linux >>> cd util-linux >>> git checkout v2.20.1 >>> ./autogen.sh >>>autopoint: /usr/bin/autopoint (GNU gettext-tools) 0.19.

Re: Bug#764580: m4 eats memory for breakfast (fwd)

2014-10-09 Thread Eric Blake
On 10/09/2014 01:36 PM, Eric Blake wrote: > In particular, autom4te --verbose shows this is the runaway command line: > > /usr/bin/m4 --nesting-limit=1024 --gnu --include=/usr/share/autoconf > --debug=aflq --fatal-warning --debugfile=/tmp/am4tSXlU7J/traces.0t > --trace=AM_GNU_GETTEXT_VERSION --tr

Re: Bug#764580: m4 eats memory for breakfast (fwd)

2014-10-09 Thread Eric Blake
[adding bug-gettext; this is a flaw in gettext, not m4. Two patches below; one for util-linux, one for gettext] On 10/09/2014 02:14 PM, Eric Blake wrote: > On 10/09/2014 01:36 PM, Eric Blake wrote: > >> In particular, autom4te --verbose shows this is the runaway command line: >> >> /usr/bin/m4 --

Re: [bug-gettext] Bug#764580: m4 eats memory for breakfast (fwd)

2014-10-09 Thread Daiki Ueno
Eric Blake writes: > Meanwhile, this is the patch I recommend for gettext; and since this is > a build-breaker, I recommend that gettext push a new release soon > (distros can backport the fix without waiting for the release; but the > fact that the build system is BROKEN because of a flaw in get