Re: Fakeroot to obsolete DESTDIR

2003-04-11 Thread Matthias Urlichs
Hi, On Thu, 10 Apr 2003 12:26:38 +, Wesley W. Terpstra wrote: > What I propose to do is to slightly extend fakeroot to also intercept > open/diropen. If the open call would create a file, redirect it to > /.../debian/tmp or some such location. If the call would open a file, > first check /.../

Re: Fakeroot to obsolete DESTDIR

2003-04-10 Thread Andrew Suffield
On Thu, Apr 10, 2003 at 03:38:10PM -0400, Joey Hess wrote: > Wesley W. Terpstra wrote: > > 1: libtool cannot relink inter-dependent libraries during a staged install. > > > On the topic of 1, cvs libtool can do this with an undocumented command-line > > flag. However, it still prefers the installe

Re: Fakeroot to obsolete DESTDIR

2003-04-10 Thread Joey Hess
Wesley W. Terpstra wrote: > 1: libtool cannot relink inter-dependent libraries during a staged install. > On the topic of 1, cvs libtool can do this with an undocumented command-line > flag. However, it still prefers the installed location over the staged > location. So, if you link to -L/.../debi

Re: Fakeroot to obsolete DESTDIR

2003-04-10 Thread Joey Hess
Andrew Suffield wrote: > Read the fakeroot manpage for an explanation of why fakeroot does not > wrap open(). The real way around this is to wrap open() and create(), but that creates other problems, as dem

Re: Fakeroot to obsolete DESTDIR

2003-04-10 Thread Steve Langasek
On Thu, Apr 10, 2003 at 02:26:38PM +0200, Wesley W. Terpstra wrote: > After running into yet two more problems with staged installs ala DESTDIR, > I was reminded of an idea I originally had for fink packages. > ... but, let's begin from the beginning. > Why is DESTDIR a problem? > --- > 1: libtoo

Re: Fakeroot to obsolete DESTDIR

2003-04-10 Thread Andrew Suffield
On Thu, Apr 10, 2003 at 02:26:38PM +0200, Wesley W. Terpstra wrote: > What I propose to do is to slightly extend fakeroot to also intercept > open/diropen. If the open call would create a file, redirect it to > /.../debian/tmp or some such location. If the call would open a file, first > check /...

Fakeroot to obsolete DESTDIR

2003-04-10 Thread Wesley W. Terpstra
After running into yet two more problems with staged installs ala DESTDIR, I was reminded of an idea I originally had for fink packages. ... but, let's begin from the beginning. Why is DESTDIR a problem? --- 1: libtool cannot relink inter-dependent libraries during a staged install. 2: some upst