Package: magnus
Version: 20060324-5
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 magnus_20060324-5 on em64t by sbuild/amd64 0.53
...
> /bin/sh -ec 'g++ -M   -IFclasses -IGLink -IGLinkGLvar -IGLvarSub -Ipres 
> -ITTdriverDebug -ITTnodesRsrc -O2 -DDEBUG -g -fno-operator-names -D_G_NO_NRV 
> -Wno-deprecated -DLINUX -IFclasses -IGLink -IGLinkGLvar -IGLvarSub -Ipres 
> -ITTdriverDebug -ITTnodesRsrc TTnodesRsrc/FTTnode.C | sed 
> "s:TTnodesRsrc/FTTnode.o:& TTnodesRsrc/FTTnode.d:g"' > TTnodesRsrc/FTTnode.d
> In file included from TTdriverDebug/crossTrainer.h:8,
>                  from TTnodesRsrc/FTTnode.C:1:
> TTdriverDebug/operators.h:29:22: error: iostream.h: No such file or directory
> In file included from TTnodesRsrc/FTTnode.C:1:
> TTdriverDebug/crossTrainer.h:21:21: error: fstream.h: No such file or 
> directory

You can ignore these errors.  Someone removed the backwards
compatiblity headers but there's agreement that they should be put in
place again before the final 4.3 is released.  I hope they'll be put
back in place soon (I pinged the person who is responsible yesterday).

> TTdriverDebug/crossTrainer.h:21:21: error: fstream.h: No such file or 
> directory
> /bin/sh -ec 'g++ -M   -IFclasses -IGLink -IGLinkGLvar -IGLvarSub -Ipres 
> -ITTdriverDebug -ITTnodesRsrc -O2 -DDEBUG -g -fno-operator-names -D_G_NO_NRV 
> -Wno-deprecated -DLINUX -IFclasses -IGLink -IGLinkGLvar -IGLvarSub -Ipres 
> -ITTdriverDebug -ITTnodesRsrc GLink/GLfunctions.C | sed 
> "s:GLink/GLfunctions.o:& GLink/GLfunctions.d:g"' > GLink/GLfunctions.d
> In file included from TTdriverDebug/crossTrainer.h:8,
>                  from GLink/GLfunctions.C:6:
> TTdriverDebug/operators.h:29:22: error: iostream.h: No such file or directory
> In file included from GLink/GLfunctions.C:6:
> TTdriverDebug/crossTrainer.h:21:21: error: fstream.h: No such file or 
> directory

Ignore.

> GLink/GLfunctions.C:312:1: error: "RAND_MAX" redefined
> In file included from Fclasses/Ftime.h:10,
>                  from GLink/FGLink.h:10,
>                  from TTdriverDebug/crossTrainer.h:65,
>                  from GLink/GLfunctions.C:6:
> /usr/include/stdlib.h:129:1: error: this is the location of the previous 
> definition

But this is something you need to look into.

-- 
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