Package: python-omniorb2
Version: 2.6-3.3
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 python-omniorb2_2.6-3.3 on em64t by sbuild/amd64 0.53
...
> make[1]: Entering directory `/build/tbm/python-omniorb2-2.6/build-2.4'
> making all in ./modules...
> make[2]: Entering directory `/build/tbm/python-omniorb2-2.6/build-2.4/modules'
> x86_64-linux-gnu-g++ -M -MD -MG -D__GNUG__ -D__GNUC__ -DOMNIPY_MAJOR=2 
> -DOMNIPY_MINOR=6 -I/usr/include -I/usr/include/omniORB4/internal 
> -I../include/omniORB4/internal -I../../include/omniORB4/internal 
> -I/usr/include/omniORB4/internal -I../include -I/usr/include 
> -DPYTHON_INCLUDE=<python2.4/Python.h> 
> -DPYTHON_THREAD_INC=<python2.4/pythread.h> -D__OMNIORB4__ -I../stub 
> -D_REENTRANT -I/usr/include -fPIC -I. -I../../modules -I../include 
> -I../../include -D__OSVERSION__=2 -D__linux__ ../../modules/cxxAPI.cc 
> ../../modules/pyInterceptors.cc ../../modules/pyContext.cc 
> ../../modules/pyFixed.cc ../../modules/pyomniFunc.cc 
> ../../modules/pyThreadCache.cc ../../modules/pyTypeCode.cc 
> ../../modules/pyMarshal.cc ../../modules/pyExceptions.cc 
> ../../modules/pyServant.cc ../../modules/pyCallDescriptor.cc 
> ../../modules/pyObjectRef.cc ../../modules/pyPOACurrentFunc.cc 
> ../../modules/pyPOAManagerFunc.cc ../../modules/pyPOAFunc.cc 
> ../../modules/pyORBFunc.cc ../../modules/omnipy.cc
> <command-line>: error: "__GNUG__" redefined
> <built-in>: error: this is the location of the previous definition
> <command-line>: error: "__GNUC__" redefined
> <built-in>: error: this is the location of the previous definition
> <command-line>: error: "__GNUG__" redefined
> <built-in>: error: this is the location of the previous definition
> <command-line>: error: "__GNUC__" redefined
> <built-in>: error: this is the location of the previous definition
> <command-line>: error: "__GNUG__" redefined
> <built-in>: error: this is the location of the previous definition
> <command-line>: error: "__GNUC__" redefined
> <built-in>: error: this is the location of the previous definition
> <command-line>: error: "__GNUG__" redefined
> <built-in>: error: this is the location of the previous definition
> <command-line>: error: "__GNUC__" redefined
> <built-in>: error: this is the location of the previous definition
> <command-line>: error: "__GNUG__" redefined
> <built-in>: error: this is the location of the previous definition
> <command-line>: error: "__GNUC__" redefined
> <built-in>: error: this is the location of the previous definition
> <command-line>: error: "__GNUG__" redefined
> <built-in>: error: this is the location of the previous definition
> <command-line>: error: "__GNUC__" redefined
> <built-in>: error: this is the location of the previous definition
> <command-line>: error: "__GNUG__" redefined
> <built-in>: error: this is the location of the previous definition
> <command-line>: error: "__GNUC__" redefined
> <built-in>: error: this is the location of the previous definition
> <command-line>: error: "__GNUG__" redefined
> <built-in>: error: this is the location of the previous definition
> <command-line>: error: "__GNUC__" redefined
> <built-in>: error: this is the location of the previous definition
> <command-line>: error: "__GNUG__" redefined
> <built-in>: error: this is the location of the previous definition
> <command-line>: error: "__GNUC__" redefined
> <built-in>: error: this is the location of the previous definition
> <command-line>: error: "__GNUG__" redefined
> <built-in>: error: this is the location of the previous definition
> <command-line>: error: "__GNUC__" redefined
> <built-in>: error: this is the location of the previous definition
> <command-line>: error: "__GNUG__" redefined
> <built-in>: error: this is the location of the previous definition
> <command-line>: error: "__GNUC__" redefined
> <built-in>: error: this is the location of the previous definition
> <command-line>: error: "__GNUG__" redefined
> <built-in>: error: this is the location of the previous definition
> <command-line>: error: "__GNUC__" redefined
> <built-in>: error: this is the location of the previous definition
> <command-line>: error: "__GNUG__" redefined
> <built-in>: error: this is the location of the previous definition
> <command-line>: error: "__GNUC__" redefined
> <built-in>: error: this is the location of the previous definition
> <command-line>: error: "__GNUG__" redefined
> <built-in>: error: this is the location of the previous definition
> <command-line>: error: "__GNUC__" redefined
> <built-in>: error: this is the location of the previous definition
> <command-line>: error: "__GNUG__" redefined
> <built-in>: error: this is the location of the previous definition
> <command-line>: error: "__GNUC__" redefined
> <built-in>: error: this is the location of the previous definition
> <command-line>: error: "__GNUG__" redefined
> <built-in>: error: this is the location of the previous definition
> <command-line>: error: "__GNUC__" redefined
> <built-in>: error: this is the location of the previous definition
> <command-line>: error: "__GNUG__" redefined
> <built-in>: error: this is the location of the previous definition
> <command-line>: error: "__GNUC__" redefined
> <built-in>: error: this is the location of the previous definition

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