Your message dated Wed, 06 Apr 2005 10:47:34 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#301485: fixed in mozilla-firefox 1.0.2-3
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; 26 Mar 2005 10:09:23 +0000
>From [EMAIL PROTECTED] Sat Mar 26 02:09:23 2005
Return-path: <[EMAIL PROTECTED]>
Received: from c196015.adsl.hansenet.de (localhost.localdomain) [213.39.196.15] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DF8EM-0004ZW-00; Sat, 26 Mar 2005 02:09:22 -0800
Received: from aj by localhost.localdomain with local (Exim 4.50)
        id 1DF8EI-00068F-H7; Sat, 26 Mar 2005 11:09:21 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: mozilla-firefox: FTBFS (gcc-4.0/amd64/ppc64): array type has 
incomplete element type
Message-Id: <[EMAIL PROTECTED]>
Date: Sat, 26 Mar 2005 11:09: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: mozilla-firefox
Severity: normal
Tags: patch

When building 'mozilla-firefox' on amd64 or ppc64 with gcc-4.0,
I get the following error:

make[5]: Entering directory 
`/srv/dbuild/tmp/mozilla-firefox-1.0.2/security/nss/lib/pki'
gcc -o Linux2.6_x86_64_glibc_PTH_64_OPT.OBJ/asymmkey.o -c -O2 -fPIC -DLINUX1_2 
-D_XOPEN_SOURCE -DLINUX2_1 -ansi -Wall -pipe -DLINUX -Dlinux -D_POSIX_SOURCE 
-D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -DNSS_3_4_CODE -UDEBUG -DNDEBUG 
-D_REENTRANT -I/srv/dbuild/tmp/mozilla-firefox-1.0.2/dist/include  
-I../../../../dist/public/nss -I../../../../dist/private/nss 
-I../../../../dist/include 
-I/srv/dbuild/tmp/mozilla-firefox-1.0.2/dist/include/nspr 
-I/srv/dbuild/tmp/mozilla-firefox-1.0.2/dist/include/dbm 
-I../../../../dist/public/nspr  asymmkey.c
In file included from ../../../../dist/private/nss/nsspki1.h:57,
                 from nsspki.h:56,
                 from asymmkey.c:39:
../../../../dist/private/nss/oiddata.h:46: error: array type has incomplete 
element type
make[5]: *** [Linux2.6_x86_64_glibc_PTH_64_OPT.OBJ/asymmkey.o] Error 1
make[5]: Leaving directory 
`/srv/dbuild/tmp/mozilla-firefox-1.0.2/security/nss/lib/pki'

With the attached patch 'mozilla-firefox' can be compiled
on amd64 with gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/mozilla-firefox-1.0.1/security/nss/lib/pki1/oiddata.h 
./security/nss/lib/pki1/oiddata.h
--- ../tmp-orig/mozilla-firefox-1.0.1/security/nss/lib/pki1/oiddata.h   
2002-01-04 06:22:07.000000000 +0100
+++ ./security/nss/lib/pki1/oiddata.h   2005-03-22 14:25:10.000000000 +0100
@@ -43,7 +43,7 @@
 #include "nsspki1t.h"
 #endif /* NSSPKI1T_H */
 
-extern const NSSOID nss_builtin_oids[];
+/*extern const NSSOID nss_builtin_oids[];*/
 extern const PRUint32 nss_builtin_oid_count;
 
 /*extern const nssAttributeTypeAliasTable nss_attribute_type_aliases[];*/
diff -urN 
../tmp-orig/mozilla-firefox-1.0.1/netwerk/protocol/http/src/nsHttpConnectionMgr.cpp
 ./netwerk/protocol/http/src/nsHttpConnectionMgr.cpp
--- 
../tmp-orig/mozilla-firefox-1.0.1/netwerk/protocol/http/src/nsHttpConnectionMgr.cpp
 2004-09-02 01:31:03.000000000 +0200
+++ ./netwerk/protocol/http/src/nsHttpConnectionMgr.cpp 2005-03-22 
13:27:34.000000000 +0100
@@ -834,8 +834,8 @@
 void
 nsHttpConnectionMgr::OnMsgUpdateParam(nsresult status, void *param)
 {
-    PRUint16 name  = (PRUint32(param) & 0xFFFF0000) >> 16;
-    PRUint16 value =  PRUint32(param) & 0x0000FFFF;
+    PRUint16 name  = (long(param) & 0xFFFF0000) >> 16;
+    PRUint16 value =  long(param) & 0x0000FFFF;
 
     switch (name) {
     case MAX_CONNECTIONS:
diff -urN ../tmp-orig/mozilla-firefox-1.0.1/gfx/src/freetype/nsFreeType.cpp 
./gfx/src/freetype/nsFreeType.cpp
--- ../tmp-orig/mozilla-firefox-1.0.1/gfx/src/freetype/nsFreeType.cpp   
2004-02-07 16:22:30.000000000 +0100
+++ ./gfx/src/freetype/nsFreeType.cpp   2005-03-22 13:45:02.000000000 +0100
@@ -96,7 +96,7 @@
 // Define the FreeType2 functions we resolve at run time.
 // see the comment near nsFreeType2::DoneFace() for more info
 //
-#define NS_FT2_OFFSET(f) (int)&((nsFreeType2*)0)->f
+#define NS_FT2_OFFSET(f) (long)&((nsFreeType2*)0)->f
 FtFuncList nsFreeType2::FtFuncs [] = {
   {"FT_Done_Face",            NS_FT2_OFFSET(nsFT_Done_Face),            
PR_TRUE},
   {"FT_Done_FreeType",        NS_FT2_OFFSET(nsFT_Done_FreeType),        
PR_TRUE},
diff -urN ../tmp-orig/mozilla-firefox-1.0.1/widget/src/gtk2/nsDragService.cpp 
./widget/src/gtk2/nsDragService.cpp
--- ../tmp-orig/mozilla-firefox-1.0.1/widget/src/gtk2/nsDragService.cpp 
2003-10-30 02:48:41.000000000 +0100
+++ ./widget/src/gtk2/nsDragService.cpp 2005-03-22 13:59:04.000000000 +0100
@@ -838,7 +838,7 @@
             (GtkTargetEntry *)g_malloc(sizeof(GtkTargetEntry));
         listTarget->target = g_strdup(gMimeListType);
         listTarget->flags = 0;
-        listTarget->info = (guint)listAtom;
+        listTarget->info = (gulong)listAtom;
         PR_LOG(sDragLm, PR_LOG_DEBUG,
                ("automatically adding target %s with id %ld\n",
                listTarget->target, listAtom));
@@ -877,7 +877,7 @@
                              (GtkTargetEntry 
*)g_malloc(sizeof(GtkTargetEntry));
                             listTarget->target = g_strdup(gTextUriListType);
                             listTarget->flags = 0;
-                            listTarget->info = (guint)listAtom;
+                            listTarget->info = (gulong)listAtom;
                             PR_LOG(sDragLm, PR_LOG_DEBUG,
                                    ("automatically adding target %s with \
                                    id %ld\n", listTarget->target, listAtom));
@@ -914,7 +914,7 @@
                           (GtkTargetEntry *)g_malloc(sizeof(GtkTargetEntry));
                         target->target = g_strdup(flavorStr);
                         target->flags = 0;
-                        target->info = (guint)atom;
+                        target->info = (gulong)atom;
                         PR_LOG(sDragLm, PR_LOG_DEBUG,
                                ("adding target %s with id %ld\n",
                                target->target, atom));
@@ -931,7 +931,7 @@
                              (GtkTargetEntry 
*)g_malloc(sizeof(GtkTargetEntry));
                             plainTarget->target = g_strdup(kTextMime);
                             plainTarget->flags = 0;
-                            plainTarget->info = (guint)plainAtom;
+                            plainTarget->info = (gulong)plainAtom;
                             PR_LOG(sDragLm, PR_LOG_DEBUG,
                                    ("automatically adding target %s with \
                                    id %ld\n", plainTarget->target, plainAtom));
@@ -948,7 +948,7 @@
                              (GtkTargetEntry 
*)g_malloc(sizeof(GtkTargetEntry));
                             urlTarget->target = g_strdup(gMozUrlType);
                             urlTarget->flags = 0;
-                            urlTarget->info = (guint)urlAtom;
+                            urlTarget->info = (gulong)urlAtom;
                             PR_LOG(sDragLm, PR_LOG_DEBUG,
                                    ("automatically adding target %s with \
                                    id %ld\n", urlTarget->target, urlAtom));


---------------------------------------
Received: (at 301485-close) by bugs.debian.org; 6 Apr 2005 14:56:25 +0000
>From [EMAIL PROTECTED] Wed Apr 06 07:56:25 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DJBxA-0001Gx-00; Wed, 06 Apr 2005 07:56:24 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1DJBoc-0003CU-00; Wed, 06 Apr 2005 10:47:34 -0400
From: Eric Dorland <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#301485: fixed in mozilla-firefox 1.0.2-3
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Wed, 06 Apr 2005 10:47:34 -0400
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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Source: mozilla-firefox
Source-Version: 1.0.2-3

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

mozilla-firefox-dom-inspector_1.0.2-3_i386.deb
  to pool/main/m/mozilla-firefox/mozilla-firefox-dom-inspector_1.0.2-3_i386.deb
mozilla-firefox-gnome-support_1.0.2-3_i386.deb
  to pool/main/m/mozilla-firefox/mozilla-firefox-gnome-support_1.0.2-3_i386.deb
mozilla-firefox_1.0.2-3.diff.gz
  to pool/main/m/mozilla-firefox/mozilla-firefox_1.0.2-3.diff.gz
mozilla-firefox_1.0.2-3.dsc
  to pool/main/m/mozilla-firefox/mozilla-firefox_1.0.2-3.dsc
mozilla-firefox_1.0.2-3_i386.deb
  to pool/main/m/mozilla-firefox/mozilla-firefox_1.0.2-3_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.
Eric Dorland <[EMAIL PROTECTED]> (supplier of updated mozilla-firefox 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,  6 Apr 2005 01:36:11 -0400
Source: mozilla-firefox
Binary: mozilla-firefox mozilla-firefox-gnome-support 
mozilla-firefox-dom-inspector
Architecture: source i386
Version: 1.0.2-3
Distribution: unstable
Urgency: high
Maintainer: Eric Dorland <[EMAIL PROTECTED]>
Changed-By: Eric Dorland <[EMAIL PROTECTED]>
Description: 
 mozilla-firefox - lightweight web browser based on Mozilla
 mozilla-firefox-dom-inspector - tool for inspecting the DOM of pages in 
Mozilla Firefox
 mozilla-firefox-gnome-support - Support for Gnome in Mozilla Firefox
Closes: 301485 302775
Changes: 
 mozilla-firefox (1.0.2-3) unstable; urgency=high
 .
   * gfx/src/freetype/nsFreeType.cpp,
     netwerk/protocol/http/src/nsHttpConnectionMgr.cpp,
     security/nss/lib/pki1/oiddata.h, security/nss/lib/pki1/pki1.h,
     widget/src/gtk2/nsDragService.cpp: Fixes for gcc-4.0,
     bz#289238. (Closes: #301485)
   * js/src/jsstr.c: Fix for JS memory access security bug, patch from
     bz#288688. (Closes: #302775)
Files: 
 731b9042353ac60d9c0180080f705504 990 web optional mozilla-firefox_1.0.2-3.dsc
 ba7ce5f66754bedbd7dd34085e38fd2e 221161 web optional 
mozilla-firefox_1.0.2-3.diff.gz
 70b870d12cfcf6d692f4d7e3ee1096fa 8877582 web optional 
mozilla-firefox_1.0.2-3_i386.deb
 d4343bec03e9c73a0c162ead5e560d4e 154344 web optional 
mozilla-firefox-dom-inspector_1.0.2-3_i386.deb
 e13ba6b65593af580464036623ed74f6 51616 web optional 
mozilla-firefox-gnome-support_1.0.2-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCU/LLYemOzxbZcMYRAqUhAJ4hIoJH7bFJw4SNhkVVcmDGfH04/ACgjsYJ
1WiDV8sW6BBSBynfsUizmJ4=
=bXxh
-----END PGP SIGNATURE-----


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

Reply via email to