Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] eautoreconf problems for sys-devel/libtool
Date: Fri, 19 Sep 2008 20:44:49
Message-Id: 20080919204445.GE10409@gentoo.org
1 sys-devel/libtool-2.2.4-r00.1 fails to compile.
2
3 Calling make immeditaly fails with
4
5 make: *** No rule to make target `libltdl/m4/ltversion.in', needed by
6 `libltdl/m4/ltversion.m4'. Stop.
7
8 This is caused by calling eautoreconf in the ebuild.
9
10 Within eautoreconf, the offending call is to
11
12 _elibtoolize --copy --install --force
13
14 which, on osx, translates to
15
16 glibtoolize --copy --install --force
17
18 That call generates new macros and deletes old macros, changing
19
20 libtool-2.2.4-r00.1/work/libtool-2.2.4/libltdl/m4/
21
22 from this
23
24 -rw-r--r-- 1 pipping staff 2617 2008-04-17 20:09 argz.m4
25 -rw-r--r-- 1 pipping staff 258052 2008-09-19 22:14 libtool.m4
26 -rw-r--r-- 1 pipping staff 27363 2008-05-04 18:34 ltdl.m4
27 -rw-r--r-- 1 pipping staff 11927 2008-05-04 18:34 ltoptions.m4
28 -rw-r--r-- 1 pipping staff 4274 2008-04-17 20:09 ltsugar.m4
29 -rw-r--r-- 1 pipping staff 740 2008-04-17 20:09 ltversion.in
30 -rw-r--r-- 1 pipping staff 701 2008-05-04 21:07 ltversion.m4
31 -rw-r--r-- 1 pipping staff 5707 2008-ize --copy --install --force
32
33 which, on osx, translates to
34
35 glibtoolize --copy --install --force
36
37 That call generates new macros and deletes old macros, changing
38
39 libtool-2.2.4-r00.1/work/libtool-2.2.4/libltdl/m4/
40
41 from this
42
43 -rw-r--r-- 1 pipping staff 2617 2008-04-17 20:09 argz.m4
44 -rw-r--r-- 1 pipping staff 258052 2008-09-19 22:14 libtool.m4
45 -rw-r--r-- 1 pipping staff 27363 2008-05-04 18:34 ltdl.m4
46 -rw-r--r-- 1 pipping staff 11927 2008-05-04 18:34 ltoptions.m4
47 -rw-r--r-- 1 pipping staff 4274 2008-04-17 20:09 ltsugar.m4
48 -rw-r--r-- 1 pipping staff 740 2008-04-17 20:09 ltversion.in
49 -rw-r--r-- 1 pipping staff 701 2008-05-04 21:07 ltversion.m4
50 -rw-r--r-- 1 pipping staff 5707 2008-05-04 18:34 lt~obsolete.m4
51
52 to this
53
54 -rw-r--r-- 1 pipping staff 258052 2008-09-19 22:16 libtool.m4
55 -rw-r--r-- 1 pipping staff 11927 2008-09-19 22:16 ltoptions.m4
56 -rw-r--r-- 1 pipping staff 4274 2008-09-19 22:16 ltsugar.m4
57 -rw-r--r-- 1 pipping staff 701 2008-09-19 22:16 ltversion.m4
58 -rw-r--r-- 1 pipping staff 5707 2008-09-19 22:16 lt~obsolete.m4
59
60 On Gentoo/Linux it becomes:
61
62 -rw-r--r-- 1 root root 2617 Apr 17 20:09 argz.m4
63 -rw-r--r-- 1 root root 258052 Sep 19 22:21 libtool.m4
64 -rw-r--r-- 1 root root 27363 May 4 18:34 ltdl.m4
65 -rw-r--r-- 1 root root 11927 May 4 18:34 ltoptions.m4
66 -rw-r--r-- 1 root root 4274 Apr 17 20:09 ltsugar.m4
67 -rw-r--r-- 1 root root 740 Apr 17 20:09 ltversion.in
68 -rw-r--r-- 1 root root 701 May 4 21:07 ltversion.m4
69 -rw-r--r-- 1 root root 5707 May 4 18:34 lt~obsolete.m4
70
71 where we can note that only libtool.m4 is regenerated.
72
73 Problem, question and tricky thing is now, whether this is Prefix
74 specific (we have an --force extra in our autotools.eclass), OSX
75 specific, or something else is going totally wrong.
76
77
78 --
79 Fabian Groffen
80 Gentoo on a different level

Replies

Subject Author
Re: [gentoo-alt] eautoreconf problems for sys-devel/libtool Jeremy Olexa <darkside@g.o>