#1014442 openni: ftbfs on riscv64('Unknown platform: riscv64')

Package:
src:openni
Source:
openni
Submitter:
Bo YU
Date:
2022-07-07 09:51:08 UTC
Severity:
normal
Tags:
#1014442#5
Date:
2022-07-06 08:19:14 UTC
From:
To:
Source: openni
Version: 1.5.4.0+dfsg-5
Severity: normal
Tags: ftbfs, patch, upstream
User: debian-riscv@lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: debian-riscv@lists.debian.org

Dear openni Maintainer,

The openni package has a ftbfs issue on riscv64:

```
dh binary-arch --buildsystem=makefile
   dh_update_autotools_config -a -O--buildsystem=makefile
   dh_autoreconf -a -O--buildsystem=makefile
   dh_auto_configure -a -O--buildsystem=makefile
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cd Platform/Linux/CreateRedist && ./RedistMaker
Unknown platform: riscv64
make[1]: *** [debian/rules:7: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:4: binary-arch] Error 2
```

The patch attached is to fix the issue and I can build riscv64
package on my locally real riscv64 hardware(Unmatched board) with it.

The upstream of this package doesn't look very active but I will
forward this to upstream[0]

Bo

[0]: https://github.com/OpenNI/OpenNI/issues

#1014442#8
Date:
2022-07-07 09:32:58 UTC
From:
To:
Hello,

Bug #1014442 in openni reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/multimedia-team/openni/-/commit/376087c7dedfab4fcafb9c3db4f0f9c249350b11
------------------------------------------------------------------------
Add patch for riscv64

Thanks: Bo YU
Closes: #1014442
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1014442

#1014442#15
Date:
2022-07-07 09:49:57 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
openni, 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 1014442@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jochen Sprickerhof <jspricke@debian.org> (supplier of updated openni 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Thu, 07 Jul 2022 11:31:26 +0200
Source: openni
Architecture: source
Version: 1.5.4.0+dfsg-6
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: Jochen Sprickerhof <jspricke@debian.org>
Closes: 1014442
Changes:
 openni (1.5.4.0+dfsg-6) unstable; urgency=medium
 .
   * Add patch for riscv64.
     Thanks to Bo YU (Closes: #1014442)
   * Bump policy version (no changes)
Checksums-Sha1:
 cc997edea089d7581eba872e22d512252edd18e4 2297 openni_1.5.4.0+dfsg-6.dsc
 c2c6e4c51bd378843eac41162c55e2dee2ba57a3 651808 openni_1.5.4.0+dfsg-6.debian.tar.xz
 515b90ca910d3acfd8e0f8ec8b415bfa83f6426e 11240 openni_1.5.4.0+dfsg-6_source.buildinfo
Checksums-Sha256:
 ada27950e4f222d856b90bbd3ea2dc4d643e55fe76b190118c79e30899ffd002 2297 openni_1.5.4.0+dfsg-6.dsc
 92345b392a3b98339d5d706867b3177d0bfac8d0272154aba1547c5c2149188b 651808 openni_1.5.4.0+dfsg-6.debian.tar.xz
 8ec71da4c85a7ef30585b620db39ff5caa37ef271c3568356b7390b80828b597 11240 openni_1.5.4.0+dfsg-6_source.buildinfo
Files:
 5456de3b92f7b59cdb29bc8abf825c5a 2297 libs optional openni_1.5.4.0+dfsg-6.dsc
 c990015d8080cc5b33925308a4d32662 651808 libs optional openni_1.5.4.0+dfsg-6.debian.tar.xz
 473f32fb24cdd4e0fa55b51acfa9d795 11240 libs optional openni_1.5.4.0+dfsg-6_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEc7KZy9TurdzAF+h6W//cwljmlDMFAmLGqBMACgkQW//cwljm
lDOc6hAAn8Uv/Hmh76UXLowWpL4dykJtROo09bpHX0PosezdCHuE++QEimds5fw5
ANOGdHz3ozZ97dkkG8b5mIY6xkU1hNynvXqrnPrK9KUvfSMZRZUuyDbBr55ooT5a
vYNersQeH1bfJRXyf7napNUrD1/103c6zxAtfQQmypZo7MplU2NWjb2s8o57P+Cu
MX2h40lN3U4OdIQp/396BMmdiYRWGdouSXDgDCrUVmj4ilnZGlrsQgBlaFgUTxe9
fAIBa4OBDt+ZdSNgj81B2befHDs1NSUO+gIN42Rpob4tSYEe7F+iu8P49PIK7QsD
Iv983r60vRPHHDm7Sbd48MvOEky76yUDX3IdtAX0pG0C+k33PyMgRbFDazqvgzqr
e6etH3bJQLTPvx1ut1PkkgmMFyqHsiKs5699zTWPK+1o1dxmppKe/BiU2s1eobGA
ID+ZzrOPMKdNNSpzkfnooUc+f3FD2pQvKt2aRsoNB6zvO82nawpt8nqBiDMArlFU
wGAYpb3e6xVPdVCvg4okZf5fdSoBgApJRA5kezIzJGLNcEs/sUxGfub7K3dfCDW/
daRNKBXpiCUF3VLPGx7zlaW4e84PtAP52IXujBjFCcKfmguEkWSJY6a2zxJM+0/U
F8GN/0NGxk0cg3ngKzRYHROu3rGLgaz5F1k/NtYJZWElevZvRoE=
=0cwL
-----END PGP SIGNATURE-----