Package: papaya
Version: 0.97.20031122-5.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.  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://gcc.gnu.org/gcc-4.3/porting_to.html

You can reproduce this problem with gcc-4.3 or gcc-snapshot from
unstable.

> Automatic build of papaya_0.97.20031122-5.3 on em64t by sbuild/amd64 0.53
...
> if x86_64-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" 
> -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" 
> -DPACKAGE=\"papaya\" -DVERSION=\"0.98\" -DPACKAGE=\"papaya\" 
> -DVERSION=\"0.98\" -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_DLFCN_H=1 
> -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_FILE_H=1 
> -DHAVE_SYS_PARAM_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_LONG_LONG=1 
> -DHAVE_LONG_DOUBLE=1 -DHAVE_WCHAR_T=1 -DHAVE_WINT_T=1 
> -DHAVE_INTTYPES_H_WITH_UINTMAX=1 -DHAVE_STDINT_H_WITH_UINTMAX=1 
> -DHAVE_INTMAX_T=1 -DHAVE_POSIX_PRINTF=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 
> -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DINTDIV0_RAISES_SIGFPE=1 
> -DHAVE_UNSIGNED_LONG_LONG=1 -DHAVE_UINTMAX_T=1 -DHAVE_INTTYPES_H=1 
> -DHAVE_STDINT_H=1 -DHAVE_STDINT_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_ASPRINTF=1 -DHAVE_FWPRINTF=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_SNPRINTF=1 -DHAVE_STPCPY=1 -DHAVE_STRCASECMP=1 -DHAVE_STRDUP=1 
> -DHAVE_STRTOUL=1 -DHAVE_TSEARCH=1 -DHAVE_WCSLEN=1 -DHAVE___ARGZ_COUNT=1 
> -DHAVE___ARGZ_STRINGIFY=1 -DHAVE___ARGZ_NEXT=1 -DHAVE___FSETLOCKING=1 
> -DHAVE_DECL__SNPRINTF=0 -DHAVE_DECL__SNWPRINTF=0 -DHAVE_DECL_FEOF_UNLOCKED=1 
> -DHAVE_DECL_FGETS_UNLOCKED=0 -DHAVE_DECL_GETC_UNLOCKED=1 -DHAVE_ICONV=1 
> -DICONV_CONST= -DHAVE_LANGINFO_CODESET=1 -DHAVE_LC_MESSAGES=1 -DENABLE_NLS=1 
> -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBNSL=1 -DSTDC_HEADERS=1  -I. -I. 
>    -I../include   -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   -DPNG_NO_MMX_CODE 
> -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 
> -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   -DUSE_GLADE -DUSE_GTK_2   
> -DZLIB  -g -O2 -MT papaya-ColouredLabel.o -MD -MP -MF 
> ".deps/papaya-ColouredLabel.Tpo" -c -o papaya-ColouredLabel.o `test -f 
> 'ColouredLabel.cpp' || echo './'`ColouredLabel.cpp; \
>       then mv -f ".deps/papaya-ColouredLabel.Tpo" 
> ".deps/papaya-ColouredLabel.Po"; else rm -f ".deps/papaya-ColouredLabel.Tpo"; 
> exit 1; fi
> ColouredLabel.cpp: In constructor 'ColouredLabel::ColouredLabel(Connection*)':
> ColouredLabel.cpp:14: error: 'strdup' was not declared in this scope
> ColouredLabel.cpp: In constructor 'ColouredLabel::ColouredLabel(Connection*, 
> char*)':
> ColouredLabel.cpp:21: error: 'strdup' was not declared in this scope
> ColouredLabel.cpp: In member function 'void ColouredLabel::init()':
> ColouredLabel.cpp:38: warning: deprecated conversion from string constant to 
> 'char*'
> ColouredLabel.cpp:39: warning: deprecated conversion from string constant to 
> 'char*'
> ColouredLabel.cpp: In member function 'void ColouredLabel::setText(char*)':
> ColouredLabel.cpp:113: error: 'strchr' was not declared in this scope
> ColouredLabel.cpp:118: error: 'strlen' was not declared in this scope
> ColouredLabel.cpp:129: error: 'strcat' was not declared in this scope
> ColouredLabel.cpp: In member function 'void ColouredLabel::printPrompt(char*, 
> char*)':
> ColouredLabel.cpp:149: error: 'strcat' was not declared in this scope
> ColouredLabel.cpp:150: error: 'strlen' was not declared in this scope
> ColouredLabel.cpp:168: warning: deprecated conversion from string constant to 
> 'char*'
> ColouredLabel.cpp: In member function 'void 
> ColouredLabel::setPapayaColour(char*)':
> ColouredLabel.cpp:257: error: 'strchr' was not declared in this scope
> ColouredLabel.cpp: In member function 'void 
> ColouredLabel::setActualColour(char*)':
> ColouredLabel.cpp:348: warning: deprecated conversion from string constant to 
> 'char*'
> ColouredLabel.cpp:390: error: 'strlen' was not declared in this scope
> make[3]: *** [papaya-ColouredLabel.o] Error 1
> make[3]: Leaving directory `/build/tbm/papaya-0.97.20031122/src/papaya'
> make[2]: *** [all-recursive] Error 1

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


Reply via email to