Package: libhid
Version: 0.2.15+20060325-2.2
Severity: serious
Tags: patch
Justification: no longer builds from source
User: [email protected]
Usertags: origin-ubuntu jaunty ubuntu-patch
Hi,
libhid FTBFS because of a missing ../libtool:
make[3]: Entering directory `/build/buildd/libhid-0.2.15+20060325/hidparser'
if /bin/bash ../libtool --tag=CC --mode=compile i486-linux-gnu-gcc
-DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../hidparser -DNDEBUG -fPIC -Wall
-O2 -Wall -W -Werror -MT hidparser.lo -MD -MP -MF ".deps/hidparser.Tpo" -c -o
hidparser.lo hidparser.c; \
then mv -f ".deps/hidparser.Tpo" ".deps/hidparser.Plo"; else rm -f
".deps/hidparser.Tpo"; exit 1; fi
/bin/bash: ../libtool: No such file or directory
make[3]: *** [hidparser.lo] Error 1
There is no libtool script in the root directory, so we need to use the libtool
package
*** /tmp/tmpaH52i5
In Ubuntu, we've applied the attached patch to achieve the following:
* debian/control: add build dependency on libtool
* configure: changed LIBTOOL variable to use the libtool package and fix a
FTBFS (LP: #335300)
We thought you might be interested in doing the same.
-- System Information:
Debian Release: 5.0
APT prefers jaunty-updates
APT policy: (500, 'jaunty-updates'), (500, 'jaunty-security'), (500, 'jaunty')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.27-11-generic (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
diff -Nru libhid-0.2.15+20060325/configure libhid-0.2.15+20060325/configure
--- libhid-0.2.15+20060325/configure 2006-03-25 19:02:24.000000000 +0000
+++ libhid-0.2.15+20060325/configure 2009-02-27 19:56:27.000000000 +0000
@@ -20536,8 +20536,7 @@
# This can be used to rebuild libtool when needed
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
-# Always use our own libtool.
-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+LIBTOOL='$(SHELL) libtool'
# Prevent multiple expansion