Package: psmisc Version: 21.9-1 Severity: serious Tags: patch Justification: no longer builds from source
-- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.11-mb05.2 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages psmisc depends on: ii libc6 2.3.5-9 GNU C Library: Shared libraries an ii libncurses5 5.5-1 Shared libraries for terminal hand psmisc recommends no packages. -- no debconf information Follow up of pstree -a bug as in this report http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=338108 that should have been fixed on psmisc_21.9-1, I can't find i386 deb. So I tried to build from source. First attempt resulted in error: -- build log ----------------------------------------------- [EMAIL PROTECTED]:/tmp/psmisc-21.9$ debian/rules dh_testdir # Add here commands to compile the package. ../configure --prefix=/usr --mandir=\${prefix}/share/man checking for a BSD-compatible install... /usr/bin/install -c ( ... snip ... ) Making all in src make[3]: Entering directory `/tmp/psmisc-21.9/src' gcc -E -dM signames.c |\ tr -s '\t ' ' ' | sort -n -k 3 | sed \ 's:#define SIG\([A-Z]\+[0-9]*\) \([0-9]\+\) *\(\|/\*.*\)$:{\ \2,"\1" },:p;d' | \ grep -v '[0-9][0-9][0-9]' >signames.h || \ { rm -f signames.h; exit 1; } grep '^{ 1,"HUP" },$' signames.h >/dev/null || \ { rm -f signames.h; exit 1; } make[3]: *** [signames.h] Error 1 make[3]: Leaving directory `/tmp/psmisc-21.9/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/tmp/psmisc-21.9' make[1]: *** [all] Error 2 make[1]: Leaving directory `/tmp/psmisc-21.9' make: *** [build-stamp] Error 2 -- end ------------------------------------------------------ Then I tried to modify src/Makefile.in and the problem solved. I hope this fix is portable to non i386. -- patch ---------------------------------------------------- [EMAIL PROTECTED]:/tmp/psmisc-21.9$ diff -urN src/Makefile.in.orig src/Makefile.in --- src/Makefile.in.orig 2005-12-16 18:55:48 +0700 +++ src/Makefile.in 2005-12-20 23:10:58 +0700 @@ -459,8 +459,7 @@ signames.h: signames.c Makefile @CPP@ -dM $< |\ tr -s '\t ' ' ' | sort -n -k 3 | sed \ - 's:#define SIG\([A-Z]\+[0-9]*\) \([0-9]\+\) *\(\|/\*.*\)$$:{\ -\2,"\1" },:p;d' | \ + 's:#define SIG\([A-Z]\+[0-9]*\) \([0-9]\+\) *\(\|/\*.*\)$$:{\ \2,"\1" },:p;d' | \ grep -v '[0-9][0-9][0-9]' >signames.h || \ { rm -f signames.h; exit 1; } grep '^{ 1,"HUP" },$$' signames.h >/dev/null || \ -- end ------------------------------------------------------ -- build log ----------------------------------------------- [EMAIL PROTECTED]:/tmp/psmisc-21.9$ debian/rules dh_testdir # Add here commands to compile the package. ../configure --prefix=/usr --mandir=\${prefix}/share/man checking for a BSD-compatible install... /usr/bin/install -c ( ... snip ... ) Making all in src make[3]: Entering directory `/tmp/psmisc-21.9/src' gcc -E -dM signames.c |\ tr -s '\t ' ' ' | sort -n -k 3 | sed \ 's:#define SIG\([A-Z]\+[0-9]*\) \([0-9]\+\) *\(\|/\*.*\)$:{\ \2,"\1" },:p;d' | \ grep -v '[0-9][0-9][0-9]' >signames.h || \ { rm -f signames.h; exit 1; } grep '^{ 1,"HUP" },$' signames.h >/dev/null || \ { rm -f signames.h; exit 1; } /usr/bin/make all-am make[4]: Entering directory `/tmp/psmisc-21.9/src' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -MT fuser.o -MD -MP -MF ".deps/fuser.Tpo" -c -o fuser.o fuser.c; \ then mv -f ".deps/fuser.Tpo" ".deps/fuser.Po"; else rm -f ".deps/fuser.Tpo"; exit 1; fi ( ... snip ... ) make[1]: Leaving directory `/tmp/psmisc-21.9' touch build-stamp -- end ------------------------------------------------------ Regards, Andika Triwidada -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]