在 Thu, 02 May 2013 20:22:26 +0800,Rafa Griman <[email protected]>
写道:
Hi !!
On Thu, May 2, 2013 at 6:18 AM, Jackie <[email protected]> wrote:
在 Thu, 02 May 2013 06:39:02 +0800,Neil Bothwick <[email protected]>
写道:
On Wed, 1 May 2013 23:05:18 +0200, Rafa Griman wrote:
Got some problems with aclocal :( When running:
emerge -avDuN --with-bdeps=y world
I get a whole bunch of packages who won't install nor upgrade with the
following error:
Failed Running aclocal !
Looking through the Forums I saw I've got to mask autoconf. So I added
autoconf to:
/etc/portage/package.mask
That's what you get with the forums, aclocal isn't even part of
autoconf,
it is provided by automake-wrapper.
And now I get a whole bunch of errors saying autoconf is masked and I
have to unmask it ... which takes me back to step 1 ...
There have been issues with automake-1.13. I have seen a similar error
on
one package and worked around it with
WANT_AUTOMAKE=1.12 emerge -1 cat/package
Also get the same problem here two days ago when I was trying to emerge
bootchart2.After searching through the Internet I also noticed that it
had
sth to do with automake-1.13,I masked it and problem solved.
Masked 1.13 and portage installs 2.69 ... still have the same error.
This is what I've got:
# equery list '*' | grep -iE "(automake|autoconf)"
sys-devel/autoconf-2.69
sys-devel/autoconf-wrapper-13
sys-devel/automake-1.13.1
sys-devel/automake-wrapper-8
This is ONE of the package I'm trying to install (with the included
error), there are another 75:
# emerge app-text/libpaper
* IMPORTANT: 4 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
Calculating dependencies... done!
Verifying ebuild manifests
Emerging (1 of 1) app-text/libpaper-1.1.24-r1
* libpaper_1.1.24.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...
[ ok ]
Unpacking source...
Unpacking libpaper_1.1.24.tar.gz to
/var/tmp/portage/app-text/libpaper-1.1.24-r1/work
Source unpacked in /var/tmp/portage/app-text/libpaper-1.1.24-r1/work
Preparing source in
/var/tmp/portage/app-text/libpaper-1.1.24-r1/work/libpaper-1.1.24 ...
* Running eautoreconf in
'/var/tmp/portage/app-text/libpaper-1.1.24-r1/work/libpaper-1.1.24'
...
* Running libtoolize --install --copy --force --automake ...
[ ok ]
* Running aclocal ...
[ !! ]
* Failed Running aclocal !
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/app-text/libpaper-1.1.24-r1/temp/aclocal.out
* ERROR: app-text/libpaper-1.1.24-r1 failed (prepare phase):
* Failed Running aclocal !
*
* Call stack:
* ebuild.sh, line 93: Called src_prepare
* environment, line 2826: Called eautoreconf
* environment, line 764: Called eaclocal
* environment, line 667: Called autotools_run_tool '--at-m4flags'
'aclocal'
* environment, line 537: Called die
* The specific snippet of code:
* die "Failed Running $1 !";
*
* If you need support, post the output of `emerge --info
'=app-text/libpaper-1.1.24-r1'`,
* the complete build log and the output of `emerge -pqv
'=app-text/libpaper-1.1.24-r1'`.
/usr/lib/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/app-text/libpaper-1.1.24-r1/temp/build.log'.
* The ebuild environment file is located at
'/var/tmp/portage/app-text/libpaper-1.1.24-r1/temp/environment'.
* Working directory:
'/var/tmp/portage/app-text/libpaper-1.1.24-r1/work/libpaper-1.1.24'
* S: '/var/tmp/portage/app-text/libpaper-1.1.24-r1/work/libpaper-1.1.24'
Failed to emerge app-text/libpaper-1.1.24-r1, Log file:
'/var/tmp/portage/app-text/libpaper-1.1.24-r1/temp/build.log'
Checking /var/tmp/portage/app-text/libpaper-1.1.24-r1/temp/aclocal.out
we see:
# cat /var/tmp/portage/app-text/libpaper-1.1.24-r1/temp/aclocal.out
***** aclocal *****
***** PWD:
/var/tmp/portage/app-text/libpaper-1.1.24-r1/work/libpaper-1.1.24
***** aclocal
configure.ac:6: 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.ac:6: the top level
autom4te-2.69: /usr/bin/m4 failed with exit status: 1
aclocal-1.13: error: echo failed with exit status: 1
More info, I have just installed this system with the base Gentoo
system installed. I'm trying to get all the rest (X, KDE, ...)
installed.
Thanks
Rafa
My problem was similiar to Rafa's,though I was compiling
dev-python/pygtk-2.24.0-r3.But I also got same autom4te & aclcal error as
Rafa.But I just masked automake-1.13.1 downgraded to automake-1.12.6 and
the compilation went through,then I unmasked automake-1.31.1 and upgraded
it back again.Maybe you can try it,too.Just to solve the problem for
now.(After I upgradeed automake to 1.13.1,I compiled
dev-python/pygtk-2.24.0-r3,the same error appeared again,so it seemed that
sth might be wrong with automake-1.13.1)
Jackie