Your message dated Mon, 14 Mar 2005 07:32:07 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#288438: fixed in root-portal 0.5.2-1
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 Jan 2005 19:25:33 +0000
>From [EMAIL PROTECTED] Mon Jan 03 11:25:33 2005
Return-path: <[EMAIL PROTECTED]>
Received: from c173214.adsl.hansenet.de (localhost.localdomain)
[213.39.173.214]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1ClXpd-0000Au-00; Mon, 03 Jan 2005 11:25:33 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
id 1ClXv9-0002mn-FX; Mon, 03 Jan 2005 20:31:15 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: root-portal: FTBFS (amd64/gcc-4.0): cast from 'void*' to 'int' loses
precision
Message-Id: <[EMAIL PROTECTED]>
Date: Mon, 03 Jan 2005 20:31:15 +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: root-portal
Severity: normal
Tags: patch
When building 'root-portal' on amd64 with gcc-4.0,
I get the following error:
g++ -DPACKAGE_NAME=\"root-portal\" -DPACKAGE_TARNAME=\"root-portal\"
-DPACKAGE_VERSION=\"0.5.0\" -DPACKAGE_STRING=\"root-portal\ 0.5.0\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"\" -DVERSION=\"\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_STDIO_H=1
-DHAVE_STRING_H=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1
-DHAVE_SYS_FILE_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_X11_XLIB_H=1
-DHAVE_X11_XUTIL_H=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -I.
-I. -DORBIT2=1 -pthread -DXTHREADS -I/usr/include/libgnomeui-2.0
-I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0
-I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2
-I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0
-I/usr/include/libbonobo-2.0 -I/u
sr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include
-I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0
-I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include
-I/usr/include/atk-1.0 -I/usr/include/libxml2 -Wall -ansi
-Woverloaded-virtual -g -Wall -O2 -c module_tree_display.cpp
module_tree_display.cpp: In member function 'void
ModuleTreeDisplay::newModule()':
module_tree_display.cpp:103: error: cast from 'void*' to 'int' loses precision
module_tree_display.cpp: In member function 'void
ModuleTreeDisplay::module_type_selected()':
module_tree_display.cpp:165: error: cast from 'void*' to 'int' loses precision
make[3]: *** [module_tree_display.o] Error 1
make[3]: Leaving directory `/root-portal-0.5.0/src/config'
With the attached patch 'root-portal' can be compiled
on amd64 using gcc-4.0.
Regards
Andreas Jochens
diff -urN ../tmp-orig/root-portal-0.5.0/src/config/childvarentry.cpp
./src/config/childvarentry.cpp
--- ../tmp-orig/root-portal-0.5.0/src/config/childvarentry.cpp 2001-11-09
01:21:56.000000000 +0100
+++ ./src/config/childvarentry.cpp 2005-01-03 19:42:52.817204144 +0100
@@ -65,7 +65,7 @@
{
if (names.size() > 0) {
GtkWidget* active = gtk_menu_get_active(GTK_MENU(menu));
- int index = int(gtk_object_get_user_data(GTK_OBJECT(active)));
+ long index =
long(gtk_object_get_user_data(GTK_OBJECT(active)));
string newValue = names[index];
return DataSet(newValue);
} else {
diff -urN ../tmp-orig/root-portal-0.5.0/src/config/enumentry.cpp
./src/config/enumentry.cpp
--- ../tmp-orig/root-portal-0.5.0/src/config/enumentry.cpp 2001-11-09
01:21:56.000000000 +0100
+++ ./src/config/enumentry.cpp 2005-01-03 19:43:31.673297120 +0100
@@ -49,7 +49,7 @@
DataSet EnumEntry::getValue()
{
GtkWidget* active = gtk_menu_get_active(GTK_MENU(menu));
- int index = int(gtk_object_get_user_data(GTK_OBJECT(active)));
+ long index = long(gtk_object_get_user_data(GTK_OBJECT(active)));
string newValue = names[index];
return DataSet(newValue);
}
diff -urN ../tmp-orig/root-portal-0.5.0/src/config/module_tree_display.cpp
./src/config/module_tree_display.cpp
--- ../tmp-orig/root-portal-0.5.0/src/config/module_tree_display.cpp
2001-11-09 03:04:02.000000000 +0100
+++ ./src/config/module_tree_display.cpp 2005-01-03 17:50:19.761824608
+0100
@@ -100,7 +100,7 @@
void ModuleTreeDisplay::newModule()
{
try {
- int mod_num =
int(gtk_object_get_user_data(GTK_OBJECT(gtk_menu_get_active(GTK_MENU(menu)))));
+ long mod_num =
long(gtk_object_get_user_data(GTK_OBJECT(gtk_menu_get_active(GTK_MENU(menu)))));
const string& typeName =
ModuleRegistry::instance()->module_name(mod_num);
ModuleTree::instance()->create_child(mod, typeName);
Path child = mod;
@@ -162,7 +162,7 @@
void ModuleTreeDisplay::module_type_selected()
{
- int mod_num =
int(gtk_object_get_user_data(GTK_OBJECT(gtk_menu_get_active(GTK_MENU(menu)))));
+ long mod_num =
long(gtk_object_get_user_data(GTK_OBJECT(gtk_menu_get_active(GTK_MENU(menu)))));
const string& typeName =
ModuleRegistry::instance()->module_name(mod_num);
const DataSetMap& modInf =
ModuleRegistry::instance()->module_info(typeName).module_info();
diff -urN ../tmp-orig/root-portal-0.5.0/src/config/overridemenu.cpp
./src/config/overridemenu.cpp
--- ../tmp-orig/root-portal-0.5.0/src/config/overridemenu.cpp 2001-11-09
01:21:56.000000000 +0100
+++ ./src/config/overridemenu.cpp 2005-01-03 17:54:29.736822632 +0100
@@ -59,7 +59,7 @@
{
try {
GtkWidget* menuItem = gtk_menu_get_active(GTK_MENU(menu));
- int n = int(gtk_object_get_user_data(GTK_OBJECT(menuItem)));
+ long n = long(gtk_object_get_user_data(GTK_OBJECT(menuItem)));
const DataSetMap *m =
ModuleTree::instance()->module_info(targetModule);
assert(m);
---------------------------------------
Received: (at 288438-close) by bugs.debian.org; 14 Mar 2005 12:38:25 +0000
>From [EMAIL PROTECTED] Mon Mar 14 04:38:24 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DAoq0-0005Zw-00; Mon, 14 Mar 2005 04:38:24 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1DAojv-0005wb-00; Mon, 14 Mar 2005 07:32:07 -0500
From: Tollef Fog Heen <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#288438: fixed in root-portal 0.5.2-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Mon, 14 Mar 2005 07:32:07 -0500
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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
Source: root-portal
Source-Version: 0.5.2-1
We believe that the bug you reported is fixed in the latest version of
root-portal, which is due to be installed in the Debian FTP archive:
root-portal_0.5.2-1.diff.gz
to pool/main/r/root-portal/root-portal_0.5.2-1.diff.gz
root-portal_0.5.2-1.dsc
to pool/main/r/root-portal/root-portal_0.5.2-1.dsc
root-portal_0.5.2-1_i386.deb
to pool/main/r/root-portal/root-portal_0.5.2-1_i386.deb
root-portal_0.5.2.orig.tar.gz
to pool/main/r/root-portal/root-portal_0.5.2.orig.tar.gz
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.
Tollef Fog Heen <[EMAIL PROTECTED]> (supplier of updated root-portal 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: Thu, 10 Mar 2005 11:08:23 +0100
Source: root-portal
Binary: root-portal
Architecture: source i386
Version: 0.5.2-1
Distribution: unstable
Urgency: low
Maintainer: Tollef Fog Heen <[EMAIL PROTECTED]>
Changed-By: Tollef Fog Heen <[EMAIL PROTECTED]>
Description:
root-portal - Monitors the system and displays the results on the desktop
Closes: 288438
Changes:
root-portal (0.5.2-1) unstable; urgency=low
.
* New upstream release
- includes gcc-4.0 fix (closes: #288438)
Files:
e55200daeaa4a82c7d935274deb59a51 717 x11 optional root-portal_0.5.2-1.dsc
dd169a5e2149c1c87f764c93851cdf0c 429754 x11 optional
root-portal_0.5.2.orig.tar.gz
175d69c117eb26b9307c677a13ff56fa 9877 x11 optional root-portal_0.5.2-1.diff.gz
4efa789f10055860875fbdd29129cfac 211816 x11 optional
root-portal_0.5.2-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFCNYHRQSseMYF6mWoRAolgAJ4zpUof5eBGOSwz03OV33dxHDdw7QCgvvXf
UtPe7dJjXu54SRednDlYOD8=
=v1tH
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]