Ximin Luo: > Ximin Luo: >> Christoph Goehre: >>> please don't build this way. Use 'dpkg-buildpackage' or debuild, >> >> Hi Christoph. I did mention in my previous email that this way doesn't work, >> and that is why I resorted to `dh build` in the first place. >> > > Hi, OK so the build starts with dpkg-buildpackage (it's still running for > me). However, the manual page says: > > "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. >
There's another problem: $ dpkg-buildpackage -b dpkg-buildpackage: source package icedove dpkg-buildpackage: source version 38.7.0-1 dpkg-buildpackage: source distribution unstable dpkg-buildpackage: source changed by Christoph Goehre <ch...@sigxcpu.org> dpkg-buildpackage: host architecture amd64 dpkg-source --before-build icedove-38.7.0 fakeroot debian/rules clean dh clean dh_testdir dh_auto_clean dh_clean debian/rules build make: 'build' is up to date. fakeroot debian/rules binary dh binary dh_testdir dh_update_autotools_config debian/rules override_dh_auto_configure make[1]: Entering directory '/media/xda1/data/infinity0/tmp/icedove/icedove-38.7.0' # update config.sub and config.guess dh_autotools-dev_updateconfig [..] 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. X -- GPG: ed25519/56034877E1F87C35 GPG: rsa4096/1318EFAC5FBBDBCE git://github.com/infinity0/pubkeys.git