Package: ray
Version: 2.3.0-1
Severity: serious
Tags: upstream patch
Justification: fails to build from source (but built successfully in the past)
ray fails to build from source on mips, mipsel and s390x with the
following error:
| CXX RayPlatform/actors/Actor.o
| RayPlatform/actors/Actor.cpp: In member function 'void Actor::send(int,
Message*)':
| RayPlatform/actors/Actor.cpp:54:52: error: 'memcpy' was not declared in this
scope
| memcpy(newBuffer, oldBuffer, bytes * sizeof(char))
I still do not understand why it builds fine on other architectures,
but in C++, memcpy is declared in <cstring>. The following patch
therefore fixes the issue:
--- ray-2.3.0.orig/RayPlatform/RayPlatform/actors/Actor.cpp
+++ ray-2.3.0/RayPlatform/RayPlatform/actors/Actor.cpp
@@ -29,6 +29,7 @@
#include <RayPlatform/cryptography/crypto.h>
#include <iostream>
+#include <cstring>
using namespace std;
Actor::Actor() {
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: s390x
Kernel: Linux 3.2.0-4-s390x (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]