On Fri, Mar 11, 2011 at 10:52:08AM -0800, Steve Langasek wrote:
Multiarch support is coming to Debian soon.  It would be helpful if cdbs
would start exporting DEB_HOST_MULTIARCH along with the other standard
dpkg-architecture variables.  (This variable will only be available once
dpkg 1.16.0 is uploaded; however there's no reason for cdbs not to start
exporting it now, it will just be empty until dpkg support is in place.)

Took me some time to get around to looking at this - sorry about that.

From a brief test it seems that it won't just be empty if unsupported but will fail with an exit code 9.

So seems to me to not make sense to apply your patch as-is: needs to at least fail gracefully.

Can someone perhaps help verify if the following (all on one line) is more sensible:

  DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH || true)


Thanks,

 - Jonas
--
  * Jonas Smedegaard - idealist & Internet-arkitekt
  * Tlf.: +45 40843136  Website: http://dr.jones.dk/

  [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: Digital signature

Reply via email to