Your message dated Fri, 11 Jul 2008 02:59:35 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Closing this bug
has caused the Debian Bug report #456086,
regarding gcc warnings: #define redefined
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
456086: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=456086
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: abiword
Version: 2.4.6-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 abiword_2.4.6-5 on em64t by sbuild/amd64 0.53
...
> if x86_64-linux-gnu-g++ -DPACKAGE_NAME=\"AbiSuite\"
> -DPACKAGE_TARNAME=\"abisuite\" -DPACKAGE_VERSION=\"2.4\"
> -DPACKAGE_STRING=\"AbiSuite\ 2.4\"
> -DPACKAGE_BUGREPORT=\"http://www.abisource.com/\" -DPACKAGE=\"AbiSuite-2.4\"
> -DVERSION=\"2.4.6\" -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 -DSIZEOF_LONG_INT=8
> -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_TIME_H=1
> -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_LIBXML2=1 -DHAVE_WV=1
> -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DRETSIGTYPE=void -DHAVE_RE_COMP=1
> -DHAVE_REGCOMP=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -DHAVE_STRCASECMP=1
> -DHAVE_STRNLEN=1 -DABI_SCANDIR_SELECT_QUALIFIER=const -I.
> -I../../../../../abi/src/af/util/xp -I'../../../../../abi/src/af/util/xp'
> -I'../../../../../abi/src/af/tf/xp' -I'../../../../../abi/src/af/ev/xp'
> -I'../../../../../abi/src/af/ev/xp' -I'../../../../../abi/src/af/gr/xp'
> -I'../../../../../abi/src/af/xap/xp' -I'../../../../../abi/src/af/util/unix'
> -I'../../../../../abi/src/af/ev/unix' -I'../../../../../abi/src/af/gr/unix'
> -I'../../../../../abi/src/af/xap/unix'
> -I'../../../../../abi/src/other/spell/xp'
> -I'../../../../../abi/src/other/fribidi/xp'
> -I'../../../../../abi/src/other/ttftool/unix' -Wall -ansi
> -D_POSIX_SOURCE -D_BSD_SOURCE -pipe -DNDEBUG -I/usr/include/libxml2
> -DABI_OPT_PERL -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN
> -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.8/CORE -Ubool
> -I/usr/include/fribidi -I/build/tbm/abiword-2.4.6/wv
> -I/usr/include/freetype2 -DPNG_NO_MMX_CODE -I/usr/include/libpng12
> -DHAVE_THREADS=1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> -DABISIZEOF_LONG_INT=8 -DPNG_NO_MMX_CODE -I/usr/include/gtk-2.0
> -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
> -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0
> -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> -DPNG_NO_MMX_CODE -I/usr/include/libgnomeprint-2.2
> -I/usr/include/libart-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> -I/usr/include/libxml2 -I/usr/include/pango-1.0
> -I/usr/include/libgnomeprintui-2.2 -I/usr/include/libgnomecanvas-2.0
> -I/usr/include/freetype2 -I/usr/include/gail-1.0 -I/usr/include/gtk-2.0
> -I/usr/include/atk-1.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo
> -I/usr/include/libpng12 -DSUPPORTS_UT_IDLE=1
> -DABISUITE_HOME=\"/usr/share/AbiSuite-2.4\" -DABI_BUILD_VERSION=\"2.4.6\" -MT
> ut_string_class.o -MD -MP -MF ".deps/ut_string_class.Tpo" -c -o
> ut_string_class.o ../../../../../abi/src/af/util/xp/ut_string_class.cpp; \
> then mv -f ".deps/ut_string_class.Tpo" ".deps/ut_string_class.Po"; else
> rm -f ".deps/ut_string_class.Tpo"; exit 1; fi
> ../../../../../abi/src/af/util/xp/ut_string_class.cpp:356:1: error: "VA_COPY"
> redefined
> ../../../../../abi/src/af/util/xp/ut_string_class.cpp:347:1: error: this is
> the location of the previous definition
> In file included from
> ../../../../../abi/src/af/util/xp/ut_string_class.cpp:38:
> ../../../../../abi/src/af/util/xp/ut_mbtowc.h:33: warning: type qualifiers
> ignored on function return type
> ../../../../../abi/src/af/util/xp/ut_mbtowc.h:74: warning: type qualifiers
> ignored on function return type
> make[6]: *** [ut_string_class.o] Error 1
> make[6]: Leaving directory `/build/tbm/abiword-2.4.6/build-gtk/src/af/util/xp'
> make[5]: *** [all-recursive] Error 1
--
Martin Michlmayr
http://www.cyrius.com/
--- End Message ---
--- Begin Message ---
Closing this bug since it's no longer an issue.
--
Joshua Kwan
--- End Message ---