tags 819020 pending thanks Hi Ximin,
On Wed, Apr 13, 2016 at 10:00:07PM +0200, Ximin Luo wrote: > "Even if dpkg-buildpackage exports some variables, debian/rules should > not rely on their presence and should instead use the respective > interface to retrieve the needed values." > > Can you please fix that? This non-standard hard requirement on > dpkg-buildpackage makes it impossible to execute individual stages of > the build, and also wastes developers' time trying to get basic > processes to work. I export the necessary DEB_* vars now in debian/rules, see[1]. > There's another problem: > > $ dpkg-buildpackage -b > debian/rules build > make: 'build' is up to date. > > For some reason, you are building everything in the "binary" target > and not the "build" target. This also needs to be fixed. Actually this > is the cause of my original "dh build" problem, but any > hard-requirement on environment variables should *also* be fixed. Ooh, this was a tough one. Make stumble over a directory named 'build' and has nothing to do for it. It takes me some hours to find and fix this glitch[2]. Cheers, Christoph [1] http://anonscm.debian.org/cgit/pkg-mozilla/icedove.git/commit/?id=34dd2790d1f8a040c3ae936bba059cd3477d6140 [2] http://anonscm.debian.org/cgit/pkg-mozilla/icedove.git/commit/?id=54ed88d1a5c27fa08cbb18ebc89408812ef60377