Bug#527759: tex-guy: FTBFS: libtool errors
tag 527759 patch pending thanks Daniel Schepler dschep...@gmail.com (08/05/2009): This kind of error is usually a sign that the autoconf macro and ltmain.sh components of libtool are out of sync. (Also, why is it continuing to try to build after that compilation fails? If the Makefile is using a for loop, you may need to add a set -e; before it or a SHELL=/bin/sh -e to fix that.) Since there's already an autoconf call, I've added a libtoolize call, which fixes the problem. I'm going to file another bug for an FTBFS that only happens on kfreebsd-* and then prepare an upload with both fixes for DELAYED/7 or something like that. Mraw, KiBi. --- tex-guy-1.3.2/debian/rules +++ tex-guy-1.3.2/debian/rules @@ -36,6 +36,7 @@ ln -sf /usr/share/misc/config.sub /usr/share/misc/config.guess . aclocal autoconf + libtoolize ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \ --enable-static --with-gettext
Bug#527759: tex-guy: FTBFS: libtool errors
Cyril Brulebois k...@debian.org (03/07/2009): I'm going to file another bug for an FTBFS that only happens on kfreebsd-* and then prepare an upload with both fixes for DELAYED/7 or something like that. That's #535579, and there's the whole source debdiff attached now, fixed package uploaded to DELAYED/7. Mraw, KiBi. diff -u tex-guy-1.3.2/debian/rules tex-guy-1.3.2/debian/rules --- tex-guy-1.3.2/debian/rules +++ tex-guy-1.3.2/debian/rules @@ -36,6 +36,7 @@ ln -sf /usr/share/misc/config.sub /usr/share/misc/config.guess . aclocal autoconf + libtoolize ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \ --enable-static --with-gettext diff -u tex-guy-1.3.2/debian/changelog tex-guy-1.3.2/debian/changelog --- tex-guy-1.3.2/debian/changelog +++ tex-guy-1.3.2/debian/changelog @@ -1,3 +1,15 @@ +tex-guy (1.3.2-6.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix FTBFS due to libtool errors by calling “libtoolize” right after +“autoconf” in debian/rules in order to update libtool-related files +(Closes: #527759). + * Fix FTBFS on GNU/kFreeBSD, where setpgrp() takes no parameter, using +the following patch (Closes: #535579): + - debian/patches/01_fix_ftbfs_on_kfreebsd.dpatch + + -- Cyril Brulebois k...@debian.org Fri, 03 Jul 2009 14:08:31 +0200 + tex-guy (1.3.2-6) unstable; urgency=low * debian/patches/01_display_eps.dpatch: New patch. Fixed the problem of diff -u tex-guy-1.3.2/debian/patches/00list tex-guy-1.3.2/debian/patches/00list --- tex-guy-1.3.2/debian/patches/00list +++ tex-guy-1.3.2/debian/patches/00list @@ -4,0 +5 @@ +01_fix_ftbfs_on_kfreebsd.dpatch only in patch2: unchanged: --- tex-guy-1.3.2.orig/debian/patches/01_fix_ftbfs_on_kfreebsd.dpatch +++ tex-guy-1.3.2/debian/patches/01_fix_ftbfs_on_kfreebsd.dpatch @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_display_eps.dpatch by Cyril Brulebois k...@debian.org +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix FTBFS on GNU/kFreeBSD, where setpgrp() takes no argument. + +...@dpatch@ +--- tex-guy-1.3.2/DVIlib2-2.9.1/spc_ps.c~ tex-guy-1.3.2/DVIlib2-2.9.1/spc_ps.c +@@ -1905,7 +1905,7 @@ + /*** GS ***/ + #if defined(__linux__) + (void) setpgid(0,0); +-#elif defined(__svr4__)||defined(__SVR4__) ++#elif defined(__svr4__)||defined(__SVR4__)||defined(__FreeBSD_kernel__) + (void) setpgrp(); + #else + (void) setpgrp(0, getpid());
Bug#527759: tex-guy: FTBFS: libtool errors
Package: tex-guy Version: 1.3.2-6 Severity: serious From my pbuilder build log: ... /usr/bin/make make[1]: Entering directory `/tmp/buildd/tex-guy-1.3.2' === DVIlib2 make[2]: Entering directory `/tmp/buildd/tex-guy-1.3.2/DVIlib2-2.9.1' ../libtool --mode=compile \ gcc -I. -g -O2 -Wall -DDVILIBDIR=\/usr/share/DVIlib2/\ `VFlib3-config --cflags` \ -DVERSION=\2.9.1\ -c dvi.c ../libtool: line 822: X--mode=compile: command not found ../libtool: line 988: *** Warning: inferring the mode of operation is deprecated.: command not found ../libtool: line 989: *** Future versions of Libtool will require --mode=MODE be specified.: command not found ../libtool: line 1132: Xgcc: command not found ../libtool: line 1132: X-I.: command not found ../libtool: line 1132: X-g: command not found ../libtool: line 1132: X-O2: command not found ../libtool: line 1132: X-Wall: command not found ../libtool: line 1132: X-DDVILIBDIR=/usr/share/DVIlib2/: No such file or directory ../libtool: line 1132: X-I/usr/include: No such file or directory ../libtool: line 1132: X-DVERSION=2.9.1: command not found ../libtool: line 1132: X-c: command not found ../libtool: line 1160: Xdvi.c: command not found ../libtool: line 1183: X: command not found ../libtool: line 1188: libtool: compile: cannot determine name of library object from `': command not found make[2]: *** [dvi.lo] Error 1 make[2]: Leaving directory `/tmp/buildd/tex-guy-1.3.2/DVIlib2-2.9.1' === man make[2]: Entering directory `/tmp/buildd/tex-guy-1.3.2/man' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/tmp/buildd/tex-guy-1.3.2/man' ... make[2]: *** [dvifontlist] Error 1 make[2]: Leaving directory `/tmp/buildd/tex-guy-1.3.2/dvifontlist-1.3.1' make[1]: *** [all] Error 2 make[1]: Leaving directory `/tmp/buildd/tex-guy-1.3.2' make: *** [build-stamp] Error 2 dpkg-buildpackage: failure: debian/rules build gave error exit status 2 This kind of error is usually a sign that the autoconf macro and ltmain.sh components of libtool are out of sync. (Also, why is it continuing to try to build after that compilation fails? If the Makefile is using a for loop, you may need to add a set -e; before it or a SHELL=/bin/sh -e to fix that.) -- Daniel Schepler -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org