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

Bug#433208: marked as done (ocaml-mad: dllmad_stubs.so linked incorrectly)



Your message dated Sat, 08 Sep 2007 12:17:04 +0000
with message-id <E1ITzFI-0001oi-IJ@ries.debian.org>
and subject line Bug#433208: fixed in ocaml-mad 0.3.1-2
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: ocaml-vorbis
Version: 0.2.3-2
Severity: serious

Problem reported on #debian-ocaml:
# #load "vorbis/vorbis.cma";;
Cannot load required shared library dllvorbis_stubs.
Reason: /usr/lib/ocaml/3.09.2/stublibs/dllvorbis_stubs.so: undefined
symbol: vorbis_info_clear.

And indeed:
$ ldd /usr/lib/ocaml/3.09.2/stublibs/dllvorbis_stubs.so 
        linux-gate.so.1 =>  (0xffffe000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7e84000)
        /lib/ld-linux.so.2 (0x80000000)

The problem is caused by the following in src/Makefile.in:
ACLIBS = @LIBS@
CLIBS = $(ACLIBS:-l%=%)
LDFLAGS = @LDFLAGS@ @OGG_LIBS@ @VORBIS_LIBS@

which gives after configure:
ACLIBS = 
CLIBS = $(ACLIBS:-l%=%)
LDFLAGS =  -logg   -lvorbisenc -lvorbisfile -lvorbis -lm -logg  

OCamlMakefile then uses the CLIBS variable to find out how to link the
stubs library, LDFLAGS isn't used, and you lose.

Cheers,
Julien

-- System Information:
Debian Release: lenny/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-rc7-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: ocaml-mad
Source-Version: 0.3.1-2

We believe that the bug you reported is fixed in the latest version of
ocaml-mad, which is due to be installed in the Debian FTP archive:

libmad-ocaml-dev_0.3.1-2_i386.deb
  to pool/main/o/ocaml-mad/libmad-ocaml-dev_0.3.1-2_i386.deb
libmad-ocaml_0.3.1-2_i386.deb
  to pool/main/o/ocaml-mad/libmad-ocaml_0.3.1-2_i386.deb
ocaml-mad_0.3.1-2.diff.gz
  to pool/main/o/ocaml-mad/ocaml-mad_0.3.1-2.diff.gz
ocaml-mad_0.3.1-2.dsc
  to pool/main/o/ocaml-mad/ocaml-mad_0.3.1-2.dsc



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 433208@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Samuel Mimram <smimram@debian.org> (supplier of updated ocaml-mad package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 08 Sep 2007 14:10:33 +0200
Source: ocaml-mad
Binary: libmad-ocaml-dev libmad-ocaml
Architecture: source i386
Version: 0.3.1-2
Distribution: unstable
Urgency: low
Maintainer: Samuel Mimram <smimram@debian.org>
Changed-By: Samuel Mimram <smimram@debian.org>
Description: 
 libmad-ocaml - OCaml bindings for the MAD library
 libmad-ocaml-dev - OCaml bindings for the MAD library
Closes: 433208
Changes: 
 ocaml-mad (0.3.1-2) unstable; urgency=low
 .
   * Rebuild with OCaml 3.10.
   * Using dpatch to handle patches.
   * Added link.dpatch to correcly link, closes: #433208.
Files: 
 4ffadaafa07d941593a2d913cbd6d98e 834 devel optional ocaml-mad_0.3.1-2.dsc
 3899da4ce15253acf0b99c58644205df 33930 devel optional ocaml-mad_0.3.1-2.diff.gz
 c01c914f93e826240bf38b0feb78d354 7274 libs optional libmad-ocaml_0.3.1-2_i386.deb
 1363027adf2b57bfe790a4aa5eb1ed70 88882 libdevel optional libmad-ocaml-dev_0.3.1-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFG4pGoIae1O4AJae8RAh2wAJ9wPOH1/7jSQNWlhMjtboQ8T4NZzgCffUrE
OxWqpdCB5iAjuOyIfVMu8n8=
=+8QP
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: