Package: hwloc
Version: 2.1.0+dfsg-3
Severity: minor
Tags: patch
User: [email protected]
Usertags: origin-ubuntu focal ubuntu-patch

Hi Samuel,

In Ubuntu, we are in the process of moving the i386 architecture to a
compatibility-only layer on amd64.  As part of this, I am working to unpick
dependencies on rdma-core, which is not needed as part of the compatibility
set that we want to support and whose build-dependencies make it
unreasonable to support on i386 going forward.

One of the packages that build-depends on rdma-core and which is still in
our i386 compatibility set is hwloc.  When I dug into this, I found that
hwloc's build-dependency on libibverbs-dev is only used for building a test
binary, openfabrics-verbs, and that nothing in hwloc uses libibverbs at
runtime.

I've uploaded the attached patch to Ubuntu, because I don't think it makes
sense to build-depend on this complex stack merely to run an optional test
case.  Do you think this would be a reasonable change to make in Debian as
well?

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
[email protected]                                     [email protected]
diff -Nru hwloc-2.1.0+dfsg/debian/control hwloc-2.1.0+dfsg/debian/control
--- hwloc-2.1.0+dfsg/debian/control     2020-01-01 06:01:18.000000000 -0800
+++ hwloc-2.1.0+dfsg/debian/control     2020-01-28 10:18:21.000000000 -0800
@@ -7,7 +7,6 @@
   libnuma-dev [amd64 arm64 i386 ia64 mips mips64 mipsel mips64el powerpc 
ppc64el sparc],
   libxnvctrl-dev,
   libpciaccess-dev, libudev-dev [linux-any], pkg-config,
-  libibverbs-dev [linux-any],
   ocl-icd-opencl-dev [!hurd-i386] | opencl-dev, opencl-headers,
   autoconf (>= 2.63), w3m,
   dpkg-dev (>= 1.16)

Reply via email to