Your message dated Sun, 07 Jul 2019 07:42:15 +0000
with message-id <[email protected]>
and subject line Bug#930541: fixed in gnutls28 3.6.8-2
has caused the Debian Bug report #930541,
regarding gnutls28: Fix autopkgtest on 32-bit architectures
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.)


-- 
930541: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=930541
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: gnutls28
Severity: normal
User: [email protected]
Usertags: origin-ubuntu disco ubuntu-patch


The test suite defaults the size of time_t to 8 if not specified, which
works e.g. during the build, as it gets set there, but it does not work
for autopkgtest, as configure did not run.

The patch below fixes it by looking at whether we support 64-bit dates
in date(1) which is a bit strange, but should work fine, well, until we
transition 32-bit platforms to time64_t.

diff -pruN 3.6.7-3/debian/tests/run-upstream-testsuite 
3.6.7-3ubuntu1/debian/tests/run-upstream-testsuite
--- 3.6.7-3/debian/tests/run-upstream-testsuite 2018-12-16 13:18:19.000000000 
+0000
+++ 3.6.7-3ubuntu1/debian/tests/run-upstream-testsuite  2019-05-19 
15:44:56.000000000 +0000
@@ -16,6 +16,16 @@ export  CLI=/usr/bin/gnutls-cli \
        DCLI=/usr/bin/gnutls-cli-debug \
        ENABLE_GOST=1
 
+# Set the sizeof(time_t) to the correct value for the platform, to ensure we
+# run the correct tests.
+if test -z "${ac_cv_sizeof_time_t}"; then
+       if [ "$(date  --date=@2147483648 +%Y 2>/dev/null)" = "2038" ]; then
+               export ac_cv_sizeof_time_t=8
+       else
+               export ac_cv_sizeof_time_t=4
+       fi
+fi
+
 count=1
 for i in $(find ../../tests/ -type f -perm -u+rx | \
        grep -Ev 
'tests/pkgconfig.sh|/tests/scripts/slow/|tests/slow/|tests/dtls/dtls-resume|tests/dtls/dtls$|tests/destructive/|/cbc-record-check.sh')
 ; do





-- System Information:
Debian Release: buster/sid
  APT prefers eoan
  APT policy: (991, 'eoan'), (500, 'eoan'), (500, 'cosmic-security')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.0.0-15-generic (SMP w/8 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- 
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer                              i speak de, en

--- End Message ---
--- Begin Message ---
Source: gnutls28
Source-Version: 3.6.8-2

We believe that the bug you reported is fixed in the latest version of
gnutls28, 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.
Andreas Metzler <[email protected]> (supplier of updated gnutls28 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, 06 Jul 2019 14:10:29 +0200
Source: gnutls28
Architecture: source
Version: 3.6.8-2
Distribution: unstable
Urgency: low
Maintainer: Debian GnuTLS Maintainers <[email protected]>
Changed-By: Andreas Metzler <[email protected]>
Closes: 925701 930541
Changes:
 gnutls28 (3.6.8-2) unstable; urgency=low
 .
   * Use DH 11 compat again.
   * 3.6.8 builds with gcc-9. Closes: #925701
   * Fix autopkgtest on 32bit architectures. (Bug report and patch by Julian
     Andres Klode) Closes: #930541
     See also https://gitlab.com/gnutls/gnutls/merge_requests/986
   * Upload to unstable.
Checksums-Sha1: 
 2f56813b0da7d4e0606b5a5c924abe1fbfcb3311 3377 gnutls28_3.6.8-2.dsc
 364b1a1893448e0b391169aa9c17f0ed4e793ca3 67848 gnutls28_3.6.8-2.debian.tar.xz
Checksums-Sha256: 
 a1a5b56374c93815a115ff99fd2a7da4352ead2860dc2cf7d0ace1f6c06f190f 3377 
gnutls28_3.6.8-2.dsc
 bf11ca501ff50c1f5f6ee5ef44254546d4752e82de949eaf859c2cb34d81fc89 67848 
gnutls28_3.6.8-2.debian.tar.xz
Files: 
 3be006a53c67fac2b7ef06b5c0124bf3 3377 libs optional gnutls28_3.6.8-2.dsc
 ba303fbf0b459aaa0c331e45cadb3574 67848 libs optional 
gnutls28_3.6.8-2.debian.tar.xz

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

iQIzBAEBCgAdFiEE0uCSA5741Jbt9PpepU8BhUOCFIQFAl0glU4ACgkQpU8BhUOC
FIS2jxAAlCKbVBEhs0fT12dCyP38wjXmzZsHzUuCZtFzffzsdkKmHo/hr3tEJqW4
B90dJu3qc2J63oH67ZsOAa7WniTqOaZHozELCLVGPtn+zYtUn0sSHhKSq708kMhc
xSy+DtIWkvGshYrMJ1wyYqb/xjx3WG8pmm6O58cs4vlZ/+h1YFz9Wc1frElFCR0d
wW4Iw2OsOzOjQM8tDPqavJ73UZnGJTn5zxMN5NARXvCw4H2DwugCbxmDzTjgZddO
V7rLQbm9XbmwWsdCRjJF52D+B8XXcUZltSZe5j96/GrKJUuSGeGnTfCaQk9k5Zei
+1M51irQmmPga9iYgZHqeO0fLAnDjY26zqele5+zUte2PkD09u+ObZQhUaAL+kt8
0Ay1rgxn94cPz1rKV0eGsfWSPXMIFUiBsNO8Az5qpRcSoMcvYCJO9CMlW9Yl6sD5
yVYj+BS24UcYYa1Is4p4He/XYtmL1S5OBNn/wYpOMclvapAjUdNTsvrjGbEAENTM
mg7+q6N+H25EXouf9E+559/7XFM3JNj99sCNGMXazFAziJxfdbwT88bgEjskdoQR
r/QhA2hLq4UrSc25kLpOg2hh390xjqkvFCmSHukEyP3E6s8x+/0+7j9KIxuoYCXD
a6pdBI9egENXk48ynkERVbJKEBSic4r1EFoIMQKlW/p2yyfoY3E=
=KqAB
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to