Your message dated Fri, 10 Aug 2012 14:47:14 +0000
with message-id <[email protected]>
and subject line Bug#678175: fixed in mrbayes 3.2.1+dfsg-2
has caused the Debian Bug report #678175,
regarding mrbayes: FTBFS with ld --as-needed
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
678175: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=678175
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mrbayes
Version: 3.2.1+dfsg-1
Severity: normal
Tags: upstream patch
User: [email protected]
Usertags: ld-as-needed

mrbayes fails to build when --as-needed linker option is enabled,
because of incorrect order of parameters passed to ld. Here's a log of
failed build in Ubuntu:
https://launchpad.net/ubuntu/+source/mrbayes/3.2.1+dfsg-1/+build/3447662/+files/buildlog_ubuntu-quantal-i386.mrbayes_3.2.1%2Bdfsg-1_FAILEDTOBUILD.txt.gz

See also
http://wiki.debian.org/ToolChain/DSOLinking#Only_link_with_needed_libraries

The attached patch was used in Ubuntu to fix the problem.
https://launchpad.net/ubuntu/+source/mrbayes/3.2.1+dfsg-1ubuntu1

Note that LIBS="-Wl,--as-needed" in debian/rules doesn't actually enable
this setting. That can be done with something like "export LDFLAGS +=
-Wl,--as-needed".
Description: fix FTBFS with --as-needed linker option
 This way, libraries will be added to ld call after object files.
Author: Ilya Barygin <[email protected]>

--- mrbayes-3.2.1+dfsg.orig/src/Makefile.in
+++ mrbayes-3.2.1+dfsg/src/Makefile.in
@@ -2,7 +2,7 @@ srcdir    = @srcdir@
 RM        = rm
 CC        = @CC@
 CFLAGS    = @CFLAGS@ -DUSECONFIG_H
-LDFLAGS   = @LDFLAGS@ -lm
+LDLIBS    = @LDFLAGS@ -lm
 INSTALL   = @INSTALL@
 
 SRC       =  bayes.c command.c mbmath.c mcmc.c model.c plot.c sump.c sumt.c tree.c utils.c mbbeagle.c best.c

--- End Message ---
--- Begin Message ---
Source: mrbayes
Source-Version: 3.2.1+dfsg-2

We believe that the bug you reported is fixed in the latest version of
mrbayes, which is due to be installed in the Debian FTP archive.

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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Tille <[email protected]> (supplier of updated mrbayes 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 [email protected])


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

Format: 1.8
Date: Fri, 10 Aug 2012 15:37:50 +0200
Source: mrbayes
Binary: mrbayes mrbayes-mpi mrbayes-dbg mrbayes-doc
Architecture: source amd64 all
Version: 3.2.1+dfsg-2
Distribution: unstable
Urgency: low
Maintainer: Debian Med Packaging Team 
<[email protected]>
Changed-By: Andreas Tille <[email protected]>
Description: 
 mrbayes    - Bayesian Inference of Phylogeny
 mrbayes-dbg - Bayesian Inference of Phylogeny - debug symbols
 mrbayes-doc - Bayesian Inference of Phylogeny - manual
 mrbayes-mpi - Bayesian Inference of Phylogeny - mpi version
Closes: 671666 678175
Changes: 
 mrbayes (3.2.1+dfsg-2) unstable; urgency=low
 .
   [ Andreas Tille ]
   * debian/upstream: Add publication data
   * debian/patches/as-needed.patch: Enable building using --as-needed
     thanks for the patch to Ilya Barygin <[email protected]>
     Closes: #678175
   * debian/control: Dropped quilt from Build-Depends
   * debhelper 9 (control+compat)
   * debian/rules: use xz compression
 .
   [ Charles Plessy ]
   * debian/control: corrected a typo (Closes: #671666).
Checksums-Sha1: 
 5ab4cf4c36e2c1c1912bbb952ed05bcc9d5f0fbd 1744 mrbayes_3.2.1+dfsg-2.dsc
 531ca233b11ee02ce0f823c42a13b9d509395e9e 6074 
mrbayes_3.2.1+dfsg-2.debian.tar.gz
 90630b57690ede4647f5f8e218c1216b93754681 538314 mrbayes_3.2.1+dfsg-2_amd64.deb
 ff403630dd78989795362aebd7bd32a86a6873a0 572424 
mrbayes-mpi_3.2.1+dfsg-2_amd64.deb
 186061ac542b185e12ca119ef7a34f4bf6422333 1682880 
mrbayes-dbg_3.2.1+dfsg-2_amd64.deb
 c87a01ddc66374890f3aa8135a65adca86ee5262 1321604 
mrbayes-doc_3.2.1+dfsg-2_all.deb
Checksums-Sha256: 
 42fe3c651e26628dfdbc8c2f9ecfd28228bb580a1be76f8272ef5cc26ef056cf 1744 
mrbayes_3.2.1+dfsg-2.dsc
 1133cf29d3f5dc2bd9bc3b6faa93823fb72b076f40c416e67db92f0ef6f59649 6074 
mrbayes_3.2.1+dfsg-2.debian.tar.gz
 e0980b951ec7c31e32563f0fc786cc7f5651711953272ed4937ae07fa408c79a 538314 
mrbayes_3.2.1+dfsg-2_amd64.deb
 8cf4e9b5da016f276887b36e1b7506015f9e19e01762f4d40b0f61175ad1ffdd 572424 
mrbayes-mpi_3.2.1+dfsg-2_amd64.deb
 7b16fd85d9fb7c2d2278de93aa718efc45a5b53f4c3c20e4e974cde4c23b5132 1682880 
mrbayes-dbg_3.2.1+dfsg-2_amd64.deb
 72eff5e50f81776890a22164255025d454914bca52151aac806efc8c827e1623 1321604 
mrbayes-doc_3.2.1+dfsg-2_all.deb
Files: 
 84830f1ed242d37dc0a010964bffe8d3 1744 science optional mrbayes_3.2.1+dfsg-2.dsc
 289b8d106ff585eda0beb80b7b48307d 6074 science optional 
mrbayes_3.2.1+dfsg-2.debian.tar.gz
 278087b133ee99968047aaf8c670368f 538314 science optional 
mrbayes_3.2.1+dfsg-2_amd64.deb
 a6ea1c7f2d06772e90d45b3e13394e0d 572424 science optional 
mrbayes-mpi_3.2.1+dfsg-2_amd64.deb
 358b6075091e15e02a6304eb9dab7840 1682880 debug extra 
mrbayes-dbg_3.2.1+dfsg-2_amd64.deb
 3ed5b2200e90ad94a9a919a82bc84181 1321604 doc extra 
mrbayes-doc_3.2.1+dfsg-2_all.deb

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

iEYEARECAAYFAlAlEh4ACgkQYDBbMcCf01pQdgCdHtIhelQyyWXdta6AtmLDP0+N
yQIAoJKLqQ90Odu9kp1QYLXOa032eZGY
=lr/k
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to