Package: latd
Version: 1.26.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 latd_1.26.1 on em64t by sbuild/amd64 0.53
...
> if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" 
> -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"latd\" 
> -DVERSION=\"1.25\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
> -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
> -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_IOCTL_H=1 
> -DHAVE_PTY_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_MCHECK_H=1 -DHAVE_NETINET_ETHER_H=1 
> -DHAVE_NET_ETHERNET_H=1 -DHAVE_FEATURES_H=1 -DHAVE_OPENPTY=1 
> -DLOGIN_BIN=\"/bin/login\" -DHAVE_LOCKDEV_H=1 
> -DLATCP_SOCKNAME=\"/var/run/latcp\" -DLLOGIN_SOCKNAME=\"/var/run/latlogin\" 
> -I. -I. -DLATD_CONF=\"/etc/latd.conf\" -DSBINDIR=\"/usr/sbin\" 
> -DBINDIR=\"/usr/bin\"   -fno-rtti -fno-exceptions -Wno-unused -g -O2 
> -DENABLE_DEFAULT_SERVICE -W -MT circuit.o -MD -MP -MF ".deps/circuit.Tpo" \
>         -c -o circuit.o `test -f 'circuit.cc' || echo './'`circuit.cc; \
>       then mv -f ".deps/circuit.Tpo" ".deps/circuit.Po"; \
>       else rm -f ".deps/circuit.Tpo"; exit 1; \
>       fi
> In file included from circuit.cc:29:
> services.h: In constructor 
> 'LATServices::serviceinfo::nodeinfo::nodeinfo(const unsigned char*, int, 
> std::string, int)':
> services.h:94: error: 'memcpy' was not declared in this scope
> In file included from circuit.cc:32:
> connection.h: In member function 'bool LATConnection::node_is(const char*)':
> connection.h:58: error: 'strcmp' was not declared in this scope
> connection.h: In constructor 
> 'LATConnection::pending_msg::pending_msg(unsigned char*, int, bool)':
> connection.h:107: error: 'memcpy' was not declared in this scope
> connection.h: In copy constructor 
> 'LATConnection::pending_msg::pending_msg(const LATConnection::pending_msg&)':
> connection.h:113: error: 'memcpy' was not declared in this scope
> connection.h: In member function 'LATConnection::pending_msg& 
> LATConnection::pending_msg::operator=(const LATConnection::pending_msg&)':
> connection.h:125: error: 'memcpy' was not declared in this scope
> connection.h: In constructor 'LATConnection::slot_cmd::slot_cmd(unsigned 
> char*, int)':
> connection.h:158: error: 'memcpy' was not declared in this scope
> connection.h: In copy constructor 'LATConnection::slot_cmd::slot_cmd(const 
> LATConnection::slot_cmd&)':
> connection.h:163: error: 'memcpy' was not declared in this scope
> circuit.cc: In member function 'bool Circuit::send_reply(int, const char*, 
> int)':
> circuit.cc:42: error: 'strlen' was not declared in this scope
> make[1]: *** [circuit.o] Error 1
> make[1]: Leaving directory `/build/tbm/latd-1.26.1'
> make: *** [build] Error 2

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