Bug#379657: tcpreplay_2.99+3.0.beta9-1(ia64/unstable): FTBFS: compile errors (no field ipbuff)
On 2006-08-20 at 21:27:09 +0200, Noèl Köthe [EMAIL PROTECTED] wrote: forwarded 379657 http://tcpreplay.synfin.net/trac/ticket/81 tags 379657 + upstream confirmed thanks Am Sonntag, den 20.08.2006, 02:12 +0200 schrieb Tobias Klauser: This seems to be caused by code enclosed in #ifdef FORCE_ALIGN which, according to configure.in is defined on ia64. Though this code doesn't seem to be maintained. Upstream's lack of the architectures in question maybe? FORCE_ALIGN is also defined on alpha, arm*, hp*, mips* and sparc*. Does the error also show up on these architectures? Yes. The build daemons had these problems, too. I'm trying to investigate this further, but the lack of an ia64 machine makes it a bit hard. :-/ Thx for your feedback. I reported it upstream some days ago: http://tcpreplay.synfin.net/trac/ticket/81 The 'ipbuff issue' seems to have been fixed upstream but there still exist another error if you look at the buildd log. When looking a bit more deeply at the according section in the source all seem to be ported from an old version of tcprelay, containing variables which are not defined anymore. Excerpt from src/tcpedit/tcpedit.c #ifdef FORCE_ALIGN /* * put back the layer 3 and above back in the pkt.data buffer * we can't edit the packet at layer 3 or above beyond this point */ memcpy(newpkt[l2len], ip_hdr, pkthdr_ptr-caplen - l2len); #endif The variables newpkt and pkthdr_ptr are non-existent (grep -r across the source showed nothing else). I'm really not sure but it might be possible to just delete the section in question? Cheers, Tobias P.S. I might get access to a mips in the next week so I could investigate this bug there.
Bug#379657: tcpreplay_2.99+3.0.beta9-1(ia64/unstable): FTBFS: compile errors (no field ipbuff)
forwarded 379657 http://tcpreplay.synfin.net/trac/ticket/81 tags 379657 + upstream confirmed thanks Am Sonntag, den 20.08.2006, 02:12 +0200 schrieb Tobias Klauser: Hello Tobias, This seems to be caused by code enclosed in #ifdef FORCE_ALIGN which, according to configure.in is defined on ia64. Though this code doesn't seem to be maintained. Upstream's lack of the architectures in question maybe? FORCE_ALIGN is also defined on alpha, arm*, hp*, mips* and sparc*. Does the error also show up on these architectures? Yes. The build daemons had these problems, too. I'm trying to investigate this further, but the lack of an ia64 machine makes it a bit hard. :-/ Thx for your feedback. I reported it upstream some days ago: http://tcpreplay.synfin.net/trac/ticket/81 -- Noèl Köthe noel debian.org Debian GNU/Linux, www.debian.org signature.asc Description: Dies ist ein digital signierter Nachrichtenteil
Bug#379657: tcpreplay_2.99+3.0.beta9-1(ia64/unstable): FTBFS: compile errors (no field ipbuff)
This seems to be caused by code enclosed in #ifdef FORCE_ALIGN which, according to configure.in is defined on ia64. Though this code doesn't seem to be maintained. Upstream's lack of the architectures in question maybe? FORCE_ALIGN is also defined on alpha, arm*, hp*, mips* and sparc*. Does the error also show up on these architectures? I'm trying to investigate this further, but the lack of an ia64 machine makes it a bit hard. :-/ Oh, one of these errors seems to be an easy one to fix: --- tcpreplay-2.99+3.0.beta11/src/tcpedit/tcpedit.h.orig2006-08-19 15:40:15.0 +0200 +++ tcpreplay-2.99+3.0.beta11/src/tcpedit/tcpedit.h 2006-08-19 15:40:36.0 +0200 @@ -72,7 +72,7 @@ struct tcpedit_runtime_s { pcap_t *pcap2; char errstr[TCPEDIT_ERRSTR_LEN]; #ifdef FORCE_ALIGN -u_char *ipbuff = NULL;/* IP header and above buffer */ +u_char *ipbuff;/* IP header and above buffer */ #endif }; Cheers, Tobias -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#379657: tcpreplay_2.99+3.0.beta9-1(ia64/unstable): FTBFS: compile errors (no field ipbuff)
Package: tcpreplay Version: 2.99+3.0.beta9-1 Severity: serious There was an error while trying to autobuild your package: Automatic build of tcpreplay_2.99+3.0.beta9-1 on caballero by sbuild/ia64 85 Build started at 20060724-0757 [...] ** Using build dependencies supplied by package: Build-Depends: debhelper ( 3.0.0), libnet1-dev, libpcap0.8-dev, tcpdump, autogen, libnids-dev [...] tcpedit.c:192: error: for each function it appears in.) tcpedit.c:192: error: 'pkthdr_ptr' undeclared (first use in this function) tcpedit.c: In function 'tcpedit_init': tcpedit.c:236: error: 'tcpedit_runtime_t' has no member named 'ipbuff' tcpedit.c: In function 'tcpedit_close': tcpedit.c:445: error: 'tcpedit_runtime_t' has no member named 'ipbuff' make[4]: *** [tcpedit.o] Error 1 make[4]: Leaving directory `/build/buildd/tcpreplay-2.99+3.0.beta9/src/tcpedit' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/build/buildd/tcpreplay-2.99+3.0.beta9/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/build/buildd/tcpreplay-2.99+3.0.beta9/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/build/buildd/tcpreplay-2.99+3.0.beta9' make: *** [build-stamp] Error 2 A full build log can be found at: http://buildd.debian.org/build.php?arch=ia64pkg=tcpreplayver=2.99+3.0.beta9-1 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]