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

Re: Build-Depends



On Mon, Feb 26, 2001 at 12:03:17AM +0000, Julian Gilbey wrote:
> On Sun, Feb 25, 2001 at 09:32:01PM +0100, Enrique Robledo Arnuncio wrote:
> > > joost once told me that he believed that putting a wrapper around just
> > > the open and exec* calls should be safe; it was just that all of the
> > > functionality of libtricks together made it too much and caused
> > > breakages.
> > > 
> > 
> > That is what auto-apt seems to do. It wrapps open, open64, execv*, and also
> > "access", and some weird (for me) *xstat* functions.
> > 
> > OTOH, Ben's dpkg-genbuilddeps handles the vfork problem mentioned
> > before wrapping vfork and actually using the fork system call from it,
> > so it should be safer than using a plain strace, I guess.
> 
> Oh, cool!  I didn't realise it was so clever.
> 
> Ben, is there any chance of fixing the lintian errors and uploading it
> into the distribution?  There's one little nasty feature, though:
> there's no ability currently to use fakeroot.  That should be
> implemented; I'd prefer not to run builds as root.  And of course the
> tmp file is insecure.  But besides that, it's really cool!

Well, it should take arguments the same as dpkg-buildpackage (just use
it as if it was dpkg-buildpackage). As far as the temp file, I can take
a look at that.

I'd much prefer that someone else maintain this. I just don't see having
the time to improve it beyond it's current state. NOTE, Wichert said
some time back that strace might eventually support vfork, so the
package could end up arch-all.

Ben

-- 
 -----------=======-=-======-=========-----------=====------------=-=------
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'



Reply to: