Your message dated Mon, 30 Apr 2018 17:35:14 +0000
with message-id <[email protected]>
and subject line Bug#894995: fixed in rdma-core 17.1-2
has caused the Debian Bug report #894995,
regarding rdma-core: Please add support for new architecture "riscv64" (RISC-V
64 bits little-endian)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
894995: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=894995
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: rdma-core
Version: 17.1-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: riscv64
Hello,
The current version of this package doesn't build for the riscv64 port.
First it fails to be considered to build (due to missing valgrind) and, when
fixing that problem, FBTFS, because of missing files (see at bottom).
I applied the same fix as for many other arches, which is to add the arch to the
list of NO_COHERENT_DMA_ARCHS in debian/rules.
I am not sure if support could be added at a later date, but for the time being,
seems to be the best way to get it working -- I don't know enough details of the
architecture or the assembly language to get the necessary incantations in
place.
So please, consider to apply the patch attached, to add support for the new
architecture.
Thanks and cheers.
--
Manuel A. Fernandez Montecelo <[email protected]>
===========================================================
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_install --fail-missing -X"etc/init.d/srpd" -X"usr/sbin/run_srp_daemon"
-X"usr/sbin/srp_daemon.sh"
dh_install: Please use dh_missing --list-missing/--fail-missing instead
dh_install: This feature will be removed in compat 12.
dh_install: Cannot find (any matches for) "etc/modprobe.d/mlx4.conf" (tried in
., debian/tmp)
dh_install: rdma-core missing files: etc/modprobe.d/mlx4.conf
dh_install: Cannot find (any matches for) "usr/lib/*/libmlx4.so.*" (tried in .,
debian/tmp)
dh_install: ibverbs-providers missing files: usr/lib/*/libmlx4.so.*
dh_install: Cannot find (any matches for) "usr/lib/*/libmlx5.so.*" (tried in .,
debian/tmp)
dh_install: ibverbs-providers missing files: usr/lib/*/libmlx5.so.*
dh_install: Cannot find (any matches for) "usr/include/infiniband/mlx4dv.h"
(tried in ., debian/tmp)
dh_install: libibverbs-dev missing files: usr/include/infiniband/mlx4dv.h
dh_install: Cannot find (any matches for) "usr/include/infiniband/mlx5dv.h"
(tried in ., debian/tmp)
dh_install: libibverbs-dev missing files: usr/include/infiniband/mlx5dv.h
dh_install: Cannot find (any matches for) "usr/lib/*/libmlx4.so" (tried in .,
debian/tmp)
dh_install: libibverbs-dev missing files: usr/lib/*/libmlx4.so
dh_install: Cannot find (any matches for) "usr/lib/*/libmlx5.so" (tried in .,
debian/tmp)
dh_install: libibverbs-dev missing files: usr/lib/*/libmlx5.so
dh_install: Cannot find (any matches for) "usr/share/man/man3/mlx4dv_*.3"
(tried in ., debian/tmp)
dh_install: libibverbs-dev missing files: usr/share/man/man3/mlx4dv_*.3
dh_install: Cannot find (any matches for) "usr/share/man/man3/mlx5dv_*.3"
(tried in ., debian/tmp)
dh_install: libibverbs-dev missing files: usr/share/man/man3/mlx5dv_*.3
dh_install: Cannot find (any matches for) "usr/share/man/man7/mlx4dv.7" (tried
in ., debian/tmp)
dh_install: libibverbs-dev missing files: usr/share/man/man7/mlx4dv.7
dh_install: Cannot find (any matches for) "usr/share/man/man7/mlx5dv.7" (tried
in ., debian/tmp)
dh_install: libibverbs-dev missing files: usr/share/man/man7/mlx5dv.7
dh_install: missing files, aborting
make[1]: *** [debian/rules:60: override_dh_install] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:10: binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit
status 2
===========================================================
diff -Nru rdma-core-17.1/debian/changelog rdma-core-17.1/debian/changelog
--- rdma-core-17.1/debian/changelog 2018-03-19 13:32:31.000000000 +0100
+++ rdma-core-17.1/debian/changelog 2018-04-05 22:59:07.000000000 +0200
@@ -1,3 +1,13 @@
+rdma-core (17.1-1~0.riscv64.1) unreleased; urgency=medium
+
+ * Non-maintainer upload.
+ * Add support for riscv64:
+ - Disable valgrind build-dependency, not available
+ - Add to NO_COHERENT_DMA_ARCHS in d/rules (FTBFS otherwise, code not
+ ready yet)
+
+ -- Manuel A. Fernandez Montecelo <[email protected]> Thu, 05 Apr 2018 22:59:07
+0200
+
rdma-core (17.1-1) unstable; urgency=medium
* New upstream bugfix release.
diff -Nru rdma-core-17.1/debian/control rdma-core-17.1/debian/control
--- rdma-core-17.1/debian/control 2018-03-19 13:30:01.000000000 +0100
+++ rdma-core-17.1/debian/control 2018-04-05 22:59:07.000000000 +0200
@@ -12,7 +12,7 @@
ninja-build,
pkg-config,
python,
- valgrind [!alpha !armel !hppa !ia64 !m68k !powerpcspe !sh4
!sparc64 !x32]
+ valgrind [!alpha !armel !hppa !ia64 !m68k !powerpcspe !sh4
!sparc64 !x32 !riscv64]
Standards-Version: 4.1.3
Vcs-Git: https://github.com/linux-rdma/rdma-core.git
Vcs-Browser: https://github.com/linux-rdma/rdma-core
diff -Nru rdma-core-17.1/debian/rules rdma-core-17.1/debian/rules
--- rdma-core-17.1/debian/rules 2018-03-19 13:30:01.000000000 +0100
+++ rdma-core-17.1/debian/rules 2018-04-05 22:59:07.000000000 +0200
@@ -4,7 +4,7 @@
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
-NO_COHERENT_DMA_ARCHS = alpha armel armhf hppa m68k mips mips64el mipsel sh4
+NO_COHERENT_DMA_ARCHS = alpha armel armhf hppa m68k mips mips64el mipsel
riscv64 sh4
%:
dh $@ --builddirectory=build-deb
--- End Message ---
--- Begin Message ---
Source: rdma-core
Source-Version: 17.1-2
We believe that the bug you reported is fixed in the latest version of
rdma-core, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Benjamin Drung <[email protected]> (supplier of updated rdma-core
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 30 Apr 2018 19:01:44 +0200
Source: rdma-core
Binary: rdma-core ibacm ibverbs-providers ibverbs-utils libibverbs-dev
libibverbs1 libibumad-dev libibumad3 librdmacm-dev librdmacm1 rdmacm-utils
srptools
Architecture: source
Version: 17.1-2
Distribution: unstable
Urgency: medium
Maintainer: Benjamin Drung <[email protected]>
Changed-By: Benjamin Drung <[email protected]>
Description:
ibacm - InfiniBand Communication Manager Assistant (ACM)
ibverbs-providers - User space provider drivers for libibverbs
ibverbs-utils - Examples for the libibverbs library
libibumad-dev - Development files for libibumad
libibumad3 - InfiniBand Userspace Management Datagram (uMAD) library
libibverbs-dev - Development files for the libibverbs library
libibverbs1 - Library for direct userspace use of RDMA (InfiniBand/iWARP)
librdmacm-dev - Development files for the librdmacm library
librdmacm1 - Library for managing RDMA connections
rdma-core - RDMA core userspace infrastructure and documentation
rdmacm-utils - Examples for the librdmacm library
srptools - Tools for Infiniband attached storage (SRP)
Closes: 894995
Changes:
rdma-core (17.1-2) unstable; urgency=medium
.
* Support for new architecture riscv64 (Closes: #894995) by
- Whitelist (instead of blacklist) architectures that support valgrind
- Whitelist (instead of blacklist) coherent DMA supporting architectures
* Bump Standards-Version to 4.1.4 (no changes needed)
Checksums-Sha1:
d1afa4b10cc7692ca01f6fca3bda255924d3f1f2 2735 rdma-core_17.1-2.dsc
34e48e0be8e8b6a8153b505c62534f4333936b31 17824 rdma-core_17.1-2.debian.tar.xz
08cd98ac782ff1ebe39e948ef858e44f5aa56bc4 8877 rdma-core_17.1-2_source.buildinfo
Checksums-Sha256:
f049046cc89ec7f788f1addc404e5d8c97cb98c9ce131558d875af80b4cd1342 2735
rdma-core_17.1-2.dsc
27b358ae24830949cf993475e3c37307c7ea7e362a4db26d17f16d37b133f5cd 17824
rdma-core_17.1-2.debian.tar.xz
558267e3517bf65052a8f4b050fb2835758a935d68c73dcb7305d484d34c1e88 8877
rdma-core_17.1-2_source.buildinfo
Files:
f7696d9f6c4c27ec43af1d6ebfd80493 2735 net optional rdma-core_17.1-2.dsc
69cd5fa44481033e020181e2d77d5d5c 17824 net optional
rdma-core_17.1-2.debian.tar.xz
130e16563b7add5bc7492bb893b7c0d7 8877 net optional
rdma-core_17.1-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE5/q3CzlQJ15towl13YzVpd6MfnoFAlrnTR8ACgkQ3YzVpd6M
fno8VRAApGVIO9V/SK3jjiXHJs0ibwarpStc86TrQQgw+o31IDISqm5ws2pnHSXw
4XGIBf8qghL6KXBLHxgVtJJPFKBOO3FwmMtyQSU+M1K/0mU+ox6SCoqqMH7bgxlA
ZsdIS8vI4S4+TbbCf2pbdmD9INDqwPYntL94v9kfTLtjPPqr3JIZK1SxHnkBB7U3
l/1QW6YfxYEU8hZE7l9qKzgCM7jFV1S3cR7pYBX+qf6mAL6KPfIMFsI6WW5uoCp9
7uyBGuCFTbfr4tS+lGz0dgmkPfwgscXRhJjTvuMkHNN2CmVdZb0o338VzuX+96d4
nwg6Z/cXgAgTdXxLtw+kuXFSsHb2tlhMlE3q/dHZ3VBPVRQc0/1aPuOxtbdjbMUr
8ZxlEf6CodzuaFmwenJV7B9zQhAqYytRzG5XjinW/Uxo7DPGPp7k456DaB0pv0Rf
PAflWJvN0khlvUK0CtCORp4ygZjGHfPQ5qkVmxDSGHcqFNTIblXO3I0BOUBb9Pip
EA4T64euF5TcMiu+MZfpq8+N5pC+BnzHyoXKCI4QhK1YUWjk9gZZ2O6YvtWgCIgq
qf+YQsI6xletChNYdbNA+wGLQwrE/auWzU9inHBs3PtoYpn09q3ouPq7h+uT6qqn
gjqj1IpcNMEPMHsEKgbnCA6ZQAYeW4NZRcbU/ud6UyDo0f+5lj0=
=wgeI
-----END PGP SIGNATURE-----
--- End Message ---