Package: liferea Version: 1.0.27-1 Severity: minor *** Please type your report below this line ***
liferea's wrapper startup script depends upon the shell passing in a full path for $0, which is not always the case. For example, when running under valgrind: [EMAIL PROTECTED]:~> valgrind liferea ==25483== Memcheck, a memory error detector. [...] /usr/bin/liferea: line 18: /home/jrodman/liferea-bin: No such file or directory /usr/bin/liferea: line 18: exec: /home/jrodman/liferea-bin: cannot execute: No such file or directory [...] Or when trying to see, for example, how the wrapper works: [EMAIL PROTECTED]:~> sh -x liferea ++ dirname liferea + dist_bin=. + params= + LD_LIBRARY_PATH=: + export LD_LIBRARY_PATH + '[' -z '' ']' ++ dbus-launch + eval DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-rGNlw7uW3u,guid=affb28b60b54567c91286f0045b964cd DBUS_SESSION_BUS_PID=25514 ++ DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-rGNlw7uW3u,guid=affb28b60b54567c91286f0045b964cd ++ DBUS_SESSION_BUS_PID=25514 + export DBUS_SESSION_BUS_ADDRESS + exec ./liferea-bin /usr/bin/liferea: line 18: /home/jrodman/liferea-bin: No such file or directory /usr/bin/liferea: line 18: exec: /home/jrodman/liferea-bin: cannot execute: No such file or directory If computing dist_bin is truly required, consider defaulting it to /usr/bin, in the case that $(basename $0) == $0 eg. --- liferea.orig 2007-01-25 18:20:27.000000000 -0800 +++ liferea 2007-01-25 18:23:22.000000000 -0800 @@ -4,7 +4,13 @@ # This script should be used to start Liferea # to ensure a running DBUS session. -dist_bin=`dirname $0` +# default +dist_bin=/usr/bin + +# autodetect alternate location when $0 provides information +if [ "`basename $0`" != "$0" ]; then + dist_bin=`dirname $0` +fi params="$@" LD_LIBRARY_PATH=:$LD_LIBRARY_PATH -- System Information: Debian Release: 4.0 APT prefers testing APT policy: (990, 'testing') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.19.2-jsr1 Locale: LANG=en_US.iso88591, LC_CTYPE=en_US.iso88591 (charmap=ISO-8859-1) Versions of packages liferea depends on: ii dbus-1-utils 1.0.2-1 simple interprocess messaging syst ii gconf2 2.16.0-3 GNOME configuration database syste ii libatk1.0-0 1.12.4-1 The ATK accessibility toolkit ii libc6 2.3.6.ds1-8 GNU C Library: Shared libraries ii libcairo2 1.2.4-4 The Cairo 2D vector graphics libra ii libdbus-1-3 1.0.2-1 simple interprocess messaging syst ii libdbus-glib-1-2 0.71-3 simple interprocess messaging syst ii libfontconfig1 2.4.2-1 generic font configuration library ii libgconf2-4 2.16.0-3 GNOME configuration database syste ii libglib2.0-0 2.12.4-2 The GLib library of C routines ii libgtk2.0-0 2.8.20-3 The GTK+ graphical user interface ii libice6 1:1.0.1-2 X11 Inter-Client Exchange library ii liborbit2 1:2.14.3-0.1 libraries for ORBit2 - a CORBA ORB ii libpango1.0-0 1.14.8-4 Layout and rendering of internatio ii libsm6 1:1.0.1-3 X11 Session Management library ii libx11-6 2:1.0.3-4 X11 client-side library ii libxcursor1 1.1.7-4 X cursor management library ii libxext6 1:1.0.1-2 X11 miscellaneous extension librar ii libxfixes3 1:4.0.1-5 X11 miscellaneous 'fixes' extensio ii libxi6 1:1.0.1-4 X11 Input extension library ii libxinerama1 1:1.0.1-4.1 X11 Xinerama extension library ii libxml2 2.6.27.dfsg-1 GNOME XML library ii libxrandr2 2:1.1.0.2-5 X11 RandR extension library ii libxrender1 1:0.9.1-3 X Rendering Extension client libra ii liferea-gtkhtml 1.0.27-1 gtkhtml-based rendering library fo ii zlib1g 1:1.2.3-13 compression library - runtime liferea recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]