[Build-common-hackers] Bug#396382: cdbs: pysupport and debhelper create an unusable portinst file

Oliver Cordes ocordes at astro.uni-bonn.de
Tue Oct 31 18:50:52 CET 2006


Package: cdbs
Version: 0.4.47
Severity: important

I'm using python to write some small daemons. The packaging just works
fine except that the postinst file is unusable:


 ---

# Automatically added by dh_installinit
if [ -x "/etc/init.d/triggerfam" ]; then
        update-rc.d triggerfam defaults >/dev/null
        if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
                invoke-rc.d triggerfam start || exit $?
        else
                /etc/init.d/triggerfam start || exit $?
        fi
fi
# End automatically added section
# Automatically added by dh_pysupport
if [ "$1" = "configure" ] && which update-python-modules >/dev/null
2>&1; then
        update-python-modules -i /usr/share/python-support/triggerfam
fi
# End automatically added section

 ---

In this file the necessary modules are created after the deaemon should
start ... that is sometimes impossible because I need the modules for
starting the daemon. Please change the order of the commands
dh_installinit and dh_pysupport ....

Oliver

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

cdbs depends on no packages.

Versions of packages cdbs recommends:
ii  autotools-dev                 20060920.1 Update infrastructure for config.{
ii  debhelper                     5.0.40     helper programs for debian/rules

-- no debconf information




More information about the Build-common-hackers mailing list