On Wed, 09 Mar 2016 10:55:28 +0100, Jonas Smedegaard wrote: > Quoting Andreas Tille (2016-03-09 10:30:29) > > On Mon, Feb 22, 2016 at 09:50:41AM +0100, Michael Tautschnig wrote:
> > > Clean environment -> build succeeds > > > export DEB_BUILD_OPTIONS="noopt" -> build fails > > Would you suggest adding a check like this > > > > ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) > > echo "This package needs to be build with optimisation." > > false > > endif > > > > to debian/rules to comply with your request? > > That is not perl but make. > > This (untested) is slightly more elegant: > > ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) > $(error This package needs to be build with optimisation.) > endif JFTR: s/nocheck/noopt/ > I believe not being able to build without optimization is a violation of > Policy. Even if only a "should", definitely better to try get to the > bottom of this (read: give it more than 2 weeks and maybe also a larer > audience before giving up). Agreed, papering over the issue doesn't feel right. (And since it's no problem in pratice there is no immediate urgency either, so hopefully we can wait for someone to try and understand what's going on here.) Cheers, gregor -- .''`. Homepage https://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - https://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: Supertramp: Asylum
signature.asc
Description: Digital Signature

