On Tue, 19 Jul 2011 08:30:51 +0200, Lucas Nussbaum wrote: > Source: tcpreplay > Version: 3.4.3-2 > Severity: serious > Tags: wheezy sid > User: debian...@lists.debian.org > Usertags: qa-ftbfs-20110718 qa-ftbfs > Justification: FTBFS on amd64 > > Hi, > > During a rebuild of all packages in sid, your package failed to build on > amd64.
Attached is a debdiff based on the Ubuntu patch that makes the package build. But: % lintian -F tcpreplay_3.4.3-2.1_amd64.changes E: tcpreplay: embedded-library usr/bin/tcpbridge: libpcap E: tcpreplay: embedded-library usr/bin/tcpprep: libpcap E: tcpreplay: embedded-library usr/bin/tcpreplay: libpcap E: tcpreplay: embedded-library usr/bin/tcpreplay-edit: libpcap E: tcpreplay: embedded-library usr/bin/tcprewrite: libpcap Cheers, gregor -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `-
diff -u tcpreplay-3.4.3/debian/changelog tcpreplay-3.4.3/debian/changelog --- tcpreplay-3.4.3/debian/changelog +++ tcpreplay-3.4.3/debian/changelog @@ -1,3 +1,16 @@ +tcpreplay (3.4.3-2.1) UNRELEASED; urgency=low + + * Non-maintainer upload. + * Fix "FTBFS: configure: error: Unable to find matching library for + header file in /usr": + - extrace the part of the Ubuntu patch from Matthias Klose that tells + configure.ac about the pcap multiarch dir (LP: #832912), and build + depend on dpkg-dev (>= 1.16.0) + - use dh-autoreconf in debian/rules, update build dependencies + (Closes: #634538) + + -- gregor herrmann <gre...@debian.org> Wed, 14 Mar 2012 18:00:49 +0100 + tcpreplay (3.4.3-2) unstable; urgency=low * debian/compat raised to 5 like the dependency in 3.4.3-1 diff -u tcpreplay-3.4.3/debian/rules tcpreplay-3.4.3/debian/rules --- tcpreplay-3.4.3/debian/rules +++ tcpreplay-3.4.3/debian/rules @@ -20,6 +20,7 @@ config.status: configure dh_testdir + dh_autoreconf # Add here commands to configure the package. ./configure --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \ @@ -46,11 +47,7 @@ # Add here commands to clean up after the build process. [ ! -f Makefile ] || $(MAKE) distclean - -test -r /usr/share/misc/config.sub && \ - cp -f /usr/share/misc/config.sub config.sub - -test -r /usr/share/misc/config.guess && \ - cp -f /usr/share/misc/config.guess config.guess - + dh_autoreconf_clean dh_clean diff -u tcpreplay-3.4.3/debian/control tcpreplay-3.4.3/debian/control --- tcpreplay-3.4.3/debian/control +++ tcpreplay-3.4.3/debian/control @@ -2,7 +2,7 @@ Section: net Priority: optional Maintainer: Noèl Köthe <n...@debian.org> -Build-Depends: debhelper (>= 5.0.0), libpcap0.8-dev, tcpdump, autogen, autotools-dev +Build-Depends: debhelper (>= 5.0.0), libpcap0.8-dev, tcpdump, autogen, dh-autoreconf, dpkg-dev (>= 1.16.0) Standards-Version: 3.8.2 Homepage: http://tcpreplay.synfin.net/ only in patch2: unchanged: --- tcpreplay-3.4.3.orig/configure.ac +++ tcpreplay-3.4.3/configure.ac @@ -38,6 +38,7 @@ AC_SUBST(host) AC_SUBST(build) AC_SUBST(target) +multiarch=$(dpkg-architecture -qDEB_HOST_MULTIARCH) have_cygwin=no AC_MSG_CHECKING([for cygwin development environment]) @@ -359,6 +360,8 @@ fi elif test -f "${testdir}/lib64/libpcap.${libext}" ; then LPCAPLIB="${testdir}/lib64/libpcap.${libext}" + elif test -f "${testdir}/lib/$multiarch/libpcap.${libext}" ; then + LPCAPLIB="${testdir}/lib/$multiarch/libpcap.${libext}" elif test -f "${testdir}/lib/libpcap.${libext}" ; then LPCAPLIB="${testdir}/lib/libpcap.${libext}" elif test -f "${testdir}/lib/libwpcap.${libext}" ; then
signature.asc
Description: Digital signature