Package: swt-gtk-3.2.1
Version: 3.2.1-2
Severity: important
Justification: fails to build from source

There isn't amd64 binary for : libswt-gtk-3.2-jni (3.2.1-2). So I try to
build the source package like this :
# apt-get build-dep libswt-gtk-3.2-jni
$ apt-get source libswt-gtk-3.2-jni
$ cd libswt-gtk-3.2-jni
$ dpkg-buildpackage -us -uc -rfakeroot

And I have this errors :
g++ -O -DSWT_VERSION=3235  -DXPCOM_GLUE=1 -DMOZILLA_STRICT_API=1
-fno-rtti -fno-exceptions -Wall -Wno-non-virtual-dtor -fPIC -I.
-I/usr/include/nspr -I/usr/include/xulrunner
-I/usr/include/xulrunner/profdirserviceprovider -I/include
-I/include/linux   -c xpcom.cpp
xpcom.cpp: In function 'jint
Java_org_eclipse_swt_internal_mozilla_XPCOM_PR_1Malloc(JNIEnv*,
_jclass*, jint)':
xpcom.cpp:144: error: cast from 'void*' to 'jint' loses precision
xpcom.cpp: In function 'jint
Java_org_eclipse_swt_internal_mozilla_XPCOM_nsEmbedCString_1get(JNIEnv*,
_jclass*, jint)':
xpcom.cpp:2094: error: cast from 'const char*' to 'jint' loses precision
xpcom.cpp: In function 'jint
Java_org_eclipse_swt_internal_mozilla_XPCOM_nsEmbedCString_1new__(JNIEnv*,
_jclass*)':
xpcom.cpp:2106: error: cast from 'nsEmbedCString*' to 'jint' loses
precision
xpcom.cpp: In function 'jint
Java_org_eclipse_swt_internal_mozilla_XPCOM_nsEmbedCString_1new___3BI(JNIEnv*,
_jclass*, _jbyteArray*, jint)':
xpcom.cpp:2120: error: cast from 'nsEmbedCString*' to 'jint' loses
precision
xpcom.cpp: In function 'jint
Java_org_eclipse_swt_internal_mozilla_XPCOM_nsEmbedString_1get(JNIEnv*,
_jclass*, jint)':
xpcom.cpp:2156: error: cast from 'const PRUnichar*' to 'jint' loses
precision
xpcom.cpp: In function 'jint
Java_org_eclipse_swt_internal_mozilla_XPCOM_nsEmbedString_1new__(JNIEnv*,
_jclass*)':
xpcom.cpp:2168: error: cast from 'nsEmbedString*' to 'jint' loses
precision
xpcom.cpp: In function 'jint
Java_org_eclipse_swt_internal_mozilla_XPCOM_nsEmbedString_1new___3C(JNIEnv*,
_jclass*, _jcharArray*)':
xpcom.cpp:2182: error: cast from 'nsEmbedString*' to 'jint' loses
precision
xpcom.cpp: In function 'jint
Java_org_eclipse_swt_internal_mozilla_XPCOM_nsID_1new(JNIEnv*,
_jclass*)':
xpcom.cpp:2234: error: cast from 'nsID*' to 'jint' loses precision
make[2]: *** [xpcom.o] Error 1
make[2]: Leaving directory `/home/jschneider/compilo/swt-gtk-3.2.1'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/jschneider/compilo/swt-gtk-3.2.1'
make: *** [debian/stamp-makefile-build] Error 

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-amd64
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to C)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to