Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] aclocal on fresh install
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
sligo
Tux's lil' helper
Tux's lil' helper


Joined: 17 Oct 2011
Posts: 93

PostPosted: Wed Apr 24, 2013 2:55 pm    Post subject: [SOLVED] aclocal on fresh install Reply with quote

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
View user's profile Send private message
ek balam
n00b
n00b


Joined: 11 May 2008
Posts: 35
Location: México

PostPosted: Wed Apr 24, 2013 3:57 pm    Post subject: Reply with quote

Seems a problem with automake-1.13 ... maybe masking that can help...

https://bugs.gentoo.org/show_bug.cgi?id=451744
Back to top
View user's profile Send private message
sligo
Tux's lil' helper
Tux's lil' helper


Joined: 17 Oct 2011
Posts: 93

PostPosted: Wed Apr 24, 2013 4:06 pm    Post subject: Reply with quote

wow, thanks allot. this actually fixed it! :)
Back to top
View user's profile Send private message
gcasillo
l33t
l33t


Joined: 23 Sep 2003
Posts: 739
Location: Cincinnati, Ohio, USA

PostPosted: Wed Apr 24, 2013 5:32 pm    Post subject: Reply with quote

So what exactly is the fix? Mask automake-1.13.1 and remove it?
Back to top
View user's profile Send private message
sligo
Tux's lil' helper
Tux's lil' helper


Joined: 17 Oct 2011
Posts: 93

PostPosted: Wed Apr 24, 2013 5:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
N8Fear
Tux's lil' helper
Tux's lil' helper


Joined: 15 Apr 2013
Posts: 140
Location: Berlin (Germany)

PostPosted: Wed Apr 24, 2013 7:15 pm    Post subject: Re: [SOLVED] aclocal on fresh install Reply with quote

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
View user's profile Send private message
GFCCAE6xF
Apprentice
Apprentice


Joined: 06 Aug 2012
Posts: 295

PostPosted: Wed Apr 24, 2013 8:19 pm    Post subject: Reply with quote

^^
Also feel free to make use of this: https://bugs.gentoo.org/show_bug.cgi?id=451744
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum