Package: cssc
Version: 1.0.1-4
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 cssc_1.0.1-4 on em64t by sbuild/amd64 0.53
...
> gcc  -g -Wall -D __USE_BSD -O2   -o lndir  lndir.o  
> if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" 
> -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"CSSC-testsuite\" 
> -DVERSION=\"same-version-as-CSSC-itself\" -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_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
> -DHAVE_STDIO_H=1 -DHAVE_ERRNO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_STAT_H=1 
> -DHAVE_SYS_PARAM_H=1 -DSTDC_HEADERS=1 -DHAVE_DIRENT_H=1 -DHAVE_SYMLINK=1 
> -DHAVE_READLINK=1  -I. -I../../../testutils     -g -Wall -D __USE_BSD -O2 -MT 
> realpwd.o -MD -MP -MF ".deps/realpwd.Tpo" \
>         -c -o realpwd.o `test -f '../../../testutils/realpwd.cc' || echo 
> '../../../testutils/'`../../../testutils/realpwd.cc; \
>       then mv -f ".deps/realpwd.Tpo" ".deps/realpwd.Po"; \
>       else rm -f ".deps/realpwd.Tpo"; exit 1; \
>       fi
> In file included from ../../../testutils/realpwd.cc:24:
> ./../config.h:186:1: error: "PACKAGE" redefined
> <command-line>: error: this is the location of the previous definition
> ./../config.h:219:1: error: "VERSION" redefined
> <command-line>: error: this is the location of the previous definition
> make[3]: *** [realpwd.o] Error 1
> make[3]: Leaving directory `/build/tbm/cssc-1.0.1/debian/BUILD/testutils'

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