tags 349807 patch
quit
On Sun, Jun 04, 2006 at 04:08:57PM +0200, Mohammed Adnène Trojette wrote:
> On Fri, Mar 24, 2006, [EMAIL PROTECTED] wrote:
> > FYI, this problem also occurs on i386 (according to pbuilder) and
> > x86_64, see 
> > http://buildd.debian.org/build.php?&pkg=towitoko&ver=2.0.7-7&arch=amd64&file=log
> > , so this is a totally RC bug.
> 
> It currently builds fine on an i386 pbuilder. Does it still FTBFS on
> other archs?

Here my result:

on my amd64 machine, towitoko still FTBFS exactly the same way both on
amd64 and i386, probably because config.guess report
'x86_64-unknown-linux-gnu'.

on my regular i686 machine, towitoko compile (not without spewing
warnings though).

To fix this bug, I provide a patch that adds a
build-depends on libtool and that replaces ./libtool after configure
is run by a script ./libtool.dummy that call /usr/bin/libtool.

Should I NMU towitoko ?

Cheers,
-- 
Bill. <[EMAIL PROTECTED]>

Imagine a large red swirl here. 
diff -u towitoko-2.0.7/debian/control towitoko-2.0.7/debian/control
--- towitoko-2.0.7/debian/control
+++ towitoko-2.0.7/debian/control
@@ -2,7 +2,7 @@
 Section: misc
 Priority: extra
 Maintainer: Simon Richter <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 4.1.16)
+Build-Depends: debhelper (>= 4.1.16), libtool
 Standards-Version: 3.6.1.0
 
 Package: libtowitoko-dev
diff -u towitoko-2.0.7/debian/rules towitoko-2.0.7/debian/rules
--- towitoko-2.0.7/debian/rules
+++ towitoko-2.0.7/debian/rules
@@ -17,6 +17,8 @@
                --mandir=\$${prefix}/share/man \
                --infodir=\$${prefix}/share/info \
                --enable-static 
+       # Use Debian libtool
+       cp libtool.dummy libtool
 
 build: config.status
        dh_testdir
diff -u towitoko-2.0.7/debian/changelog towitoko-2.0.7/debian/changelog
--- towitoko-2.0.7/debian/changelog
+++ towitoko-2.0.7/debian/changelog
@@ -1,3 +1,10 @@
+towitoko (2.0.7-7.1) unstable; urgency=low
+
+  * Build-depends on libtool and use /usr/bin/libtool instead of package
+    provided one. (Closes: 349807).
+
+ -- Bill Allombert <[EMAIL PROTECTED]>  Sun,  4 Jun 2006 19:35:27 +0200
+
 towitoko (2.0.7-7) unstable; urgency=low
 
   * Updated ltmain.sh as well (Really Closes: #342687)
only in patch2:
unchanged:
--- towitoko-2.0.7.orig/libtool.dummy
+++ towitoko-2.0.7/libtool.dummy
@@ -0,0 +1,2 @@
+#! /bin/sh
+libtool "$@"

Reply via email to