Your message dated Wed, 05 Oct 2005 17:32:05 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#322750: fixed in ghemical 1.90-2
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; 12 Aug 2005 15:53:43 +0000
>From [EMAIL PROTECTED] Fri Aug 12 08:53:43 2005
Return-path: <[EMAIL PROTECTED]>
Received: from smtp05.mrf.mail.rcn.net [207.172.4.64]
by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
id 1E3bqp-0008DK-00; Fri, 12 Aug 2005 08:53:43 -0700
Received: from 208-58-77-33.c3-0.grg-ubr3.lnh-grg.md.cable.rcn.com (HELO
tux64.internal.ucko.debian.net) ([208.58.77.33])
by smtp05.mrf.mail.rcn.net with ESMTP; 12 Aug 2005 11:53:42 -0400
X-IronPort-AV: i="3.96,103,1122868800";
d="scan'208"; a="73031354:sNHT22051368"
Received: from amu by tux64.internal.ucko.debian.net with local (Exim 4.52)
id 1E3bqn-0000Vm-Nq
for [EMAIL PROTECTED]; Fri, 12 Aug 2005 11:53:41 -0400
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Aaron M. Ucko" <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: ghemical: FTBFS on 64-bit platforms (assumes 32-bit pointers)
X-Mailer: reportbug 3.15
Date: Fri, 12 Aug 2005 11:53:41 -0400
X-Debbugs-Cc: [EMAIL PROTECTED]
Message-Id: <[EMAIL PROTECTED]>
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: [EMAIL PROTECTED]
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=-11.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
X_DEBBUGS_CC autolearn=ham version=2.60-bugs.debian.org_2005_01_02
Package: ghemical
Version: 1.51-1
Severity: important
Justification: fails to build from source
The latest version of ghemical makes some assumptions about relative
type sizes that hold only on 32-bit platforms, leading to build errors
on 64-bit platforms:
} ./project.cpp: In member function 'void project::RenderScene(graphics_view*,
project::rmode, bool)':
} ./project.cpp:2588: error: cast from 'atom*' to 'i32u' loses precision
} ./project.cpp:2651: error: cast from 'atom*' to 'i32u' loses precision
} ./project.cpp:2711: error: cast from 'atom*' to 'i32u' loses precision
(See
http://buildd.debian.org/fetch.php?&pkg=ghemical&ver=1.51-1&arch=alpha&stamp=1123736439&file=log&as=raw
for a complete build log illustrating the problem.)
Having taken a look at the code, my conclusion is that a proper fix
may take some doing -- the current logic involves attempting to stuff
a pointer to an atom object into a slot (defined by the OpenGL API, so
not feasible to change) that only accepts unsigned ints, and then to
convert it back on demand, whereas setting up and using a formal index
would be safer.
Alternatively, I suppose it would be possible to keep the current
architecture relatively intact by arranging to convert pointers to and
from *pairs* of ints on 64-bit platforms (which, BTW, should be
detected by having configure check sizeof(void*), not by hardcoding a
list of relevant architectures).
At any rate, I'm afraid I don't have time to offer up an actual patch.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.3
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
---------------------------------------
Received: (at 322750-close) by bugs.debian.org; 6 Oct 2005 00:40:05 +0000
>From [EMAIL PROTECTED] Wed Oct 05 17:40:05 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
id 1ENJg5-00031a-00; Wed, 05 Oct 2005 17:32:05 -0700
From: Michael Banck <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#322750: fixed in ghemical 1.90-2
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Wed, 05 Oct 2005 17:32:05 -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: ghemical
Source-Version: 1.90-2
We believe that the bug you reported is fixed in the latest version of
ghemical, which is due to be installed in the Debian FTP archive:
ghemical_1.90-2.diff.gz
to pool/main/g/ghemical/ghemical_1.90-2.diff.gz
ghemical_1.90-2.dsc
to pool/main/g/ghemical/ghemical_1.90-2.dsc
ghemical_1.90-2_i386.deb
to pool/main/g/ghemical/ghemical_1.90-2_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.
Michael Banck <[EMAIL PROTECTED]> (supplier of updated ghemical 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, 6 Oct 2005 02:01:48 +0200
Source: ghemical
Binary: ghemical
Architecture: source i386
Version: 1.90-2
Distribution: unstable
Urgency: low
Maintainer: Michael Banck <[EMAIL PROTECTED]>
Changed-By: Michael Banck <[EMAIL PROTECTED]>
Description:
ghemical - A GNOME molecular modelling environment
Closes: 322750
Changes:
ghemical (1.90-2) unstable; urgency=low
.
* debian/patches/10_64bit_glu_fix.dpatch: New patch by Mark Hymers;
closes: #322750
* debian/patches/00list (10_64bit_glu_fix): Added.
Files:
403229716f17b20b17ea5a5987d0baa5 726 gnome optional ghemical_1.90-2.dsc
8e5422c8019460d9b9656a802c65dc0c 53676 gnome optional ghemical_1.90-2.diff.gz
efcad2566bbc16ede019f2ddcff30bf0 1348154 gnome optional
ghemical_1.90-2_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQFDRG7TmHaJYZ7RAb8RAk56AKDBvcJaPm1mjqnSMk8H6b0qMdpFBwCbB8X3
Jg0WlYPMPxE/x0tN0q4Uzx0=
=c5bA
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]