Package: checkinstall
Version: 1.6.1-2
Severity: normal

This is due to the os.listdir function. Installation scripts usually use it
whereas this function doesn't work if the --fstrans=no isn't passed.
An OSError exception is raised, reporting there is "no such file or directory":

        $ checkinstall -d2 --nodoc --maintainer jm -si --install=no -y \
        > python -c "import os; print os.listdir('/')"

        checkinstall 1.6.1, Copyright 2002 Felipe Eduardo Sanchez Diaz Duran
                   This software is released under the GNU GPL.

        debug: TAR=tar
        debug: VISUAL=

        debug: Setting umask => 0022
        debug: The temporary directory is: [ /var/tmp/paQmaJaHTjPkIapATYDaT ]


        *****************************************
        **** Debian package creation selected ***
        *****************************************

        This package will be built according to these values:

        0 -  Maintainer: [ jm ]
        1 -  Summary: [ Package created with checkinstall 1.6.1 ]
        2 -  Name:    [ checkinstall ]
        3 -  Version: [ 20070428 ]
        4 -  Release: [ 1 ]
        5 -  License: [ GPL ]
        6 -  Group:   [ checkinstall ]
        7 -  Architecture: [ amd64 ]
        8 -  Source location: [ checkinstall ]
        9 -  Alternate source location: [  ]
        10 - Requires: [  ]

        Enter a number to change any of them or press ENTER to continue:
        debug: CK_INCLUDE_FILE =

        Installing with python -c import os; print os.listdir('/')...

        ========================= Installation results 
===========================
        debug: INSTW_EXCLUD before sort 
=/tmp/jm/checkinstall,/dev,/proc,/tmp,/var/tmp
        debug: INSTW_EXCLUDE=/dev,/proc,/tmp,/tmp/jm/checkinstall,/var/tmp,
        debug: INSTW_ROOTPATH=/var/tmp/paQmaJaHTjPkIapATYDaT
        debug: INSTW_LOGFILE=/var/tmp/paQmaJaHTjPkIapATYDaT/newfiles.tmp
        debug: INSTW_DBGFILE=/var/tmp/paQmaJaHTjPkIapATYDaT/dbgfile
        debug: INSTW_DBGLVL=2
        Traceback (most recent call last):
          File "<string>", line 1, in ?
        OSError: [Errno 2] No such file or directory: '/'

        ****  Installation failed. Aborting package creation.

        Cleaning up...OK

        Bye.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.20.4-1 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages checkinstall depends on:
ii  file                          4.20-4     Determines file type using "magic"
ii  findutils                     4.2.30-1   utilities for finding files--find,
ii  libc6                         2.5-4      GNU C Library: Shared libraries

checkinstall recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to