View previous topic :: View next topic |
Author |
Message |
sligo Tux's lil' helper
Joined: 17 Oct 2011 Posts: 93
|
Posted: Wed Apr 24, 2013 2:55 pm Post subject: [SOLVED] aclocal on fresh install |
|
|
Just set up a new machine with ~amd64. For some reason i can't build some packages with aclocal errors like this:
ERROR:
Code: |
* Running aclocal ... [ !! ]
* Failed Running aclocal !
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/dev-db/mysql-5.1.67/temp/aclocal.out
* ERROR: dev-db/mysql-5.1.67 failed (prepare phase):
* Failed Running aclocal !
*
* Call stack:
* ebuild.sh, line 93: Called src_prepare
* environment, line 4315: Called mysql-v2_src_prepare
* environment, line 3785: Called mysql-autotools_src_prepare
* environment, line 3527: Called eautoreconf
* environment, line 1055: Called eaclocal
* environment, line 958: Called autotools_run_tool '--at-m4flags' 'aclocal'
* environment, line 812: Called die
* The specific snippet of code:
* die "Failed Running $1 !";
*
* If you need support, post the output of `emerge --info '=dev-db/mysql-5.1.67'`,
* the complete build log and the output of `emerge -pqv '=dev-db/mysql-5.1.67'`.
/usr/lib64/portage/bin/isolated-functions.sh: line 215: wait: `Failed Running aclocal !': not a pid or valid job spec
* The complete build log is located at '/var/tmp/portage/dev-db/mysql-5.1.67/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-db/mysql-5.1.67/temp/environment'.
* Working directory: '/var/tmp/portage/dev-db/mysql-5.1.67/work/mysql'
* S: '/var/tmp/portage/dev-db/mysql-5.1.67/work/mysql'
|
/var/tmp/portage/dev-db/mysql-5.1.67/temp/aclocal.out:
Code: |
***** aclocal *****
***** PWD: /var/tmp/portage/dev-db/mysql-5.1.67/work/mysql
***** aclocal
aclocal-1.13: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:25: error: 'AM_CONFIG_HEADER': this macro is obsolete.
You should use the 'AC_CONFIG_HEADERS' macro instead.
/usr/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expanded from...
configure.in:25: the top level
autom4te-2.69: /usr/bin/m4 failed with exit status: 1
aclocal-1.13: error: echo failed with exit status: 1
|
packages not building so far: mysql, syslog-ng, glib, libgcrypt. all have the same error over aclocal. can anyone help?
Last edited by sligo on Wed Apr 24, 2013 5:35 pm; edited 1 time in total |
|
Back to top |
|
|
ek balam n00b
Joined: 11 May 2008 Posts: 35 Location: México
|
|
Back to top |
|
|
sligo Tux's lil' helper
Joined: 17 Oct 2011 Posts: 93
|
Posted: Wed Apr 24, 2013 4:06 pm Post subject: |
|
|
wow, thanks allot. this actually fixed it! |
|
Back to top |
|
|
gcasillo l33t
Joined: 23 Sep 2003 Posts: 739 Location: Cincinnati, Ohio, USA
|
Posted: Wed Apr 24, 2013 5:32 pm Post subject: |
|
|
So what exactly is the fix? Mask automake-1.13.1 and remove it? |
|
Back to top |
|
|
sligo Tux's lil' helper
Joined: 17 Oct 2011 Posts: 93
|
Posted: Wed Apr 24, 2013 5:35 pm Post subject: |
|
|
ya, sorry for not explaining. just remove it and mask. everything compiled fine from that point on. added [SOLVED] to topic, as it works perfectly for me. |
|
Back to top |
|
|
N8Fear Tux's lil' helper
Joined: 15 Apr 2013 Posts: 140 Location: Berlin (Germany)
|
Posted: Wed Apr 24, 2013 7:15 pm Post subject: Re: [SOLVED] aclocal on fresh install |
|
|
Code: |
***** aclocal *****
***** PWD: /var/tmp/portage/dev-db/mysql-5.1.67/work/mysql
***** aclocal
aclocal-1.13: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:25: error: 'AM_CONFIG_HEADER': this macro is obsolete.
You should use the 'AC_CONFIG_HEADERS' macro instead.
/usr/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expanded from...
configure.in:25: the top level
autom4te-2.69: /usr/bin/m4 failed with exit status: 1
aclocal-1.13: error: echo failed with exit status: 1
|
I think that means that the syntax for autotools has changed (AM_CONFIG_HEADER seemingly was dropped in favour of AC_CONFIG_HEADER). I think the best way to fix this (once and for all) is to file a bug upstream - they need to fix their build system to build with newer autotools... |
|
Back to top |
|
|
GFCCAE6xF Apprentice
Joined: 06 Aug 2012 Posts: 295
|
|
Back to top |
|
|
|