[DebianGIS-dev] Bug#351869: mapserver_4.6.2-1 (unstable/alpha): FTBFS: doesn't build under sudo

Steve Langasek vorlon at debian.org
Wed Feb 8 01:49:38 UTC 2006


Package: mapserver
Version: 4.6.2-1
Severity: serious

The latest version of mapserver has failed to build on alpha with the
following error:

[...]
touch mapscriptvars
touch: cannot touch 
apscriptvars': Permission denied
make[1]: *** [mapscriptvars] Error 1
make[1]: Leaving directory /build/buildd/mapserver-4.6.2'
make: *** [build-arch-stamp] Error 2
[...]

A full build log is available at
<http://buildd.debian.org/fetch.php?pkg=mapserver&arch=alpha&ver=4.6.2-1&stamp=1139283445&file=log>.

This failure occurs because the alpha autobuilder uses sudo instead of
fakeroot for building, and mapserver does not have a clean separation
between its "clean" and "build" targets.  The "clean" target is specified as
running under rootcmd; you should therefore *not* be creating files in
"clean".  (That, and creating files in "clean" is somewhat backwards...)

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon at debian.org                                   http://www.debian.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20060207/2e4692b7/attachment.pgp


More information about the Pkg-grass-devel mailing list