Your message dated Sun, 30 Aug 2015 22:05:34 +0000
with message-id <e1zwajg-0001qu...@franck.debian.org>
and subject line Bug#762581: fixed in libktorrent 1.3.1-5
has caused the Debian Bug report #762581,
regarding libktorrent: FTBFS on hurd-i386
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 ow...@bugs.debian.org
immediately.)


-- 
762581: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762581
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: libktorrent
Version: 1.3.1-3
Severity: important
User: debian-h...@lists.debian.org
Usertags: hurd
Tags: patch

Hi,

libktorrent fails to build from source on GNU/Hurd due to PATH_MAX
usage in the file src/util/fileops.cpp, which is not defined. The
function getmntent_r() is used, and the third and fourth arguments are a
buffer, and it's length, respectively. Since dynamic allocation of that
buffer is non-trivial, define that buffer length with a constant length,
for this case 4096. This is the same length of the PATH_MAX constant for
other OSes. The patch is attached.

Thanks!

--- a/src/util/fileops.cpp.orig	2013-01-14 18:09:10.000000000 +0100
+++ b/src/util/fileops.cpp	2014-09-23 11:26:28.000000000 +0200
@@ -54,6 +54,10 @@
 #define NAME_MAX 255
 #endif
 
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
+
 #ifdef HAVE_XFS_XFS_H
 
 #if !defined(HAVE___S64) || !defined(HAVE___U64)

--- End Message ---
--- Begin Message ---
Source: libktorrent
Source-Version: 1.3.1-5

We believe that the bug you reported is fixed in the latest version of
libktorrent, 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 762...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Scott Kitterman <sc...@kitterman.com> (supplier of updated libktorrent 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 30 Aug 2015 17:12:30 -0400
Source: libktorrent
Binary: libktorrent5 libktorrent-dev libktorrent-l10n libktorrent-dbg
Architecture: source
Version: 1.3.1-5
Distribution: unstable
Urgency: medium
Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Changed-By: Scott Kitterman <sc...@kitterman.com>
Description:
 libktorrent-dbg - debugging symbols for the KTorrent library
 libktorrent-dev - development files for the KTorrent Library
 libktorrent-l10n - localization files for the KTorrent library
 libktorrent5 - KTorrent library for C++ / Qt 4 / KDE Platform
Closes: 762581
Changes:
 libktorrent (1.3.1-5) unstable; urgency=medium
 .
   * Team upload.
   * Update symbols from build logs
   * Add definition of PATH_MAX when not otherwise defined to fix FTBFS on
     hurd-i386 (Closes: #762581)
     - Thanks to Svante Signell for the patch
Checksums-Sha1:
 35ab03f48626c75cdc7b01c0ef96fa01f1833cb6 2288 libktorrent_1.3.1-5.dsc
 1317ab4ce1084f7b9f9d02f040ec9a9d8f2b8ddb 26188 
libktorrent_1.3.1-5.debian.tar.xz
Checksums-Sha256:
 d1d08f41b193e0e573a588fc8b63d29921457289f82930e56c78fad1798e4e47 2288 
libktorrent_1.3.1-5.dsc
 db84d31ddb7639861784c574a2bee1c7aaedb99da473f2ccd0e713cf3ae8b8a8 26188 
libktorrent_1.3.1-5.debian.tar.xz
Files:
 afcbae59bfca3061a8e6182f42e6daa5 2288 libs optional libktorrent_1.3.1-5.dsc
 a4f2194686085b221b57e45b92278c76 26188 libs optional 
libktorrent_1.3.1-5.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJV43dqAAoJEHjX3vua1ZrxDLIP/RFZF7RAf4iUHYtVRQH9F+5Z
2QS0w41QIfrbiRhJwKrq/YYSlA+ZYiWbf4uHFRA6pLPduQe7sp4XytL73ajPv8M6
rAsuRMIAEF8myQKjkT5jY0mS5ZmtkgGVQ+rJDMNS70m3Z21Qr/YpqV3EKhGkI+8n
juIfRYNEWlwbT7Uv/SQ54j0tvBKj37Xy1kvizyIMJQ4cQ1pd3VQ71WjNJ53URP6/
4B12g6nIaQMvgfzIPpKqcCB2RI10TtvFMdWRYrh2+FMvvrOvtGLzBFxIcbzg30sp
YOi1DJRWcYyYMvAivdcVMbq8dD1skLOzQSGyafx4W+OkyrDOWlV0Z3eMu0qKm9yY
ct/L6MFFh5wB2/VGXPpfUR0iY0Kj37Uklbu0EEX9ktGJ92PPPi2FU9GbyyToPh5Y
YCddOyXdbZU6pM8ndLUkC/y88RWo7wCdgvHQBI9s/EZapUsrQCkzXvggZsPgU0eT
iW4VjKRuoZSCSybYD15sNM6GFSP77p+BqbNO24u/i9F2CS/cXmg3Z8qL+mb30nT3
+p94JSaGqHOi52aZparJMsxcPvvpLadbzpYilUsM+vc5+BlHc3OXwMPeUEKGGzop
IRN5YeQOHm8d2qczjBusmzZ0af4rGbiuAdc0zdlwp2M7BjcmWZVdUAXZQwpu7xk0
S3Rx2j0muGk1SyS99UId
=iraF
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
pkg-kde-extras mailing list
pkg-kde-extras@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-extras

Reply via email to