Package: inkscape
Version: 0.45.1-1
Severity: important
User: [EMAIL PROTECTED]
Usertags: ftbfs-gcc-4.3

From my pbuilder build log, with g++ -> g++-4.3:

...
if x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/freetype2 
 -pthread -DORBIT2=1 -I/usr/include/gnome-vfs-2.0 
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gconf/2 
-I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   
-DRELAYTOOL_CRYPTO='static const int libcrypto_is_present = 1; static int 
__attribute__((unused)) libcrypto_symbol_is_present(char *m) { return 1; }' 
-DRELAYTOOL_SSL='static const int libssl_is_present = 1; static int 
__attribute__((unused)) libssl_symbol_is_present(char *m) { return 1; }'   
-DHAVE_SSL -I/usr/include/freetype2   -DPOTRACE=\"potrace\" -DPNG_NO_MMX_CODE 
-pthread -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include 
-I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include 
-I/usr/include/pangomm-1.4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include 
-I/usr/include/cairomm-1.0 -I/usr/include/sigc++-2.0 
-I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo 
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtkmm-2.4 
-I/usr/lib/gtkmm-2.4/include -I/usr/include/atkmm-1.6 -I/usr/include/atk-1.0 
-I/usr/include/libxml2   -I../cxxtest    -Wall -g -O2   -MT arc-context.o -MD 
-MP -MF ".deps/arc-context.Tpo" \
          -c -o arc-context.o `test -f 'arc-context.cpp' || echo 
'./'`arc-context.cpp; \
        then mv -f ".deps/arc-context.Tpo" ".deps/arc-context.Po"; \
        else rm -f ".deps/arc-context.Tpo"; exit 1; \
        fi
In file included from document.h:30,
                 from arc-context.cpp:28:
verbs.h: In member function 'bool Inkscape::Verb::ltstr::operator()(const 
char*, const char*) const':
verbs.h:267: error: 'strcmp' was not declared in this scope
In file included from arc-context.cpp:33:
pixmaps/cursor-ellipse.xpm: At global scope:
pixmaps/cursor-ellipse.xpm:38: warning: deprecated conversion from string 
constant to 'char*'
pixmaps/cursor-ellipse.xpm:38: warning: deprecated conversion from string 
constant to 'char*'
pixmaps/cursor-ellipse.xpm:38: warning: deprecated conversion from string 
constant to 'char*'
...
make[3]: *** [arc-context.o] Error 1
make[3]: Leaving directory `/tmp/buildd/inkscape-0.45.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/inkscape-0.45.1'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/inkscape-0.45.1'
make: *** [build] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2

Looks like verbs.h needs a #include <cstring>.  I haven't checked to see
how many other missing #includes there are.
-- 
Daniel Schepler


Reply via email to