Fix remaining Debian build failures
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
PATCH 1/3 debian: Include architecture.mk for DEB_HOST_ARCH definition
In reply to a message not in the archivedpkg-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
@@ -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
PATCH 2/3 debian: Add alpha, hppa, sh4 as non-coherent DMA archs
In reply to a message not in the archiveThe 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
@@ -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
PATCH 3/3 debian: Do not require valgrind on x32
In reply to a message not in the archivevalgrind 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
@@ -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
Leon Romanovsky
AppliedQuoted 9 lines · Benjamin Drung
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 forDEB_HOST_ARCHdefinition
debian: Add alpha, hppa, sh4 as non-coherent DMA archs
debian: Do not require valgrind on x32
Thanks, applied.