[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#154714: not declared dependency on libvorbisfile



I assume all these bug reports are related.

On Mon, Jul 29, 2002 at 03:58:33PM +0200, Eduard Bloch wrote:
> Package: libsdl-mixer1.2-dev
> Version: 1.2.4-1
> Severity: grave
> 
> Appears linking against libSDL_mixer.so:
> 
> /usr/bin/ld: warning: libvorbisfile.so.0, needed by /usr/lib/libSDL_mixer.so, not found (try using -rpath or -rpath-link)
> /usr/lib/libSDL_mixer.so: undefined reference to `ov_info'
> /usr/lib/libSDL_mixer.so: undefined reference to `ov_open'
> /usr/lib/libSDL_mixer.so: undefined reference to `ov_time_seek'
> /usr/lib/libSDL_mixer.so: undefined reference to `ov_clear'
> /usr/lib/libSDL_mixer.so: undefined reference to `ov_read'
> collect2: ld returned 1 exit status
> make: *** [icebreaker] Fehler 1
> 
> Gruss/Regards,
> Eduard.
> 
> -- System Information:
> Debian Release: testing/unstable
> Architecture: i386
> Kernel: Linux zombie 2.4.19-rc3 #4 Fre Jul 26 17:22:23 CEST 2002 i686
> Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro
> 
> Versions of packages libsdl-mixer1.2-dev depends on:
> ii  libc6-dev                  2.2.5-12      GNU C Library: Development Librari
> ii  libogg-dev                 1.0.0-1       Ogg Bitstream Library Development
> ii  libsdl-mixer1.2            1.2.4-1       mixer library for Simple DirectMed
> ii  libsdl1.2-dev              1.2.4-1       Simple DirectMedia Layer developme
> ii  libsmpeg-dev               0.4.4-8       SDL MPEG Player Library - developm
> ii  libvorbis-dev              1.0.0-1       Vorbis Library Development
> ii  xlibs-dev                  4.2.0-0pre1v1 X Window System client library dev
> 
> -- no debconf information
> 
> 
> 

Can you please explain me what I did wrong? sdl-mixer was last built in may,
it has a build-depends on libogg-dev and libvorbis-dev. The file I uploaded,
I just built it again, looks like this:

 Depends: libc6 (>= 2.2.4-4), libogg0 (>= 1.0rc3-1), libsdl1.2debian (>> 1.2.3),
 libsmpeg0 (>= 0.4.4-7), libstdc++2.10-glibc2.2 (>= 1:2.95.4-0.010810),
 libvorbis0 (>= 1.0rc3-1), xlibs (>> 4.1.0)

When I look at libvorbis0_1.0rc3-1_i386.deb:
*** Contents:
drwxr-xr-x root/root         0 2002-01-01 20:45:31 ./
drwxr-xr-x root/root         0 2002-01-01 20:45:30 ./usr/
drwxr-xr-x root/root         0 2002-01-01 20:45:31 ./usr/lib/
-rw-r--r-- root/root    121624 2002-01-01 20:45:31 ./usr/lib/libvorbis.so.0.1.0
-rw-r--r-- root/root    466120 2002-01-01 20:45:31 ./usr/lib/libvorbisenc.so.0.1.0
-rw-r--r-- root/root     21292 2002-01-01 20:45:31 ./usr/lib/libvorbisfile.so.0.2.0
[...]
lrwxrwxrwx root/root         0 2002-01-01 20:45:30 ./usr/lib/libvorbis.so.0 -> libvorbis.so.0.1.0
lrwxrwxrwx root/root         0 2002-01-01 20:45:30 ./usr/lib/libvorbisenc.so.0 -> libvorbisenc.so.0.1.0
lrwxrwxrwx root/root         0 2002-01-01 20:45:30 ./usr/lib/libvorbisfile.so.0 -> libvorbisfile.so.0.2.0

Thats why sdl-mixer is working fine in woody.

Now with vorbis 1.0.0, libvorbisfile seems to have been split out into a
separate library, with a different SONAME.

libvorbisfile3_1.0.0-1_i386.deb:
[...]
 Conflicts: libvorbis0 (<< 1.0.0)
 Replaces: libvorbis0 (<< 1.0.0)
[...]
-rw-r--r-- root/root     22532 2002-07-19 10:45:51 ./usr/lib/libvorbisfile.so.3.0.0
[...]
lrwxrwxrwx root/root         0 2002-07-19 10:45:51 ./usr/lib/libvorbisfile.so.3 -> libvorbisfile.so.3.0.0

Somehow I doubt that libvorbisfile3 replaces libvorbis0, but you all know
more about libraries than I do. How should I know in may that sdl-mixer will
have to depend on a libvorvorbisfile package once vorbis 1.0.0 is released?

As I understand, when I rebuild sdl-mixer with the new vorbis and
vorbisfile, it might work for new built packages, but all old packages, like
the defendguin I am running at home, will break. Is this correct?
If so, I guess we need an upgrade plan just like for png.

Any volunteer for an sdl-mixer NMU, I wont be available for the next month
at least. And BTW, I am still looking for a new maintainer for sdl-mixer and
sdl-image, but maybe I should have asked publically before people started
breaking them...

Christian


-- 
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: