[Debian-med-packaging] Bug#650237: emboss: Fails to link mysqlclient with linker set for --as-needed

Clint Byrum clint at ubuntu.com
Mon Nov 28 01:35:30 UTC 2011


Package: emboss
Version: 6.3.1-6
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu precise ubuntu-patch



*** /tmp/tmpuDRGQ2/bug_body
In Ubuntu, the attached patch was applied to achieve the following:

Without this patch, mysql is not linked to emboss-lib in Ubuntu, I
think this is because of --as-needed.

  * d/patches/fix-mysql-macro.patch: use LIBS rather than LDFLAGS
    so mysql libraries are detected properly.
  * d/control,d/rules: use dh_autoreconf to enact mysql changes
  * d/rules: remove git cleanup as it breaks clean on non-git
    managed builds.
  * d/rules: patch before configure to pick up m4 changes


Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers precise-updates
  APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 'precise')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-12-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: emboss_6.3.1-6ubuntu1.debdiff
Type: text/x-diff
Size: 3188 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20111127/a0295bbf/attachment.diff>


More information about the Debian-med-packaging mailing list