Re: [gentoo-user] xyz.la seems to be moved message

2006-10-24 Thread Hemmann, Volker Armin
On Tuesday 24 October 2006 07:51, Meino Christian Cramer wrote:
 Hi,

  while doing a revdep-rebuild I got A LOT of messages of the pattern

  libxyz.la seems to be moved


which are harmless.


  I checked the paths inside that file and found that they are correct.


  But what is the reason for these mass of seems to ne moved
  messages? Where are the according (wrong) informations stored?

AFAIR this happens because the files are 'installed' in a temp dir and then 
copied over into the life system when you emerge something.

That question came up some month ago. You might find a better answer in the 
archives.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xyz.la seems to be moved message

2006-10-24 Thread Meino Christian Cramer
From: Hemmann, Volker Armin [EMAIL PROTECTED]
Subject: Re: [gentoo-user] xyz.la seems to be moved message
Date: Tue, 24 Oct 2006 08:36:28 +0200

Hi,

 On Tuesday 24 October 2006 07:51, Meino Christian Cramer wrote:
  Hi,
 
   while doing a revdep-rebuild I got A LOT of messages of the pattern
 
 libxyz.la seems to be moved
 
 
 which are harmless.

  Unfortunately it slows down compiling, when compiling each C-file
  spits a long list of seems to be moved messages onto my
  screen. That's the reason I want to find the wrong path information
  which causes this behaviour.


 
   I checked the paths inside that file and found that they are correct.
 
 
   But what is the reason for these mass of seems to ne moved
   messages? Where are the according (wrong) informations stored?
 
 AFAIR this happens because the files are 'installed' in a temp dir and then 
 copied over into the life system when you emerge something.
 
 That question came up some month ago. You might find a better answer in the 
 archives.

Thanks! Will see

 -- 
 gentoo-user@gentoo.org mailing list
 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xyz.la seems to be moved message

2006-10-24 Thread Andrew Gaydenko
Meino,

Please, tell us about your research result :-)


Andrew

=== On Tuesday 24 October 2006 12:40, Meino Christian Cramer wrote: ===

Thanks! Will see

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xyz.la seems to be moved message

2006-10-24 Thread Bo Ørsted Andresen
On Tuesday 24 October 2006 10:40, Meino Christian Cramer wrote:
      libxyz.la seems to be moved
 
  which are harmless.

During compilation of x11-libs/gtk+-2.10.6 gdk-pixbuf/libgdk_pixbuf-2.0.la
gets created in ${S} (/var/tmp/paludis/x11-libs/gtk+-2.10.6/work/gtk+-2.10.6).
It contains this:

# grep ^dep gdk-pixbuf/libgdk_pixbuf-2.0.la
dependency_libs=' 
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../..//libgmodule-2.0.la -ldl 
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../..//libgobject-2.0.la 
/usr/lib/libglib-2.0.la 
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../..//libglib-2.0.la -lrt -lm '

So looking at the first .la file in it's dependency_list:

# grep ^libdir /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../..//libgmodule-2.0.la
libdir='/usr/lib'

I believe in this case the message simply means that
'/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../..' != '/usr/lib':

# grep -C 1 seems to be moved /usr/share/libtool/ltmain.sh
if test $absdir != $libdir; then
$echo $modename: warning: \`$deplib' seems to be moved 12
fi

   Unfortunately it slows down compiling, when compiling each C-file
   spits a long list of seems to be moved messages onto my
   screen.

Why do you think it's significant?

-- 
Bo Andresen


pgpy0Jm8r2XzH.pgp
Description: PGP signature


Re: [gentoo-user] xyz.la seems to be moved message

2006-10-24 Thread Meino Christian Cramer
From: Bo Ørsted Andresen [EMAIL PROTECTED]
Subject: Re: [gentoo-user] xyz.la seems to be moved message
Date: Tue, 24 Oct 2006 16:07:46 +0200

 On Tuesday 24 October 2006 10:40, Meino Christian Cramer wrote:
   libxyz.la seems to be moved
  
   which are harmless.
 
 During compilation of x11-libs/gtk+-2.10.6 gdk-pixbuf/libgdk_pixbuf-2.0.la
 gets created in ${S} (/var/tmp/paludis/x11-libs/gtk+-2.10.6/work/gtk+-2.10.6).
 It contains this:
 
 # grep ^dep gdk-pixbuf/libgdk_pixbuf-2.0.la
 dependency_libs=' 
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../..//libgmodule-2.0.la -ldl 
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../..//libgobject-2.0.la 
 /usr/lib/libglib-2.0.la 
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../..//libglib-2.0.la -lrt -lm '
 
 So looking at the first .la file in it's dependency_list:
 
 # grep ^libdir 
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../..//libgmodule-2.0.la
 libdir='/usr/lib'
 
 I believe in this case the message simply means that
 '/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../..' != '/usr/lib':
 
 # grep -C 1 seems to be moved /usr/share/libtool/ltmain.sh
 if test $absdir != $libdir; then
 $echo $modename: warning: \`$deplib' seems to be moved 12
 fi
 
    Unfortunately it slows down compiling, when compiling each C-file
    spits a long list of seems to be moved messages onto my
    screen.
 
 Why do you think it's significant?

Because I see, how long it takes to oputput the whole list each time
a C-file gets compiled...

mcc

 -- 
 Bo Andresen

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xyz.la seems to be moved message

2006-10-24 Thread Fabrice Delliaux

Hi,

Explanation  patch here :

http://www.mail-archive.com/bug-libtool@gnu.org/msg00838.html
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xyz.la seems to be moved message

2006-10-24 Thread Michael Sullivan
On Tue, 2006-10-24 at 17:31 +0200, Fabrice Delliaux wrote:
 Hi,
 
 Explanation  patch here :
 
 http://www.mail-archive.com/bug-libtool@gnu.org/msg00838.html

I saved the patch at the above link to /root/libtool.patch, but I can't
figure out how to use it.  I assume that I would need to navigate to a
directory and say patch  /root/libtool.patch, but what directory do I
do it from?  If I do it from /usr/share/libtool, I get this:

camille libtool # patch /root/libtool.patch
patching file ltmain.sh
Hunk #1 FAILED at 2795.
1 out of 1 hunk FAILED -- saving rejects to file ltmain.sh.rej

If I do it from /, I get this:

camille / # patch /root/libtool.patch
can't find file to patch at input line 3
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--
|--- /usr/share/libtool/ltmain.sh2005-11-22 08:18:02.0 -0500
|+++ ltmain.sh2006-05-13 18:15:15.0 -0400
--
File to patch:


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xyz.la seems to be moved message

2006-10-24 Thread Meino Christian Cramer
From: Michael Sullivan [EMAIL PROTECTED]
Subject: Re: [gentoo-user] xyz.la seems to be moved message
Date: Tue, 24 Oct 2006 11:24:31 -0500

 On Tue, 2006-10-24 at 17:31 +0200, Fabrice Delliaux wrote:
  Hi,
  
  Explanation  patch here :
  
  http://www.mail-archive.com/bug-libtool@gnu.org/msg00838.html
 
 I saved the patch at the above link to /root/libtool.patch, but I can't
 figure out how to use it.  I assume that I would need to navigate to a
 directory and say patch  /root/libtool.patch, but what directory do I
 do it from?  If I do it from /usr/share/libtool, I get this:
 
 camille libtool # patch /root/libtool.patch
 patching file ltmain.sh
 Hunk #1 FAILED at 2795.
 1 out of 1 hunk FAILED -- saving rejects to file ltmain.sh.rej
 
 If I do it from /, I get this:
 
 camille / # patch /root/libtool.patch
 can't find file to patch at input line 3
 Perhaps you should have used the -p or --strip option?
 The text leading up to this was:
 --
 |--- /usr/share/libtool/ltmain.sh2005-11-22 08:18:02.0 -0500
 |+++ ltmain.sh2006-05-13 18:15:15.0 -0400
 --
 File to patch:
 
 
 -- 
 gentoo-user@gentoo.org mailing list
 

Hi Michael,

 I applied the patch by hand, my be it will work with the
 patch-command too.

 If you want to try it:
 cd /usr/share/libtool/. and apply the patch there with

   patch -p0 -i your file of the patch here

 If it does not work for you, please email me, I will send you the
 laready patched ltmain.sh attached to a private mail.

 Keep hacking!
 mcc
 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xyz.la seems to be moved message

2006-10-24 Thread Michael Sullivan
On Tue, 2006-10-24 at 18:34 +0200, Meino Christian Cramer wrote:
 From: Michael Sullivan [EMAIL PROTECTED]
 Subject: Re: [gentoo-user] xyz.la seems to be moved message
 Date: Tue, 24 Oct 2006 11:24:31 -0500
 
  On Tue, 2006-10-24 at 17:31 +0200, Fabrice Delliaux wrote:
   Hi,
   
   Explanation  patch here :
   
   http://www.mail-archive.com/bug-libtool@gnu.org/msg00838.html
  
  I saved the patch at the above link to /root/libtool.patch, but I can't
  figure out how to use it.  I assume that I would need to navigate to a
  directory and say patch  /root/libtool.patch, but what directory do I
  do it from?  If I do it from /usr/share/libtool, I get this:
  
  camille libtool # patch /root/libtool.patch
  patching file ltmain.sh
  Hunk #1 FAILED at 2795.
  1 out of 1 hunk FAILED -- saving rejects to file ltmain.sh.rej
  
  If I do it from /, I get this:
  
  camille / # patch /root/libtool.patch
  can't find file to patch at input line 3
  Perhaps you should have used the -p or --strip option?
  The text leading up to this was:
  --
  |--- /usr/share/libtool/ltmain.sh2005-11-22 08:18:02.0 -0500
  |+++ ltmain.sh2006-05-13 18:15:15.0 -0400
  --
  File to patch:
  
  
  -- 
  gentoo-user@gentoo.org mailing list
  
 
 Hi Michael,
 
  I applied the patch by hand, my be it will work with the
  patch-command too.
 
  If you want to try it:
  cd /usr/share/libtool/. and apply the patch there with
 
patch -p0 -i your file of the patch here
 
  If it does not work for you, please email me, I will send you the
  laready patched ltmain.sh attached to a private mail.
 
  Keep hacking!
  mcc
  

I think I'm doing it wrong:

camille libtool # patch -p0 -i /root/libtool.patch
patching file ltmain.sh
Hunk #1 FAILED at 2795.
1 out of 1 hunk FAILED -- saving rejects to file ltmain.sh.rej


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xyz.la seems to be moved message

2006-10-24 Thread Vladimir G. Ivanovic
On Tue, 2006-10-24 at 11:24 -0500, Michael Sullivan wrote:
 On Tue, 2006-10-24 at 17:31 +0200, Fabrice Delliaux wrote:
  Hi,
  
  Explanation  patch here :
  
  http://www.mail-archive.com/bug-libtool@gnu.org/msg00838.html
 
 I saved the patch at the above link to /root/libtool.patch, but I can't
 figure out how to use it.  

Here's what I did:

 1. cd /usr/portage/sys-devel/libtool/files/
 2. mkdir 1.5.22
 3. cd 1.5.22
 4. Create libtool-1.5.22-ltmain.sh-seems-to-be-moved.patch
with contents: 

--- libtool-1.5.22/ltmain.in.~1~ 2006-10-24 12:54:00.0 -0700
+++ libtool-1.5.22/ltmain.in2006-10-24 12:55:16.0 -0700
@@ -2920,7 +2920,11 @@
exit $EXIT_FAILURE
  fi
  if test $absdir != $libdir; then
-   $echo $modename: warning: \`$deplib' seems to be
moved 12
+ absdir2=`cd $absdir  pwd || echo $absdir`
+ libdir2=`cd $libdir  pwd || echo $libdir`
+ if test $absdir2 != $libdir2; then
+ $echo $modename: warning: \`$deplib' seems to
be moved from \`$libdir' to \`$absdir' 12
+ fi
  fi
  path=$absdir
fi

  5. cd ..
  6. Apply the following patch:

--- libtool-1.5.22.ebuild.~1~   2006-10-17 03:06:30.0 -0700
+++ libtool-1.5.22.ebuild   2006-10-24 11:57:18.0 -0700
@@ -83,6 +83,10 @@
# [EMAIL PROTECTED] - (11 Feb 2004)
epatch
${FILESDIR}/1.5.20/${PN}-1.5.20-ltmain_sh-max_cmd_len.patch
 
+   # Get rid of false positive seems to be moved messages.
+   # http://www.mail-archive.com/bug-libtool@gnu.org/msg00838.html
+   epatch
${FILESDIR}/1.5.22/libtool-1.5.22-ltmain.sh-seems-to-be-moved.patch
+
# Libtool's autoguessing at tag's sucks ... it get's confused 
# if the tag's CC says 'CHOST-gcc' and the env CC says 'gcc'
# or vice versa ... newer automakes specify the tag so no

  7. ebuild libtool-1.5.22.ebuild digest
  8. emerge -av --with-bdeps y =libtool-1.5.22

--- Vladimir

-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xyz.la seems to be moved message

2006-10-24 Thread Meino Christian Cramer
From: Michael Sullivan [EMAIL PROTECTED]
Subject: Re: [gentoo-user] xyz.la seems to be moved message
Date: Tue, 24 Oct 2006 14:43:37 -0500

 On Tue, 2006-10-24 at 18:34 +0200, Meino Christian Cramer wrote:
  From: Michael Sullivan [EMAIL PROTECTED]
  Subject: Re: [gentoo-user] xyz.la seems to be moved message
  Date: Tue, 24 Oct 2006 11:24:31 -0500
  
   On Tue, 2006-10-24 at 17:31 +0200, Fabrice Delliaux wrote:
Hi,

Explanation  patch here :

http://www.mail-archive.com/bug-libtool@gnu.org/msg00838.html
   
   I saved the patch at the above link to /root/libtool.patch, but I can't
   figure out how to use it.  I assume that I would need to navigate to a
   directory and say patch  /root/libtool.patch, but what directory do I
   do it from?  If I do it from /usr/share/libtool, I get this:
   
   camille libtool # patch /root/libtool.patch
   patching file ltmain.sh
   Hunk #1 FAILED at 2795.
   1 out of 1 hunk FAILED -- saving rejects to file ltmain.sh.rej
   
   If I do it from /, I get this:
   
   camille / # patch /root/libtool.patch
   can't find file to patch at input line 3
   Perhaps you should have used the -p or --strip option?
   The text leading up to this was:
   --
   |--- /usr/share/libtool/ltmain.sh2005-11-22 08:18:02.0 -0500
   |+++ ltmain.sh2006-05-13 18:15:15.0 -0400
   --
   File to patch:
   
   
   -- 
   gentoo-user@gentoo.org mailing list
   
  
  Hi Michael,
  
   I applied the patch by hand, my be it will work with the
   patch-command too.
  
   If you want to try it:
   cd /usr/share/libtool/. and apply the patch there with
  
 patch -p0 -i your file of the patch here
  
   If it does not work for you, please email me, I will send you the
   laready patched ltmain.sh attached to a private mail.
  
   Keep hacking!
   mcc
   
 
 I think I'm doing it wrong:
 
 camille libtool # patch -p0 -i /root/libtool.patch
 patching file ltmain.sh
 Hunk #1 FAILED at 2795.
 1 out of 1 hunk FAILED -- saving rejects to file ltmain.sh.rej
 
 
 -- 
 gentoo-user@gentoo.org mailing list
 

Hi Michael,
 
 ...no, you did nothing wrong...

 ...hunk FAILED... means: The file to be patched is to different
 from that one, from which the original patch was made.

 There is another way:
 As root edit /usr/share/libtool/ltmain.sh by hand (I did the same):
 In the file search for the string seems to be moved and then
 compare the context of that line with the text of the patch: There is
 one line to be removed and I think four or so to be added. Notging
 too complicate. Make a backup copy of ltmain.sh before. Make a diff
 afterwards and compare the output with the patch.

 If all fails: Mail me privately and we will find a solution.

 Keep hacking!
 mcc
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] xyz.la seems to be moved message

2006-10-23 Thread Meino Christian Cramer
Hi,

 while doing a revdep-rebuild I got A LOT of messages of the pattern

   libxyz.la seems to be moved

 I recorded that messages and finally after some modifying these
 libraries are affected:

 libICE.la   libgnome-2.la
 libORBit-2.la   libgnome-keyring.la
 libSM.lalibgnomecanvas-2.la
 libart_lgpl_2.lalibgnomeprint-2-2.la
 libatk-1.0.la   libgnomeprintui-2-2.la
 libbonobo-2.la  libgnomeui-2.la
 libbonobo-activation.la libgnomevfs-2.la
 libbonoboui-2.lalibgnutls.la
 libcairo.la libgobject-2.0.la
 libcamel-1.2.la libgpg-error.la
 libcamel-provider-1.2.lalibgthread-2.0.la
 libdbus-1.lalibgtk-x11-2.0.la
 libebook-1.2.la libgtkhtml-3.8.la
 libecal-1.2.la  libhal.la
 libedataserver-1.2.la   libjpeg.la
 libedataserverui-1.2.la liblber.la
 libexpat.la libldap.la
 libfontconfig.lalibltdl.la
 libfreetype.la  libogg.la
 libgconf-2.la   libpango-1.0.la
 libgcrypt.lalibpangocairo-1.0.la
 libgdk-x11-2.0.la   libpangoft2-1.0.la
 libgdk_pixbuf-2.0.lalibpng.la
 libglade-2.0.la libpopt.la
 libglib-2.0.la  libsoup-2.2.la
 libgmodule-2.0.la   libtasn1.la
 ilibxml2.la


  As an example I looked into /usr/lib/libICE.la and found:

# libICE.la - a libtool library file
# Generated by ltmain.sh - GNU libtool 1.5.22 (1.1220.2.365 2005/12/18 
22:14:06)
#
# Please DO NOT delete this file!
# It is necessary for linking the library.

# The name that we can dlopen(3).
dlname='libICE.so.6'

# Names of this library.
library_names='libICE.so.6.3.0 libICE.so.6 libICE.so'

# The name of the static archive.
old_library='libICE.a'

# Libraries that this one depends upon.
dependency_libs=''

# Version information for libICE.
current=9
age=3
revision=0

# Is this an already installed library?
installed=yes

# Should we warn about portability when linking against -modules?
shouldnotlink=no

# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''

# Directory that this library needs to be installed in:
libdir='/usr/lib'


 I checked the paths inside that file and found that they are correct.
   

 But what is the reason for these mass of seems to ne moved
 messages? Where are the according (wrong) informations stored?

 Thank you very much for any help in advance!
 mcc

 

























-- 
gentoo-user@gentoo.org mailing list