Hi,

On Thu, Apr 13, 2006 at 10:56:27AM -0700, Ryan Murray wrote:
> >  /usr/bin/sudo debian/rules clean
> > dh_testdir
> > dh_testroot
> > rm -f configure-stamp build-stamp
> > rm -rf /build
> > dh_clean
> > dh_clean: cannot read debian/control: No such file or directory
> > 
> > make: *** [clean] Error 1
> 
> rm -rf /build ?!?!??!  

The new sudo stripped the $PWD from the environment and thus the
$(PWD)/build from the clean rule, sorry about that.

> Those using fakeroot were spared, but the package still fails to build
> from source on them as you delete yourself before dh_clean can run.
> One should never delete files outside the unpacked source dir like
> this...

It should build fine on buildds using fakeroot as that doesn't strip the
environment in a similar way as sudo.  At least, it did when I built
them for the upload:

|Automatic build of libopensync-plugin-evolution2_0.18-1 on nighthawk by 
sbuild/i386 1.7
|Build started at 20060326-1304
[...]
| /usr/bin/fakeroot debian/rules clean
[...]
|rm -rf /build/mbanck/libopensync-plugin-evolution2-0.18/build


cheers,

Michael

-- 
Michael Banck
Debian Developer
[EMAIL PROTECTED]
http://www.advogato.org/person/mbanck/diary.html


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

Reply via email to