Skip to contentSkip to conversation

Fix remaining Debian build failures

PATCH Applied Benjamin Drung 2 participants 5 messages Nov 16, 2017 – Nov 20, 2017 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

cover Fix remaining Debian build failures

Fix the remaining build failures on
https://buildd.debian.org/status/package.php?p=rdma-core and the Travis CI build failure.

Benjamin Drung (3):
debian: Include architecture.mk for DEB_HOST_ARCH definition
debian: Add alpha, hppa, sh4 as non-coherent DMA archs
debian: Do not require valgrind on x32

 debian/control | 2 +-
 debian/rules   | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)
Signature · 6 lines
2.14.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 20171116163246.29736-1-benjamin.drung-EIkl63zCoXaH+58JC4qpiA@public.gmane.org

#2 lore raw

PATCH 1/3 debian: Include architecture.mk for DEB_HOST_ARCH definition

dpkg-buildpackage will set DEB_HOST_ARCH, but a direct call of the debian/rules makefile will not set this environment variable. Therefore include /usr/share/dpkg/architecture.mk to get this variable set in all cases. This will fix the build failure on Travis CI.

---
 debian/rules | 2 ++
 1 file changed, 2 insertions(+)
debian/rules +2 -0
index b0fbe1d6..1201f6a6 100755
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 
+include /usr/share/dpkg/architecture.mk
+
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
 NO_COHERENT_DMA_ARCHS = armel armhf mips mips64el mipsel
Signature · 6 lines
2.14.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#3 lore raw

PATCH 2/3 debian: Add alpha, hppa, sh4 as non-coherent DMA archs

In reply to a message not in the archive

The architectures alpha, hppa, and sh4 do not support coherent DMA. Therefore also exclude those.

---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
debian/rules +1 -1
index 1201f6a6..030eb6b9 100755
@@ -4,7 +4,7 @@ include /usr/share/dpkg/architecture.mk
 
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
-NO_COHERENT_DMA_ARCHS = armel armhf mips mips64el mipsel
+NO_COHERENT_DMA_ARCHS = alpha armel armhf hppa mips mips64el mipsel sh4
 
 %:
 	dh $@ --with systemd --builddirectory=build-deb
Signature · 6 lines
2.14.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#4 lore raw

PATCH 3/3 debian: Do not require valgrind on x32

In reply to a message not in the archive

valgrind fails to build on x32 and therefore is not available on that architecture.

---
 debian/control | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
debian/control +1 -1
index 0426fd2e..cddc9db5 100644
@@ -15,7 +15,7 @@ Build-Depends: cmake (>= 2.8.11),
                ninja-build,
                pkg-config,
                python,
-               valgrind [!alpha !armel !hppa !m68k !powerpcspe !sh4 !sparc64]
+               valgrind [!alpha !armel !hppa !m68k !powerpcspe !sh4 !sparc64 !x32]
 Standards-Version: 4.1.1
 Vcs-Git: https://github.com/linux-rdma/rdma-core.git
 Vcs-Browser: https://github.com/linux-rdma/rdma-core
Signature · 6 lines
2.14.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html