Your message dated Wed, 07 Oct 2015 19:20:07 +0000
with message-id <[email protected]>
and subject line Bug#798157: fixed in keyutils 1.5.9-8
has caused the Debian Bug report #798157,
regarding FTBFS on musl-linux-any: ULONG_MAX undefined
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.)
--
798157: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798157
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: keyutils
Version: 1.5.9-5
Tags: patch
User: [email protected]
Usertags: rebootstrap
keyutils currently FTBFS when built against the musl C library.
https://jenkins.debian.net/job/rebootstrap_musl-linux-mips_gcc5/28/console
| mips-linux-musl-gcc -D_FORTIFY_SOURCE=2 -I. -g -O2 -fPIE
-fstack-protector-strong -Wformat -Werror=format-security -g -Wall -Werror -o
key.dns_resolver.o -c key.dns_resolver.c
| key.dns_resolver.c: In function 'afsdb_hosts_to_addrs':
| key.dns_resolver.c:374:21: error: 'UINT_MAX' undeclared (first use in this
function)
| unsigned int ttl = UINT_MAX, rr_ttl;
| ^
| key.dns_resolver.c:374:21: note: each undeclared identifier is reported only
once for each function it appears in
| key.dns_resolver.c: In function 'dns_query_afsdb':
| key.dns_resolver.c:456:22: error: 'ULONG_MAX' undeclared (first use in this
function)
| unsigned long ttl = ULONG_MAX;
| ^
| Makefile:143: recipe for target 'key.dns_resolver.o' failed
| make[2]: *** [key.dns_resolver.o] Error 1
| make[2]: Leaving directory '/tmp/buildd/keyutils/keyutils-1.5.9'
| dh_auto_build: make -j1 CC=mips-linux-musl-gcc AR=mips-linux-musl-ar returned
exit code 2
| debian/rules:16: recipe for target 'override_dh_auto_build' failed
| make[1]: *** [override_dh_auto_build] Error 2
| make[1]: Leaving directory '/tmp/buildd/keyutils/keyutils-1.5.9'
| debian/rules:12: recipe for target 'build-arch' failed
| make: *** [build-arch] Error 2
| dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
This issue is not specific not musl nor to cross building. The relevant
file key.dns_resolver.c uses the macros UINT_MAX and ULONG_MAX without
#including <limits.h>. This simply is a bug in keyutils, which happens
to be non-fatal when building with glibc.
After applying the attached patch, keyutils builds just fine against
musl.
Helmut
--- a/key.dns_resolver.c
+++ b/key.dns_resolver.c
@@ -56,6 +56,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <time.h>
+#include <limits.h>
static const char *DNS_PARSE_VERSION = "1.0";
static const char prog[] = "key.dns_resolver";
--- End Message ---
--- Begin Message ---
Source: keyutils
Source-Version: 1.5.9-8
We believe that the bug you reported is fixed in the latest version of
keyutils, 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.
Christian Kastner <[email protected]> (supplier of updated keyutils 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: Wed, 07 Oct 2015 20:42:53 +0200
Source: keyutils
Binary: keyutils keyutils-dbg libkeyutils1 libkeyutils-dev
Architecture: source
Version: 1.5.9-8
Distribution: unstable
Urgency: medium
Maintainer: Christian Kastner <[email protected]>
Changed-By: Christian Kastner <[email protected]>
Description:
keyutils - Linux Key Management Utilities
keyutils-dbg - Linux Key Management Utilities (debug)
libkeyutils-dev - Linux Key Management Utilities (development)
libkeyutils1 - Linux Key Management Utilities (library)
Closes: 798157
Changes:
keyutils (1.5.9-8) unstable; urgency=medium
.
* d/rules:
- Use date from changelog as build date
* d/patches (added):
- Add patch Include-limits.h-for-UINT_MAX.patch
Closes: #798157
- Add patch Make-build-reproducible.patch
Makes it possible to set build date instead of using the current date
* d/patches (updated):
- Disable-tests-hitting-bug-in-MIPS-kernel-3.19.patch
- Make-testcase-aware-of-a-kernel-behaviour-change.patch
Extend DEP3 headers
Checksums-Sha1:
1d92c37a3974877c90839837f27efcaa20b698cb 2081 keyutils_1.5.9-8.dsc
3cf1fa44a0f6e270060ab5482b71ba6735eba910 16640 keyutils_1.5.9-8.debian.tar.xz
Checksums-Sha256:
beaac4ab968af5a5aed9385fe01007edfeea9e055a73f4f05c9740dc2c0ad0a7 2081
keyutils_1.5.9-8.dsc
3d7fa6ef5c43b84d58768b7d911fffa0d1fefa985927ae3bab89094428341db4 16640
keyutils_1.5.9-8.debian.tar.xz
Files:
1572f3b1b0cafc3c1a657516b464a49f 2081 admin optional keyutils_1.5.9-8.dsc
ce423c8452e22d150ac332bb5fb5228c 16640 admin optional
keyutils_1.5.9-8.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCgAGBQJWFW5BAAoJEDmVOjfeTrNrjbYQAJODah/EKyfXSe1uBwysvfEC
79wB2aa/9TwLXzMJc5uIZZdBDh1ee8dp4ckvgnpoULH0AqNZETDo4vCDUCDY3/5w
EMfbbFLKFTlezGIRfpn06l+/rjxdyoD4ShVFR2zvt3iRz5RDe2HAC5LvF2JUFVQk
y2Pn9rbRJAgG2Xw3cq7n/mkVVCf5dWuB2a30uqPqcznvh83qQKYI7GzcBodXVQVy
gKhRZooxh9pBZ8Q6BnxDTa7aPBOq1u94/j/MRZKI8aQoFbXIRav4dfRlbKEouC2r
tApLXGve0AMPkNKCsQEx9cYP4iJDKVCoLLZuK3ToxN4vCdOQ56CXqeqNuONUivIp
s6/hL/FujV73srhkri9HTkUePsX78Fh1es7RP1m8p4ilsqpg9dK//sUHK/GGlzx1
b4gtU9jb9w1y3zDvk9Y3PjIsD7czoUJtsdE4g83nX2f6wzxSjmGqrNJl29/Ic0Ru
Ymgyoz/TJFYe0snR7qqrG+aTsygchmQXEMMIgerA2SHn0Sk06leIhbphXyLRLtVP
kiCAORE+AukbUchS6rXDoEa9SpPn7I44TTEeLdsSQ2LPCdhQB3b89oRGF6Zqs1S4
5qLXIk5ZIqc6A0osfmk5Y3jWJYkggEyJXvnJ1B7N8M15JBCqYFojnHTZJGF8yaMr
a8F89Bw/9qoHGqWKYmDr
=WBN1
-----END PGP SIGNATURE-----
--- End Message ---