Your message dated Fri, 05 Jun 2015 22:35:48 +0000
with message-id <[email protected]>
and subject line Bug#734144: fixed in openni-sensor-primesense 5.1.0.41-4
has caused the Debian Bug report #734144,
regarding openni-sensor-primesense: FTBFS: Unknown machine type: ppc
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.)


-- 
734144: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734144
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: openni-sensor-primesense
Version: 5.1.0.41-3
Severity: important
Tags: patch
User: [email protected]
Usertags: powerpcspe

Hi,

on powerpc and powerpcspe, openni-sensor-primesense FTBFS like this:

...
make[1]: Leaving directory `/«PKGBUILDDIR»'
 debian/rules build-arch
dh build-arch --buildsystem=makefile
   dh_testdir -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 && bash RedistMaker
Unknown machine type: ppc
make[1]: *** [override_dh_auto_build] Error 1
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
...

The attached patch fixes this.

Roland


-- System Information:
Debian Release: 7.0
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: powerpcspe (ppc)

Kernel: Linux 3.9.0-dirty (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash
Index: openni-sensor-primesense-5.1.0.41/Platform/Linux/CreateRedist/RedistMaker
===================================================================
--- openni-sensor-primesense-5.1.0.41.orig/Platform/Linux/CreateRedist/RedistMaker	2014-01-04 10:34:00.000000000 +0100
+++ openni-sensor-primesense-5.1.0.41/Platform/Linux/CreateRedist/RedistMaker	2014-01-04 10:34:00.000000000 +0100
@@ -29,6 +29,8 @@
 		PLATFORM="x64" ;;
 	arm)
 		PLATFORM="Arm" ;;
+	ppc)
+		PLATFORM="Powerpc" ;;
 	*)
 		echo "Unknown machine type: $MACHINE_TYPE"
 		exit 1
Index: openni-sensor-primesense-5.1.0.41/Platform/Linux/Build/Common/CommonDefs.mak
===================================================================
--- openni-sensor-primesense-5.1.0.41.orig/Platform/Linux/Build/Common/CommonDefs.mak	2014-01-04 10:34:00.000000000 +0100
+++ openni-sensor-primesense-5.1.0.41/Platform/Linux/Build/Common/CommonDefs.mak	2014-01-04 10:34:00.000000000 +0100
@@ -15,6 +15,8 @@
 	HOST_PLATFORM = x86
 else ifneq (,$(findstring arm,$(MACHINE)))
 	HOST_PLATFORM = Arm
+else ifneq (,$(findstring ppc,$(MACHINE)))
+	HOST_PLATFORM = Powerpc
 else
 	DUMMY:=$(error Can't determine host platform)
 endif
Index: openni-sensor-primesense-5.1.0.41/Source/XnDeviceSensorV2/XnDeviceSensorInit.h
===================================================================
--- openni-sensor-primesense-5.1.0.41.orig/Source/XnDeviceSensorV2/XnDeviceSensorInit.h	2014-01-04 10:34:00.000000000 +0100
+++ openni-sensor-primesense-5.1.0.41/Source/XnDeviceSensorV2/XnDeviceSensorInit.h	2014-01-04 10:34:00.000000000 +0100
@@ -57,7 +57,7 @@
 
 	#define XN_SENSOR_USB_MISC_BUFFER_SIZE	0x1000
 	#define XN_SENSOR_USB_MISC_BUFFERS		1
-#elif (XN_PLATFORM == XN_PLATFORM_LINUX_X86 || XN_PLATFORM == XN_PLATFORM_LINUX_ARM || XN_PLATFORM == XN_PLATFORM_MACOSX || XN_PLATFORM == XN_PLATFORM_ANDROID_ARM)
+#elif (XN_PLATFORM == XN_PLATFORM_LINUX_X86 || XN_PLATFORM == XN_PLATFORM_LINUX_ARM || XN_PLATFORM == XN_PLATFORM_LINUX_POWERPC || XN_PLATFORM == XN_PLATFORM_MACOSX || XN_PLATFORM == XN_PLATFORM_ANDROID_ARM)
 	#define XN_SENSOR_USB_IMAGE_BUFFER_SIZE_MULTIPLIER_ISO				32
 	#define XN_SENSOR_USB_IMAGE_BUFFER_SIZE_MULTIPLIER_BULK				40
 	#define XN_SENSOR_USB_IMAGE_BUFFER_SIZE_MULTIPLIER_LOWBAND_ISO		16
Index: openni-sensor-primesense-5.1.0.41/Source/XnDeviceSensorV2/XnSensorClient.cpp
===================================================================
--- openni-sensor-primesense-5.1.0.41.orig/Source/XnDeviceSensorV2/XnSensorClient.cpp	2014-01-04 10:34:00.000000000 +0100
+++ openni-sensor-primesense-5.1.0.41/Source/XnDeviceSensorV2/XnSensorClient.cpp	2014-01-04 10:34:00.000000000 +0100
@@ -882,7 +882,7 @@
 	
 #if (XN_PLATFORM == XN_PLATFORM_WIN32)
 	nRetVal = GetModuleDir(strServerDir);
-#elif (XN_PLATFORM == XN_PLATFORM_LINUX_X86 || XN_PLATFORM == XN_PLATFORM_LINUX_ARM || XN_PLATFORM == XN_PLATFORM_MACOSX)
+#elif (XN_PLATFORM == XN_PLATFORM_LINUX_X86 || XN_PLATFORM == XN_PLATFORM_LINUX_ARM || XN_PLATFORM == XN_PLATFORM_LINUX_POWERPC || XN_PLATFORM == XN_PLATFORM_MACOSX)
 	sprintf(strServerDir, "/usr/lib/libopenni-sensor-primesense0");
 #endif
 
Index: openni-sensor-primesense-5.1.0.41/Source/Utils/XnSensorServer/SensorServer.cpp
===================================================================
--- openni-sensor-primesense-5.1.0.41.orig/Source/Utils/XnSensorServer/SensorServer.cpp	2014-01-04 10:34:00.000000000 +0100
+++ openni-sensor-primesense-5.1.0.41/Source/Utils/XnSensorServer/SensorServer.cpp	2014-01-04 10:34:00.000000000 +0100
@@ -56,7 +56,7 @@
 	nRetVal = XnSensorServerGetGlobalConfigFile(strConfigDir, strConfigFile, XN_FILE_MAX_PATH);
 	XN_CHECK_RC(nRetVal, "Resolving global config file");
 
-#if (XN_PLATFORM == XN_PLATFORM_LINUX_X86 || XN_PLATFORM == XN_PLATFORM_LINUX_ARM || XN_PLATFORM == XN_PLATFORM_MACOSX)
+#if (XN_PLATFORM == XN_PLATFORM_LINUX_X86 || XN_PLATFORM == XN_PLATFORM_LINUX_ARM || XN_PLATFORM == XN_PLATFORM_LINUX_POWERPC || XN_PLATFORM == XN_PLATFORM_MACOSX)
 	xnLogSetOutputFolder("/var/log/primesense/XnSensorServer/");
 #endif
 
Index: openni-sensor-primesense-5.1.0.41/Platform/Linux/Build/Common/Platform.Powerpc
===================================================================
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ openni-sensor-primesense-5.1.0.41/Platform/Linux/Build/Common/Platform.Powerpc	2014-01-04 10:43:20.000000000 +0100
@@ -0,0 +1,9 @@
+ifeq "$(CFG)" "Release"
+
+    # Optimization level, minus currently buggy optimizing methods (which break bit-exact)
+    CFLAGS += -O3 -fno-tree-pre -fno-strict-aliasing
+
+    # More optimization flags
+    CFLAGS += -ftree-vectorize -ffast-math -funsafe-math-optimizations -fsingle-precision-constant
+
+endif

--- End Message ---
--- Begin Message ---
Source: openni-sensor-primesense
Source-Version: 5.1.0.41-4

We believe that the bug you reported is fixed in the latest version of
openni-sensor-primesense, 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.
Jochen Sprickerhof <[email protected]> (supplier of updated 
openni-sensor-primesense 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: Fri, 05 Jun 2015 23:47:37 +0200
Source: openni-sensor-primesense
Binary: libopenni-sensor-primesense-dev libopenni-sensor-primesense0
Architecture: source amd64
Version: 5.1.0.41-4
Distribution: unstable
Urgency: low
Maintainer: Jochen Sprickerhof <[email protected]>
Changed-By: Jochen Sprickerhof <[email protected]>
Description:
 libopenni-sensor-primesense-dev - headers for working with PrimeSense sensor 
OpenNI modules
 libopenni-sensor-primesense0 - PrimeSense sensor modules for the OpenNI 
framework
Closes: 734144
Changes:
 openni-sensor-primesense (5.1.0.41-4) unstable; urgency=low
 .
   * Update Vcs-* fields
   * Bump Standards-Version to 3.9.6 (no changes needed)
   * Add Powerpc patch (Closes: #734144), Thanks to Roland Stigge
Checksums-Sha1:
 c141da33522151d5cde66baf64743486ccf412f8 2228 
openni-sensor-primesense_5.1.0.41-4.dsc
 2d7dabd565de3d982533be6041ac973a5da1b6c1 8524 
openni-sensor-primesense_5.1.0.41-4.debian.tar.xz
 54daf45977b55770910e00a34db495d5e29b0f34 7998 
libopenni-sensor-primesense-dev_5.1.0.41-4_amd64.deb
 a9de453165abc45987614332dee4ebd4586d82fd 302350 
libopenni-sensor-primesense0_5.1.0.41-4_amd64.deb
Checksums-Sha256:
 54cd4cf07fd54a12df7e8951f85b18d0feeb98d6750baa4f45fce402c81e77c4 2228 
openni-sensor-primesense_5.1.0.41-4.dsc
 776fa317604c7ec4b5eb6755e72d12da56018a7c4da2dacea672094de5ae17d7 8524 
openni-sensor-primesense_5.1.0.41-4.debian.tar.xz
 ac26e7678cd95f1b85cb86fb729e14334877dac32b0fef3321284232d522554a 7998 
libopenni-sensor-primesense-dev_5.1.0.41-4_amd64.deb
 ac99299244f38bf7d996d0e23448dee0e2fbb36e9b7fe6cb9578ba96b2589220 302350 
libopenni-sensor-primesense0_5.1.0.41-4_amd64.deb
Files:
 80e793744d9b9b05921725ad21b67c06 2228 libs optional 
openni-sensor-primesense_5.1.0.41-4.dsc
 08a2e90a4295bd34d29c89a04c88e107 8524 libs optional 
openni-sensor-primesense_5.1.0.41-4.debian.tar.xz
 6ac30a19d693bd7910eeb842a5fecbc6 7998 libdevel optional 
libopenni-sensor-primesense-dev_5.1.0.41-4_amd64.deb
 7a720724d80be969fc4f0331d0dc9605 302350 libs optional 
libopenni-sensor-primesense0_5.1.0.41-4_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJVchqEAAoJEFv/3MJY5pQzUcYP/1WTBQFC2nnUNBsauAnL2iQY
iConpqh7EsmbFqyBULZQsFOf8KJWMHNkn3UJ4KPyn+sUBxMHjvepro4hwo/9IIM5
LYxSIuM8RM4MceLBYUDrmK5/8PxR8scRd5q1D/zxdYMVDCjquKXg14X/EGpO0ixx
lgSgEwoS44YYVhWTmjhvYRPYf49uR08WPgE54RRZfEmws0YtRJ6oUWX+EeezYNoN
OKmOkNtWK9lCcAkHzIGqNFEcwAvidKtNCwvBa2/b02uWQqbDKuy/Bby8EX/s/YnA
CeOX98hv8rxvP9gc1IJRT+NaAQ7Kq0z1KZ3oYsRV+5QfQzKNB+AWTgqTKGvZK1lI
3y6ik3xCIEFlE+x5K8Wrjb/BlIuulmZz88NGwP7LQwJHKdDT2ODAexuwccfZiOlp
Xmm/e4T9ORHJr/lOyYmztTBi5Dl4csaicf5r8kk2Fyf5EzDeAXElY7qyV85AN/T8
QRDMoX0fFCdWCTzk7qFfTfOUmHljzRx2ZS88F9RgNAmF3pPs2t4TzCwQX3iwCWFA
TP8KrWfcrpQw0/dN0WfccfatsC1xeBGgh0Dzfni5VtRZcaZuAlJmsS7Oqp4DDSY+
hfe4HhM1jUpKUqP55is3Mif7iRk+lUl6uUyRPApq45Fx6SJr2tZpc7PR2RGupeFZ
pXCd3FtVwAKkbwAEBK3Q
=c3j/
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to