Comment 8 for bug 11341

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <20041221043447.GB6297@jale>
Date: Mon, 20 Dec 2004 21:34:47 -0700
From: dann frazier <email address hidden>
To: Matt Taggart <email address hidden>
Cc: <email address hidden>, <email address hidden>,
 <email address hidden>
Subject: Re: what to do about evolution?

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

On Mon, Dec 20, 2004 at 03:49:12PM -0700, Matt Taggart wrote:
> I have changed the severity of this bug to grave since it makes the
> package unusable on 64bit archs.

Please consider this message to be my intent to NMU evolution-data-server
a few days from now.

Attached is the complete patch I plan to use.

--Q68bSM7Ycu6FN28Q
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="evolution-data-server_1.0.3-1.1.patch"

diff -urN evolution-data-server-1.0.3.orig/debian/changelog evolution-data-server-1.0.3/debian/changelog
--- evolution-data-server-1.0.3.orig/debian/changelog 2004-12-20 21:19:21.000000000 -0700
+++ evolution-data-server-1.0.3/debian/changelog 2004-12-20 21:23:47.000000000 -0700
@@ -1,3 +1,11 @@
+evolution-data-server (1.0.3-1.1) unstable; urgency=low
+
+ * NMU
+ * Fix a pointer truncation bug for 64 bit architectures - thanks to David
+ Mosberger for the patch. Closes: #285716
+
+ -- dann frazier <email address hidden> Mon, 20 Dec 2004 21:23:42 -0700
+
 evolution-data-server (1.0.3-1) unstable; urgency=low

   * New upstream release
diff -urN evolution-data-server-1.0.3.orig/debian/patches/03_calendar_pointer_truncate.patch evolution-data-server-1.0.3/debian/patches/03_calendar_pointer_truncate.patch
--- evolution-data-server-1.0.3.orig/debian/patches/03_calendar_pointer_truncate.patch 1969-12-31 17:00:00.000000000 -0700
+++ evolution-data-server-1.0.3/debian/patches/03_calendar_pointer_truncate.patch 2004-12-20 21:21:42.000000000 -0700
@@ -0,0 +1,99 @@
+From <email address hidden> Tue Dec 14 18:24:23 2004
+Received: (at submit) by bugs.debian.org; 15 Dec 2004 02:24:23 +0000
+Return-path: <email address hidden>
+Received: from adsl-66-127-195-58.dsl.snfc21.pacbell.net (panda.mostang.com) [66.127.195.58]
+ by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
+ id 1CeOpz-0002QM-00; Tue, 14 Dec 2004 18:24:23 -0800
+Received: by panda.mostang.com (Postfix, from userid 199)
+ id 749E3D403E; Tue, 14 Dec 2004 18:23:52 -0800 (PST)
+Content-Type: text/plain; charset="us-ascii"
+MIME-Version: 1.0
+Content-Transfer-Encoding: 7bit
+From: David Mosberger-Tang <email address hidden>
+To: Debian Bug Tracking System <email address hidden>
+Subject: evolution-data-server: libedata-cal5 crashes on 64-bit platforms
+X-Mailer: reportbug 6763.2
+Date: Tue, 14 Dec 2004 18:23:52 -0800
+Message-Id: <email address hidden>
+Delivered-To: <email address hidden>
+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=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
+ autolearn=no version=2.60-bugs.debian.org_2004_03_25
+X-Spam-Level:
+
+Package: evolution-data-server
+Version: 1.0.3-1
+Severity: normal
+Tags: patch
+
+
+The calendar service in Evolution is truncating pointer-values to 32
+bits, thus loosing the top 32-bit on 64-bit platforms and causing
+segmentation faults. Without the attached patch, the Calendar portion
+of evolution is completely unusable on any 64-bit platform.
+
+Please apply.
+
+Thanks,
+
+ --david
+
+--- evolution-data-server-1.0.3/calendar/libedata-cal/e-data-cal-factory.c 2004-08-02 04:38:08.000000000 -0700
++++ evolution-data-server-1.0.3-davidm/calendar/libedata-cal/e-data-cal-factory.c 2004-12-14 18:12:03.289889145 -0800
+@@ -84,7 +84,7 @@
+ if (!kinds)
+ return 0;
+
+- type = GPOINTER_TO_INT (g_hash_table_lookup (kinds, GINT_TO_POINTER (kind)));
++ type = (GType) (g_hash_table_lookup (kinds, GINT_TO_POINTER (kind)));
+
+ return type;
+ }
+@@ -452,7 +452,7 @@
+
+ kinds = g_hash_table_lookup (priv->methods, method_str);
+ if (kinds) {
+- type = GPOINTER_TO_INT (g_hash_table_lookup (kinds, GINT_TO_POINTER (kind)));
++ type = (GType) (g_hash_table_lookup (kinds, GINT_TO_POINTER (kind)));
+ if (type) {
+ g_warning (G_STRLOC ": method `%s' already registered", method_str);
+ g_free (method_str);
+
+
+-- System Information:
+Debian Release: 3.1
+ APT prefers testing
+ APT policy: (990, 'testing'), (500, 'unstable')
+Architecture: ia64
+Kernel: Linux 2.6.10-rc2
+Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
+
+Versions of packages evolution-data-server depends on:
+ii libaudiofile0 0.2.6-5 Open-source version of SGI's audio
+ii libbonobo2-0 2.8.0-3 Bonobo CORBA interfaces library
+ii libc6.1 2.3.2.ds1-18 GNU C Library: Shared libraries an
+ii libdb4.1 4.1.25-17 Berkeley v4.1 Database Libraries [
+ii libebook8 1.0.3-1 Client library for evolution addre
+ii libecal6 1.0.3-1 Client library for evolution calen
+ii libedata-book1 1.0.3-1 Backend library for evolution addr
+ii libedata-cal5 1.0.3-1 Backend library for evolution cale
+ii libedataserver3 1.0.3-1 Utily library for evolution data s
+ii libegroupwise6 1.0.3-1 Client library for accessing group
+ii libesd-alsa0 [libesd0] 0.2.35-2 Enlightened Sound Daemon (ALSA) -
+ii libgconf2-4 2.8.1-4 GNOME configuration database syste
+ii libgcrypt11 1.2.0-4 LGPL Crypto library - runtime libr
+ii libglib2.0-0 2.4.8-1 The GLib library of C routines
+ii libgnome2-0 2.8.0-6 The GNOME 2 library - runtime file
+ii libgnomevfs2-0 2.8.3-6 The GNOME virtual file-system libr
+ii libgnutls11 1.0.16-9 GNU TLS library - runtime library
+ii libgpg-error0 1.0-1 library for common error values an
+ii libldap2 2.1.30-3 OpenLDAP libraries
+ii liborbit2 1:2.10.2-1.1 libraries for ORBit2 - a CORBA ORB
+ii libpopt0 1.7-5 lib for parsing cmdline parameters
+ii libsoup2.2-7 2.2.1-1 an HTTP library implementation in
+ii libtasn1-2 0.2.10-3 Manage ASN.1 structures (runtime)
+ii libxml2 2.6.11-5 GNOME XML library
+ii zlib1g 1:1.2.2-3 compression library - runtime
+
+-- no debconf information

--Q68bSM7Ycu6FN28Q--