Package: xplanet
Version: 1.2.0-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 xplanet_1.2.0-3 on em64t by sbuild/amd64 0.53
...
> if g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I/usr/include/freetype2 
> -I/usr/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I../../src -O3 -Wall  
> -g -O2 -MT addArcs.o -MD -MP -MF ".deps/addArcs.Tpo" -c -o addArcs.o 
> addArcs.cpp; \
>       then mv -f ".deps/addArcs.Tpo" ".deps/addArcs.Po"; else rm -f 
> ".deps/addArcs.Tpo"; exit 1; fi
> In file included from addArcs.cpp:14:
> ../../src/PlanetProperties.h: In member function 'void 
> PlanetProperties::ArcColor(unsigned char*)':
> ../../src/PlanetProperties.h:18: error: 'memcpy' was not declared in this 
> scope
> ../../src/PlanetProperties.h: In member function 'void 
> PlanetProperties::Color(unsigned char*)':
> ../../src/PlanetProperties.h:36: error: 'memcpy' was not declared in this 
> scope
> ../../src/PlanetProperties.h: In member function 'void 
> PlanetProperties::GridColor(unsigned char*)':
> ../../src/PlanetProperties.h:48: error: 'memcpy' was not declared in this 
> scope
> ../../src/PlanetProperties.h: In member function 'void 
> PlanetProperties::MarkerColor(unsigned char*)':
> ../../src/PlanetProperties.h:51: error: 'memcpy' was not declared in this 
> scope
> ../../src/PlanetProperties.h: In member function 'void 
> PlanetProperties::OrbitColor(unsigned char*)':
> ../../src/PlanetProperties.h:60: error: 'memcpy' was not declared in this 
> scope
> ../../src/PlanetProperties.h: In member function 'void 
> PlanetProperties::TextColor(unsigned char*)':
> ../../src/PlanetProperties.h:62: error: 'memcpy' was not declared in this 
> scope
> addArcs.cpp: In function 'void readArcFile(const char*, Planet*, View*, 
> ProjectionBase*, unsigned char*, double, std::multimap<double, Annotation*, 
> std::less<double>, std::allocator<std::pair<const double, Annotation*> > >&)':
> addArcs.cpp:37: error: 'strlen' was not declared in this scope
> addArcs.cpp:48: error: 'strlen' was not declared in this scope
> addArcs.cpp: In function 'void addArcs(PlanetProperties*, Planet*, View*, 
> ProjectionBase*, std::multimap<double, Annotation*, std::less<double>, 
> std::allocator<std::pair<const double, Annotation*> > >&)':
> addArcs.cpp:225: error: 'memcpy' was not declared in this scope
> addArcs.cpp: In function 'void addArcs(View*, std::multimap<double, 
> Annotation*, std::less<double>, std::allocator<std::pair<const double, 
> Annotation*> > >&)':
> addArcs.cpp:261: error: 'memset' was not declared in this scope
> make[4]: *** [addArcs.o] Error 1

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