Bug#474891: Processed: Re: Bug#474891: asc: FTBFS: libtool: link: cannot find the library `/usr/lib/libspeex.la' or unhandled argument `/usr/lib/libspeex.la'

2008-04-08 Thread Ron
reassign 474891 asc
retitle 474891 asc should not link explicitly to libspeex.la
thanks


Hi,

I'm punting this one back to the asc developers, its build system
should be fixed to use a simple -lspeex instead of trying to do the
.la dance even when such a file is not present.  If you really want
a convoluted way to get '-lspeex', pkg-config is also supported, but
it's entirely unnecessary for a library as simple in its dependencies
as this one is.

Including the .la files with the Debian packages provides no practical
gain and a whole new dimension of ways that things can 'accidentally'
get screwed up by them.  I'm sorry that removing them broke your package,
but that bit wasn't accidental, so I think we should consider this a
lint check and fix asc in this case.

Cheers,
Ron


On Mon, Apr 07, 2008 at 11:45:09PM +, Debian Bug Tracking System wrote:
 Processing commands for [EMAIL PROTECTED]:
 
  reassign 474891 libspeex-dev
 Bug#474891: asc: FTBFS: libtool: link: cannot find the library 
 `/usr/lib/libspeex.la' or unhandled argument `/usr/lib/libspeex.la'
 Bug reassigned from package `asc' to `libspeex-dev'.
 
  retitle 474891 libspeex-dev does not provide libspeex.la
 Bug#474891: asc: FTBFS: libtool: link: cannot find the library 
 `/usr/lib/libspeex.la' or unhandled argument `/usr/lib/libspeex.la'
 Changed Bug title to `libspeex-dev does not provide libspeex.la' from `asc: 
 FTBFS: libtool: link: cannot find the library `/usr/lib/libspeex.la' or 
 unhandled argument `/usr/lib/libspeex.la''.
 
  found 474891 1.2~beta3.1.ds-1
 Bug#474891: libspeex-dev does not provide libspeex.la
 Bug marked as found in version 1.2~beta3.1.ds-1.
 
  kthxbye
 Stopping processing here.
 
 Please contact me if you need assistance.
 
 Debian bug tracking system administrator
 (administrator, Debian Bugs database)
 
 
 ___
 Pkg-voip-maintainers mailing list
 [EMAIL PROTECTED]
 http://lists.alioth.debian.org/mailman/listinfo/pkg-voip-maintainers
 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#474891: Processed: Re: Bug#474891: asc: FTBFS: libtool: link: cannot find the library `/usr/lib/libspeex.la' or unhandled argument `/usr/lib/libspeex.la'

2008-04-08 Thread Cyril Brulebois
On 08/04/2008, Ron wrote:
 I'm punting this one back to the asc developers, its build system
 should be fixed to use a simple -lspeex instead of trying to do the
 .la dance even when such a file is not present.  If you really want a
 convoluted way to get '-lspeex', pkg-config is also supported, but
 it's entirely unnecessary for a library as simple in its dependencies
 as this one is.

Yep, indeed. I initially planned to work on this bug yesterday, but
dist-upgrading was taking ages, and someone else reassigned the bug
before I could give it a try.

 Including the .la files with the Debian packages provides no practical
 gain and a whole new dimension of ways that things can 'accidentally'
 get screwed up by them.  I'm sorry that removing them broke your
 package, but that bit wasn't accidental, so I think we should consider
 this a lint check and fix asc in this case.

I've also removed some .la files from some other packages, and I guess
it's quite a good idea to try and rebuild reverse B-D to see which
break, so as to be able to issue an advanced warning to the other
maintainers. That's at least what I did for graphviz, and what I plan to
do for the next upstream release of libgphoto2, for example.

Cheers,

-- 
Cyril Brulebois


pgpJuRhQH1Guc.pgp
Description: PGP signature


Bug#474891: Processed: Re: Bug#474891: asc: FTBFS: libtool: link: cannot find the library `/usr/lib/libspeex.la' or unhandled argument `/usr/lib/libspeex.la'

2008-04-08 Thread Evgeni Golov
On Tue, 08 Apr 2008 12:59:25 +0200 Cyril Brulebois wrote:

 On 08/04/2008, Ron wrote:
  I'm punting this one back to the asc developers, its build system
  should be fixed to use a simple -lspeex instead of trying to do the
  .la dance even when such a file is not present.  If you really want a
  convoluted way to get '-lspeex', pkg-config is also supported, but
  it's entirely unnecessary for a library as simple in its dependencies
  as this one is.
 
 Yep, indeed. I initially planned to work on this bug yesterday, but
 dist-upgrading was taking ages, and someone else reassigned the bug
 before I could give it a try.

It was me, sorry for my not-so-good knowledge in libraries.
After further checking, it seems asc does not link against libspeex
itself at all, but libDSL_sound does.
In /usr/lib/libSDL_sound.la you can find the lines:
--
# Libraries that this one depends upon.
dependency_libs='
-L/usr/lib /usr/lib/libsmpeg.la /usr/lib/libSDL.la /usr/lib/libmikmod.la
-ldl /usr/lib/libvorbisfile.la /usr/lib/libvorbisenc.la /usr/lib/libvorbis.la 
/usr/lib/libogg.la /usr/lib/libspeex.la
-lm'
--

After localy rebuilding libdsl-sound, /usr/lib/libspeex.la is replaced
by -lspeex and now asc builds fine (even with gcc 4.3).
But before I reassign this bug to libdsl-sound, requesting a binNMU, I
would like to hear your oppinion on that - am I correct with thinking
libsdl-sound is buggy here?

Regards
Evgeni Golov


pgpXyRFP9Vm1T.pgp
Description: PGP signature


Bug#474891: Processed: Re: Bug#474891: asc: FTBFS: libtool: link: cannot find the library `/usr/lib/libspeex.la' or unhandled argument `/usr/lib/libspeex.la'

2008-04-08 Thread Ron
On Tue, Apr 08, 2008 at 05:19:36PM +0200, Evgeni Golov wrote:
 After further checking, it seems asc does not link against libspeex
 itself at all, but libDSL_sound does.
 In /usr/lib/libSDL_sound.la you can find the lines:
 --
 # Libraries that this one depends upon.
 dependency_libs='
 -L/usr/lib /usr/lib/libsmpeg.la /usr/lib/libSDL.la /usr/lib/libmikmod.la
 -ldl /usr/lib/libvorbisfile.la /usr/lib/libvorbisenc.la /usr/lib/libvorbis.la 
 /usr/lib/libogg.la /usr/lib/libspeex.la
 -lm'
 --
 
 After localy rebuilding libdsl-sound, /usr/lib/libspeex.la is replaced
 by -lspeex and now asc builds fine (even with gcc 4.3).
 But before I reassign this bug to libdsl-sound, requesting a binNMU, I
 would like to hear your oppinion on that - am I correct with thinking
 libsdl-sound is buggy here?

This looks like libtool in libsdl just doing its 'borg thing when it
finds .la files on the system.  Doing a binNMU would be one way to clear
this up, but I guess ideally we should reassign and clone this bug to
libsdl, libvorbis, libogg, libmikmod and libsmpeg requesting that they
all remove their .la files too ...

It's the only way to be sure ;)
Ron





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]