Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: DateTime test failed #436

Closed
darkblaze69 opened this issue Aug 7, 2023 · 3 comments
Closed

[Bug]: DateTime test failed #436

darkblaze69 opened this issue Aug 7, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@darkblaze69
Copy link

Describe the bug

Cannot build because of strange DateTime failing, see the logs below.

Steps To Reproduce

Trying to build AUR on Arch.

Tried versions 0.4.0 and 0.4.1.

Logs and/or Screenshots

ninja: Entering directory `/home/user/.cache/yay/tuba/src/build'
ninja: no work to do.
1/6 Celebrate                      OK              0.02s
2/6 Html                           OK              0.01s
3/6 Tracking                       OK              0.02s
4/6 Validate desktop file          OK              0.02s
5/6 Validate appstream file        OK              0.02s
6/6 DateTime                       FAIL            0.12s   killed by signal 6 SIGABRT
>>> MALLOC_PERTURB_=166 /home/user/.cache/yay/tuba/src/build/tests/DateTime
―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― ✀  ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
stdout:
TAP version 13
# random seed: R02S645fe1afa3bc8924883fbd6287fdc43a
1..3
not ok /test_left - Tuba:ERROR:tests/DateTime.p/DateTime.test.c:564:test_left: assertion failed (_tmp7_ == _tmp9_): ("Jun 30, 2002" == "Jun 29, 2002")
Bail out!
stderr:
**
Tuba:ERROR:tests/DateTime.p/DateTime.test.c:564:test_left: assertion failed (_tmp7_ == _tmp9_): ("Jun 30, 2002" == "Jun 29, 2002")

Instance Backend

Mastodon

Operating System

Arch Linux

Package

Compiled manually

Troubleshooting information

failed to build.

Additional Context

No response

@darkblaze69 darkblaze69 added the bug Something isn't working label Aug 7, 2023
@GeopJr
Copy link
Owner

GeopJr commented Aug 7, 2023

Thanks for raising this issue!

Could you give me your timezone? (date +'%:z %Z')

@darkblaze69
Copy link
Author

+05:00 +05

@GeopJr GeopJr closed this as completed in 0d39caa Aug 7, 2023
@GeopJr
Copy link
Owner

GeopJr commented Aug 7, 2023

It should be fixed as of 0d39caa

I'm not sure when it will make it into a patch release, so in the meantime, try setting TZ=UTC in the build environment or skip the tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants