Your message dated Wed, 27 Jul 2005 21:32:13 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#297862: fixed in xlogmaster 1.6.0-10
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; 3 Mar 2005 09:56:48 +0000
>From [EMAIL PROTECTED] Thu Mar 03 01:56:48 2005
Return-path: <[EMAIL PROTECTED]>
Received: from c223012.adsl.hansenet.de (localhost.localdomain) [213.39.223.12] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1D6n4a-00082n-00; Thu, 03 Mar 2005 01:56:48 -0800
Received: from aj by localhost.localdomain with local (Exim 4.44)
        id 1D6o0u-0003Mr-45; Thu, 03 Mar 2005 11:57:04 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: xlogmaster: FTBFS (amd64/gcc-4.0): cast from 'void**' to 'int' loses 
precision
Message-Id: <[EMAIL PROTECTED]>
Date: Thu, 03 Mar 2005 11:57:04 +0100
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: xlogmaster
Severity: normal
Tags: patch

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

c++ -DHAVE_CONFIG_H -I. -I. -I..     -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -DXLM_HOME=\"/etc/xlogmaster\" 
-DXLM_DB=\"/etc/xlogmaster/database\" -DXLM_USER_DB=\".xlm-db\" 
-DXLM_LIB=\"/etc/xlogmaster\"  -I../import  -c xlogmaster.cc
In file included from 
/usr/lib/gcc/x86_64-linux/4.0.0/../../../../include/c++/4.0.0/backward/fstream.h:31,
                 from sysinc.H:23,
                 from xlogmaster.cc:36:
/usr/lib/gcc/x86_64-linux/4.0.0/../../../../include/c++/4.0.0/backward/backward_warning.h:32:2:
 warning: #warning This file includes at least one deprecated or antiquated 
header. Please consider using one of the 32 headers found in section 17.4.1.2 
of the C++ standard. Examples include substituting the <X> header for the <X.h> 
header for C++ includes, or <iostream> instead of the deprecated header 
<iostream.h>. To disable this warning use -Wno-deprecated.
xlogmaster.cc: In function 'void button_pressed(GtkWidget*, void**)':
xlogmaster.cc:439: error: cast from 'void**' to 'int' loses precision
make[3]: *** [xlogmaster.o] Error 1
make[3]: Leaving directory `/xlogmaster-1.6.0/src'

With the attached patch 'xlogmaster' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/xlogmaster-1.6.0/src/alert.cc ./src/alert.cc
--- ../tmp-orig/xlogmaster-1.6.0/src/alert.cc   1999-03-31 18:00:29.000000000 
+0200
+++ ./src/alert.cc      2005-03-03 11:28:10.000000000 +0100
@@ -103,7 +103,7 @@
 int 
 alert_interrupt(gpointer data)
 { 
-  int nr = (int) data;
+  long nr = (long) data;
   entry[nr]->fade += entry[nr]->fadestep;
   if ( entry[nr]->fade > fade_base )
     {
diff -urN ../tmp-orig/xlogmaster-1.6.0/src/customize.cc ./src/customize.cc
--- ../tmp-orig/xlogmaster-1.6.0/src/customize.cc       1999-03-31 
18:00:29.000000000 +0200
+++ ./src/customize.cc  2005-03-03 11:29:19.000000000 +0100
@@ -1849,7 +1849,7 @@
 
   gint default_class0_filter = NO_FILTER;
   if ( data != NULL )
-    default_class0_filter = (gint) data;
+    default_class0_filter = (long) data;
 
   /* block handlers */
   block_filter_handlers = TRUE;  
diff -urN ../tmp-orig/xlogmaster-1.6.0/src/output.cc ./src/output.cc
--- ../tmp-orig/xlogmaster-1.6.0/src/output.cc  2005-03-03 11:33:14.551469576 
+0100
+++ ./src/output.cc     2005-03-03 11:32:48.780443860 +0100
@@ -189,7 +189,7 @@
 gint 
 pipe_magic_interrupt(gpointer data)
 {
-  gint i = (gint) data;
+  long i = (long) data;
   
   /* are we locked out ? */
   if ( entry[i]->pipe_lock == TRUE )
diff -urN ../tmp-orig/xlogmaster-1.6.0/src/watchdog.cc ./src/watchdog.cc
--- ../tmp-orig/xlogmaster-1.6.0/src/watchdog.cc        2005-03-03 
11:33:14.552469383 +0100
+++ ./src/watchdog.cc   2005-03-03 11:32:23.995227864 +0100
@@ -755,7 +755,7 @@
 gint 
 watchdog_tail_interrupt(gpointer data)
 {
-  gint i = (gint) data;
+  long i = (long) data;
   if ( entry[i]->active == FALSE ) return TRUE;
   
   if ( entry[i]->fd == -1 )
@@ -895,7 +895,7 @@
 gint 
 watchdog_run_interrupt(gpointer data)
 {
-  int i = (int) data;
+  long i = (long) data;
   if ( entry[i]->active == FALSE ) return TRUE;
 
   if ( entry[i]->fd == -1 )
@@ -1006,7 +1006,7 @@
 gint
 watchdog_run_restart_interrupt(gpointer data)
 { 
-  gint i = (gint) data;
+  long i = (long) data;
   
   /* first remove this interrupt */
   gtk_timeout_remove(entry[i]->tag);
@@ -1038,7 +1038,7 @@
 gint 
 watchdog_cat_interrupt(gpointer data)
 {
-  int i = (int) data;
+  long i = (long) data;
   if ( entry[i]->active == FALSE ) return TRUE;
   
   /* we need to open it every time anew for CAT */
@@ -1584,7 +1584,7 @@
 gint 
 tail_interrupt(gpointer data)
 { 
-  gint i = (gint) data;
+  long i = (long) data;
   if ( entry[i]->active == FALSE ) return TRUE;
   
   /*
@@ -1696,7 +1696,7 @@
 gint 
 cat_interrupt(gpointer data)
 {
-  gint i = (gint) data;
+  long i = (long) data;
   if ( entry[i]->active == FALSE ) return TRUE;
   
   entry[i]->fd = open(entry[i]->filename, O_RDONLY);
@@ -1725,7 +1725,7 @@
 gint 
 run_interrupt(gpointer data)
 { 
-  gint i = (gint) data;
+  long i = (long) data;
   if ( entry[i]->active == FALSE ) return TRUE;
 
   long got = read_from_filedescriptor(i);
@@ -1787,7 +1787,7 @@
 gint 
 run_restart_interrupt(gpointer data)
 { 
-  gint i = (gint) data;
+  long i = (long) data;
  
   /* first remove this interrupt */
   gtk_timeout_remove(entry[i]->tag);
diff -urN ../tmp-orig/xlogmaster-1.6.0/src/xlogmaster.cc ./src/xlogmaster.cc
--- ../tmp-orig/xlogmaster-1.6.0/src/xlogmaster.cc      2005-03-03 
11:33:14.553469190 +0100
+++ ./src/xlogmaster.cc 2005-03-03 11:27:40.000000000 +0100
@@ -436,7 +436,7 @@
 button_pressed(GtkWidget *, gpointer *data)
 {
   if ( display_logs == DISABLED ) return;
-  int pressed = (int) data;       // Which button has been pressed ?
+  long pressed = (long) data;       // Which button has been pressed ?
   deactivate();                        // deactivate old "Log" object
   active = pressed;                 // set new one
   activate();                           // and activate it

---------------------------------------
Received: (at 297862-close) by bugs.debian.org; 28 Jul 2005 04:46:51 +0000
>From [EMAIL PROTECTED] Wed Jul 27 21:46:51 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1Dy045-0001Wb-00; Wed, 27 Jul 2005 21:32:13 -0700
From: Patryk Cisek <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#297862: fixed in xlogmaster 1.6.0-10
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Wed, 27 Jul 2005 21:32:13 -0700
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: xlogmaster
Source-Version: 1.6.0-10

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

xlogmaster_1.6.0-10.diff.gz
  to pool/main/x/xlogmaster/xlogmaster_1.6.0-10.diff.gz
xlogmaster_1.6.0-10.dsc
  to pool/main/x/xlogmaster/xlogmaster_1.6.0-10.dsc
xlogmaster_1.6.0-10_i386.deb
  to pool/main/x/xlogmaster/xlogmaster_1.6.0-10_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.
Patryk Cisek <[EMAIL PROTECTED]> (supplier of updated xlogmaster 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: Mon, 18 Jul 2005 20:21:50 +0200
Source: xlogmaster
Binary: xlogmaster
Architecture: source i386
Version: 1.6.0-10
Distribution: unstable
Urgency: low
Maintainer: Patryk Cisek <[EMAIL PROTECTED]>
Changed-By: Patryk Cisek <[EMAIL PROTECTED]>
Description: 
 xlogmaster - A program to monitor logfiles
Closes: 297862
Changes: 
 xlogmaster (1.6.0-10) unstable; urgency=low
 .
   * Fixed gcc 4.0 / AMD64 error: "cast from 'void**' to 'int' loses precision"
     (Closes: #297862)
Files: 
 529b15a14d29c6f6d8712310d3bcbfe7 614 admin optional xlogmaster_1.6.0-10.dsc
 070d0337d14a211d106853f8dd4ec383 14405 admin optional 
xlogmaster_1.6.0-10.diff.gz
 db48c6b07c2f001871e9a177a64f88c3 168590 admin optional 
xlogmaster_1.6.0-10_i386.deb

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

iD8DBQFC4DZqgY5NIXPNpFURArb5AKCWxEIOl3iR2OXX4wx2nvtAWiKmHACgr+J8
XqORiYFKcVBrEmYcfEOgVRY=
=84/C
-----END PGP SIGNATURE-----


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

Reply via email to