severity 703811 wishlist thanks Hi,
On Sun, Mar 24, 2013 at 12:44:34AM +0100, Vincent Lefevre wrote: > Package: maint-guide > Version: 1.2.31 > Severity: normal > > /usr/share/doc/maint-guide/html/build.en.html says: ... > but this can lead to incorrect build or build failure because the > environment is not sanitized, like here: > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696290 > > The documentation should tell to use debuild instead. The debuild > command is mentioned later in this HTML file, but for automation only; > nothing is said about the environment problem. What environment problem? Let me see: On 2013-03-23 22:04:42 +0100, Sébastien Villemot wrote: > I beg to disagree. It's not up to the package build system to verify > that the PATH contains /bin and /usr/bin, or that no core utility is > overridden by some custom binary in the PATH. Otherwise almost all > packages in the Debian archive are buggy. Yah, if one sets up an insane customization, even debuild will fail. I bet pdebuild results are more reliable than those of dbuild if Vincent wishes to push this line of thought. So I am basically with Sébastien. Also more wrapper around dpkg-buildpackage makes things too complicated to investigate failure point. So I really do not feel like overriding THE most important tool by anything else. (Of course running 'debian/rules' is not right just because it is simpler in mechanism.) Having said it and also having seen some highly skilled DD hitting this insane build environment situation, so what is needed is to add note as follows in nicer text: * No strange customization of the build system. ** PATH ** locale ** no locally-build interfaring packages This kind of precaution text somewhere may be a thought to address for Jessie :-) (Use of debuild only protects you a small fraction of these risky situation.) Osamu -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

