On 28 December 2015 at 08:19, Steve M. Robbins <st...@sumost.ca> wrote:
> I understand that the lack of Boost.Context support for certain architectures
> will cause software using Boost.Context to fail to build on those
> architectures.
>
> I don't follow how the empty binary package is involved in the FTBFS.

If the package build-depends on libboost-context-dev, it makes the
difference between 'Build-Attempted' and 'BD-Uninstallable'.

I had a look at which architectures have Boost.Context, and found the
inclusive list is far shorter than the exclusive list (especially if
architecture wildcards are used).  Assuming bug #794622 fixes building
on x32, the following list should work for boost 1.58 (arm64 should be
added in 1.59 [1]):

any-i386 any-amd64 armel armhf mips mipsel powerpc ppc64el

Please see the attached patch (untested).

[1] 
https://github.com/boostorg/context/commit/8481d3ccfc8e9cd3b689c43418e27ccfe722fcb2
--- a/control.in
+++ b/control.in
@@ -117,8 +117,8 @@
  libboost1.58-tools-dev,
  libboost-atomic1.58-dev,
  libboost-chrono1.58-dev,
- libboost-context1.58-dev,
- libboost-coroutine1.58-dev,
+ libboost-context1.58-dev [any-i386 any-amd64 armel armhf mips mipsel powerpc ppc64el],
+ libboost-coroutine1.58-dev [any-i386 any-amd64 armel armhf mips mipsel powerpc ppc64el],
  libboost-date-time1.58-dev,
  libboost-exception1.58-dev,
  libboost-filesystem1.58-dev,
@@ -318,7 +318,7 @@
 
 Package: libboost-context1.58.0
 Homepage: http://www.boost.org/libs/context/
-Architecture: any
+Architecture: any-i386 any-amd64 armel armhf mips mipsel powerpc ppc64el
 Multi-Arch: same
 Section: libs
 Depends: ${misc:Depends}, ${shlibs:Depends}
@@ -338,7 +338,7 @@
 
 Package: libboost-context1.58-dev
 Homepage: http://www.boost.org/libs/context/
-Architecture: any
+Architecture: any-i386 any-amd64 armel armhf mips mipsel powerpc ppc64el
 Multi-Arch: same
 Section: libdevel
 Depends: ${misc:Depends},
@@ -360,7 +360,7 @@
 
 Package: libboost-coroutine1.58-dev
 Homepage: http://www.boost.org/libs/coroutine/
-Architecture: any
+Architecture: any-i386 any-amd64 armel armhf mips mipsel powerpc ppc64el
 Multi-Arch: same
 Section: libdevel
 Depends: ${misc:Depends},

Reply via email to