Bug 41082 - Error during compiling pulseaudio
Summary: Error during compiling pulseaudio
Status: RESOLVED MOVED
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: build-system (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-21 06:20 UTC by Nick Leeson
Modified: 2018-07-30 10:26 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Nick Leeson 2011-09-21 06:20:49 UTC
Hello everyone,
Sorry for bothering it's propably really simple for you, but it block all my work and I could find solution via google. 
I cloned repo by using git and run ./autogen.sh script. After few seconds I got error that I exceeded limit of recursion. Output from console below:

[root@node1 pulseaudio]# autoreconf --version
autoreconf (GNU Autoconf) 2.63
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later
<http://gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.
[root@node1 pulseaudio]# automake --version
automake (GNU automake) 1.11.1
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey <tromey@redhat.com>
       and Alexandre Duret-Lutz <adl@gnu.org>.
[root@node1 pulseaudio]# m4 --version
m4 (GNU M4) 1.4.13
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Rene' Seindal.
[root@node1 pulseaudio]# autoreconf -i -f
/usr/bin/m4:configure.ac:153: recursion limit of 1024 exceeded, use -L<N> to change it
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: autom4te failed with exit status: 1
autoreconf: aclocal failed with exit status: 1

Off course changing limit to higher values doesn't work.
Comment 1 Tanu Kaskinen 2011-09-21 08:37:25 UTC
(In reply to comment #0)
> Hello everyone,
> Sorry for bothering it's propably really simple for you, but it block all my
> work and I could find solution via google. 
> I cloned repo by using git and run ./autogen.sh script. After few seconds I got
> error that I exceeded limit of recursion. Output from console below:

I've had the same problem on a machine that is a bit outdated. Upgrading to a newer version of some tool (I don't know which) will probably get rid of this problem. I worked around the problem by reverting some commit, probably 7eba9d92f76e010426797fd355c495dd3e3312d9 (I don't have access to that machine right now, so I can't check).
Comment 2 Maarten Bosmans 2011-10-17 23:03:30 UTC
Can you check whether updating to autoconf 2.64 solves the problem?
If that's the case, we could update the minimal required version from 2.63 to 2.64. (so please try 2.64 instead of latest 2.67)

(btw. building as root is generally not recommended)
Comment 3 johndoe32102002 2012-03-04 13:44:40 UTC
Try to run these versions of the software when compiling:
autoreconf (GNU Autoconf) 2.68
automake (GNU automake) 1.11.1
m4 (GNU M4) 1.4.16

The ./configure ran fine, but I am still getting errors with the make!
Comment 4 Arun Raghavan 2012-03-04 19:26:31 UTC
(In reply to comment #3)
> Try to run these versions of the software when compiling:
> autoreconf (GNU Autoconf) 2.68
> automake (GNU automake) 1.11.1
> m4 (GNU M4) 1.4.16
> 
> The ./configure ran fine, but I am still getting errors with the make!

This is likely unrelated to the original bug. Could you file a new bug with more details such as the version you're trying to compile and the actual errors you're seeing?
Comment 5 johndoe32102002 2012-03-10 10:40:28 UTC
I have under this same section.  I have two bug reports sitting out there, both are complaining during the make run stage.  The second error I received after recompiling alsa from sourcecode.

First bug:
https://bugs.freedesktop.org/show_bug.cgi?id=46630

Second bug:
https://bugs.freedesktop.org/show_bug.cgi?id=47190
Comment 6 Colin Guthrie 2012-03-13 16:22:05 UTC
@Nick when testing can you use the autogen.sh script. This runs the relevant tools with appropriate arguments. Does this still fail for you?
Comment 7 Peter Åstrand 2012-09-12 12:38:00 UTC
Pulseaudio 2.1 (both the tarball as well as GIT branch) fails with this error on CentOS 6 with all updates:

$ ./bootstrap.sh
...
libtoolize: copying file `m4/lt~obsolete.m4'
+ run_versioned aclocal 1.11 -I m4
+ local P
+ local V
++ echo 1.11
++ sed -e 's,\.,,g'
+ V=111
++ which aclocal111
+ '[' -e '' ']'
++ which aclocal-1.11
+ '[' -e /usr/bin/aclocal-1.11 ']'
+ P=aclocal-1.11
+ shift 2
+ aclocal-1.11 -I m4
/usr/bin/m4:configure.ac:163: recursion limit of 1024 exceeded, use -L<N> to change it
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal-1.11: autom4te failed with exit status: 1
Comment 8 Tanu Kaskinen 2012-09-12 14:57:04 UTC
(In reply to comment #7)
> Pulseaudio 2.1 (both the tarball as well as GIT branch) fails with this error
> on CentOS 6 with all updates:

Which autoconf version does "with all updates" mean?
Comment 9 blahblah676 2015-07-14 02:32:09 UTC
I can confirm that upgrading autoconf to 2.69 fixes the issue.
Comment 10 GitLab Migration User 2018-07-30 10:26:31 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/422.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.