Your message dated Mon, 11 Sep 2017 21:15:15 +0000
with message-id <e1drw31-0000hp...@fasolo.debian.org>
and subject line Bug#874220: fixed in openni2 2.2.0.33+dfsg-10
has caused the Debian Bug report #874220,
regarding openni2 mustn't build with NEON on armel/armhf
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 ow...@bugs.debian.org
immediately.)


-- 
874220: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=874220
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: openni2
Version: 2.2.0.33+dfsg-7
Severity: serious
Tags: patch
Control: affects -1 src:mrpt

NEON is not part of the armel and armhf architecture baselines,
it is therefore not permitted to use NEON unless proper runtime
detection is used.

NEON is also not available on the autobuilders.


openni2 trying to build with NEON on armel causes it to FTBFS:

https://buildd.debian.org/status/logs.php?pkg=openni2&arch=armel

...
In file included from Sensor/XnPacked11DepthProcessor.cpp:27:0:
/usr/lib/gcc/arm-linux-gnueabi/7/include/arm_neon.h:31:2: error: #error "NEON 
intrinsics not available with the soft-float ABI.  Please use -mfloat-abi=softp 
or -mfloat-abi=hard"
 #error "NEON intrinsics not available with the soft-float ABI.  Please use 
-mfloat-abi=softp or -mfloat-abi=hard"
  ^~~~~



I also strongly suspect that the FTBFS of mrpt on armhf might be
caused by this bug (test_mrpt_hwdrivers is linked with libOpenNI2):

https://buildd.debian.org/status/fetch.php?pkg=mrpt&arch=armhf&ver=1%3A1.5.3-1&stamp=1504457093&raw=0

...
cd /<<PKGBUILDDIR>>/obj-arm-linux-gnueabihf/tests && ./test_mrpt_hwdrivers
Illegal instruction



The "uname -m" usage in ThirdParty/PSCommon/BuildSystem/CommonDefs.mak
is wrong and also results in openni2 being built differently for i386
depending on whether a 32bit or 64bit kernel is used, but here I am
only addressing the ARM issues.

The fix contains of 3 parts:

1. In debian/patches/series, comment out
0006-rpi-Added-Armv6l-as-new-target-platform-and-created-missing-OniPlatformLinux-Arm.h-header.patch

This only made the uname bug above worse.


2. In debian/patches/0012-generic-linux.patch, fix a typo in
ThirdParty/PSCommon/BuildSystem/Platform.generic: FLAGS -> CFLAGS


3. Add the attached 0016-armel-armhf-no-neon.patch
Description: Use the generic platform for armel+armhf
 NEON is not part of the armel and armhf baselines.
Author: Adrian Bunk <b...@debian.org>

--- openni2-2.2.0.33+dfsg.orig/ThirdParty/PSCommon/BuildSystem/CommonDefs.mak
+++ openni2-2.2.0.33+dfsg/ThirdParty/PSCommon/BuildSystem/CommonDefs.mak
@@ -16,8 +16,6 @@ else ifneq (,$(findstring i686,$(MACHINE
        HOST_PLATFORM = x86
 else ifneq (,$(findstring i386,$(MACHINE)))
        HOST_PLATFORM = x86
-else ifneq (,$(findstring arm,$(MACHINE)))
-       HOST_PLATFORM = Arm
 else
        HOST_PLATFORM = generic
 endif

--- End Message ---
--- Begin Message ---
Source: openni2
Source-Version: 2.2.0.33+dfsg-10

We believe that the bug you reported is fixed in the latest version of
openni2, 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 874...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jochen Sprickerhof <jspri...@debian.org> (supplier of updated openni2 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 09 Sep 2017 16:17:46 +0200
Source: openni2
Binary: libopenni2-0 openni2-utils libopenni2-dev openni2-doc
Architecture: source
Version: 2.2.0.33+dfsg-10
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers 
<pkg-multimedia-maintainers@lists.alioth.debian.org>
Changed-By: Jochen Sprickerhof <jspri...@debian.org>
Description:
 libopenni2-0 - framework for sensor-based 'Natural Interaction'
 libopenni2-dev - headers for OpenNI 'Natural Interaction' frameworks
 openni2-doc - developer documentation for OpenNI frameworks
 openni2-utils - debug and test utilities OpenNI2 framework
Closes: 874220
Changes:
 openni2 (2.2.0.33+dfsg-10) unstable; urgency=medium
 .
   * Add patch for arm.
     Thanks to Adrian Bunk (Closes: #874220)
   * Remove flags, not needed anymore
Checksums-Sha1:
 644fe0b44e6ba9da1ce099f1a377cb3160da6e1d 2362 openni2_2.2.0.33+dfsg-10.dsc
 5b6eb048946c062e10516a0351224a1885c7e69e 16044 
openni2_2.2.0.33+dfsg-10.debian.tar.xz
 bfdc046b70f064b5ac4fa8eaa768ca381f9c8ce5 6178 
openni2_2.2.0.33+dfsg-10_source.buildinfo
Checksums-Sha256:
 843dc179ebcacbb1b2b791032ee53f611ec3c13251714ac41ac6dd9f7b6e0b93 2362 
openni2_2.2.0.33+dfsg-10.dsc
 f334b6adceec88a7365bf7e3c36dfd27f714bad884111d42de01647c7f675782 16044 
openni2_2.2.0.33+dfsg-10.debian.tar.xz
 bd1548653c7cf8571d0d680197189c282e20ce3ac875ae0347b542e09c5ac05d 6178 
openni2_2.2.0.33+dfsg-10_source.buildinfo
Files:
 90158b525f39cb9968c0567f2d7df416 2362 libs optional 
openni2_2.2.0.33+dfsg-10.dsc
 46c61b481eb6b8585d16b7784365f659 16044 libs optional 
openni2_2.2.0.33+dfsg-10.debian.tar.xz
 53156b2678cb04889bb802044a9ca630 6178 libs optional 
openni2_2.2.0.33+dfsg-10_source.buildinfo

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

iQJIBAEBCgAyFiEEc7KZy9TurdzAF+h6W//cwljmlDMFAlm289AUHGpzcHJpY2tl
QGRlYmlhbi5vcmcACgkQW//cwljmlDPALA//X/LVaWTewxRtZlZ8PvC+SB0UeoJW
O3t28pbCreeStCftetrLyNReebwKeckErxq17O/KlgWL/jGKJq4W1Dg/m4qqpk05
dngXJqGzluJs2/nrPkkiKzQyinv0JAo3sJBvdjzgUlmXa7BrMlr1F/xSsN7Nwhvv
cDTN/wqHrYZdQ9mDockCnFsgxUwe0xfzpkGC48bmRcBB/UITV0Et0mxK1Jl0h1ul
p3ZHxJ55yK8CiHyZGY1XAvb3ZtBz/lOvnxQPvZ/0rDbIzxNZoxNvnUIfHoexodBI
L3xA5miztEjKwQB5/okxTfuQILmQtyIFMIqeuwaudQNXtZlog2Dq+fcpXNXn0PRz
h0ISvAye6QNAx7yqFswq6bfWM9SLBBar3wieD6AXvTa3wd/EEeHn/undyDOE/Kdc
FX8P/a+nkNRsaen9hS2FPOh5o4iYY8AeijpXMMl/omUxsJFuJPT2RzODAyXuR+uU
WEbmuw9jpVF9nSmb7Z2opolgwWCiyqlzdxp1taWYZr+HhapoYWoVVRoJSy6DHg29
9NlH/8eWWrfxpbaXr4WqOJVae7gi/r+uzWbYIlKcjc19b6Z9xd71aLBkZlP8ZyRW
bii0ETrPWX5pydq4dxyZ0HBMAW7dAH3I3XvcIXaxKX79pQ7Epf1ORG0VccZFK8Se
NH1RiMTdEzBLuH8=
=99r+
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to