Your message dated Fri, 22 Mar 2024 15:56:31 +0000
with message-id <[email protected]>
and subject line Bug#1065700: fixed in mysql-8.0 8.0.36-3
has caused the Debian Bug report #1065700,
regarding mysql-8.0: ftbfs with 64-bit time_t on 32-bit archs
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.)


-- 
1065700: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1065700
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mysql-8.0
Version: 8.0.36-2
Severity: serious
Tags: patch
Justification: ftbfs
User: [email protected]
Usertags: origin-ubuntu noble ubuntu-patch

Dear maintainers,

With the switch to 64-bit time_t on 32-bit archs, mysql-8.0 now fails to
build from source because of a test that *checks* that only 32-bit time is
supported:

[...]

[ 57%] main.func_unixtime_32bits                w4  [ fail ]
        Test ended at 2024-03-09 05:01:27

CURRENT_TEST: main.func_unixtime_32bits
--- /<<PKGBUILDDIR>>/mysql-test/r/func_unixtime_32bits.result   2023-12-12 
21:09:36.000000000 +0300
+++ /<<PKGBUILDDIR>>/builddir/mysql-test/var/4/log/func_unixtime_32bits.reject  
2024-03-09 08:01:27.450443865 +0300
@@ -12,7 +12,7 @@
 2038-01-19 06:14:07
 select from_unixtime(2147483648);
 from_unixtime(2147483648)
-NULL
+2038-01-19 06:14:08
 select from_unixtime(0);
 from_unixtime(0)
 1970-01-01 03:00:00
@@ -32,26 +32,26 @@
 2147483647
 select unix_timestamp(from_unixtime(2147483648));
 unix_timestamp(from_unixtime(2147483648))
-NULL
+2147483648
[...]

 - the logfile can be found in 
'/<<PKGBUILDDIR>>/builddir/mysql-test/var/log/main.func_unixtime_32bits/func_unixtime_32bits.log'

Test main.func_unixtime_32bits has failed 2 times, no more retries.
[...]

 (https://launchpad.net/ubuntu/+source/mysql-8.0/8.0.36-2/+build/27892969)

Please find attached a patch for this issue which I have uploaded to Ubuntu.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
[email protected]                                     [email protected]
diff -Nru mysql-8.0-8.0.36/debian/patches/64bit_time_everywhere.patch 
mysql-8.0-8.0.36/debian/patches/64bit_time_everywhere.patch
--- mysql-8.0-8.0.36/debian/patches/64bit_time_everywhere.patch 1969-12-31 
16:00:00.000000000 -0800
+++ mysql-8.0-8.0.36/debian/patches/64bit_time_everywhere.patch 2024-03-08 
21:59:20.000000000 -0800
@@ -0,0 +1,22 @@
+Description: fix test for 64-bit time_t
+ i386 is the only architecture where we don't have 64-bit time_t now.
+ Update the tests accordingly.
+Author: Steve Langasek <[email protected]>
+Forwarded: no
+Last-Update: 2024-03-08
+
+Index: mysql-8.0-8.0.36/mysql-test/include/have_32bits_time.inc
+===================================================================
+--- mysql-8.0-8.0.36.orig/mysql-test/include/have_32bits_time.inc
++++ mysql-8.0-8.0.36/mysql-test/include/have_32bits_time.inc
+@@ -1,8 +1,7 @@
+ # see also have_64bits_time.inc
+ 
+-let $have_64bit = `SELECT @@version_compile_machine IN
+-                          ('x86_64', 'amd64', 'sparc', 'sparc64', 'arm64', 
'aarch64',
+-                           'ppc64', 'ppc64le', 's390x')`;
++let $have_64bit = `SELECT @@version_compile_machine != 'i686'`;
++
+ if ($have_64bit) {
+   --skip Doesn't support 32 bits UNIX time, only 64 bits
+ }
diff -Nru mysql-8.0-8.0.36/debian/patches/series 
mysql-8.0-8.0.36/debian/patches/series
--- mysql-8.0-8.0.36/debian/patches/series      2024-03-05 06:26:25.000000000 
-0800
+++ mysql-8.0-8.0.36/debian/patches/series      2024-03-08 21:55:11.000000000 
-0800
@@ -9,3 +9,4 @@
 disable_timestamping_test.patch
 mysql_secure_installation-remove-root-pw-creation.patch
 suppress_armhf_test_warning.patch
+64bit_time_everywhere.patch

--- End Message ---
--- Begin Message ---
Source: mysql-8.0
Source-Version: 8.0.36-3
Done: Lena Voytek <[email protected]>

We believe that the bug you reported is fixed in the latest version of
mysql-8.0, 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.
Lena Voytek <[email protected]> (supplier of updated mysql-8.0 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, 20 Mar 2024 14:01:34 -0700
Source: mysql-8.0
Built-For-Profiles: noudeb
Architecture: source
Version: 8.0.36-3
Distribution: unstable
Urgency: medium
Maintainer: Debian MySQL Maintainers <[email protected]>
Changed-By: Lena Voytek <[email protected]>
Closes: 1065700
Changes:
 mysql-8.0 (8.0.36-3) unstable; urgency=medium
 .
   [ Steve Langasek ]
   * debian/patches/64bit_time_everywhere.patch: fix test for 64-bit time_t.
     (Closes: #1065700)
Checksums-Sha1:
 32c7097b300a744e8be68041f3ab7581cf49d0b0 3727 mysql-8.0_8.0.36-3.dsc
 c94b62081ac8e0daf616e932b1da6c1492be3b7a 145496 
mysql-8.0_8.0.36-3.debian.tar.xz
 df19d4a73b6fa3ab77c53f3c97b43d23feb144fa 10276 
mysql-8.0_8.0.36-3_source.buildinfo
Checksums-Sha256:
 706d2b425cd5e90badb4b993e216684333b346259c335c5396cc397657d261a9 3727 
mysql-8.0_8.0.36-3.dsc
 bc876440d43b003e3b531a3d8b14bca1d229de94865926fd8ec4da68290c6df5 145496 
mysql-8.0_8.0.36-3.debian.tar.xz
 221f2d0e0f6dd14fd92cd2ac6ddde63d9491ef82169883570fc62231e3477ec2 10276 
mysql-8.0_8.0.36-3_source.buildinfo
Files:
 7c96504d8ab5e376e4cc47ad592d5d9d 3727 database optional mysql-8.0_8.0.36-3.dsc
 1f672816a33329778374a642705e1179 145496 database optional 
mysql-8.0_8.0.36-3.debian.tar.xz
 e30541546ad2a93cff39fe54fdc19210 10276 database optional 
mysql-8.0_8.0.36-3_source.buildinfo

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

iQIzBAEBCgAdFiEEY+78PeFNUUbOfyS/NLitfZUp55MFAmX9pFUACgkQNLitfZUp
55PseA/+MBDhyndixqI/+YkHrELj7u0doMI9srnMG/IatjAkFMJ1p02nkhFWqD9Q
t09aQ6CgiJ39PPyukF6fu/eadV0T+FOcNZT602QbhaJBzsEAjU6EqwCNy5pd0Udr
Afs7h/agT4R/fGK09H6cBE+RcZEGcWk+gjgD0zVz6yl5SKNWklWrR48c+lxTQXsV
P7JITY2artv0bxkC4DojrTddDiabTmWKpt0sPnbAF9pJA6rzp+2+0hyY3kdnrrl4
E20D5v5bgnHcsRP7gzfDzIF2qoPZASKQutSorqSZuiItv5Bm1Q/S9XqV2EmypWh/
oxlbPexwC0zYDYsrziC3hqL6Mx9Sn5oa9aeFdn2HDfiorRvNV7E1Y5zUls0bbeM4
/q/5lA2BRlHLTH6FvvIqms1eoZI611+xncT/gOHojZOjR0YG+LmXYzSkDO5aEpnm
QecZGXnrO45d+O0zcCopw9nx7xuJgZd7NihsHpxpAXy//ZrVXOu737UNer3H0rBo
HrKJZ+SWzJKr/L0EevlE5B6MgnwdlV0uF3Zgly/DpAg5XJpbXiLCJWDnKvlrtpnz
FcCHehcvwz0Obd7I64Q3AYSsmUVY6eTJIw080GMeOIcQ6Lf3p5Zc7ASYQW3iaw5j
Bu05VSjVNqOfFOoDlpVcItnzn9N8Wj0UrObiwxUYa96Mu7c1hlk=
=LRUN
-----END PGP SIGNATURE-----

Attachment: pgpCFc5jIAal4.pgp
Description: PGP signature


--- End Message ---

Reply via email to