[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

fakeroot: log open() calls?



Package: fakeroot
Version: 0.4.4
Severity: wishlist

Hello Joost!

How easy would it be for fakeroot/faked to log all successful calls
to open(), so that a command such as:

  dpkg-buildpackage -r'fakeroot --log ../open.log'

will create a log of all successful open() calls.  For then one
could do something like

  dpkg -S `<extract filenames from open.log> | grep ^/ | sort | uniq` | \
    cut -d: -f1 | sort | uniq

to get a list of all packages used during the build.  In this way,
creation of the Build-Depends/Build-Depends-Indep lists could
initially be created automatically, requiring the developer only to
deal with details such as version numbers where applicable.

   Julian

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

  Julian Gilbey, Dept of Maths, QMW, Univ. of London. J.D.Gilbey@qmw.ac.uk
        Debian GNU/Linux Developer,  see http://www.debian.org/~jdg


Reply to: