Package: photoprint
Version: 0.3.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://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 photoprint_0.3.5-3 on em64t by sbuild/amd64 0.53
...
>  g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I../imagesource/ 
> -I../pixbufthumbnail -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 -g -O2 -MT searchpath.lo -MD 
> -MP -MF .deps/searchpath.Tpo -c searchpath.cpp  -fPIC -DPIC -o 
> .libs/searchpath.o
> searchpath.cpp: In member function 'char* SearchPathInstance::Simplify(const 
> char*)':
> searchpath.cpp:61: error: 'strlen' was not declared in this scope
> searchpath.cpp:61: error: 'strncmp' was not declared in this scope
> searchpath.cpp:67: error: 'strdup' was not declared in this scope
> searchpath.cpp:70: error: 'strdup' was not declared in this scope
> searchpath.cpp: In member function 'char* 
> SearchPathInstance::MakeAbsolute(const char*)':
> searchpath.cpp:77: error: 'strlen' was not declared in this scope
> searchpath.cpp: In function 'std::ostream& operator<<(std::ostream&, 
> SearchPathInstance&)':
> searchpath.cpp:101: error: 'strlen' was not declared in this scope
> searchpath.cpp:101: error: 'strncmp' was not declared in this scope
> searchpath.cpp: In member function 'char* SearchPath::Search(const char*)':
> searchpath.cpp:151: error: 'strdup' was not declared in this scope
> searchpath.cpp: In member function 'virtual void SearchPath::AddPath(const 
> char*)':
> searchpath.cpp:163: error: 'strdup' was not declared in this scope
> searchpath.cpp: In member function 'SearchPathInstance* 
> SearchPath::FindPath(const char*)':
> searchpath.cpp:194: error: 'strncmp' was not declared in this scope
> searchpath.cpp:199: error: 'strlen' was not declared in this scope
> searchpath.cpp:203: error: 'strdup' was not declared in this scope
> searchpath.cpp:208: error: 'strcmp' was not declared in this scope
> searchpath.cpp: In member function 'char* SearchPath::MakeRelative(const 
> char*)':
> searchpath.cpp:245: error: 'strlen' was not declared in this scope
> searchpath.cpp:257: error: 'strdup' was not declared in this scope
> searchpath.cpp: In member function 'virtual const char* 
> SearchPath::GetNextFilename(const char*)':
> searchpath.cpp:308: error: 'strcmp' was not declared in this scope
> searchpath.cpp:316: error: 'strdup' was not declared in this scope
> searchpath.cpp: In member function 'char* SearchPath::GetPaths()':
> searchpath.cpp:359: error: 'strlen' was not declared in this scope
> searchpath.cpp:364: error: 'strncmp' was not declared in this scope
> searchpath.cpp:365: error: 'strlen' was not declared in this scope
> searchpath.cpp:367: error: 'strlen' was not declared in this scope
> searchpath.cpp:377: error: 'strncmp' was not declared in this scope
> searchpath.cpp:379: error: 'strcat' was not declared in this scope
> searchpath.cpp:387: error: 'strcat' was not declared in this scope
> make[3]: *** [searchpath.lo] Error 1
> make[3]: Leaving directory `/build/tbm/photoprint-0.3.5/support'

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