Package: sagasu
Version: 2.0.8-2
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.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).  There's some more information about this at
http://www.cyrius.com/journal/2007/05/10#gcc-4.3-include

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 sagasu_2.0.8-2 on em64t by sbuild/amd64 0.53
...
> if x86_64-linux-gnu-g++ -DPACKAGE_NAME=\"sagasu\" 
> -DPACKAGE_TARNAME=\"sagasu\" -DPACKAGE_VERSION=\"2.0.8\" 
> -DPACKAGE_STRING=\"sagasu\ 2.0.8\" -DPACKAGE_BUGREPORT=\"\" 
> -DPACKAGE=\"sagasu\" -DVERSION=\"2.0.8\" -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_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_STDLIB_H=1 
> -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 
> -DINTDIV0_RAISES_SIGFPE=1 -DHAVE_INTTYPES_H_WITH_UINTMAX=1 
> -DHAVE_STDINT_H_WITH_UINTMAX=1 -DHAVE_UNSIGNED_LONG_LONG=1 
> -DHAVE_INTTYPES_H=1 -DHAVE_ARGZ_H=1 -DHAVE_LIMITS_H=1 -DHAVE_LOCALE_H=1 
> -DHAVE_NL_TYPES_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 
> -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 
> -DHAVE_FEOF_UNLOCKED=1 -DHAVE_FGETS_UNLOCKED=1 -DHAVE_GETC_UNLOCKED=1 
> -DHAVE_GETCWD=1 -DHAVE_GETEGID=1 -DHAVE_GETEUID=1 -DHAVE_GETGID=1 
> -DHAVE_GETUID=1 -DHAVE_MEMPCPY=1 -DHAVE_MUNMAP=1 -DHAVE_PUTENV=1 
> -DHAVE_SETENV=1 -DHAVE_SETLOCALE=1 -DHAVE_STPCPY=1 -DHAVE_STRCASECMP=1 
> -DHAVE_STRDUP=1 -DHAVE_STRTOUL=1 -DHAVE_TSEARCH=1 -DHAVE___ARGZ_COUNT=1 
> -DHAVE___ARGZ_STRINGIFY=1 -DHAVE___ARGZ_NEXT=1 -DHAVE_ICONV=1 -DICONV_CONST= 
> -DHAVE_LANGINFO_CODESET=1 -DHAVE_LC_MESSAGES=1 -DENABLE_NLS=1 
> -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_SNPRINTF=1 -DHAVE_VSNPRINTF=1  -I. 
> -I.    -DLOCALEDIR=\"/usr/share/locale\" -DDATADIR=\"/usr/share\" 
> -DGNOMEICONDIR=\"/usr/share/pixmaps\" -I./intl 
> -DPKGDATADIR=\"/usr/share/sagasu\" -DPIXMAPDIR=\"/usr/share/pixmaps\" 
> -DPKGSOUNDDIR=\"/usr/share/sounds/sagasu\" 
> -DPACKAGE_HOME_PAGE=\"http://sarrazip.com/dev/sagasu.html\"; -DORBIT2=1 
> -pthread -DPNG_NO_MMX_CODE -I/usr/include/libgnomeui-2.0 
> -I/usr/include/libart-2.0 -I/usr/include/gconf/2 
> -I/usr/include/gnome-keyring-1 -I/usr/include/libgnome-2.0 
> -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 
> -I/usr/include/gtk-2.0 -I/usr/include/gnome-vfs-2.0 
> -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
> -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 
> -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/freetype2 
> -I/usr/include/gail-1.0 -I/usr/include/atk-1.0 -I/usr/lib/gtk-2.0/include 
> -I/usr/include/cairo -I/usr/include/libpng12   -g -O2 -Wall -MT sagasu-util.o 
> -MD -MP -MF ".deps/sagasu-util.Tpo" -c -o sagasu-util.o `test -f 'util.cpp' 
> || echo './'`util.cpp; \
>       then mv -f ".deps/sagasu-util.Tpo" ".deps/sagasu-util.Po"; else rm -f 
> ".deps/sagasu-util.Tpo"; exit 1; fi
> util.cpp: In function 'std::string& quotechars(std::string&, const char*)':
> util.cpp:92: error: 'strchr' was not declared in this scope
> util.cpp: In function 'void errno_dialog(GtkWidget*, const std::string&, 
> int)':
> util.cpp:138: error: 'strerror' was not declared in this scope
> make[2]: *** [sagasu-util.o] Error 1
> make[2]: Leaving directory `/build/tbm/sagasu-2.0.8/src'

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


Reply via email to