You are not logged in.

#1 2013-06-21 18:14:21

cactaur
Member
Registered: 2012-11-17
Posts: 7

automake version mismatch when compiling glib2

Hi all,

I'm trying to compile glib2 in order to get debug headers to diagnose a crash. I've been following the Arch Wiki guide for getting stacktraces. This is my first time compiling debug headers, so let me know if I'm missing a step.

I made a glib2 folder, and downloaded the glib2 PKGBUILD (and patch) from the arch package repository.

I then edited the PKGBUILD as noted on the Wiki and changed line 37 under package_glib2() from

 options=('!docs' '!libtool' '!emptydirs') 

to

 options=('!docs' '!libtool' '!emptydirs' 'debug' '!strip') 

And then I ran makepkg -s, where the build failed. The complete output is here, but I've included the relevant part here:

 configure.ac:66: error: version mismatch.  This is Automake 1.13.4,
configure.ac:66: but the definition used by this AM_INIT_AUTOMAKE
configure.ac:66: comes from Automake 1.13.2.  You should recreate
configure.ac:66: aclocal.m4 with aclocal and run automake again.
gtk-doc.make:32: warning: EXTRA_DIST multiply defined in condition TRUE ...
docs/reference/glib/Makefile.am:85:   'gtk-doc.make' included from here
Makefile.decl:8: ... 'EXTRA_DIST' previously defined here
docs/reference/glib/Makefile.am:2:   'Makefile.decl' included from here
WARNING: 'automake-1.13' is probably too old.
         You should only need it if you modified 'Makefile.am' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'automake' program is part of the GNU Automake package:
         <http://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <http://www.gnu.org/software/autoconf>
         <http://www.gnu.org/software/m4/>
         <http://www.perl.org/>
make[4]: *** [Makefile.in] Error 63
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting... 

My automake version is 1.13.4 as shown in:

 [gregory@localhost glib2]$ automake --version
automake (GNU automake) 1.13.4
Copyright (C) 2013 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>. 

I haven't been able to find very many instances of this error, and they seemed to be related to bugs in the source. For example, this MacPorts bug report had the exact same symptoms, except the problem lay in the packaging, and was fixed by the package maintainers.

It seems like it wants me to downgrade automake to 1.13.2, which seems strange to me. If anyone can shed light on this issue, I'd appreciate it very much. If there's any other output that can help, let me know. Thank you!

Offline

Board footer

Powered by FluxBB