Arch AUR package fails to compile #252

Closed
opened 2023-07-09 17:24:54 +03:00 by r3k2 · 2 comments

Hello since Saturday I am having issues compiling with the AUR package, right at the end on the test fase, I get this:

test backends::utf7::tests::decode_test ... ok
test backends::utf7::tests::decode_consecutive_accents ... ok
test backends::utf7::tests::decode_test_split ... ok
test text_processing::line_break::test_reflow ... ok
test smtp::test::test_smtp ... ok

failures:

---- backends::imap::search::tests::test_imap_query_search stdout ----
thread 'backends::imap::search::tests::test_imap_query_search' panicked at 'assertion failed: `(left == right)`
  left: `"02-Jun-2023"`,
 right: `"03-Jun-2023"`', melib/src/backends/imap/search.rs:283:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


failures:
    backends::imap::search::tests::test_imap_query_search

test result: FAILED. 85 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s

mailin_embedded::running: 2023-07-09T16:22:09.081+02:00 - ERROR - (127.0.0.1) Unexpected Eof
error: test failed, to rerun pass `-p melib --lib`
==> ERROR: A failure occurred in check().
    Aborting...

I have not had any time this weekened since im on the move to check maybe a typo or something easy/fast to fix for you guys?

Cheers

Hello since Saturday I am having issues compiling with the AUR package, right at the end on the test fase, I get this: ``` test backends::utf7::tests::decode_test ... ok test backends::utf7::tests::decode_consecutive_accents ... ok test backends::utf7::tests::decode_test_split ... ok test text_processing::line_break::test_reflow ... ok test smtp::test::test_smtp ... ok failures: ---- backends::imap::search::tests::test_imap_query_search stdout ---- thread 'backends::imap::search::tests::test_imap_query_search' panicked at 'assertion failed: `(left == right)` left: `"02-Jun-2023"`, right: `"03-Jun-2023"`', melib/src/backends/imap/search.rs:283:9 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace failures: backends::imap::search::tests::test_imap_query_search test result: FAILED. 85 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s mailin_embedded::running: 2023-07-09T16:22:09.081+02:00 - ERROR - (127.0.0.1) Unexpected Eof error: test failed, to rerun pass `-p melib --lib` ==> ERROR: A failure occurred in check(). Aborting... ``` I have not had any time this weekened since im on the move to check maybe a typo or something easy/fast to fix for you guys? Cheers

Thanks for the bug report, the test uses localtime_r (local timezone) instead of gmtime_r (UTC) so my Third of June isn't the same in every other timezone. I will need to add an option for UTC only strptime.

Thanks for the bug report, the test uses localtime_r (local timezone) instead of gmtime_r (UTC) so my Third of June isn't the same in every other timezone. I will need to add an option for UTC only strptime.
Manos Pitsidianakis added the
bug
label 2023-07-09 18:33:56 +03:00

@r3k2 I created a PR with a fix, it looks like it's correct on my end. Feel free to verify if you want, I won't merge it right away.

@r3k2 I created a PR with a fix, it looks like it's correct on my end. Feel free to verify if you want, I won't merge it right away.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: meli/meli#252
There is no content yet.