Your message dated Sat, 22 Oct 2005 08:47:08 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#286471: fixed in inventor 2.1.5-10-5
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; 20 Dec 2004 12:53:51 +0000
>From [EMAIL PROTECTED] Mon Dec 20 04:53:51 2004
Return-path: <[EMAIL PROTECTED]>
Received: from c219139.adsl.hansenet.de (localhost.localdomain)
[213.39.219.139]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1CgN2s-0008Rw-00; Mon, 20 Dec 2004 04:53:51 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
id 1CgN7a-0004RZ-Fi; Mon, 20 Dec 2004 13:58:42 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: inventor: FTBFS (amd64/gcc-4.0): cast from 'void*' to 'int' loses
precision
Message-Id: <[EMAIL PROTECTED]>
Date: Mon, 20 Dec 2004 13:58:42 +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: inventor
Severity: normal
Tags: patch
When building 'inventor' on amd64 with gcc-4.0,
I get the following error:
/usr/bin/g++ -g -D_REENTRANT -O3 -DIVBINDIR=\"/usr/bin\"
-DIVLIBDIR=\"/usr/lib\" -DIVHDRTOP=\"/usr/include/Inventor\"
-DIVFONTPATH=\"/usr/share/inventor/fonts\"
-DIVHELPDIR=\"/usr/share/inventor/help\"
-DIVDATADIR=\"/usr/share/inventor/data/models\"
-DIVMATERIALSDIR=\"/usr/share/inventor/data/materials\"
-DIVTEXTURESDIR=\"/usr/share/inventor/data/textures\"
-DIVDEMOBINDIR=\"/usr/lib/inventor\"
-DIVDEMODATADIR=\"/usr/share/inventor/data/demos\" -DPDFVIEWER=\"xpdf\"
-I/usr/X11R6/include -I. -I../../../../lib/database/include
-I../../../../lib/interaction/include -I../../../../lib/nodekits/include
-I../../../../libSoXt/include -fPIC -O -DNDEBUG -c So.c++
SoType.c++: In static member function 'static SoType SoType::fromName(SbName)':
SoType.c++:337: error: cast from 'void*' to 'int' loses precision
SoOutput.c++: In member function 'int SoOutput::findReference(const SoBase*)
const':
SoOutput.c++:1468: error: cast from 'void*' to 'int' loses precision
make[5]: *** [So.o] Error 1
make[5]: Leaving directory `/inventor-2.1.5-10/lib/database/src/so'
With the attached patch 'inventor' can be compiled
on amd64 using gcc-4.0.
Regards
Andreas Jochens
diff -urN ../tmp-orig/inventor-2.1.5-10/lib/database/src/so/SoOutput.c++
./lib/database/src/so/SoOutput.c++
--- ../tmp-orig/inventor-2.1.5-10/lib/database/src/so/SoOutput.c++
2001-09-25 02:45:35.000000000 +0200
+++ ./lib/database/src/so/SoOutput.c++ 2004-12-20 11:05:40.000000000 +0100
@@ -1462,11 +1462,7 @@
// Generates a CC warning. Ho hum.
if (refDict->find((unsigned long) base, ref))
-#if (_MIPS_SZPTR == 64 || __ia64)
referenceId = (int) ((unsigned long) ref);
-#else
- referenceId = (int)ref;
-#endif
return referenceId;
}
diff -urN ../tmp-orig/inventor-2.1.5-10/lib/database/src/so/SoType.c++
./lib/database/src/so/SoType.c++
--- ../tmp-orig/inventor-2.1.5-10/lib/database/src/so/SoType.c++
2003-07-12 00:40:53.000000000 +0200
+++ ./lib/database/src/so/SoType.c++ 2004-12-20 11:05:09.000000000 +0100
@@ -331,11 +331,7 @@
if (b == NULL)
return SoType::badType();
-#if (_MIPS_SZPTR == 64 || __ia64)
SoType result = typeData[(int) ((unsigned long) b)].type;
-#else
- SoType result = typeData[(int)b].type;
-#endif
if (result.storage.isPublic == 0) {
#ifdef DEBUG
diff -urN
../tmp-orig/inventor-2.1.5-10/lib/interaction/src/draggers/SoDragger.c++
./lib/interaction/src/draggers/SoDragger.c++
--- ../tmp-orig/inventor-2.1.5-10/lib/interaction/src/draggers/SoDragger.c++
2001-09-25 02:45:44.000000000 +0200
+++ ./lib/interaction/src/draggers/SoDragger.c++ 2004-12-20
11:12:42.000000000 +0100
@@ -686,11 +686,7 @@
int indexInPath = tempPathToThis->getIndex(numFmHead+1);
int numKidsNow = children->getLength();
-#if (_MIPS_SZPTR == 64 || __ia64)
int numKidsBefore = (int) ((long)
(*tempPathNumKidsHack)[numFmHead]);
-#else
- int numKidsBefore = (int) (*tempPathNumKidsHack)[numFmHead];
-#endif
// To be correct, the childNode has to be the correct numbered
// child under the parent, and the parent should still
diff -urN
../tmp-orig/inventor-2.1.5-10/lib/nodekits/src/nodekits/SoNkCatalog.c++
./lib/nodekits/src/nodekits/SoNkCatalog.c++
--- ../tmp-orig/inventor-2.1.5-10/lib/nodekits/src/nodekits/SoNkCatalog.c++
2001-09-25 02:45:46.000000000 +0200
+++ ./lib/nodekits/src/nodekits/SoNkCatalog.c++ 2004-12-20 11:39:08.000000000
+0100
@@ -336,11 +336,7 @@
void *castPNum;
if ( partNameDict.find( (unsigned long) theName.getString(), castPNum ) )
-#if (_MIPS_SZPTR == 64 || __ia64)
return ( (int) ((long) castPNum) ); // System long
-#else
- return ( (int) castPNum );
-#endif
else
return SO_CATALOG_NAME_NOT_FOUND;
}
diff -urN
../tmp-orig/inventor-2.1.5-10/lib/nodekits/src/upgraders/SoV1NkCatalog.c++
./lib/nodekits/src/upgraders/SoV1NkCatalog.c++
--- ../tmp-orig/inventor-2.1.5-10/lib/nodekits/src/upgraders/SoV1NkCatalog.c++
2001-09-25 02:45:47.000000000 +0200
+++ ./lib/nodekits/src/upgraders/SoV1NkCatalog.c++ 2004-12-20
11:41:29.000000000 +0100
@@ -330,11 +330,7 @@
void *castPNum;
if ( partNameDict.find( (unsigned long) theName.getString(), castPNum ) )
-#if (_MIPS_SZPTR == 64 || __ia64)
return ( (int) ((long) castPNum) ); // System long
-#else
- return ( (int) castPNum );
-#endif
else
return SO_V1_CATALOG_NAME_NOT_FOUND;
}
Binary files ../tmp-orig/inventor-2.1.5-10/libFL/src/libFL_i386.a and
./libFL/src/libFL_i386.a differ
diff -urN ../tmp-orig/inventor-2.1.5-10/libSoXt/src/SoXtRsrc.c++
./libSoXt/src/SoXtRsrc.c++
--- ../tmp-orig/inventor-2.1.5-10/libSoXt/src/SoXtRsrc.c++ 2001-09-25
02:45:48.000000000 +0200
+++ ./libSoXt/src/SoXtRsrc.c++ 2004-12-20 12:03:40.172993584 +0100
@@ -145,13 +145,8 @@
classList = new XrmQuark[listSize];
for (q = 0, s = len - 1;
s >= 0; q++, s--) {
-#if (_MIPS_SZPTR == 64 || __ia64)
nameList[q] = (XrmQuark) ((long) nameplist[s]);
classList[q] = (XrmQuark) ((long) classplist[s]);
-#else
- nameList[q] = (XrmQuark) nameplist[s];
- classList[q] = (XrmQuark) classplist[s];
-#endif
}
// make the last entry the NULL sentinel
---------------------------------------
Received: (at 286471-close) by bugs.debian.org; 22 Oct 2005 15:47:42 +0000
>From [EMAIL PROTECTED] Sat Oct 22 08:47:42 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
id 1ETLaO-0002d7-00; Sat, 22 Oct 2005 08:47:08 -0700
From: [EMAIL PROTECTED] (Steve M. Robbins)
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#286471: fixed in inventor 2.1.5-10-5
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sat, 22 Oct 2005 08:47:08 -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: inventor
Source-Version: 2.1.5-10-5
We believe that the bug you reported is fixed in the latest version of
inventor, which is due to be installed in the Debian FTP archive:
inventor-clients_2.1.5-10-5_i386.deb
to pool/main/i/inventor/inventor-clients_2.1.5-10-5_i386.deb
inventor-data_2.1.5-10-5_all.deb
to pool/main/i/inventor/inventor-data_2.1.5-10-5_all.deb
inventor-demo_2.1.5-10-5_i386.deb
to pool/main/i/inventor/inventor-demo_2.1.5-10-5_i386.deb
inventor-dev_2.1.5-10-5_i386.deb
to pool/main/i/inventor/inventor-dev_2.1.5-10-5_i386.deb
inventor-doc_2.1.5-10-5_all.deb
to pool/main/i/inventor/inventor-doc_2.1.5-10-5_all.deb
inventor_2.1.5-10-5.diff.gz
to pool/main/i/inventor/inventor_2.1.5-10-5.diff.gz
inventor_2.1.5-10-5.dsc
to pool/main/i/inventor/inventor_2.1.5-10-5.dsc
libinventor0_2.1.5-10-5_i386.deb
to pool/main/i/inventor/libinventor0_2.1.5-10-5_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.
Steve M. Robbins <[EMAIL PROTECTED]> (supplier of updated inventor 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, 22 Oct 2005 00:56:30 -0400
Source: inventor
Binary: inventor-doc inventor-data libinventor0 inventor-demo inventor-clients
inventor-dev
Architecture: source i386 all
Version: 2.1.5-10-5
Distribution: unstable
Urgency: low
Maintainer: Steve M. Robbins <[EMAIL PROTECTED]>
Changed-By: Steve M. Robbins <[EMAIL PROTECTED]>
Description:
inventor-clients - Open Inventor client programs
inventor-data - Open Inventor sample data files
inventor-demo - Open Inventor demonstration programs and example code
inventor-dev - Open Inventor development files
inventor-doc - Open Inventor documentation
libinventor0 - Open Inventor runtime environment
Closes: 286471
Changes:
inventor (2.1.5-10-5) unstable; urgency=low
.
* lib/database/include/machine.h: Add __alpha__ to list that enables
USE_64BIT_HACKS. Closes: #286471.
Files:
acabecc2d534235016212b9a434f9ca8 761 devel optional inventor_2.1.5-10-5.dsc
4272a90b2d68a4d524fca9f56bee562a 16858 devel optional
inventor_2.1.5-10-5.diff.gz
db80dd2141a202988afb06eb49c7ffa2 629364 devel optional
inventor-doc_2.1.5-10-5_all.deb
25351ec2059095eaf626154c6b99122c 3141484 graphics optional
inventor-data_2.1.5-10-5_all.deb
824acd0798cc9f53572c88716edd7d20 1792504 libs optional
libinventor0_2.1.5-10-5_i386.deb
75dd838aa059da5179bcf62e2d87d31d 369286 devel optional
inventor-dev_2.1.5-10-5_i386.deb
086a3ec71754d91e59b4c67bd659f5f3 254108 graphics optional
inventor-clients_2.1.5-10-5_i386.deb
02d8e64ad09fcf64ecd207787379af9a 1832290 graphics optional
inventor-demo_2.1.5-10-5_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDWlga0i2bPSHbMcURAmnlAJ0ecB7vPK2mK4vxa5452LoOQ/9V1gCfeavU
D+3ljgq7YZvEyL78a7W0cdc=
=kv+a
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]