Package: qd Version: 2.3.7-1 Severity: serious Tags: patch Justification: no longer builds from source User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu jaunty ubuntu-patch
qd 2.3.7 FTBFS because of old version of libtool: make[3]: Entering directory `/build/buildd/qd-2.3.7/src' /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.. -I../include -I../include -O3 -c -o c_dd.lo c_dd.cpp .../libtool: line 855: X--tag=CXX: command not found .../libtool: line 888: libtool: ignoring unknown tag : command not found .../libtool: line 855: X--mode=compile: command not found .../libtool: line 1021: *** Warning: inferring the mode of operation is deprecated.: command not found .../libtool: line 1022: *** Future versions of Libtool will require --mode=MODE be specified.: command not found .../libtool: line 1165: Xg++: command not found .../libtool: line 1165: X-DHAVE_CONFIG_H: command not found .../libtool: line 1165: X-I..: command not found .../libtool: line 1165: X-I../include: No such file or directory .../libtool: line 1165: X-I../include: No such file or directory .../libtool: line 1165: X-O3: command not found .../libtool: line 1165: X-c: command not found .../libtool: line 1216: Xc_dd.lo: command not found .../libtool: line 1221: libtool: compile: cannot determine name of library object from `': command not found make[3]: *** [c_dd.lo] Error 1 This can be solved running libtoolize before building in the debian/rules file *** /tmp/tmp_2F2pC In Ubuntu, we've applied the attached patch to achieve the following: * debian/rules: add "DEB_AUTO_UPDATE_LIBTOOL = pre" to update libtool at build time (LP: #337084) 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 -u qd-2.3.7/debian/rules qd-2.3.7/debian/rules --- qd-2.3.7/debian/rules +++ qd-2.3.7/debian/rules @@ -9,6 +9,7 @@ include /usr/share/cdbs/1/rules/patchsys-quilt.mk DEB_CONFIGURE_EXTRA_FLAGS := --enable-maintainer-mode --enable-shared +DEB_AUTO_UPDATE_LIBTOOL := pre CXXFLAGS="-O3"