• Bug#1065700: mysql-8.0: ftbfs with 64-bit time_t on 32-bit archs

    From Steve Langasek@21:1/5 to All on Sat Mar 9 07:20:01 2024
    This is a multi-part MIME message sent by reportbug.


    Package: mysql-8.0
    Version: 8.0.36-2
    Severity: serious
    Tags: patch
    Justification: ftbfs
    User: ubuntu-devel@lists.ubuntu.com
    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
  • From Debian Bug Tracking System@21:1/5 to All on Fri Mar 22 17:10:01 2024
    This is a multi-part message in MIME format...

    Your message dated Fri, 22 Mar 2024 15:56:31 +0000
    with message-id <E1rnhFv-00Gy7B-II@fasolo.debian.org>
    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 owner@bugs.debian.org
    immediately.)


    --
    1065700: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1065700
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 9 Mar 2024 06:11:47 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-15.8 required=4.0 tests=BAYES_00,
    BODY_INCLUDES_PACKAGE,FOURLA,HAS_PACKAGE,RCVD_IN_DNSWL_MED,
    SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,XMAILER_REPORTBUG
    autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 29; hammy, 150; neutral, 169; spammy,
    0. spammytokens: hammytokens:0.000-+--pkgbuilddir,
    0.000-+--PKGBUILDDIR, 0.000-+--H*F:D*ubuntu.com, 0.000-+--langasek,
    0.000-+--Langasek
    Return-path: <steve.langasek@ubuntu.com>
    Received: from smtp-relay-canonical-1.canonical.com ([185.125.188.121]:44106)
    by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SH