[Pkg-fonts-devel] Bug#641713: mensis: fails to build with libtool 2.4

Colin Watson cjwatson at ubuntu.com
Thu Sep 15 10:58:42 UTC 2011


Package: mensis
Version: 0.0.080507-2
Severity: serious
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch oneiric

mensis fails to build with libtool 2.4, originally reported in this
Ubuntu bug:

  https://bugs.launchpad.net/ubuntu/+source/mensis/+bug/832774

This category of failure is explained here:

  http://wiki.debian.org/qa.debian.org/FTBFS#A2011-05-04_Libtool_complains_about_file_not_found_on_.2B-.3D_assignment

Patch follows.

  * Substitute SHELL in Makefiles so that LIBTOOL expands correctly
    (LP: #832774).

diff -u mensis-0.0.080507/debian/patches/series mensis-0.0.080507/debian/patches/series
--- mensis-0.0.080507/debian/patches/series
+++ mensis-0.0.080507/debian/patches/series
@@ -4,0 +5 @@
+010_libtool_shell.diff
only in patch2:
unchanged:
--- mensis-0.0.080507.orig/debian/patches/010_libtool_shell.diff
+++ mensis-0.0.080507/debian/patches/010_libtool_shell.diff
@@ -0,0 +1,39 @@
+Description: Substitute SHELL in Makefiles so that LIBTOOL expands correctly
+Author: Colin Watson <cjwatson at ubuntu.com>
+Bug-Ubuntu: https://bugs.launchpad.net/bugs/832774
+Forwarded: no
+Last-Update: 2011-09-15
+
+Index: b/Makefile.dynamic.in
+===================================================================
+--- a/Makefile.dynamic.in
++++ b/Makefile.dynamic.in
+@@ -9,6 +9,7 @@
+ bindir = @bindir@
+ libdir = @libdir@
+ 
++SHELL = @SHELL@
+ LIBTOOL = @LIBTOOL@
+ CC = @CC@
+ INSTALL = @INSTALL@
+Index: b/Makefile.in
+===================================================================
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -10,6 +10,7 @@
+ srcdir = @srcdir@
+ top_builddir = .
+ 
++SHELL = @SHELL@
+ CC = @CC@
+ INSTALL = @INSTALL@
+ LIBTOOL = @LIBTOOL@
+Index: b/Makefile.static.in
+===================================================================
+--- a/Makefile.static.in
++++ b/Makefile.static.in
+@@ -1,3 +1,4 @@
++SHELL = @SHELL@
+ CC = @CC@
+ 
+ X_CFLAGS = @X_CFLAGS@

Thanks,

-- 
Colin Watson                                       [cjwatson at ubuntu.com]





More information about the Pkg-fonts-devel mailing list