Package: iceweasel
Version: 2.0.0.11-1
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  GCC 4.3 has converted a number
of warnings into errors.  With GCC 4.3, you're no longer to
just redefine a previous #define.  You need to either avoid
redefinitions directly or to use #ifndef to make sure that something
has not been defined already.  See
http://www.cyrius.com/journal/gcc/gcc-4.3-pedwarn.html

You can reproduce this problem with gcc-snapshot from unstable.  Note
that Red Hat, Novell and Ubuntu have done some work getting packages
to build with GCC 4.3 so there might be patches floating around
somewhere.  I suggest you talk to your upstream.

> Automatic build of iceweasel_2.0.0.11-1 on papa by sbuild/alpha 0.52
....
> make[5]: Entering directory 
> `/build/tbm/iceweasel-2.0.0.11/modules/libpr0n/encoders/png'
> nsPNGEncoder.cpp
> c++ -o nsPNGEncoder.o -c -fvisibility=hidden -DMOZILLA_INTERNAL_API 
> -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DBUILD_ID=2007112801  
> -I../../../../dist/include/xpcom -I../../../../dist/include/gfx 
> -I../../../../dist/include/string -I../../../../dist/include/imglib2 
> -I../../../../dist/include/imgpnge -I../../../../dist/include 
> -I/usr/include/nspr -I/usr/include -I/usr/include -I/usr/include 
> -I../../../../dist/sdk/include       -fno-rtti -fno-exceptions -Wall 
> -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth 
> -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -mieee 
> -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -pipe -w -O2 -g 
> -fno-strict-aliasing   -DMOZILLA_CLIENT -include ../../../../mozilla-config.h 
> -Wp,-MD,.deps/nsPNGEncoder.pp nsPNGEncoder.cpp
> In file included from nsPNGEncoder.cpp:40:
> nsPNGEncoder.h:41:1: error: "NS_DECL_IMGIENCODER" redefined
> In file included from nsPNGEncoder.h:38,
>                  from nsPNGEncoder.cpp:40:
> ../../../../dist/include/imglib2/imgIEncoder.h:124:1: error: this is the 
> location of the previous definition
> make[5]: *** [nsPNGEncoder.o] Error 1
> make[5]: Leaving directory 
> `/build/tbm/iceweasel-2.0.0.11/modules/libpr0n/encoders/png'
> make[4]: *** [libs] Error 2

-- 
Martin Michlmayr
http://www.cyrius.com/



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

Reply via email to