Your message dated Wed, 10 Aug 2005 19:32:23 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#286784: fixed in ghemical 1.51-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; 22 Dec 2004 07:10:01 +0000
>From [EMAIL PROTECTED] Tue Dec 21 23:10:01 2004
Return-path: <[EMAIL PROTECTED]>
Received: from c158178.adsl.hansenet.de (localhost.localdomain)
[213.39.158.178]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1Ch0dE-0005xr-00; Tue, 21 Dec 2004 23:10:01 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
id 1Ch0i2-0006Dc-RO; Wed, 22 Dec 2004 08:14:58 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: ghemical: FTBFS (amd64/gcc-4.0): 'obj_loc_data*
dummy_object::GetLocDataRW() const' is protected
Message-Id: <[EMAIL PROTECTED]>
Date: Wed, 22 Dec 2004 08:14:58 +0100
Delivered-To: [EMAIL PROTECTED]
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: ghemical
Severity: normal
Tags: patch
When building 'ghemical' on amd64 with gcc-4.0,
I get the following error:
x86_64-linux-g++ -c -g -O2 -fno-exceptions -I../../src/graphics
-I../../src/common -I/usr/include/openbabel -I/ghemical-1.01/src
-I/usr/include/sc -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H
-I/usr/lib/gnome-libs/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include ./mtools.cpp
./objects.h:93: error: 'obj_loc_data* dummy_object::GetLocDataRW() const' is
protected
./objects.h:180: error: within this context
make[2]: *** [mtools.o] Error 1
make[2]: Leaving directory `/ghemical-1.01/src/graphics'
With the attached patch 'ghemical' can be compiled
on amd64 using gcc-4.0.
Regards
Andreas Jochens
diff -urN ../tmp-orig/ghemical-1.01/src/graphics/camera.cpp
./src/graphics/camera.cpp
--- ../tmp-orig/ghemical-1.01/src/graphics/camera.cpp 2002-07-31
11:53:35.000000000 +0200
+++ ./src/graphics/camera.cpp 2004-12-21 22:07:00.000000000 +0100
@@ -585,7 +585,7 @@
fGL r3 = tmp1 * tmp2;
const dummy_object * name = this;
- glPushName(GLNAME_LIGHT); glPushName((iGLu) name);
+ glPushName(GLNAME_LIGHT); glPushName((long) name);
glPushMatrix(); SetModelView();
diff -urN ../tmp-orig/ghemical-1.01/src/graphics/mm1docv.cpp
./src/graphics/mm1docv.cpp
--- ../tmp-orig/ghemical-1.01/src/graphics/mm1docv.cpp 2002-11-11
14:18:03.000000000 +0100
+++ ./src/graphics/mm1docv.cpp 2004-12-22 07:41:48.641916384 +0100
@@ -337,7 +337,7 @@
for (iter_mm1al it1 = atom_list.begin();it1 !=
atom_list.end();it1++) // wireframe atoms
{
if (!TestAtom(& (* it1), rm)) continue;
- glPushName(GLNAME_MD_TYPE1); glPushName((i32u)
& (* it1));
+ glPushName(GLNAME_MD_TYPE1); glPushName((long)
& (* it1));
glBegin(GL_POINTS);
SetColor(gv->colormode, & (* it1));
@@ -401,7 +401,7 @@
break;
}
- glPushName(GLNAME_MD_TYPE1); glPushName((i32u)
& (* it1));
+ glPushName(GLNAME_MD_TYPE1); glPushName((long)
& (* it1));
GLUquadricObj * qo = gluNewQuadric();
gluQuadricDrawStyle(qo, (GLenum) GLU_FILL);
@@ -460,7 +460,7 @@
break;
}
- glPushName(GLNAME_MD_TYPE1);
glPushName((i32u) (* it1).atmr[n2]);
+ glPushName(GLNAME_MD_TYPE1);
glPushName((long) (* it1).atmr[n2]);
GLUquadricObj * qo = gluNewQuadric();
gluQuadricDrawStyle(qo, (GLenum)
GLU_FILL);
diff -urN ../tmp-orig/ghemical-1.01/src/graphics/objects.h
./src/graphics/objects.h
--- ../tmp-orig/ghemical-1.01/src/graphics/objects.h 2001-12-29
15:56:49.000000000 +0100
+++ ./src/graphics/objects.h 2004-12-21 19:58:43.000000000 +0100
@@ -88,7 +88,7 @@
void SetModelView(void) const;
const obj_loc_data * GetLocData(void) const;
- protected:
+// protected:
obj_loc_data * GetLocDataRW(void) const;
diff -urN ../tmp-orig/ghemical-1.01/src/graphics/plane.cpp
./src/graphics/plane.cpp
--- ../tmp-orig/ghemical-1.01/src/graphics/plane.cpp 2001-10-23
15:10:41.000000000 +0200
+++ ./src/graphics/plane.cpp 2004-12-21 22:08:27.000000000 +0100
@@ -134,7 +134,7 @@
glPushMatrix();
glPushName(GLNAME_OBJECT);
- glPushName((iGLu) name);
+ glPushName((iGLu) (long) name);
// if this is a transparent object, we will not render the quads here.
// instead, the quads get rendered at docview::Render(), like all other
diff -urN ../tmp-orig/ghemical-1.01/src/graphics/qm1docv.cpp
./src/graphics/qm1docv.cpp
--- ../tmp-orig/ghemical-1.01/src/graphics/qm1docv.cpp 2002-10-31
14:11:11.000000000 +0100
+++ ./src/graphics/qm1docv.cpp 2004-12-22 07:41:08.032090016 +0100
@@ -191,7 +191,7 @@
if (!TestAtom(& (* it1), rm)) continue;
glPushName(GLNAME_MD_TYPE1);
- glPushName((i32u) & (* it1));
+ glPushName((long) & (* it1));
glBegin(GL_POINTS);
SetColor(gv->colormode, & (* it1));
@@ -218,7 +218,7 @@
rad *= (* it1).el.GetVDWRadius() *
4.0;
int res =
model_prefs->Value("QM1Graphics/BallResolution", 12);
- glPushName(GLNAME_MD_TYPE1); glPushName((i32u)
& (* it1));
+ glPushName(GLNAME_MD_TYPE1); glPushName((long)
& (* it1));
GLUquadricObj * qo = gluNewQuadric();
gluQuadricDrawStyle(qo, (GLenum) GLU_FILL);
diff -urN ../tmp-orig/ghemical-1.01/src/graphics/surface.cpp
./src/graphics/surface.cpp
--- ../tmp-orig/ghemical-1.01/src/graphics/surface.cpp 2002-10-31
14:11:11.000000000 +0100
+++ ./src/graphics/surface.cpp 2004-12-21 22:08:55.000000000 +0100
@@ -342,7 +342,7 @@
void color_surface::Render(void)
{
glPushName(GLNAME_OBJECT);
- glPushName((iGLu) name);
+ glPushName((iGLu) (long) name);
if (wireframe)
{
diff -urN ../tmp-orig/ghemical-1.01/src/graphics/views.cpp
./src/graphics/views.cpp
--- ../tmp-orig/ghemical-1.01/src/graphics/views.cpp 2002-10-24
14:09:53.000000000 +0200
+++ ./src/graphics/views.cpp 2004-12-21 22:07:51.000000000 +0100
@@ -233,7 +233,7 @@
// then just store the coordinates...
- fGL * ptr2 = (fGL *) ((i32u) udata + sizeof(i32s)); i32s counter = 0;
+ fGL * ptr2 = (fGL *) ((long) udata + sizeof(i32s)); i32s counter = 0;
for (iter_mm1al it1 = mdl->GetAtomsBegin();it1 !=
mdl->GetAtomsEnd();it1++)
{
ptr2[counter++] = (* it1).crd_vector[cset].data[0];
@@ -253,7 +253,7 @@
return;
}
- fGL * ptr2 = (fGL *) ((i32u) udata + sizeof(i32s)); i32s counter = 0;
+ fGL * ptr2 = (fGL *) ((long) udata + sizeof(i32s)); i32s counter = 0;
for (iter_mm1al it1 = docv->GetAtomsBegin();it1 !=
docv->GetAtomsEnd();it1++)
{
const i32s cset = 0; // how to set this?!?!?!
---------------------------------------
Received: (at 286784-close) by bugs.debian.org; 11 Aug 2005 02:53:58 +0000
>From [EMAIL PROTECTED] Wed Aug 10 19:53:58 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
id 1E32rn-0000qH-00; Wed, 10 Aug 2005 19:32:23 -0700
From: Michael Banck <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#286784: fixed in ghemical 1.51-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Wed, 10 Aug 2005 19:32:23 -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
X-CrossAssassin-Score: 6
Source: ghemical
Source-Version: 1.51-1
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.51-1.diff.gz
to pool/main/g/ghemical/ghemical_1.51-1.diff.gz
ghemical_1.51-1.dsc
to pool/main/g/ghemical/ghemical_1.51-1.dsc
ghemical_1.51-1_i386.deb
to pool/main/g/ghemical/ghemical_1.51-1_i386.deb
ghemical_1.51.orig.tar.gz
to pool/main/g/ghemical/ghemical_1.51.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.
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: Sat, 2 Jul 2005 17:08:38 +0200
Source: ghemical
Binary: ghemical
Architecture: source i386
Version: 1.51-1
Distribution: unstable
Urgency: low
Maintainer: Michael Banck <[EMAIL PROTECTED]>
Changed-By: Michael Banck <[EMAIL PROTECTED]>
Description:
ghemical - A GNOME molecular modelling environment
Closes: 268459 286784 320440 320921 320922 321745
Changes:
ghemical (1.51-1) unstable; urgency=low
.
* New upstream release; closes: #320921.
+ Rebuilt again libopenbabel0c2; closes: #320922.
* debian/patches/00list (06_handle_locale): Dropped, applied
upstream.
* debian/patches/00list (04_link_openbabel): Likewise.
* debian/patches/07_object_protected.dpatch: New file; closes: #268459.
* debian/patches/00list (07_object_protected): Added.
* debian/patches/08_gcc-4.0.dpatch: New file; closes: #286784.
* debian/patches/00list (08_gcc-4.0): Added.
* debian/control (Build-Depends): Replaced blas-dev and lapack-dev
with refblas3-dev and lapack3-dev; closes: #320440.
* debian/control (Build-Depends): Added libghemical-dev.
* debian/control (Build-Depends): Removed f2c.
* debian/docs: Removed PROJECT and BUGLIST.
* debian/rules (dh_installchangelogs): Replaced CHANGES with
ChangeLog.
* debian/patches/90_config_guess_sub.dpatch: New file; closes: #321745.
* debian/patches/00list (90_config_guess_sub): Added.
Files:
8ef33899af3e71eab0584a47e3ccbbda 742 gnome optional ghemical_1.51-1.dsc
5fa176d4418942ab7986b8ed6842d38b 1385539 gnome optional
ghemical_1.51.orig.tar.gz
cfcf3479b81c0f2b984b448bdef87d6f 37265 gnome optional ghemical_1.51-1.diff.gz
4c81e178d9ed866b0b986a20c6711c6f 1343240 gnome optional
ghemical_1.51-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQFC+ndemHaJYZ7RAb8RAuDpAKCkm9XW4yZDPeY7TLjIKQC2Cjgk1ACcCP9t
iEhauiUCunhYTUif/ZIYQjI=
=r+B0
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]