Gentoo Archives: gentoo-user

From: Jackie <jiangjun12321@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Problems with aclocal
Date: Thu, 02 May 2013 15:10:18
Message-Id: op.wwgppvv5b9emjx@mygentoo
In Reply to: Re: [gentoo-user] Problems with aclocal by Rafa Griman
1 ÔÚ Thu, 02 May 2013 20:22:26 +0800£¬Rafa Griman <rafagriman@×××××.com>
2 дµÀ:
3
4 > Hi !!
5 >
6 > On Thu, May 2, 2013 at 6:18 AM, Jackie <jiangjun12321@×××××.com> wrote:
7 >> ÔÚ Thu, 02 May 2013 06:39:02 +0800£¬Neil Bothwick <neil@××××××××××.uk>
8 >> дµÀ:
9 >>
10 >>
11 >>> On Wed, 1 May 2013 23:05:18 +0200, Rafa Griman wrote:
12 >>>
13 >>>> Got some problems with aclocal :( When running:
14 >>>>
15 >>>> emerge -avDuN --with-bdeps=y world
16 >>>>
17 >>>> I get a whole bunch of packages who won't install nor upgrade with the
18 >>>> following error:
19 >>>>
20 >>>> Failed Running aclocal !
21 >>>>
22 >>>> Looking through the Forums I saw I've got to mask autoconf. So I added
23 >>>> autoconf to:
24 >>>>
25 >>>> /etc/portage/package.mask
26 >>>
27 >>>
28 >>> That's what you get with the forums, aclocal isn't even part of
29 >>> autoconf,
30 >>> it is provided by automake-wrapper.
31 >>>
32 >>>> And now I get a whole bunch of errors saying autoconf is masked and I
33 >>>> have to unmask it ... which takes me back to step 1 ...
34 >>>
35 >>>
36 >>> There have been issues with automake-1.13. I have seen a similar error
37 >>> on
38 >>> one package and worked around it with
39 >>>
40 >>> WANT_AUTOMAKE=1.12 emerge -1 cat/package
41 >>
42 >>
43 >>
44 >> Also get the same problem here two days ago when I was trying to emerge
45 >> bootchart2.After searching through the Internet I also noticed that it
46 >> had
47 >> sth to do with automake-1.13,I masked it and problem solved.
48 >>
49 >
50 >
51 > Masked 1.13 and portage installs 2.69 ... still have the same error.
52 > This is what I've got:
53 >
54 > # equery list '*' | grep -iE "(automake|autoconf)"
55 > sys-devel/autoconf-2.69
56 > sys-devel/autoconf-wrapper-13
57 > sys-devel/automake-1.13.1
58 > sys-devel/automake-wrapper-8
59 >
60 >
61 > This is ONE of the package I'm trying to install (with the included
62 > error), there are another 75:
63 > # emerge app-text/libpaper
64 >
65 > * IMPORTANT: 4 news items need reading for repository 'gentoo'.
66 > * Use eselect news to read news items.
67 >
68 > Calculating dependencies... done!
69 >
70 >>>> Verifying ebuild manifests
71 >
72 >>>> Emerging (1 of 1) app-text/libpaper-1.1.24-r1
73 > * libpaper_1.1.24.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...
74 >
75 > [ ok ]
76 >>>> Unpacking source...
77 >>>> Unpacking libpaper_1.1.24.tar.gz to
78 >>>> /var/tmp/portage/app-text/libpaper-1.1.24-r1/work
79 >>>> Source unpacked in /var/tmp/portage/app-text/libpaper-1.1.24-r1/work
80 >>>> Preparing source in
81 >>>> /var/tmp/portage/app-text/libpaper-1.1.24-r1/work/libpaper-1.1.24 ...
82 > * Running eautoreconf in
83 > '/var/tmp/portage/app-text/libpaper-1.1.24-r1/work/libpaper-1.1.24'
84 > ...
85 > * Running libtoolize --install --copy --force --automake ...
86 >
87 > [ ok ]
88 > * Running aclocal ...
89 >
90 > [ !! ]
91 >
92 > * Failed Running aclocal !
93 > *
94 > * Include in your bugreport the contents of:
95 > *
96 > * /var/tmp/portage/app-text/libpaper-1.1.24-r1/temp/aclocal.out
97 >
98 > * ERROR: app-text/libpaper-1.1.24-r1 failed (prepare phase):
99 > * Failed Running aclocal !
100 > *
101 > * Call stack:
102 > * ebuild.sh, line 93: Called src_prepare
103 > * environment, line 2826: Called eautoreconf
104 > * environment, line 764: Called eaclocal
105 > * environment, line 667: Called autotools_run_tool '--at-m4flags'
106 > 'aclocal'
107 > * environment, line 537: Called die
108 > * The specific snippet of code:
109 > * die "Failed Running $1 !";
110 > *
111 > * If you need support, post the output of `emerge --info
112 > '=app-text/libpaper-1.1.24-r1'`,
113 > * the complete build log and the output of `emerge -pqv
114 > '=app-text/libpaper-1.1.24-r1'`.
115 > /usr/lib/portage/bin/isolated-functions.sh: line 215: wait: `Failed
116 > Running aclocal !': not a pid or valid job spec
117 > * The complete build log is located at
118 > '/var/tmp/portage/app-text/libpaper-1.1.24-r1/temp/build.log'.
119 > * The ebuild environment file is located at
120 > '/var/tmp/portage/app-text/libpaper-1.1.24-r1/temp/environment'.
121 > * Working directory:
122 > '/var/tmp/portage/app-text/libpaper-1.1.24-r1/work/libpaper-1.1.24'
123 > * S: '/var/tmp/portage/app-text/libpaper-1.1.24-r1/work/libpaper-1.1.24'
124 >
125 >>>> Failed to emerge app-text/libpaper-1.1.24-r1, Log file:
126 >
127 >>>> '/var/tmp/portage/app-text/libpaper-1.1.24-r1/temp/build.log'
128 >
129 >
130 >
131 >
132 > Checking /var/tmp/portage/app-text/libpaper-1.1.24-r1/temp/aclocal.out
133 > we see:
134 >
135 > # cat /var/tmp/portage/app-text/libpaper-1.1.24-r1/temp/aclocal.out
136 > ***** aclocal *****
137 > ***** PWD:
138 > /var/tmp/portage/app-text/libpaper-1.1.24-r1/work/libpaper-1.1.24
139 > ***** aclocal
140 >
141 > configure.ac:6: error: 'AM_CONFIG_HEADER': this macro is obsolete.
142 > You should use the 'AC_CONFIG_HEADERS' macro instead.
143 > /usr/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expanded
144 > from...
145 > configure.ac:6: the top level
146 > autom4te-2.69: /usr/bin/m4 failed with exit status: 1
147 > aclocal-1.13: error: echo failed with exit status: 1
148 >
149 >
150 > More info, I have just installed this system with the base Gentoo
151 > system installed. I'm trying to get all the rest (X, KDE, ...)
152 > installed.
153 >
154 > Thanks
155 >
156 > Rafa
157 >
158
159
160 My problem was similiar to Rafa's,though I was compiling
161 dev-python/pygtk-2.24.0-r3.But I also got same autom4te & aclcal error as
162 Rafa.But I just masked automake-1.13.1 downgraded to automake-1.12.6 and
163 the compilation went through,then I unmasked automake-1.31.1 and upgraded
164 it back again.Maybe you can try it,too.Just to solve the problem for
165 now.(After I upgradeed automake to 1.13.1,I compiled
166 dev-python/pygtk-2.24.0-r3,the same error appeared again,so it seemed that
167 sth might be wrong with automake-1.13.1)
168
169 Jackie

Replies

Subject Author
Re: [gentoo-user] Problems with aclocal Alan McKinnon <alan.mckinnon@×××××.com>
Re: [gentoo-user] Problems with aclocal Rafa Griman <rafagriman@×××××.com>