Package: libfwbuilder
Version: 2.1.8-1.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 libfwbuilder_2.1.8-1.1 on em64t by sbuild/amd64 0.53
...
> g++ -c -pipe -Wall -W -g -Wno-unused-parameter -g -O2 -D_REENTRANT -fPIC   
> -I/usr/share/qt3/mkspecs/default -I. -I.. -I../.. -I/usr/include 
> -I/usr/include/libxml2 -I-pthread -I.ui/ -o .obj/dns.o dns.cpp
> dns.cpp:138:3: warning: #warning "getHostByAddr will use default system 
> timeout because bind library was not found on the system "
> dns.cpp:260:3: warning: #warning "No gethostbyaddr_r(); all DNS calls will be 
> serialized (slow!)"
> dns.cpp:345:3: warning: #warning "No gethostbyname_r() all DNS calls will be 
> serialized (slow!)"
> In file included from ../fwbuilder/dns.h:55,
>                  from dns.cpp:57:
> ../fwbuilder/IPAddress.h:84: warning: type qualifiers ignored on function 
> return type
> dns.cpp: In static member function 'static libfwbuilder::HostEnt 
> libfwbuilder::DNS::getHostByAddr(const libfwbuilder::IPAddress&)':
> dns.cpp:217: error: 'malloc' was not declared in this scope
> dns.cpp:278: error: 'free' was not declared in this scope
> dns.cpp:289: error: 'free' was not declared in this scope
> dns.cpp:212: warning: unused variable 'hostbuf'
> dns.cpp: In static member function 'static std::list<libfwbuilder::IPAddress, 
> std::allocator<libfwbuilder::IPAddress> > 
> libfwbuilder::DNS::getHostByName(const std::string&)':
> dns.cpp:359: error: 'strerror' was not declared in this scope
> dns.cpp:376: error: 'free' was not declared in this scope
> dns.cpp:387: error: 'free' was not declared in this scope
> dns.cpp:298: warning: unused variable 'hostbuf'
> dns.cpp:301: warning: unused variable 'hstbuflen'
> dns.cpp:302: warning: unused variable 'herr'
> make[3]: *** [.obj/dns.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