Your message dated Thu, 31 Oct 2019 20:13:56 +0000
with message-id <[email protected]>
and subject line Bug#924611: fixed in vtk7 7.1.1+dfsg2-1~exp1
has caused the Debian Bug report #924611,
regarding vtk7: please add support for riscv64
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.)


-- 
924611: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=924611
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:vtk7
Version: 7.1.1+dfsg1-12
Severity: normal
Tags: upstream patch
User: [email protected]
Usertags: riscv64

Hi,

vtk7 currently fails to build on the riscv64 architecture as it can be
seen on the following build log excerpt:

| In file included from /<<PKGBUILDDIR>>/Utilities/KWIML/vtkkwiml/abi.h:2,
|                  from 
/<<PKGBUILDDIR>>/debian/build/Utilities/KWIML/vtk_kwiml.h:19,
|                  from /<<PKGBUILDDIR>>/Common/Core/vtkType.h:19,
|                  from /<<PKGBUILDDIR>>/Wrapping/Tools/vtkParse.tab.c:180:
| /<<PKGBUILDDIR>>/Utilities/KWIML/vtkkwiml/include/kwiml/abi.h:472:3: error: 
#error "Byte order of target CPU unknown."
|  # error "Byte order of target CPU unknown."
|    ^~~~~
| [  0%] Linking C executable ../../bin/vtkWrapTclInit-7.1

The full build log is available there:
https://buildd.debian.org/status/fetch.php?pkg=vtk7&arch=riscv64&ver=7.1.1%2Bdfsg1-12&stamp=1552472983&raw=0

vtk7 has a list of define per architecture to define the endianness and
riscv64 is missing. This has already been fixed upstream:
https://gitlab.kitware.com/vtk/vtk/blob/master/Utilities/KWIML/vtkkwiml/include/kwiml/abi.h

The attached patch is a backport from the upstream changes. It would be
nice if you can include it in the next upload.

Thanks,
Aurelien
diff -Nru vtk7-7.1.1+dfsg1/debian/patches/112_riscv_support.patch 
vtk7-7.1.1+dfsg1/debian/patches/112_riscv_support.patch
--- vtk7-7.1.1+dfsg1/debian/patches/112_riscv_support.patch     1970-01-01 
00:00:00.000000000 +0000
+++ vtk7-7.1.1+dfsg1/debian/patches/112_riscv_support.patch     2019-03-13 
21:37:13.000000000 +0000
@@ -0,0 +1,15 @@
+Changes taken from 
https://gitlab.kitware.com/vtk/vtk/blob/master/Utilities/KWIML/vtkkwiml/include/kwiml/abi.h
+
+--- vtk7-7.1.1+dfsg1.orig/Utilities/KWIML/vtkkwiml/include/kwiml/abi.h
++++ vtk7-7.1.1+dfsg1/Utilities/KWIML/vtkkwiml/include/kwiml/abi.h
+@@ -467,6 +467,10 @@ suppression macro KWIML_ABI_NO_VERIFY wa
+ #elif defined(__XTENSA_EL__)
+ # define KWIML_ABI_ENDIAN_ID KWIML_ABI_ENDIAN_ID_LITTLE
+ 
++/* RISC-V */
++#elif defined(__riscv) || defined(__riscv__)
++# define KWIML_ABI_ENDIAN_ID KWIML_ABI_ENDIAN_ID_LITTLE 
++
+ /* Unknown CPU */
+ #elif !defined(KWIML_ABI_NO_ERROR_ENDIAN)
+ # error "Byte order of target CPU unknown."
diff -Nru vtk7-7.1.1+dfsg1/debian/patches/series 
vtk7-7.1.1+dfsg1/debian/patches/series
--- vtk7-7.1.1+dfsg1/debian/patches/series      2018-12-17 09:03:58.000000000 
+0000
+++ vtk7-7.1.1+dfsg1/debian/patches/series      2019-03-13 21:37:13.000000000 
+0000
@@ -17,3 +17,4 @@
 109_java-jar-nonjavafiles.patch
 110_python-371.patch
 111_fix_perl.patch
+112_riscv_support.patch

--- End Message ---
--- Begin Message ---
Source: vtk7
Source-Version: 7.1.1+dfsg2-1~exp1

We believe that the bug you reported is fixed in the latest version of
vtk7, 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.
Gert Wollny <[email protected]> (supplier of updated vtk7 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: SHA256

Format: 1.8
Date: Sun, 25 Aug 2019 22:15:51 +0200
Source: vtk7
Binary: libvtk7-dev libvtk7-java libvtk7-java-dbgsym libvtk7-jni 
libvtk7-jni-dbgsym libvtk7-qt-dev libvtk7.1p libvtk7.1p-dbgsym libvtk7.1p-qt 
libvtk7.1p-qt-dbgsym python3-vtk7 python3-vtk7-dbgsym tcl-vtk7 tcl-vtk7-dbgsym 
vtk7 vtk7-dbgsym vtk7-doc vtk7-examples
Architecture: source amd64 all
Version: 7.1.1+dfsg2-1~exp1
Distribution: experimental
Urgency: medium
Maintainer: Debian Science Team 
<[email protected]>
Changed-By: Gert Wollny <[email protected]>
Description:
 libvtk7-dev - VTK header files
 libvtk7-java - Visualization Toolkit - A high level 3D visualization library - 
j
 libvtk7-jni - Visualization Toolkit - A high level 3D visualization library - j
 libvtk7-qt-dev - VTK header files, containing Qt files
 libvtk7.1p - VTK libraries
 libvtk7.1p-qt - VTK libraries, Qt files
 python3-vtk7 - Python bindings for VTK
 tcl-vtk7   - Tcl bindings for VTK
 vtk7       - Binaries for VTK7
 vtk7-doc   - VTK class reference documentation
 vtk7-examples - VTK examples
Closes: 924611 930512 931044
Changes:
 vtk7 (7.1.1+dfsg2-1~exp1) experimental; urgency=medium
 .
   [ Nico Schlömer ]
   * update broken debian/watch
 .
   [ Gert Wollny ]
   * d/*: switch back to use bundled proj4, Closes: #931044
   * d/watch: Restrict to v7
   * Update tarball to contain proj4
   * d/p/112: Add support for riscv64, Closes: #924611
   * d/libvtk-jni: install to /usr/lib/jni (Java Policy 2.4),
     Closes: #930512
   * d/*: Change soname because of using embedded libproj4
Checksums-Sha1:
 91d7a9aea667e4ad5d2a8e3d38570fa47ceb543a 3681 vtk7_7.1.1+dfsg2-1~exp1.dsc
 45fd946c1e9f10cb14d55ac0822c6eb5b5d07e37 13643604 vtk7_7.1.1+dfsg2.orig.tar.xz
 48c6ac7a6a492fc2e8f56de11425de35998f7f6f 26760 
vtk7_7.1.1+dfsg2-1~exp1.debian.tar.xz
 41a12f12e8d7ce3b4334357aff57fc6ff736108f 2242364 
libvtk7-dev_7.1.1+dfsg2-1~exp1_amd64.deb
 33536a664a3b1e5a2d7e37f197aabb28d17ad5ee 603392 
libvtk7-java-dbgsym_7.1.1+dfsg2-1~exp1_amd64.deb
 71aa4502fadc62bf54e0584196fa8d4cd307bb6f 2259920 
libvtk7-java_7.1.1+dfsg2-1~exp1_amd64.deb
 9f46371b0f67bddaa5fb988be4ac452bcebbe9cd 64492816 
libvtk7-jni-dbgsym_7.1.1+dfsg2-1~exp1_amd64.deb
 d68997ef37864fa386778cb7d21599775359a716 4931456 
libvtk7-jni_7.1.1+dfsg2-1~exp1_amd64.deb
 ffc498498b4cdc639d33c9eb196977665ac4eb53 22356 
libvtk7-qt-dev_7.1.1+dfsg2-1~exp1_amd64.deb
 60b7949b5dd70a8c64b1401a25d6ce8652ae5046 387204900 
libvtk7.1p-dbgsym_7.1.1+dfsg2-1~exp1_amd64.deb
 e41e17f2c9b0f9b4e7df196ff7316d8a80dab711 2876496 
libvtk7.1p-qt-dbgsym_7.1.1+dfsg2-1~exp1_amd64.deb
 d7d68109669e83c35a7e3a4baa5efe3fe63b20cc 107172 
libvtk7.1p-qt_7.1.1+dfsg2-1~exp1_amd64.deb
 34c8963282675934f5b0407521e1b3422f0aebff 42439260 
libvtk7.1p_7.1.1+dfsg2-1~exp1_amd64.deb
 5acb6ff68d700c6db77f3ee89a7391214a857bb4 2377516 
python3-vtk7-dbgsym_7.1.1+dfsg2-1~exp1_amd64.deb
 845bc49391523ee79ce7a42803755e5c5bbb2cc6 299072 
python3-vtk7_7.1.1+dfsg2-1~exp1_amd64.deb
 2e9e54eda67856f91103cebc4033d076ed3df7cc 326344 
tcl-vtk7-dbgsym_7.1.1+dfsg2-1~exp1_amd64.deb
 3b6f65a004280561080493c9e5844f0f1ef28b78 187148 
tcl-vtk7_7.1.1+dfsg2-1~exp1_amd64.deb
 ed275fc7c0e4000cf5c101338f1a433af5f1b929 413400 
vtk7-dbgsym_7.1.1+dfsg2-1~exp1_amd64.deb
 fd5aef5e28cfa59206edbb7fcd18f559f615ec96 46564604 
vtk7-doc_7.1.1+dfsg2-1~exp1_all.deb
 74754050c3b4fcddb1701b670767b35af63b97c6 994368 
vtk7-examples_7.1.1+dfsg2-1~exp1_all.deb
 789bf305a0fc93294641d9955a968efe2938bdc7 39564 
vtk7_7.1.1+dfsg2-1~exp1_amd64.buildinfo
 15a78da997a58c95d03b395041aa7d08bc5bc0ca 212704 
vtk7_7.1.1+dfsg2-1~exp1_amd64.deb
Checksums-Sha256:
 916b217eaaedc4ae7a4c5b61e2e6d2fb6b61ac3481e138ef3614c20a23057c84 3681 
vtk7_7.1.1+dfsg2-1~exp1.dsc
 fac52ab46c9785e06e8a27aaf0083d474c383c55c2a5b6602bb4755d98a807d8 13643604 
vtk7_7.1.1+dfsg2.orig.tar.xz
 fc92cf6d378af6df3c350103dc2f2da21f1120dc541224b87c1e5e45ab282f09 26760 
vtk7_7.1.1+dfsg2-1~exp1.debian.tar.xz
 0a59cb4c1b5515afb9caba415022de4a07a1d85c9cf6cdf3f9cf35dd777c85a3 2242364 
libvtk7-dev_7.1.1+dfsg2-1~exp1_amd64.deb
 43940dccc91c5a62e47605354a51cd462c1249f8779e11ecd93b3d7130ca78ed 603392 
libvtk7-java-dbgsym_7.1.1+dfsg2-1~exp1_amd64.deb
 f67be6ae1e0f2633b8506571581b869d4dc6d12eab5d54c37a5bd741060fb9e6 2259920 
libvtk7-java_7.1.1+dfsg2-1~exp1_amd64.deb
 2b5266a0410e5872149e5f278ea2eca1507004187377ae01347264797c44e0f0 64492816 
libvtk7-jni-dbgsym_7.1.1+dfsg2-1~exp1_amd64.deb
 062e8cf6846403d6a499d73134a2adff3678ce4b30b974fd013abacf8fa7a73e 4931456 
libvtk7-jni_7.1.1+dfsg2-1~exp1_amd64.deb
 350bf2ae55b55a87897fd4df617324cd6ba5ecedbc59b7218cf610ffaa3c49ed 22356 
libvtk7-qt-dev_7.1.1+dfsg2-1~exp1_amd64.deb
 a64b5cf18013ac7a6bcf5e9af8a67d48ae10aa775ef471404e507372784e06d4 387204900 
libvtk7.1p-dbgsym_7.1.1+dfsg2-1~exp1_amd64.deb
 92400c3518dc3f67eb3786e61bbed58546ddb395bf9b1d0bb5019c2b1c15ff12 2876496 
libvtk7.1p-qt-dbgsym_7.1.1+dfsg2-1~exp1_amd64.deb
 06045fc142a4f9d2d1416bda3fdb09cb1258e807169e6a6dcd3a9821296e55a6 107172 
libvtk7.1p-qt_7.1.1+dfsg2-1~exp1_amd64.deb
 aa19016ad034d911feae31672397f1ae6b358192cfd30accbd2c295fd04137bc 42439260 
libvtk7.1p_7.1.1+dfsg2-1~exp1_amd64.deb
 4527e7ed13d671e4df211358e3fab3ea7ea58388faca9a78ea0c3f0e9b94fe43 2377516 
python3-vtk7-dbgsym_7.1.1+dfsg2-1~exp1_amd64.deb
 54d4414df1f74adde89a06fc6ec099d7013e130994531ac5aba9f2f1df76137a 299072 
python3-vtk7_7.1.1+dfsg2-1~exp1_amd64.deb
 d048868edf425df0d7687de32e54a24dfd2317497cbcc3e9f98311d74499b97b 326344 
tcl-vtk7-dbgsym_7.1.1+dfsg2-1~exp1_amd64.deb
 231291098235a006fcd03b17460d2fda2d5104aaea6e8a3032818e1f017e6fa7 187148 
tcl-vtk7_7.1.1+dfsg2-1~exp1_amd64.deb
 74357bff5b2838097265a9abddbac9db743001e10cfb85975c9eea8af65c382d 413400 
vtk7-dbgsym_7.1.1+dfsg2-1~exp1_amd64.deb
 799e243980c35062347b3cbcd2e678a2449b398c722f5af7cb91ac299f5e5736 46564604 
vtk7-doc_7.1.1+dfsg2-1~exp1_all.deb
 c52dabd980ae31c81fb4104bed69cb8592eb4e0c40da15949bd42d393341050e 994368 
vtk7-examples_7.1.1+dfsg2-1~exp1_all.deb
 be1f3bc2c805e5f7435e7da2450e15dcdac5f5bd4ee13fedc0ca1e75a9daf750 39564 
vtk7_7.1.1+dfsg2-1~exp1_amd64.buildinfo
 4820404666e994d9c181847b6a1ec412464c5443d7bdd66da03966a0dbb6f469 212704 
vtk7_7.1.1+dfsg2-1~exp1_amd64.deb
Files:
 311a506a552a8a863a43b34ae60c566c 3681 graphics optional 
vtk7_7.1.1+dfsg2-1~exp1.dsc
 ec396c4c50dea67fc0d1953c564e66a3 13643604 graphics optional 
vtk7_7.1.1+dfsg2.orig.tar.xz
 964d36561933af8d431e08014a052bae 26760 graphics optional 
vtk7_7.1.1+dfsg2-1~exp1.debian.tar.xz
 3ba9f9b2159a8f5a69ff47a60b823124 2242364 libdevel optional 
libvtk7-dev_7.1.1+dfsg2-1~exp1_amd64.deb
 248d799a9136b4d1aed37cc02328da17 603392 debug optional 
libvtk7-java-dbgsym_7.1.1+dfsg2-1~exp1_amd64.deb
 9689e998beb1fa9b30f1fa7f147845cb 2259920 java optional 
libvtk7-java_7.1.1+dfsg2-1~exp1_amd64.deb
 416373ba653cb076bb0e5ac769fcdcdf 64492816 debug optional 
libvtk7-jni-dbgsym_7.1.1+dfsg2-1~exp1_amd64.deb
 1fa000b048148705f82a659d953f7013 4931456 java optional 
libvtk7-jni_7.1.1+dfsg2-1~exp1_amd64.deb
 a6e947bb6a955f913ae3952d6a401458 22356 libdevel optional 
libvtk7-qt-dev_7.1.1+dfsg2-1~exp1_amd64.deb
 67cfd14f572bc10fdc1c05d496dde43a 387204900 debug optional 
libvtk7.1p-dbgsym_7.1.1+dfsg2-1~exp1_amd64.deb
 50eaa1f780d052b2380a956b6f676956 2876496 debug optional 
libvtk7.1p-qt-dbgsym_7.1.1+dfsg2-1~exp1_amd64.deb
 7601e1773a2cfe9e4715f27d22bbb018 107172 libs optional 
libvtk7.1p-qt_7.1.1+dfsg2-1~exp1_amd64.deb
 c6eae6df66d1820c7a2dc24e04d0e8ec 42439260 libs optional 
libvtk7.1p_7.1.1+dfsg2-1~exp1_amd64.deb
 6a32b0194911d1318b6db9ad8cb7ef94 2377516 debug optional 
python3-vtk7-dbgsym_7.1.1+dfsg2-1~exp1_amd64.deb
 a6ac890de6eac138ba3c504140a37e2c 299072 python optional 
python3-vtk7_7.1.1+dfsg2-1~exp1_amd64.deb
 35483c91c103b33c6b6469ee99ef0543 326344 debug optional 
tcl-vtk7-dbgsym_7.1.1+dfsg2-1~exp1_amd64.deb
 acc9323114465300be5ed4332a76bce4 187148 interpreters optional 
tcl-vtk7_7.1.1+dfsg2-1~exp1_amd64.deb
 e59b8d966fe1c67ea8156d2a22d2e647 413400 debug optional 
vtk7-dbgsym_7.1.1+dfsg2-1~exp1_amd64.deb
 a963bccb5d586642106cfbd911853500 46564604 doc optional 
vtk7-doc_7.1.1+dfsg2-1~exp1_all.deb
 93c4d88d84678949be9aa4d49cea283e 994368 graphics optional 
vtk7-examples_7.1.1+dfsg2-1~exp1_all.deb
 8446dd582633b0ae7fe631ac87e6f45a 39564 graphics optional 
vtk7_7.1.1+dfsg2-1~exp1_amd64.buildinfo
 004aba1db9cf6b0601d5fa336f93d435 212704 interpreters optional 
vtk7_7.1.1+dfsg2-1~exp1_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEELtRZww6NuKjZPKd6l/LU/KCfME4FAl1n5FoACgkQl/LU/KCf
ME6Klw//VqR8rDewGazZUc7haKhoAELpEAs50/0aMdtJufUolaKz5VoWRh2idrsu
0JwQ00GuMHlfHwq461WKraQIv16Ur9p/nMFVauuHVSAMLL8vr6tA1tVHJDmHKQVf
jDlmerb+c7aYUsDsSxCWzeGnlOnOphIoPkPyQbHpsVf2j8hp6JnKQeRQbikWxiBv
IXHqUS2jrTy8MFdqeX5BrodCpPfYYHQdoVSmsl7fFmZB3sma/9xdsSDehaIaPKPb
6qiMCj3TI0MwKsBAQnECcHSG+4PLUnn5/94v0sxNS3lfHfQC15YAzVczdQ5NJ5IA
iyyYMlQ7BeCb5quK1xxL+cXmUrNnOmNrxOBzjy9DNFOULVpTlLnLQnHAtkEfIWfh
DnuJktAxQBI6edVCd7BSznCSsiLbYux2+M1V7f+w9/aM6nU/Bf/fV4d0WcFoLfQb
zGvD+YWfokm99UYdrtJCq7ODZbfyhrR6so9z2+4RPFx0hvKqYxfpv1OdDvuds9s5
g6kg8F2ydTzFfSjD/F1YI4NvWXZB5kUw6HhdF4EyTl1nAAsMmuYV77D95uyQzk04
BxP78aUIJ6UQBp4OKAbQoRciEH/vvOjB3eZTGiIpJYuGVqmvhdk+/8/FQmEpuXOh
c/I36wDeVE2825s8vmSK/714F/lMACy9Hkn1/qmWh2rD+mEizJ8=
=pdDp
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to