Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922250 - mail-filter/rspamd-3.7.5 fails tests on x86: Failed asserting that (actual) : -2147483647 equals to (expected) : 2147483649
Summary: mail-filter/rspamd-3.7.5 fails tests on x86: Failed asserting that (actual) ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Petr Vaněk
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: time32-bugs 918871
  Show dependency tree
 
Reported: 2024-01-16 22:28 UTC by matoro
Modified: 2024-01-19 19:05 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log and emerge --info (build.log.gz,56.78 KB, application/gzip)
2024-01-16 22:30 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-01-16 22:28:41 UTC
608 tests 604 passed 1191 assertions 1 failed 0 errors 3 unassertive 0 pending

Parse date: Tue, 19 Jan 2038 03:14:09 GMT:
Failed asserting that
  (actual)   : -2147483647
 equals to
  (expected) : 2147483649
stack traceback:
        ...amd-3.7.5/work/rspamd-3.7.5_build/test/lua/telescope.lua:199: in function 'assert_rspamd_eq'
        ....7.5/work/rspamd-3.7.5_build/test/lua/unit/smtp_date.lua:51: in function <....7.5/work/rspamd-3.7.5_build/test/lua/unit/smtp_date.lua:49>
        [C]: in function 'xpcall'
        ...amd-3.7.5/work/rspamd-3.7.5_build/test/lua/telescope.lua:441: in function 'invoke_test'
        ...amd-3.7.5/work/rspamd-3.7.5_build/test/lua/telescope.lua:481: in function 'run'
        .../rspamd-3.7.5/work/rspamd-3.7.5_build/test/lua/tests.lua:28: in main chunk
ninja: build stopped: subcommand failed.

Reproducible: Always
Comment 1 matoro archtester 2024-01-16 22:30:36 UTC
Created attachment 882441 [details]
build.log and emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-17 01:40:39 UTC
y2038 issues must be solved en-masse.

But also, this was already mentioned at https://bugs.gentoo.org/918871#c1.
Comment 3 Larry the Git Cow gentoo-dev 2024-01-19 19:05:33 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99c9c25f85f05787970d89e51867cdeed1c00040

commit 99c9c25f85f05787970d89e51867cdeed1c00040
Author:     Petr Vaněk <arkamar@gentoo.org>
AuthorDate: 2024-01-19 18:59:35 +0000
Commit:     Petr Vaněk <arkamar@gentoo.org>
CommitDate: 2024-01-19 19:05:01 +0000

    mail-filter/rspamd: add 3.8.0
    
    The y2038 test is commented out, see bug 922250 and [1].
    
    [1] https://github.com/rspamd/rspamd/commit/4704a4a26948f1127c66c03c94e7752ee52805c6
    
    Closes: https://bugs.gentoo.org/922250
    Signed-off-by: Petr Vaněk <arkamar@gentoo.org>

 mail-filter/rspamd/Manifest            |   1 +
 mail-filter/rspamd/rspamd-3.8.0.ebuild | 155 +++++++++++++++++++++++++++++++++
 2 files changed, 156 insertions(+)