hello, I just found a design fflaw of dpkg-architecture. It rerlies on the fact that environment variables are passed on to the debian/rules script, but makes happily overwrites them when specified in the makefile itself.
I didn't know this, honestly. What I had in mind is implemented in make through the "-e" option, which makes environment variables priority. So, until we decided on the optimal solution, we have to build with "-e" being the default. You can achieve that by setting: export MAKEFLAGS=-e before starting building packages that use dpkg-architecture variables. One such package is e2fsprogs. This is also a bug in e2fsprogs, because native building should be the default anyway. However, this bug triggers the other bug. Doh! Thanks, Marcus -- `Rhubarb is no Egyptian god.' Debian http://www.debian.org finger brinkmd@ Marcus Brinkmann GNU http://www.gnu.org master.debian.org [EMAIL PROTECTED] for public PGP Key http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/ PGP Key ID 36E7CD09

