Your message dated Thu, 19 Nov 2020 17:33:59 +0000
with message-id <[email protected]>
and subject line Bug#933770: fixed in krb5 1.18.3-1
has caused the Debian Bug report #933770,
regarding krb5: 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 [email protected]
immediately.)


-- 
933770: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=933770
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: krb5
Version: 1.17-6
Severity: important
Tags: patch
User: [email protected]
Usertags: hurd
Control: found -1 krb5/1.17-1

Hi,

krb5 fails to build on hurd-i386 [1].

The issue is a new occurrence of MAXHOSTNAMELEN in the krb5 library;
attached there is an amended 0001-Debian-HURD-compatibility.patch that
moves the fallback MAXHOSTNAMELEN define to src/include/k5-int.h,
removing the other two definitions in krb5 library sources.

[1] 
https://buildd.debian.org/status/fetch.php?pkg=krb5&arch=hurd-i386&ver=1.17-6&stamp=1564688099&raw=0

Thanks,
-- 
Pino
From: Sam Hartman <[email protected]>
Date: Mon, 26 Dec 2011 18:05:13 -0500
Subject: Debian: HURD compatibility

HURD has no MAXPATHLEN or MAXHOSTNAMELEN.

Patch-Category: debian-local
---
 src/clients/ksu/ksu.h                       | 4 ++++
 src/include/k5-int.h                        | 3 +++
 src/kadmin/ktutil/ktutil_funcs.c            | 4 ++++
 src/kprop/kprop_util.c                      | 4 ++++
 src/lib/gssapi/spnego/spnego_mech.c         | 3 +++
 src/lib/krb5/os/sn2princ.c                  | 4 ++++
 src/plugins/kdb/db2/libdb2/include/db-int.h | 4 ++++
 src/tests/resolve/resolve.c                 | 4 ++++
 8 files changed, 30 insertions(+)

--- a/src/clients/ksu/ksu.h
+++ b/src/clients/ksu/ksu.h
@@ -56,6 +56,10 @@
 #define MAX_CMD 2048 /* this is temp, should use realloc instead,
                         as done in most of the code */
 
+#ifndef MAXPATHLEN
+# define MAXPATHLEN 4096
+#endif
+
 
 extern int optind;
 extern char * optarg;
--- a/src/include/k5-int.h
+++ b/src/include/k5-int.h
@@ -589,6 +589,12 @@
 #ifdef HAVE_SYS_PARAM_H
 #include <sys/param.h>                  /* MAXPATHLEN */
 #endif
+#ifndef MAXPATHLEN
+# define MAXPATHLEN 4096
+#endif
+#ifndef MAXHOSTNAMELEN
+# define MAXHOSTNAMELEN 256
+#endif
 
 #ifdef HAVE_SYS_FILE_H
 #include <sys/file.h>                   /* prototypes for file-related
--- a/src/kadmin/ktutil/ktutil_funcs.c
+++ b/src/kadmin/ktutil/ktutil_funcs.c
@@ -34,6 +34,10 @@
 #include <string.h>
 #include <ctype.h>
 
+#ifndef MAXPATHLEN
+# define MAXPATHLEN 4096
+#endif
+
 /*
  * Free a kt_list
  */
--- a/src/kprop/kprop_util.c
+++ b/src/kprop/kprop_util.c
@@ -32,6 +32,10 @@
 #include <sys/types.h>
 #include <sys/socket.h>
 
+#ifndef MAXHOSTNAMELEN
+#define MAXHOSTNAMELEN 256
+#endif
+
 /*
  * Convert an IPv4 or IPv6 socket address to a newly allocated krb5_address.
  * There is similar code elsewhere in the tree, so this should possibly become
--- a/src/plugins/kdb/db2/libdb2/include/db-int.h
+++ b/src/plugins/kdb/db2/libdb2/include/db-int.h
@@ -280,4 +280,8 @@
 #ifndef O_BINARY
 #define O_BINARY       0               /* Needed for Win32 compiles */
 #endif
+
+#ifndef MAXPATHLEN
+# define MAXPATHLEN 4096
+#endif
 #endif /* _DB_INT_H_ */
--- a/src/tests/resolve/resolve.c
+++ b/src/tests/resolve/resolve.c
@@ -73,6 +73,10 @@
 #include <netinet/in.h>
 #include <netdb.h>
 
+#ifndef MAXHOSTNAMELEN
+# define MAXHOSTNAMELEN 256
+#endif
+
 int
 main(argc, argv)
     int argc;

--- End Message ---
--- Begin Message ---
Source: krb5
Source-Version: 1.18.3-1
Done: Sam Hartman <[email protected]>

We believe that the bug you reported is fixed in the latest version of
krb5, 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.
Sam Hartman <[email protected]> (supplier of updated krb5 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: SHA256

Format: 1.8
Date: Thu, 19 Nov 2020 11:08:16 -0500
Source: krb5
Architecture: source
Version: 1.18.3-1
Distribution: unstable
Urgency: medium
Maintainer: Sam Hartman <[email protected]>
Changed-By: Sam Hartman <[email protected]>
Closes: 932298 933770
Changes:
 krb5 (1.18.3-1) unstable; urgency=medium
 .
   * New upstream version
     - Fix error when DES disabled, Closes: #932298
   * Fix typo in lintian overrides.
   * Update hurd compat patch, thanks Pino Toscano, Closes: #933770
Checksums-Sha1:
 f763423570f2c799d3b7432f598368988a5a474b 3437 krb5_1.18.3-1.dsc
 fdbb31fab5bdea24fc464d09bdbc245740648f1a 8715312 krb5_1.18.3.orig.tar.gz
 909b9c68601cf999cd2697c83a0f56efd0faba6d 833 krb5_1.18.3.orig.tar.gz.asc
 78056645cded8968f46b7221a7e25678532a706f 103520 krb5_1.18.3-1.debian.tar.xz
 ccd15ba42b8bee3928115c6b34336cee2ef3307e 5487 krb5_1.18.3-1_source.buildinfo
Checksums-Sha256:
 53bd407f76e0b4c60333f735ed6b0164968f6e7111b0b86e259d816429d6ef20 3437 
krb5_1.18.3-1.dsc
 e61783c292b5efd9afb45c555a80dd267ac67eebabca42185362bee6c4fbd719 8715312 
krb5_1.18.3.orig.tar.gz
 ded19808ba7320ad0bb3ddfb5202845b2ff36a50613af7832f78dd3cb4437419 833 
krb5_1.18.3.orig.tar.gz.asc
 ea32894f384daf9fd458802c0c21472d5a3db0982d522239ff49a64fa4284f2f 103520 
krb5_1.18.3-1.debian.tar.xz
 c1d94712aee6c8d1211badb2d52b690415cc5dde31dd4ea7258fab4c55abd30c 5487 
krb5_1.18.3-1_source.buildinfo
Files:
 92105ae1f131c5c7b4b52d7ac2047f18 3437 net optional krb5_1.18.3-1.dsc
 a64e8018a7572e0b4bd477c745129ffc 8715312 net optional krb5_1.18.3.orig.tar.gz
 bca804e12e8dc2de6930e916cd7a2ce3 833 net optional krb5_1.18.3.orig.tar.gz.asc
 05279a065323329fae18b368bf883bb0 103520 net optional 
krb5_1.18.3-1.debian.tar.xz
 c5a7939cac874cf038af339c2790d6ba 5487 net optional 
krb5_1.18.3-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEE9Li3nMNy++OFgPTCQe7SUh/WssoFAl+2peAACgkQQe7SUh/W
ssp/EQgAskOEBJsWSg09/edWow+6FNUwxZaZTrheT2Q2ERQvzDI0ESwvqiKTlDZE
O0RhLptFNSdsQzOsU4h8h0iztrWtP0X8vZHJ3bAargHh1Xfvynlcx/B6XrTdG8fZ
LnjuvES75RG+u3By4M4wdeEuwh2uirkB62UQQKIXO3XX7UPc8kioNsLlavveVoCU
zR3IoNNyCc3Zx4k6Ltpsq1DLuoV3Ll7idqf466LYEXIruMp9QOJhN+1q/QG1y3na
kdwJxuUc+TymeMyXmOF8If+nDeb2DbffdtkuxT8b4NCPcTLfIMS7dk8Sy80Db9Y4
nO5I0zkJ2VoGlpTUxu6nbsanCPXXkw==
=u6qF
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to