Gentoo Archives: gentoo-user

From: "Vladimir G. Ivanovic" <vgivanovic@×××××××.net>
To: gentoo-user <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] "xyz.la seems to be moved" message
Date: Tue, 24 Oct 2006 20:26:23
Message-Id: 1161721297.11922.38.camel@scarlatti.leonora.org
In Reply to: Re: [gentoo-user] "xyz.la seems to be moved" message by Michael Sullivan
1 On Tue, 2006-10-24 at 11:24 -0500, Michael Sullivan wrote:
2 > On Tue, 2006-10-24 at 17:31 +0200, Fabrice Delliaux wrote:
3 > > Hi,
4 > >
5 > > Explanation && patch here :
6 > >
7 > > http://www.mail-archive.com/bug-libtool@×××.org/msg00838.html
8 >
9 > I saved the patch at the above link to /root/libtool.patch, but I can't
10 > figure out how to use it.
11
12 Here's what I did:
13
14 1. cd /usr/portage/sys-devel/libtool/files/
15 2. mkdir 1.5.22
16 3. cd 1.5.22
17 4. Create "libtool-1.5.22-ltmain.sh-seems-to-be-moved.patch"
18 with contents:
19
20 --- libtool-1.5.22/ltmain.in.~1~ 2006-10-24 12:54:00.000000000 -0700
21 +++ libtool-1.5.22/ltmain.in 2006-10-24 12:55:16.000000000 -0700
22 @@ -2920,7 +2920,11 @@
23 exit $EXIT_FAILURE
24 fi
25 if test "$absdir" != "$libdir"; then
26 - $echo "$modename: warning: \`$deplib' seems to be
27 moved" 1>&2
28 + absdir2=`cd "$absdir" && pwd || echo "$absdir"`
29 + libdir2=`cd "$libdir" && pwd || echo "$libdir"`
30 + if test "$absdir2" != "$libdir2"; then
31 + $echo "$modename: warning: \`$deplib' seems to
32 be moved from \`$libdir' to \`$absdir'" 1>&2
33 + fi
34 fi
35 path="$absdir"
36 fi
37
38 5. cd ..
39 6. Apply the following patch:
40
41 --- libtool-1.5.22.ebuild.~1~ 2006-10-17 03:06:30.000000000 -0700
42 +++ libtool-1.5.22.ebuild 2006-10-24 11:57:18.000000000 -0700
43 @@ -83,6 +83,10 @@
44 # <azarah@g.o> - (11 Feb 2004)
45 epatch
46 "${FILESDIR}"/1.5.20/${PN}-1.5.20-ltmain_sh-max_cmd_len.patch
47
48 + # Get rid of false positive "seems to be moved" messages.
49 + # http://www.mail-archive.com/bug-libtool@×××.org/msg00838.html
50 + epatch
51 "${FILESDIR}"/1.5.22/libtool-1.5.22-ltmain.sh-seems-to-be-moved.patch
52 +
53 # Libtool's autoguessing at tag's sucks ... it get's confused
54 # if the tag's CC says '<CHOST>-gcc' and the env CC says 'gcc'
55 # or vice versa ... newer automakes specify the tag so no
56
57 7. ebuild libtool-1.5.22.ebuild digest
58 8. emerge -av --with-bdeps y =libtool-1.5.22
59
60 --- Vladimir
61
62 --
63 Vladimir G. Ivanovic <vgivanovic@×××××××.net>
64
65 --
66 gentoo-user@g.o mailing list