[Bug 1910162] [NEW] jq fromdate is one hour off and hence FTBFS when local time is during daylight savings
Launchpad Bug Tracker
1910162 at bugs.launchpad.net
Tue Jan 5 04:25:48 UTC 2021
You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):
When trying to build jq locally it FTBFS for me since the unit tests
that run during the build and check the output of fromdate fail:
Testing 'fromdate' at line number 642
*** Expected 1425599507, but got 1425603107 for test at line number 644: fromdate
Testing 'strptime("%Y-%m-%dT%H:%M:%SZ")' at line number 646
Testing 'strptime("%Y-%m-%dT%H:%M:%SZ")|mktime' at line number 650
*** Expected 1425599507, but got 1425603107 for test at line number 652: strptime("%Y-%m-%dT%H:%M:%SZ")|mktime
This is caused by this upstream bug
https://github.com/stedolan/jq/issues/2001 which was fixed by this
upstream commit
https://github.com/stedolan/jq/commit/3c5b1419a278dfb192666b33197dc182c670290d
but this fix is not yet in 1.6-2 as shipped in Ubuntu.
See attached for a debdiff which includes the upstream patch to resolve
this.
** Affects: jq (Ubuntu)
Importance: Undecided
Status: New
** Tags: patch
--
jq fromdate is one hour off and hence FTBFS when local time is during daylight savings
https://bugs.launchpad.net/bugs/1910162
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.
More information about the Ubuntu-sponsors
mailing list