Bug#705053: jack-rack does not link with -lm

Robie Basak robie.basak at canonical.com
Tue Apr 9 14:38:04 UTC 2013


Package: jack-rack
Version: 1.4.8~rc1-1
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu raring ubuntu-patch

jack-rack FTBFS in Ubuntu because it does not explicitly link with -lm.

There's a patch for this already, but it doesn't include -lm even though
the upstream bug does include it. So I updated the patch (below).

This succeeds in Debian right now because the linker isn't as pedantic
as Ubuntu's, but you might want to update this for the future.

Thanks

diff -Nru jack-rack-1.4.8~rc1/debian/patches/02-gcc45_binutils_gold.patch jack-rack-1.4.8~rc1/debian/patches/02-gcc45_binutils_gold.patch
--- jack-rack-1.4.8~rc1/debian/patches/02-gcc45_binutils_gold.patch	2011-05-29 09:11:30.000000000 +0000
+++ jack-rack-1.4.8~rc1/debian/patches/02-gcc45_binutils_gold.patch	2013-04-09 14:18:14.000000000 +0000
@@ -1,21 +1,25 @@
 Description: Fix FTBFS with newest GCC4.5 and linker.
+ Updated 2013-04-09 by Robie Basak <robie.basak at canonical.com>:
+  * Added -lm; this is already in the upstream bug.
 Author: Alessio Treglia <alessio at debian.org>
 Forwarded: https://sourceforge.net/apps/trac/jack-rack/ticket/1
  Also forwarded to torbenh at gmx.de, leslie.polzer at gmx.net,
  adamsampson at users.sourceforge.net
+Last-Update: 2013-04-09
 ---
  src/Makefile.am |    3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
 
---- jack-rack.orig/src/Makefile.am
-+++ jack-rack/src/Makefile.am
-@@ -61,7 +61,8 @@ jack_rack_CFLAGS = \
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -61,7 +61,9 @@
  	-DGNOME_DISABLE_DEPRECATED=1
  
  
 -jack_rack_LDFLAGS = \
 +LIBS = \
 +	-ldl \
++	-lm \
  	$(JACK_LIBS) \
  	$(GTK_LIBS) \
  	$(GNOMEUI_LIBS) \



More information about the pkg-multimedia-maintainers mailing list