[Pkg-telepathy-maintainers] Bug#455287: FTBFS with GCC 4.3: missing #includes
Martin Michlmayr
tbm at cyrius.com
Sun Dec 9 17:30:01 UTC 2007
Package: gst-plugins-farsight
Version: 0.12.5-1
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 gst-plugins-farsight_0.12.5-1 on em64t by sbuild/amd64 0.53
...
> g++ -DHAVE_CONFIG_H -I. -I../.. -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DPOSIX -DFEATURE_ENABLE_SSL=1 -I/usr/include/libjingle-0.3 -DPOSIX -DFEATURE_ENABLE_SSL=1 -I/usr/include/libjingle-0.3 -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -g -Wall -O2 -c jingle_c.cpp -fPIC -DPIC -o .libs/libgstice_la-jingle_c.o
> In file included from /usr/include/libjingle-0.3/talk/base/thread.h:31,
> from jingle_c.cpp:26:
> /usr/include/libjingle-0.3/talk/base/messagequeue.h: In constructor 'cricket::Message::Message()':
> /usr/include/libjingle-0.3/talk/base/messagequeue.h:101: error: 'memset' was not declared in this scope
> In file included from /usr/include/libjingle-0.3/talk/base/proxyinfo.h:33,
> from /usr/include/libjingle-0.3/talk/p2p/base/port.h:33,
> from /usr/include/libjingle-0.3/talk/p2p/base/portallocator.h:32,
> from /usr/include/libjingle-0.3/talk/p2p/base/sessionmanager.h:32,
> from /usr/include/libjingle-0.3/talk/p2p/base/socketmanager.h:34,
> from jingle_c.cpp:30:
> /usr/include/libjingle-0.3/talk/base/xmpppassword.h: In member function 'void buzz::FormatXmppPassword::Append(const char*, size_t)':
> /usr/include/libjingle-0.3/talk/base/xmpppassword.h:96: error: 'memcpy' was not declared in this scope
> /usr/include/libjingle-0.3/talk/base/xmpppassword.h: In member function 'void buzz::FormatXmppPassword::EnsureStorage(size_t)':
> /usr/include/libjingle-0.3/talk/base/xmpppassword.h:135: error: 'memcpy' was not declared in this scope
This is #455146
> from /usr/include/libjingle-0.3/talk/p2p/base/sessionmanager.h:32,
> from /usr/include/libjingle-0.3/talk/p2p/base/socketmanager.h:34,
> from jingle_c.cpp:30:
> /usr/include/libjingle-0.3/talk/p2p/base/stunrequest.h:91: warning: type qualifiers ignored on function return type
> jingle_c.cpp: In constructor 'SignalListener2::SignalListener2(SocketClient*)':
> jingle_c.cpp:42: error: 'memset' was not declared in this scope
> jingle_c.cpp: In function 'void disconnect_signal_socket_read(void*, void*)':
> jingle_c.cpp:129: warning: comparison between signed and unsigned integer expressions
> make[4]: *** [libgstice_la-jingle_c.lo] Error 1
This is a bug in your package.
--
Martin Michlmayr
http://www.cyrius.com/
More information about the Pkg-telepathy-maintainers
mailing list