Your message dated Sun, 09 Oct 2005 02:02:10 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#300786: fixed in visualboyadvance 1.7.2-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; 21 Mar 2005 21:13:23 +0000
>From [EMAIL PROTECTED] Mon Mar 21 13:13:23 2005
Return-path: <[EMAIL PROTECTED]>
Received: from c223012.adsl.hansenet.de (localhost.localdomain) [213.39.223.12] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DDUDD-0004Bc-00; Mon, 21 Mar 2005 13:13:23 -0800
Received: from aj by localhost.localdomain with local (Exim 4.44)
        id 1DDUDB-0003jL-DP; Mon, 21 Mar 2005 22:13:21 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: visualboyadvance: FTBFS (amd64/gcc-4.0): cast from 'char*' to 'u32' 
loses precision
Message-Id: <[EMAIL PROTECTED]>
Date: Mon, 21 Mar 2005 22:13:21 +0100
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-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: visualboyadvance
Severity: normal
Tags: patch

When building 'visualboyadvance' on amd64 with gcc-4.0,
I get the following error:

make[3]: Entering directory `/visualboyadvance-1.7.2/src/prof'
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" 
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"VisualBoyAdvance\" 
-DVERSION=\"1.7.2\" -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1  -I. -I.     -g 
-O2 -DC_CORE -DPROFILING -DDEV_VERSION -MT prof.o -MD -MP -MF ".deps/prof.Tpo" \
  -c -o prof.o `test -f 'prof.cpp' || echo './'`prof.cpp; \
then mv -f ".deps/prof.Tpo" ".deps/prof.Po"; \
else rm -f ".deps/prof.Tpo"; exit 1; \
fi
prof.cpp: In function 'void profCleanup()':
prof.cpp:269: error: cast from 'char*' to 'u32' loses precision
make[3]: *** [prof.o] Error 1
make[3]: Leaving directory `/visualboyadvance-1.7.2/src/prof'

With the attached patch 'visualboyadvance' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/visualboyadvance-1.7.2/src/sdl/debugger.cpp 
./src/sdl/debugger.cpp
--- ../tmp-orig/visualboyadvance-1.7.2/src/sdl/debugger.cpp     2004-05-13 
16:13:14.000000000 +0200
+++ ./src/sdl/debugger.cpp      2005-03-21 21:57:06.000000000 +0100
@@ -950,9 +950,9 @@
 {
   u32 address = 0;
   if(mem >= (u32*)&workRAM[0] && mem <= (u32*)&workRAM[0x3ffff])
-    address = 0x2000000 + ((u32)mem - (u32)&workRAM[0]);
+    address = 0x2000000 + ((unsigned long)mem - (unsigned long)&workRAM[0]);
   else
-    address = 0x3000000 + ((u32)mem - (u32)&internalRAM[0]);
+    address = 0x3000000 + ((unsigned long)mem - (unsigned 
long)&internalRAM[0]);
 
   if(size == 2)
     printf("Breakpoint (on write) address %08x old:%08x new:%08x\n", 
diff -urN ../tmp-orig/visualboyadvance-1.7.2/src/prof/prof.cpp 
./src/prof/prof.cpp
--- ../tmp-orig/visualboyadvance-1.7.2/src/prof/prof.cpp        2004-05-13 
16:31:58.000000000 +0200
+++ ./src/prof/prof.cpp 2005-03-21 21:56:27.000000000 +0100
@@ -266,7 +266,7 @@
     for (toindex=froms[fromindex]; toindex!=0; toindex=tos[toindex].link) {
       if(profWrite8(fd, GMON_TAG_CG_ARC) ||
          profWrite32(fd, (u32)frompc) ||
-         profWrite32(fd, (u32)tos[toindex].selfpc) ||
+         profWrite32(fd, (unsigned long)tos[toindex].selfpc) ||
          profWrite32(fd, tos[toindex].count)) {
         systemMessage(0, "mcount: arc");
         fclose(fd);

---------------------------------------
Received: (at 300786-close) by bugs.debian.org; 9 Oct 2005 09:08:05 +0000
>From [EMAIL PROTECTED] Sun Oct 09 02:08:05 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1EOX4M-0008Ui-00; Sun, 09 Oct 2005 02:02:10 -0700
From: Joshua Kwan <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#300786: fixed in visualboyadvance 1.7.2-2
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sun, 09 Oct 2005 02:02:10 -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: visualboyadvance
Source-Version: 1.7.2-2

We believe that the bug you reported is fixed in the latest version of
visualboyadvance, which is due to be installed in the Debian FTP archive:

visualboyadvance_1.7.2-2.diff.gz
  to pool/main/v/visualboyadvance/visualboyadvance_1.7.2-2.diff.gz
visualboyadvance_1.7.2-2.dsc
  to pool/main/v/visualboyadvance/visualboyadvance_1.7.2-2.dsc
visualboyadvance_1.7.2-2_i386.deb
  to pool/main/v/visualboyadvance/visualboyadvance_1.7.2-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.
Joshua Kwan <[EMAIL PROTECTED]> (supplier of updated visualboyadvance 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: Sun,  9 Oct 2005 01:41:35 -0700
Source: visualboyadvance
Binary: visualboyadvance
Architecture: source i386
Version: 1.7.2-2
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <[EMAIL PROTECTED]>
Changed-By: Joshua Kwan <[EMAIL PROTECTED]>
Description: 
 visualboyadvance - a full featured Game Boy Advance emulator
Closes: 300786 316109
Changes: 
 visualboyadvance (1.7.2-2) unstable; urgency=medium
 .
   * Orphaning this package, but I'll clean up as much as I can now.
   * Define BKPT_SUPPORT to allow console output for debugging.
   * Do create ~/.vba if it doesn't exist. closes: #316109
   * Apply patch from Andreas Jochens to fix build on AMD64. closes: #300786
   * Correct the address of the FSF in the copyright file.
Files: 
 60938d92df122c6c94cabb1596026cbc 1411 games extra visualboyadvance_1.7.2-2.dsc
 972062ff0db81b4f7bdb1c27c3986dfe 26455 games extra 
visualboyadvance_1.7.2-2.diff.gz
 2fa7213b5688ee7d94fcec1009eccb56 363670 games extra 
visualboyadvance_1.7.2-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: http://triplehelix.org/~joshk/pubkey_gpg.asc

iQIVAwUBQ0jaXqOILr94RG8mAQKKEw//fdF1hmfdwWDXK1tldhOkRrTIdRLTOnxM
EoXShl0gZ8k0KLiLXsAxKwiIZUvcRWzzaQaWNfe6i2GzgbHdRmx6bHx+alBFqwJs
UMNjwNdvOKOkapiKdHSqxsT09Pw2XnzzQdRPqiyHXa2KTInyVfJEm9lJrdKc+nik
4kExOIa0LUKUgAXCtjC7nx6+tZJW3cyrNtYv5OnIQ+xuDoT3ugAViNhu7KV2xU0q
L8Gxzvmv8y+P74PU/tQLUWbDaMkXVXqBe5niDHfjmO5i4rb6rRE+1WgsWPriMQ7T
sWH4sm8Vj4ExGgmxsTEhs2gpSS6IbT+bbtdJBez7cLnNNzB1FJXs/WEAQczG7gr2
Twb8igF8kAXqhwxd4AvErPa3WAgWCSoUPqGnkQowvpEdVEkyA0GkJQHLUgCaVFUP
MrUU/T7Nm5jYKrf1a6O1NQ+WWfoK3HCbIWMCeka0/n8XsqSJ3T6zsKKEpXqZiNeO
s8yDBTE7O7sNaTy1W4T7ZDuAISbSwf9cuRlOTzzZu5BEgCrF3Wm1tiwY//RCKFLZ
8ORL4jkV2dBAgMcPVdwmTnHA3reid/ph9XuvayK0bSxAGZb5MNimFySA1fN9xKOK
lmeFYyNkQn+FbwpiweW9ICjPJrZ5eu241mn9rcsSULfLRlcXf6ZNtlXwDHTGleUK
WSCFZqEuNtk=
=ea0H
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to