[Debian GNUstep maintainers] Bug#332829: writes outside of buildd directory

Hubert Chan hubert at uhoreg.ca
Fri Nov 11 17:29:48 UTC 2005


reassign 332829 gnustep-make
retitle 332829 should not use user-domain Headers when building Debian packages
severity 332829 important
thanks

On Thu, 10 Nov 2005 09:30:57 -0600, Stephen R Marenka said:

> It looks to me like all those errors are trying to read and write to
> the user's home directory. Some buildds don't have those and packages
> shouldn't be doing that at build-time anyway.

Ah, thanks.  It's not trying to write to the user's home directory.
It's just trying to *read*.  And for some strange reason, the user
doesn't even have permission to *read* from his home directory (which I
would consider a misconfigured buildd).  If the directory simply didn't
exist, there would be no problem.

Anyways, gnustep-make probably shouldn't be trying to include the
Headers (or Libraries, or etc.) from the user domain when it's run under
dpkg-buildpackage, since I think we want a (relatively) clean build
environment.  I guess this can be checked by checking for the presence
of a debian/ directory (or debian/control, to be less brittle), or
checking for one of the environment variables that dpkg-buildpackage
sets.

-- 
Hubert Chan <hubert at uhoreg.ca> - http://www.uhoreg.ca/
PGP/GnuPG key: 1024D/124B61FA
Fingerprint: 96C5 012F 5F74 A5F7 1FF7  5291 AF29 C719 124B 61FA
Key available at wwwkeys.pgp.net.   Encrypted e-mail preferred.





More information about the pkg-GNUstep-maintainers mailing list