Description of problem: The current version has a bug in the integer handling logic that produces incorrect results for big integer number. See the upstream error report and the fix: https://github.com/stedolan/jq/pull/1752 This was originally reported in https://bugzilla.redhat.com/show_bug.cgi?id=2008717 for RHEL 8, but it impacts Fedora just as well. I've verified this affects jq in Fedora 34, 35 and Rawhide. Version-Release number of selected component (if applicable): jq-1.6-9.fc36 How reproducible: always Steps to Reproduce: $ echo '{"a":9011153322235679}' | jq '.a' Actual results: 9011153322235680 Expected results: 9011153322235679
Put up https://src.fedoraproject.org/rpms/jq/pull-request/4 with a backport of the upstream fix
Proposed as a Freeze Exception for 35-final by Fedora user dcavalca using the blocker tracking app because: This is a user-facing issue in a very commonly used tool that can result in incorrect data being produced. There's already a fix attached to the bug. See https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/5O2FW2RUIK7LO54NDKKPCX55AAA2OVC4/ for additional context.
+3 in https://pagure.io/fedora-qa/blocker-review/issue/544 , marking accepted.
FEDORA-2021-cdc2cb4c5a has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-cdc2cb4c5a
FEDORA-2021-f727442f9b has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-f727442f9b
FEDORA-2021-ab44a1d0c9 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-ab44a1d0c9
FEDORA-2021-f727442f9b has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2021-cdc2cb4c5a has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2021-ab44a1d0c9 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.