Your message dated Tue, 19 Jul 2005 05:47:27 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#303779: fixed in motor 2:3.4.0-4
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; 8 Apr 2005 18:47:23 +0000
>From [EMAIL PROTECTED] Fri Apr 08 11:47:23 2005
Return-path: <[EMAIL PROTECTED]>
Received: from c203154.adsl.hansenet.de (localhost.localdomain) 
[213.39.203.154] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DJyVm-000128-00; Fri, 08 Apr 2005 11:47:22 -0700
Received: from aj by localhost.localdomain with local (Exim 4.50)
        id 1DJyVj-0003Kh-B0; Fri, 08 Apr 2005 20:47:19 +0200
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: motor: FTBFS (amd64/gcc-4.0): cast from 'void*' to 'int' loses 
precision
Message-Id: <[EMAIL PROTECTED]>
Date: Fri, 08 Apr 2005 20:47:19 +0200
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: motor
Version: 2:3.4.0-2
Severity: normal
Tags: patch

When building 'motor' on amd64/unstable with gcc-4.0,
I get the following error:

c++ -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c kkstrtext.cc
kkstrtext.cc: In function 'int intcompare(void*, void*)':
kkstrtext.cc:434: error: cast from 'void*' to 'int' loses precision
kkstrtext.cc:434: error: cast from 'void*' to 'int' loses precision
make[3]: *** [kkstrtext.o] Error 1
make[3]: Leaving directory `/motor-3.4.0/kkstrtext'

The attached patch fixes these errors.

Please also remove 

'libstdc++5-dev (>> 3.2.3) | libstdc++5-3.3-dev | libstdc++6-dev'

from the Build-Depends in debian/control because it is not necessary
anymore and it may confuse autobuilders.


Regards
Andreas Jochens

diff -urN ../tmp-orig/motor-3.4.0/debian/control ./debian/control
--- ../tmp-orig/motor-3.4.0/debian/control      2005-04-08 20:30:30.878851779 
+0200
+++ ./debian/control    2005-04-08 20:29:06.186098884 +0200
@@ -3,7 +3,6 @@
 Priority: optional
 Maintainer: Krzysztof Krzyzaniak (eloy) <[EMAIL PROTECTED]>
-Build-Conflicts: libstdc++5-dev (<= 3.2.3)
-Build-Depends: debhelper (>= 4.1.37), dpatch, libgpmg1-dev, libncurses5-dev | 
libncurses-dev, gettext, libfribidi-dev (>= 0.10.4-4), libstdc++5-dev (>> 
3.2.3) | libstdc++5-3.3-dev | libstdc++6-dev
+Build-Depends: debhelper (>= 4.1.37), dpatch, libgpmg1-dev, libncurses5-dev | 
libncurses-dev, gettext, libfribidi-dev (>= 0.10.4-4)
 Standards-Version: 3.6.1.0
 
 Package: motor-common
diff -urN ../tmp-orig/motor-3.4.0/kkconsui/src/texteditor.cc 
./kkconsui/src/texteditor.cc
--- ../tmp-orig/motor-3.4.0/kkconsui/src/texteditor.cc  2003-09-09 
23:51:33.000000000 +0200
+++ ./kkconsui/src/texteditor.cc        2005-04-08 20:30:03.690067218 +0200
@@ -1940,7 +1940,7 @@
 }
 
 int texteditor::findint(void *p1, void *p2) {
-    return *(int *) p1 != (int) p2;
+    return *(int *) p1 != (long) p2;
 }
 
 int texteditor::findhighline(void *p1, void *p2) {
diff -urN ../tmp-orig/motor-3.4.0/kkstrtext/kkstrtext.cc 
./kkstrtext/kkstrtext.cc
--- ../tmp-orig/motor-3.4.0/kkstrtext/kkstrtext.cc      2005-02-01 
01:13:24.000000000 +0100
+++ ./kkstrtext/kkstrtext.cc    2005-04-08 20:30:03.691067026 +0200
@@ -431,7 +431,7 @@
 }
 
 int intcompare(void *s1, void *s2) {
-    return (int) s1 != (int) s2;
+    return s1 != s2;
 }
 
 string i2str(int i) {
diff -urN ../tmp-orig/motor-3.4.0/src/ui/ncurses/ncursesui.cc 
./src/ui/ncurses/ncursesui.cc
--- ../tmp-orig/motor-3.4.0/src/ui/ncurses/ncursesui.cc 2004-11-14 
22:04:08.000000000 +0100
+++ ./src/ui/ncurses/ncursesui.cc       2005-04-08 20:30:03.691067026 +0200
@@ -1242,7 +1242,7 @@
        populatesettingstree(*db.gettree());
         if(fin = !db.open(n, b, &p)) break;
 
-        switch((int) p) {
+        switch((long) p) {
             case 10:
                if(input(motorui::text, buf = project.getversion(),
                _("version: ")) == motorui::yes) {
@@ -1356,7 +1356,8 @@
 vector<shitpair> treeshit;
 
 void ncursesui::populatecontentstree(treeview &tree, motorproject &mp, 
projeditaction pea, bool setcurrent) {
-    int foldid, id, cfid = -1, i, sid;
+    int foldid, id, cfid = -1, i;
+    long sid;
     vector<motorfolder>::iterator ifold;
     vector<motorfile>::iterator ifile;
     static vector<string> cnodes;
@@ -1368,7 +1369,7 @@
            id = tree.getid(i);
 
            if(tree.isnode(id))
-               if(sid = (int) tree.getref(id))
+               if(sid = (long) tree.getref(id))
                    if(!tree.isnodeopen(id))
                        cnodes.push_back(treeshit[sid-1].second->gettagname());
        }
diff -urN ../tmp-orig/motor-3.4.0/src/ui/ncurses/uitagbrowser.cc 
./src/ui/ncurses/uitagbrowser.cc
--- ../tmp-orig/motor-3.4.0/src/ui/ncurses/uitagbrowser.cc      2004-07-23 
02:18:16.000000000 +0200
+++ ./src/ui/ncurses/uitagbrowser.cc    2005-04-08 20:30:03.692066835 +0200
@@ -95,7 +95,7 @@
     cm.close();
 
     if(n) {
-       int c = (int) cm.getref(n-1);
+       long c = (long) cm.getref(n-1);
 
        if(c != tagbrowser.getscope()) {
            tagbrowser.setscope((motortagbrowser::viewscope) c);
@@ -142,7 +142,7 @@
        switch(cm.open()) {
            case -2:
                iter = false;
-               c = (char) (int) cm.getref(cm.getpos());
+               c = (char) (long) cm.getref(cm.getpos());
 
                while((pos = nfilter.find(c)) != -1) {
                    nfilter.erase(pos, 1);
@@ -213,7 +213,7 @@
 }
 
 void uitagbrowser::exec() {
-    int n, k;
+    long n, k;
     bool r;
 
     if(search.empty())
@@ -240,7 +240,7 @@
     m.setpos(mpos);
 
     if(r = (n = m.open())) {
-        k = (int) m.getref(n-1);
+        k = (long) m.getref(n-1);
         mpos = n-1;
     }
 
diff -urN ../tmp-orig/motor-3.4.0/src/ui/ncurses/uivcs.cc 
./src/ui/ncurses/uivcs.cc
--- ../tmp-orig/motor-3.4.0/src/ui/ncurses/uivcs.cc     2005-02-12 
15:58:28.000000000 +0100
+++ ./src/ui/ncurses/uivcs.cc   2005-04-08 20:30:03.692066835 +0200
@@ -31,7 +31,8 @@
 void uivcs::check() {
     bool found;
     dialogbox db;
-    int n, b, i, nodes[motorvcs::remotely_modified+1];
+    int n, b, nodes[motorvcs::remotely_modified+1];
+    long i;
     string comment, buf;
 
     if(!enabled()) return;
@@ -98,7 +99,7 @@
        switch(b) {
            case 0:
                if(!i) {
-                    i = (int) tree.getref(tree.getid(n));
+                    i = (long) tree.getref(tree.getid(n));
                    ic = ch.begin()+i-1;
 
                     found = (ik = find(naffect.begin(), naffect.end(),

---------------------------------------
Received: (at 303779-close) by bugs.debian.org; 19 Jul 2005 09:53:15 +0000
>From [EMAIL PROTECTED] Tue Jul 19 02:53:15 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1Duomp-0003LQ-00; Tue, 19 Jul 2005 02:53:15 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1DuohD-000441-00; Tue, 19 Jul 2005 05:47:27 -0400
From: Krzysztof Krzyzaniak (eloy) <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#303779: fixed in motor 2:3.4.0-4
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Tue, 19 Jul 2005 05:47:27 -0400
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: motor
Source-Version: 2:3.4.0-4

We believe that the bug you reported is fixed in the latest version of
motor, which is due to be installed in the Debian FTP archive:

motor-common_3.4.0-4_all.deb
  to pool/main/m/motor/motor-common_3.4.0-4_all.deb
motor-fribidi_3.4.0-4_i386.deb
  to pool/main/m/motor/motor-fribidi_3.4.0-4_i386.deb
motor_3.4.0-4.diff.gz
  to pool/main/m/motor/motor_3.4.0-4.diff.gz
motor_3.4.0-4.dsc
  to pool/main/m/motor/motor_3.4.0-4.dsc
motor_3.4.0-4_i386.deb
  to pool/main/m/motor/motor_3.4.0-4_i386.deb



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.
Krzysztof Krzyzaniak (eloy) <[EMAIL PROTECTED]> (supplier of updated motor 
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: SHA1

Format: 1.7
Date: Tue, 19 Jul 2005 11:26:35 +0200
Source: motor
Binary: motor motor-fribidi motor-common
Architecture: source all i386
Version: 2:3.4.0-4
Distribution: unstable
Urgency: low
Maintainer: Krzysztof Krzyzaniak (eloy) <[EMAIL PROTECTED]>
Changed-By: Krzysztof Krzyzaniak (eloy) <[EMAIL PROTECTED]>
Description: 
 motor      - C/C++/Java Integrated Development Environment
 motor-common - C/C++/Java Integrated Development Environment
 motor-fribidi - C/C++/Java Integrated Development Environment
Closes: 303779
Changes: 
 motor (2:3.4.0-4) unstable; urgency=low
 .
   * Included patch from Andreas Jochens <[EMAIL PROTECTED]> for proper build on
     AMD64 platform (closes: #303779)
   * debian/control - g++ removed from Build-Depends since is essential
Files: 
 0ecbd209ffb835a18d9cfa93a387327a 736 editors optional motor_3.4.0-4.dsc
 be79e69a1831afc1bb985c5ec6781528 22018 editors optional motor_3.4.0-4.diff.gz
 5ea7f21b415e81fb0d502e64fc900e80 371110 editors optional 
motor-fribidi_3.4.0-4_i386.deb
 bf4c18a32f5baa3104efa15411cd245e 371058 editors optional motor_3.4.0-4_i386.deb
 b025b41310fc47b9acf101daaeeeb787 152766 editors optional 
motor-common_3.4.0-4_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFC3Mj3+NMfSd6w7DERAoTkAJ9UFEvM0SRPzbHuMVk0egW5BzcHXwCgiXUU
SMX7+PtsIMuBDdRdCmIlvMk=
=FJxZ
-----END PGP SIGNATURE-----


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

Reply via email to