Re: [gentoo-user] libmad.la missing

2008-05-19 Thread Enrico Weigelt
* Uwe Thiem [EMAIL PROTECTED] wrote:
 Hi folks,
 
 libmad-0.2.1 doens't install libmad.la. Programs linking to it fail 
 during link stage. Is it a known issue?

Solution: fix the importing package and rip off the libtool crap.


Which package is it ?


cu
-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] libmad.la missing

2008-05-15 Thread Uwe Thiem
On Wednesday 14 May 2008, Volker Armin Hemmann wrote:
 On Mittwoch, 14. Mai 2008, Uwe Thiem wrote:
  Hi folks,
 
  libmad-0.2.1 doens't install libmad.la. Programs linking to it
  fail during link stage. Is it a known issue?

 there is no 'libmad-0.2.1' on my system.

It's weird. libmad-0.15.1b-r5 installs as libmad-0.2.1. From the 
emerge output:
 Merging media-libs/libmad-0.15.1b-r5 to /
--- /usr/
--- /usr/lib/
 /usr/lib/libmad.so - libmad.so.0.2.1
--- /usr/lib/pkgconfig/
 /usr/lib/pkgconfig/mad.pc
 /usr/lib/libmad.a
 /usr/lib/libmad.so.0.2.1
 /usr/lib/libmad.so.0 - libmad.so.0.2.1

And indeed:
uwix uwe # ls -l /usr/lib/libmad*
-rw-r--r-- 1 root root 101062 May 15 09:10 /usr/lib/libmad.a
lrwxrwxrwx 1 root root 15 May 15 09:10 /usr/lib/libmad.so - 
libmad.so.0.2.1
lrwxrwxrwx 1 root root 15 May 15 09:10 /usr/lib/libmad.so.0 - 
libmad.so.0.2.1
-rwxr-xr-x 1 root root  91472 May 15 09:10 /usr/lib/libmad.so.0.2.1

Still, no libmad.la.

???

Uwe

-- 
Ignorance killed the cat, sir, curiosity was framed!
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] libmad.la missing

2008-05-15 Thread Volker Armin Hemmann
On Donnerstag, 15. Mai 2008, Uwe Thiem wrote:
 On Wednesday 14 May 2008, Volker Armin Hemmann wrote:
  On Mittwoch, 14. Mai 2008, Uwe Thiem wrote:
   Hi folks,
  
   libmad-0.2.1 doens't install libmad.la. Programs linking to it
   fail during link stage. Is it a known issue?
 
  there is no 'libmad-0.2.1' on my system.

 It's weird. libmad-0.15.1b-r5 installs as libmad-0.2.1. From the

 emerge output:
  Merging media-libs/libmad-0.15.1b-r5 to /

 --- /usr/
 --- /usr/lib/

  /usr/lib/libmad.so - libmad.so.0.2.1

 --- /usr/lib/pkgconfig/

  /usr/lib/pkgconfig/mad.pc
  /usr/lib/libmad.a
  /usr/lib/libmad.so.0.2.1
  /usr/lib/libmad.so.0 - libmad.so.0.2.1

 And indeed:
 uwix uwe # ls -l /usr/lib/libmad*
 -rw-r--r-- 1 root root 101062 May 15 09:10 /usr/lib/libmad.a
 lrwxrwxrwx 1 root root 15 May 15 09:10 /usr/lib/libmad.so -
 libmad.so.0.2.1
 lrwxrwxrwx 1 root root 15 May 15 09:10 /usr/lib/libmad.so.0 -
 libmad.so.0.2.1
 -rwxr-xr-x 1 root root  91472 May 15 09:10 /usr/lib/libmad.so.0.2.1

 Still, no libmad.la.


hm, you are right. But revdep-rebuilt should solve that problem. Not by 
creating the la file but by rebuilding the apps needing it.


-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] libmad.la missing

2008-05-15 Thread Uwe Thiem
On Thursday 15 May 2008, Volker Armin Hemmann wrote:
 On Donnerstag, 15. Mai 2008, Uwe Thiem wrote:
  On Wednesday 14 May 2008, Volker Armin Hemmann wrote:
   On Mittwoch, 14. Mai 2008, Uwe Thiem wrote:
Hi folks,
   
libmad-0.2.1 doens't install libmad.la. Programs linking to
it fail during link stage. Is it a known issue?
  
   there is no 'libmad-0.2.1' on my system.
 
  It's weird. libmad-0.15.1b-r5 installs as libmad-0.2.1. From the
 
  emerge output:
   Merging media-libs/libmad-0.15.1b-r5 to /
 
  --- /usr/
  --- /usr/lib/
 
   /usr/lib/libmad.so - libmad.so.0.2.1
 
  --- /usr/lib/pkgconfig/
 
   /usr/lib/pkgconfig/mad.pc
   /usr/lib/libmad.a
   /usr/lib/libmad.so.0.2.1
   /usr/lib/libmad.so.0 - libmad.so.0.2.1
 
  And indeed:
  uwix uwe # ls -l /usr/lib/libmad*
  -rw-r--r-- 1 root root 101062 May 15 09:10 /usr/lib/libmad.a
  lrwxrwxrwx 1 root root 15 May 15 09:10 /usr/lib/libmad.so -
  libmad.so.0.2.1
  lrwxrwxrwx 1 root root 15 May 15 09:10 /usr/lib/libmad.so.0
  - libmad.so.0.2.1
  -rwxr-xr-x 1 root root  91472 May 15 09:10
  /usr/lib/libmad.so.0.2.1
 
  Still, no libmad.la.

 hm, you are right. But revdep-rebuilt should solve that problem.
 Not by creating the la file but by rebuilding the apps needing it.

How? If the build system of a package uses libtool and insists on the 
existence of this la file, revdep-rebuild wouldn't help. Actually I 
tried to re-emerge failing package with --oneshot (not different 
from what revdep-rebuild does) and it failed again due to the missing 
la.

I could, of course, write the la file myself. In the end, it is just a 
text file describing some properties of the liberary. But that seems 
a very hackish work-around.

I don't want to do a revdep-rebuild right now because I have a 
half-baked update. And from my POV, it wouldn't help at all.

Uwe

-- 
Ignorance killed the cat, sir, curiosity was framed!
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] libmad.la missing

2008-05-15 Thread Volker Armin Hemmann
On Donnerstag, 15. Mai 2008, Uwe Thiem wrote:
 On Thursday 15 May 2008, Volker Armin Hemmann wrote:
  On Donnerstag, 15. Mai 2008, Uwe Thiem wrote:
   On Wednesday 14 May 2008, Volker Armin Hemmann wrote:
On Mittwoch, 14. Mai 2008, Uwe Thiem wrote:
 Hi folks,

 libmad-0.2.1 doens't install libmad.la. Programs linking to
 it fail during link stage. Is it a known issue?
   
there is no 'libmad-0.2.1' on my system.
  
   It's weird. libmad-0.15.1b-r5 installs as libmad-0.2.1. From the
  
   emerge output:
Merging media-libs/libmad-0.15.1b-r5 to /
  
   --- /usr/
   --- /usr/lib/
  
/usr/lib/libmad.so - libmad.so.0.2.1
  
   --- /usr/lib/pkgconfig/
  
/usr/lib/pkgconfig/mad.pc
/usr/lib/libmad.a
/usr/lib/libmad.so.0.2.1
/usr/lib/libmad.so.0 - libmad.so.0.2.1
  
   And indeed:
   uwix uwe # ls -l /usr/lib/libmad*
   -rw-r--r-- 1 root root 101062 May 15 09:10 /usr/lib/libmad.a
   lrwxrwxrwx 1 root root 15 May 15 09:10 /usr/lib/libmad.so -
   libmad.so.0.2.1
   lrwxrwxrwx 1 root root 15 May 15 09:10 /usr/lib/libmad.so.0
   - libmad.so.0.2.1
   -rwxr-xr-x 1 root root  91472 May 15 09:10
   /usr/lib/libmad.so.0.2.1
  
   Still, no libmad.la.
 
  hm, you are right. But revdep-rebuilt should solve that problem.
  Not by creating the la file but by rebuilding the apps needing it.

 How? If the build system of a package uses libtool and insists on the
 existence of this la file, revdep-rebuild wouldn't help. Actually I
 tried to re-emerge failing package with --oneshot (not different
 from what revdep-rebuild does) and it failed again due to the missing
 la.

 I could, of course, write the la file myself. In the end, it is just a
 text file describing some properties of the liberary. But that seems
 a very hackish work-around.

 I don't want to do a revdep-rebuild right now because I have a
 half-baked update. And from my POV, it wouldn't help at all.

 Uwe

 --
 Ignorance killed the cat, sir, curiosity was framed!

http://blog.flameeyes.eu/articles/2008/04/14/what-about-those-la-files

https://bugs.gentoo.org/show_bug.cgi?id=218286

just run revdep-rebuilt. The la file is not really needed at all. But 
somewhere something 'thinks' to depend on it. revdep-rebuilt will fix that.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] libmad.la missing

2008-05-14 Thread Volker Armin Hemmann
On Mittwoch, 14. Mai 2008, Uwe Thiem wrote:
 Hi folks,

 libmad-0.2.1 doens't install libmad.la. Programs linking to it fail
 during link stage. Is it a known issue?

there is no 'libmad-0.2.1' on my system.

But probably you are hit by flameeyes test. Just revdep-rebuilt.

Or install libmad-0.15.1b-r5
-- 
gentoo-user@lists.gentoo.org mailing list