pbuilder and binary-arch packages

Posted on May 8, 2012 with tags . See the previous or next posts.

Just got bitten by this, so note to self:

  • the pbuilder image might have installed iproute automatically, due to isc-dhcp-client dependency, so it’s not an entirely clean build environment
  • if you have a source package which generates both an arch:any and an arch:all package, make sure to test building “all” packages and only the binary one(s), via pbuilder --binary-arch; otherwise you might get surprises due to Build-Depends-Indep being pulled in by default

Yes, I’m talking about Debian bug #671981. Fun!