Package: mapnik
Version: 0.4.0-2
Usertags: ftbfs-gcc-4.3

Your package causes other packages to fail 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 gpsdrive_2.10~pre4-1 on em64t by sbuild/amd64 0.53
...
> if x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. 
> -DLOCALEDIR=\"/usr/share/locale\" -DDATADIR=\"/usr/share\" 
> -DLIBDIR=\"/usr/lib\" -DFRIENDSSERVERVERSION=\"2\"   -DMAPNIK -I/usr/include/ 
> -I/usr/local/include -I/opt/boost_1_35/include/boost-1_35 
> -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I. -L/usr/local/lib 
> -I. -I. -I..     -g -O2  -MT mapnik.o -MD -MP -MF ".deps/mapnik.Tpo" -c -o 
> mapnik.o mapnik.cpp; \
>       then mv -f ".deps/mapnik.Tpo" ".deps/mapnik.Po"; else rm -f 
> ".deps/mapnik.Tpo"; exit 1; fi
> In file included from /usr/include/mapnik/geometry.hpp:33,
>                  from /usr/include/mapnik/feature.hpp:35,
>                  from /usr/include/mapnik/filter.hpp:29,
>                  from /usr/include/mapnik/rule.hpp:40,
>                  from /usr/include/mapnik/feature_type_style.hpp:30,
>                  from /usr/include/mapnik/map.hpp:27,
>                  from mapnik.cpp:17:
> /usr/include/mapnik/vertex_vector.hpp: In member function 'void 
> mapnik::vertex_vector<T>::allocate_block(unsigned int)':
> /usr/include/mapnik/vertex_vector.hpp:127: error: 'memcpy' is not a member of 
> 'std'
> /usr/include/mapnik/vertex_vector.hpp:128: error: 'memcpy' is not a member of 
> 'std'
> In file included from /usr/include/mapnik/label_collision_detector.hpp:30,
>                  from /usr/include/mapnik/agg_renderer.hpp:35,
>                  from mapnik.cpp:19:
> /usr/include/mapnik/quad_tree.hpp: In constructor 
> 'mapnik::quad_tree<T>::node::node(const mapnik::Envelope<double>&)':
> /usr/include/mapnik/quad_tree.hpp:52: error: 'memset' is not a member of 'std'
> make[4]: *** [mapnik.o] Error 1
> make[4]: Leaving directory `/build/tbm/gpsdrive-2.10~pre4/src'

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