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

Re: Experiences with compiling Debian

So, there's a first version of fakeroot sitting in

It still has severe limitations (for example, it only overloads stat etc,
not the fstat counterparts, but most things I tried used fstat[1]).

Also, as I didn't have a dpkg for libc6 (and I couldn't compile
it myself, don't have aclocal -- anyone knows where taht is?),
I couldn't even test fakeroot on building itself. But I have a strong
feeling it would have worked otherwise. And anyway, you
get a root prompt if you type

  $ fakeroot /bin/bash -l

and then you can do stuff like

  # touch file;          ls -al file;
  # chown root:adm file; ls -l file;
  # mknod block b 3 1;   ls -l block; 

Note that the LD_PRELOAD stuff only works for programmes that
are libc6 compiled (rather libc-same as libfakeroot.so.0.0), so
you'll also need libc versions of gzip, tar, fileutils. But those
packages at least are compileable.

[1] I'm caching the "fake stat data" fully inode-based now, so wrapping
    fstat (and fchown, ...) isn't any more difficult than stat. It's just
    that I didn't do it yet.

in short: it looks like there's nothing to stop me from making a 
working fakeroot package, but it's not this release isn't yet.

joost witteveen, joostje@debian.org
#!/usr/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
#what's this? see http://www.dcs.ex.ac.uk/~aba/rsa/

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: