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

ewf_test_header_values test failing due to missing tzdata #181

Open
jengelh opened this issue Feb 14, 2023 · 3 comments
Open

ewf_test_header_values test failing due to missing tzdata #181

jengelh opened this issue Feb 14, 2023 · 3 comments

Comments

@jengelh
Copy link

jengelh commented Feb 14, 2023

When /usr/share/zoneinfo is absent, ewf_test_header_values reports:

ewf_test_header_values.c:591 result (-1) != 0

Expected by test: 2020 1 6 6 34 45
Observed by test: 2020 1 6 5 34 45

The dependency on the timezone database should be documented, or maybe the test needs updating to handle UTC better(?).

@joachimmetz
Copy link
Member

can you add config.log to get an idea why this information is missing on your system

@joachimmetz joachimmetz changed the title ewf_test_header_values / libewf needs tzdata ewf_test_header_values test failing due to missing tzdata Feb 14, 2023
@jengelh
Copy link
Author

jengelh commented Feb 14, 2023

In the minimal build root I was using, nothing else required the presence of the timezone database. This is why I think it's just something that needs to be documented. (Even in a "normal", non-minimal, openSUSE desktop system, there are only very few direct timezone users: php8, libicu, NetworkManager-applet and maybe python38-pytz if something else needs that)
[I don't think config.log helps, because configure.ac does not appear to test for it.]
config.log.gz

@joachimmetz
Copy link
Member

I would need to take a closer look a "normal installation" would have tzdata (or equiv), parts of libc rely on it AFAIK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants