Your message dated Wed, 22 Feb 2006 04:17:13 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#265917: fixed in scorched3d 39.1+cvs20050929-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)
--- Begin Message ---
Package: scorched3d
Version: 37.2-4
Severity: important
The package FTBFS on amd64. This is actually caused by a bug in
the compiler who doesn't like doing integer arithmetic on an
"int" (32 bit) and then convert it too pointer again (64 bit).
The code in question is:
#define EFFICIENT_ALIGNMENT 16
#define dEFFICIENT_SIZE(x) ((((x)-1)|(EFFICIENT_ALIGNMENT-1))+1)
#define dALLOCA16(n) \
((char*)dEFFICIENT_SIZE(((int)(alloca((n)+(EFFICIENT_ALIGNMENT-1))))))
This seems to be ugly and non-portable code. Not only is it
using a function that's discouraged not to be used, it then goes
and modifies the returned address.
It casts to an int. On a 64 bit system this can be a 32 bit
integer so your pointer gets corrupted. I suggest you use
C99's intptr_t which you should get by including <stdint.h>.
You should probably change configure to give a suitable
replacement in case it's not found.
With this change I'm able to compile it on amd64, no idea if it
runs.
An better way to solve this would be by replacing it by
posix_memalign() if available, which would also require the use
of free().
There are lots of other warnings about casts from int to pointer
or pointer to int of different size. Some of them might be a
problem, some might not be.
Kurt
--- End Message ---
--- Begin Message ---
Source: scorched3d
Source-Version: 39.1+cvs20050929-2
We believe that the bug you reported is fixed in the latest version of
scorched3d, which is due to be installed in the Debian FTP archive:
scorched3d-data_39.1+cvs20050929-2_all.deb
to pool/main/s/scorched3d/scorched3d-data_39.1+cvs20050929-2_all.deb
scorched3d-doc_39.1+cvs20050929-2_all.deb
to pool/main/s/scorched3d/scorched3d-doc_39.1+cvs20050929-2_all.deb
scorched3d_39.1+cvs20050929-2.diff.gz
to pool/main/s/scorched3d/scorched3d_39.1+cvs20050929-2.diff.gz
scorched3d_39.1+cvs20050929-2.dsc
to pool/main/s/scorched3d/scorched3d_39.1+cvs20050929-2.dsc
scorched3d_39.1+cvs20050929-2_i386.deb
to pool/main/s/scorched3d/scorched3d_39.1+cvs20050929-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.
Bartosz Fenski <[EMAIL PROTECTED]> (supplier of updated scorched3d 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: Wed, 22 Feb 2006 09:50:25 +0100
Source: scorched3d
Binary: scorched3d scorched3d-data scorched3d-doc
Architecture: source i386 all
Version: 39.1+cvs20050929-2
Distribution: unstable
Urgency: high
Maintainer: Bartosz Fenski <[EMAIL PROTECTED]>
Changed-By: Bartosz Fenski <[EMAIL PROTECTED]>
Description:
scorched3d - 3D artillery game similar to Scorched Earth
scorched3d-data - data files for Scorched3D game
scorched3d-doc - documentation for Scorched3D game
Closes: 265917 288578 333888 334574 337403
Changes:
scorched3d (39.1+cvs20050929-2) unstable; urgency=high
.
* Urgency high due to multiple vurnerability fixes.
* Applied many patches by courtesy of Hans de Goede:
- fixes all known vulnerabilities: (Closes: #337403)
See CVE-2005-3488, CVE-2005-3487, CVE-2005-3486 for details.
- fixes compilation issues on 64bit archs. (Closes: #288578)
- fixes running issues on 64bit archs. (Closes: #265917)
* Fixes in desktop file. (Closes: #333888)
* Added versioned dependency on openal. (Closes: #334574)
Files:
d5920513011045146ef14162f7f1b678 843 games optional
scorched3d_39.1+cvs20050929-2.dsc
8a103a8d99f141a8b9406b881f4af949 48377 games optional
scorched3d_39.1+cvs20050929-2.diff.gz
b011dd95d8aa20851e1c10a9c7699338 33746326 games optional
scorched3d-data_39.1+cvs20050929-2_all.deb
dc4d054347a297b8151b03481aabdb57 1085476 games optional
scorched3d-doc_39.1+cvs20050929-2_all.deb
c762eefa699aa5b61d3823cd2fe0334f 1027564 games optional
scorched3d_39.1+cvs20050929-2_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFD/Ee2hQui3hP+/EARAkmMAKDTmsp+be2MkTnRJ1Efpk22iqUEpwCfUJfa
ADwaj2ygSM9mpXrGZ7TWidA=
=CVyt
-----END PGP SIGNATURE-----
--- End Message ---