[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#277594: marked as done (FTBFS: out-of-date Java bindings)



Your message dated Mon, 25 Oct 2004 02:15:27 +0200
with message-id <20041025001527.GA24580@chistera.yi.org>
and subject line Bug#277594: FTBFS: out-of-date Java bindings
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 21 Oct 2004 02:11:11 +0000
>From kraai@lafn.org Wed Oct 20 19:11:11 2004
Return-path: <kraai@lafn.org>
Received: from zoot.lafn.org [206.117.18.6] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CKSQ3-0000GP-00; Wed, 20 Oct 2004 19:11:11 -0700
Received: from localhost.localdomain (Debian-exim@host-66-81-20-245.rev.o1.com [66.81.20.245])
	by zoot.lafn.org (8.12.3p3/8.12.3) with ESMTP id i9L2Af1Z065482
	(version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO)
	for <submit@bugs.debian.org>; Wed, 20 Oct 2004 19:11:06 -0700 (PDT)
	(envelope-from kraai@lafn.org)
Received: from kraai by localhost.localdomain with local (Exim 4.34)
	id 1CKIeJ-0000dK-TE
	for submit@bugs.debian.org; Wed, 20 Oct 2004 08:45:15 -0700
Date: Wed, 20 Oct 2004 08:45:15 -0700
From: Matt Kraai <kraai@ftbfs.org>
To: submit@bugs.debian.org
Subject: FTBFS: out-of-date Java bindings
Message-ID: <20041020154515.GA2400@localhost.localdomain>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="MGYHOYXEY6WxJCY8"
Content-Disposition: inline
User-Agent: Mutt/1.5.6+20040722i
Sender: Matt Kraai <kraai@lafn.org>
X-Virus-Scanned: ClamAV 0.80rc4/531/Thu Oct 14 08:09:21 2004
	clamav-milter version 0.80j
	on zoot.lafn.org
X-Virus-Status: Clean
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-7.3 required=4.0 tests=BAYES_00,DATE_IN_PAST_06_12,
	HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 


--MGYHOYXEY6WxJCY8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Package: kdebindings
Version: 4:3.2.3-1
Severity: serious
Tags: patch

The Java bindings fail to compile:

 if /bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I../../../../kdejava/koala/kdejava -I../../.. -I../../../../kdejava/koala/kdejava/../../../qtjava/javalib -I../../../../kdejava/koala/kdejava/.. -I/usr/include -I/usr/include/kde -I/usr/share/qt3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -MT KSSLKeyGen.lo -MD -MP -MF ".deps/KSSLKeyGen.Tpo" -c -o KSSLKeyGen.lo ../../../../kdejava/koala/kdejava/KSSLKeyGen.cpp; \
 then mv -f ".deps/KSSLKeyGen.Tpo" ".deps/KSSLKeyGen.Plo"; else rm -f ".deps/KSSLKeyGen.Tpo"; exit 1; fi
 ../../../../kdejava/koala/kdejava/KSSLKeyGen.cpp: In function `jint
    Java_org_kde_koala_KSSLKeyGen_generateCSR__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv*,
    __jclass*, __jstring*, __jstring*, int)':
 ../../../../kdejava/koala/kdejava/KSSLKeyGen.cpp:420: error: cannot call member
    function `int KSSLKeyGen::generateCSR(const QString&, const QString&, int,
    int)' without object
 ../../../../kdejava/koala/kdejava/KSSLKeyGen.cpp: In function `jint
    Java_org_kde_koala_KSSLKeyGen_generateCSR__Ljava_lang_String_2Ljava_lang_String_2II(JNIEnv*,
    __jclass*, __jstring*, __jstring*, int, int)':
 ../../../../kdejava/koala/kdejava/KSSLKeyGen.cpp:430: error: cannot call member
    function `int KSSLKeyGen::generateCSR(const QString&, const QString&, int,
    int)' without object

The attached patch, extracted from upstream, fixes the build.

-- 
Matt

--MGYHOYXEY6WxJCY8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch

diff -Nru kdebindings-3.2.3-old/kdejava/koala/kdejava/KCatalogue.cpp kdebindings-3.2.3/kdejava/koala/kdejava/KCatalogue.cpp
--- kdebindings-3.2.3-old/kdejava/koala/kdejava/KCatalogue.cpp	2003-12-22 19:20:59.000000000 -0800
+++ kdebindings-3.2.3/kdejava/koala/kdejava/KCatalogue.cpp	2004-10-19 07:07:37.000000000 -0700
@@ -77,14 +77,6 @@
 	return;
 }
 
-JNIEXPORT void JNICALL
-Java_org_kde_koala_KCatalogue_setFileName(JNIEnv* env, jobject obj, jstring fileName)
-{
-static QString* _qstring_fileName = 0;
-	((KCatalogue*) QtSupport::getQt(env, obj))->setFileName((const QString&)*(QString*) QtSupport::toQString(env, fileName, &_qstring_fileName));
-	return;
-}
-
 JNIEXPORT jstring JNICALL
 Java_org_kde_koala_KCatalogue_translate(JNIEnv* env, jobject obj, jstring msgid)
 {
diff -Nru kdebindings-3.2.3-old/kdejava/koala/kdejava/KSSLKeyGen.cpp kdebindings-3.2.3/kdejava/koala/kdejava/KSSLKeyGen.cpp
--- kdebindings-3.2.3-old/kdejava/koala/kdejava/KSSLKeyGen.cpp	2004-01-03 09:53:30.000000000 -0800
+++ kdebindings-3.2.3/kdejava/koala/kdejava/KSSLKeyGen.cpp	2004-10-18 11:14:46.000000000 -0700
@@ -412,22 +412,20 @@
 }
 
 JNIEXPORT jint JNICALL
-Java_org_kde_koala_KSSLKeyGen_generateCSR__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring name, jstring pass, jint bits)
+Java_org_kde_koala_KSSLKeyGen_generateCSR__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jstring pass, jint bits)
 {
-	(void) cls;
 static QString* _qstring_name = 0;
 static QString* _qstring_pass = 0;
-	jint xret = (jint) KSSLKeyGenJBridge::generateCSR((QString)*(QString*) QtSupport::toQString(env, name, &_qstring_name), (QString)*(QString*) QtSupport::toQString(env, pass, &_qstring_pass), (int) bits);
+	jint xret = (jint) ((KSSLKeyGen*) QtSupport::getQt(env, obj))->generateCSR((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name), (const QString&)*(QString*) QtSupport::toQString(env, pass, &_qstring_pass), (int) bits);
 	return xret;
 }
 
 JNIEXPORT jint JNICALL
-Java_org_kde_koala_KSSLKeyGen_generateCSR__Ljava_lang_String_2Ljava_lang_String_2II(JNIEnv* env, jclass cls, jstring name, jstring pass, jint bits, jint e)
+Java_org_kde_koala_KSSLKeyGen_generateCSR__Ljava_lang_String_2Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jstring pass, jint bits, jint e)
 {
-	(void) cls;
 static QString* _qstring_name = 0;
 static QString* _qstring_pass = 0;
-	jint xret = (jint) KSSLKeyGenJBridge::generateCSR((QString)*(QString*) QtSupport::toQString(env, name, &_qstring_name), (QString)*(QString*) QtSupport::toQString(env, pass, &_qstring_pass), (int) bits, (int) e);
+	jint xret = (jint) ((KSSLKeyGen*) QtSupport::getQt(env, obj))->generateCSR((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name), (const QString&)*(QString*) QtSupport::toQString(env, pass, &_qstring_pass), (int) bits, (int) e);
 	return xret;
 }
 

--MGYHOYXEY6WxJCY8--

---------------------------------------
Received: (at 277594-done) by bugs.debian.org; 25 Oct 2004 00:15:29 +0000
>From asp16@alu.ua.es Sun Oct 24 17:15:29 2004
Return-path: <asp16@alu.ua.es>
Received: from 84-120-65-92.onocable.ono.com (chistera.yi.org) [84.120.65.92] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CLsWH-0001pn-00; Sun, 24 Oct 2004 17:15:29 -0700
Received: from userid 1000 by chistera.yi.org with local (Exim 4.34) 
	  id 1CLsWF-0006P7-Fn; Mon, 25 Oct 2004 02:15:27 +0200
Date: Mon, 25 Oct 2004 02:15:27 +0200
From: Adeodato =?iso-8859-1?Q?Sim=F3?= <asp16@alu.ua.es>
To: Matt Kraai <kraai@ftbfs.org>
Cc: 277594-done@bugs.debian.org
Subject: Re: Bug#277594: FTBFS: out-of-date Java bindings
Message-ID: <20041025001527.GA24580@chistera.yi.org>
References: <20041020154515.GA2400@localhost.localdomain> <20041022003907.GB14033@chistera.yi.org> <20041022123205.GA5185@localhost.localdomain>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <20041022123205.GA5185@localhost.localdomain>
X-No-CC: Please respect my Mail-Followup-To header
User-Agent: Mutt/1.5.6+20040907i
Delivered-To: 277594-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-4.8 required=4.0 tests=BAYES_00,FROM_ENDS_IN_NUMS,
	HAS_BUG_NUMBER autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

* Matt Kraai [Fri, 22 Oct 2004 05:32:05 -0700]:

> The failure seemed to be caused by a mismatch between the bindings and
> the code that they were wrapping.  If sarge doesn't contain 3.3.0, it
> should probably work fine.

  then there is no problem.

  thanks,

-- 
Adeodato Simó
    EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621
 
I don't want to achieve immortality through my work. I want to achieve
immortality throguh not dying.
                -- Woody Allen



Reply to: