Your message dated Sun, 24 Jul 2016 16:51:41 +0000 with message-id <[email protected]> and subject line Bug#832038: fixed in bgpdump 1.4.99.15+hg127-2 has caused the Debian Bug report #832038, regarding bgpdump: FTBFS on hurd and kbsd to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 832038: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=832038 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: bgpdump Version: 1.4.99.15+hg127-1 Severity: normal Tags: help patch So bgpdump FTBFS on hurd and kbsd as it needs strlcat there without declaring a dependency. The patch (debdiff) attached should fix this, can someone with access to a hurd and/or kbsd box confirm? Christophdiff -Nru bgpdump-1.4.99.15+hg127/debian/control bgpdump-1.4.99.15+hg127/debian/control --- bgpdump-1.4.99.15+hg127/debian/control 2016-07-20 18:54:11.000000000 +0200 +++ bgpdump-1.4.99.15+hg127/debian/control 2016-07-21 18:28:02.000000000 +0200 @@ -5,6 +5,7 @@ Build-Depends: debhelper (>= 9~), asciidoc, dh-autoreconf, + libbsd-dev, libbz2-dev, xmlto, zlib1g-dev, diff -Nru bgpdump-1.4.99.15+hg127/debian/patches/re-autoconfig.patch bgpdump-1.4.99.15+hg127/debian/patches/re-autoconfig.patch --- bgpdump-1.4.99.15+hg127/debian/patches/re-autoconfig.patch 2016-07-20 22:35:16.000000000 +0200 +++ bgpdump-1.4.99.15+hg127/debian/patches/re-autoconfig.patch 2016-07-21 18:28:02.000000000 +0200 @@ -22,7 +22,7 @@ + [ ! -d test_data ] || ./test.sh --- /dev/null +++ b/configure.ac -@@ -0,0 +1,42 @@ +@@ -0,0 +1,43 @@ +AC_REVISION([m4_esyscmd([dpkg-parsechangelog -SVersion])]) + +AC_INIT([libbgpdump], 1.4.99.15, [[email protected]]) @@ -50,6 +50,7 @@ + +AC_CHECK_LIB(z, gzopen, [], AC_DEFINE(DONT_HAVE_GZ, 1, Define if libz not present)) +AC_CHECK_LIB(bz2, BZ2_bzReadOpen, [], AC_DEFINE(DONT_HAVE_BZ2, 1, Define if libbzip2 not present)) ++AC_CHECK_LIB(bsd, strlcat) + +# Check for inet_ntoa in -lnsl if not found (Solaris) +AC_CHECK_FUNCS(inet_ntoa, [], AC_CHECK_LIB(nsl, inet_ntoa, [], AC_MSG_ERROR([inet_ntoa not found],1))) diff -Nru bgpdump-1.4.99.15+hg127/debian/patches/series bgpdump-1.4.99.15+hg127/debian/patches/series --- bgpdump-1.4.99.15+hg127/debian/patches/series 2016-07-20 18:38:12.000000000 +0200 +++ bgpdump-1.4.99.15+hg127/debian/patches/series 2016-07-21 18:28:02.000000000 +0200 @@ -19,3 +19,4 @@ # big test (see README.Debian) fix-test.patch +use-strlcat.patch diff -Nru bgpdump-1.4.99.15+hg127/debian/patches/use-strlcat.patch bgpdump-1.4.99.15+hg127/debian/patches/use-strlcat.patch --- bgpdump-1.4.99.15+hg127/debian/patches/use-strlcat.patch 1970-01-01 01:00:00.000000000 +0100 +++ bgpdump-1.4.99.15+hg127/debian/patches/use-strlcat.patch 2016-07-21 18:28:02.000000000 +0200 @@ -0,0 +1,33 @@ +Description: Use strlcat provided by libbsd +Author: Christoph Biedl <[email protected]> +Forwarded: No +Last-Update: 2016-07-21 + +--- a/bgpdump_lib.c ++++ b/bgpdump_lib.c +@@ -37,6 +37,7 @@ + #include <netinet/in.h> + #include <sys/socket.h> + #include <arpa/inet.h> ++#include <bsd/string.h> + + #include <zlib.h> + #include <assert.h> +@@ -78,7 +79,7 @@ + + BGPDUMP_TABLE_DUMP_V2_PEER_INDEX_TABLE *table_dump_v2_peer_index_table = NULL; + +-#if defined(linux) ++#if 0 + static size_t strlcat(char *dst, const char *src, size_t size); + #endif + +@@ -1482,7 +1483,7 @@ + } + } + +-#if defined(linux) ++#if 0 + size_t strlcat(char *dst, const char *src, size_t size) { + if (strlen (dst) + strlen (src) >= size) + return -1;
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---Source: bgpdump Source-Version: 1.4.99.15+hg127-2 We believe that the bug you reported is fixed in the latest version of bgpdump, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Christoph Biedl <[email protected]> (supplier of updated bgpdump package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Sat, 23 Jul 2016 16:53:45 +0200 Source: bgpdump Binary: bgpdump Architecture: source armhf Version: 1.4.99.15+hg127-2 Distribution: unstable Urgency: low Maintainer: Christoph Biedl <[email protected]> Changed-By: Christoph Biedl <[email protected]> Description: bgpdump - Translate binary zebra/quagga/MRT files into readable output Closes: 832038 Changes: bgpdump (1.4.99.15+hg127-2) unstable; urgency=low . * Use strlcat from libbsd-dev, fixing FTBFS on hurd and kfreebsd Closes: #832038 * Fix getopt usage, unbreaks bgpdump in several architectures * Add more assertion checks * manpage: Document the -p option, explain -M * Add small test data, and use it during build Checksums-Sha1: 18122e52dcdfaf237228bdb6009580bace55b0fc 1854 bgpdump_1.4.99.15+hg127-2.dsc 5d81e67cb2db0205ab5262e815f14ab8fb67adb8 17664 bgpdump_1.4.99.15+hg127-2.debian.tar.xz 342c46e493553c3c0b51d3ced694b284423bd71e 58382 bgpdump-dbgsym_1.4.99.15+hg127-2_armhf.deb 794b03eb29d04e2938f6314eef3512b01f863080 30354 bgpdump_1.4.99.15+hg127-2_armhf.deb Checksums-Sha256: cb57fd03ce4d7a6ef4308a44751fa5ea9d683734440f220bac8cad18fd4226a1 1854 bgpdump_1.4.99.15+hg127-2.dsc d349f988dd1375a1a7897c001575ef62b9d7acf06c7e5b018a153742bc912037 17664 bgpdump_1.4.99.15+hg127-2.debian.tar.xz 68de173b39ecff3d067f503d4dd7619c09f83fa82667e0df2308a48a5adf99e8 58382 bgpdump-dbgsym_1.4.99.15+hg127-2_armhf.deb 49f6cf7fc755698ef77cac486242dbc4e9414d084abd0183649bd24f8e968e40 30354 bgpdump_1.4.99.15+hg127-2_armhf.deb Files: 16ee1009f31bf6629472124cc86d6a76 1854 admin optional bgpdump_1.4.99.15+hg127-2.dsc d008bad046ba118789db5b0299ef70d1 17664 admin optional bgpdump_1.4.99.15+hg127-2.debian.tar.xz 77d9b752b5d48f2ee9ec5bc9d57c0356 58382 debug extra bgpdump-dbgsym_1.4.99.15+hg127-2_armhf.deb b9f2c9d63dd5f8090ca0c9db31ee97d2 30354 admin optional bgpdump_1.4.99.15+hg127-2_armhf.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJXk63LAAoJEMQsWOtZFJL95CQQAMhoc9DyKePJYmyLtMDKLY+V LCn7tcMK5yXVwSEi2lmrZJN8yZUYNWME4D/xpjo+V7useIooTn/E3rr3pStmfbjg YLlTpDdJxAmRv/l+9kvuka8U+zlVTNPvwmuENUWJJNbr3jt9tBH0k49NpnUoPpQ8 DOwCUhJWhDUJHSFVC6kthlgsBpqnjpEdAwWhWeZbhBLhEPuCW6tpMljKU32yzq35 wCmxYCCTw0K4AlDE0GfKSJRSs3j5CtEsLdbNBrXSV4bZ7iDKWWVOUYkn/vqPtAa8 JcVzXNgXB/b67HDgnYDDV6EGudkhA3mwE2Wi0XP1UjZf+mPFwncvytwv/b84+5vM iWeiA621ww7qIewb0fvJoe1ytqWZu/3VQ70mFdDyZnpjw5xRJn9so/LcHsgQzmWK 6zBvmx8A1zyCAjcClTh4MXARFsIVoMbCTRpf918TD5fd3kTAEo8GvV1WdGkHSHHv idcv7Je/dIaDHUT4s3mLcrRML9tqnqeOXBvK6CH2m6R5Za7uKC5249Hb184BbiMx rjdY5552mB7bHQknY3mft1vWLlLekVfIqwpOzMthHr3NdUsTGOKPhNSLJcwUXDAC kDTYPG/rXEaWtbj2xrFV8hBLxFa/22tYbUHF4sJG+GOYzIqPXr359y9ocX7osRyq Q2lvJIMsOTi+bx/uNTG0 =1T72 -----END PGP SIGNATURE-----
--- End Message ---

