Package: blacs-mpi Version: 1.1-31 Tags: patch User: peter.fritzs...@gmx.de Usertags: unresolved-symbols-so
debian/rules calls gcc with parameters in the incorrect order. When the Debian linker's defaults are changed, this will break the library such that packages that depend on it won't build correctly. This does not affect Debian yet, but affects Ubuntu already. I've attached the patch applied to Ubuntu. If you apply this now, this package won't be affected by the future change in Debian. For more details: http://wiki.debian.org/ToolChain/DSOLinking Thanks, Robie
diff -u blacs-mpi-1.1/debian/changelog blacs-mpi-1.1/debian/changelog --- blacs-mpi-1.1/debian/changelog +++ blacs-mpi-1.1/debian/changelog @@ -1,3 +1,9 @@ +blacs-mpi (1.1-32) unstable; urgency=low + + * debian/rules: declare library dependencies correctly (LP: #934138). + + -- Robie Basak <robie.ba...@ubuntu.com> Fri, 17 Feb 2012 12:06:41 +0000 + blacs-mpi (1.1-31) unstable; urgency=low * Rebuilding with mpi-default-dev >=1.0 (Closes: #652312) diff -u blacs-mpi-1.1/debian/rules blacs-mpi-1.1/debian/rules --- blacs-mpi-1.1/debian/rules +++ blacs-mpi-1.1/debian/rules @@ -51,7 +51,7 @@ done;\ cd .. ;\ gcc -shared -Wl,-soname=lib$$i-openmpi.so.1 -o lib$$i-openmpi.so.1.1 \ - -L/usr/lib/openmpi/lib/ -lmpi -lmpi_f77 $$(find tmp -name "*.o");\ + -L/usr/lib/openmpi/lib/ $$(find tmp -name "*.o") -lmpi -lmpi_f77; \ ln -fs lib$$i-openmpi.so.1.1 lib$$i-openmpi.so.1 ;\ ln -fs lib$$i-openmpi.so.1 lib$$i-openmpi.so ;\ rm -f tmp/tmp/* ; rmdir tmp/tmp ; rm tmp/* ;\
signature.asc
Description: Digital signature