Package: gob
Version: 1.0.12-3
Severity: serious

Hi Mark,

Your changes in gob 1.0.12-3 cause the package to fail to build when using
-rsudo:

 /usr/bin/sudo debian/rules clean
[...]
# Add here commands to clean up after the build process.
cp src/parse.[ch] src/lexer.c debian
[...]
mv debian/parse.[ch] debian/lexer.c src
[...]

 debian/rules build
[...]
touch src/parse.[ch] src/lexer.c
touch: cannot touch `src/parse.c': Permission denied
touch: cannot touch `src/parse.h': Permission denied
touch: cannot touch `src/lexer.c': Permission denied
make: *** [build-stamp] Error 1
[...]

A full build log can be found at
<http://buildd.debian.org/fetch.cgi?pkg=gob&arch=alpha&ver=1.0.12-3&stamp=1179364175>.

The problem is that the cp in clean runs as root, so the newly created
copies are owned by root, and then moved to src/; then build runs as the
non-root user.

A simple fix here is probably to use cp -a in clean.

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/


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

Reply via email to