R-jqr failed to build from source in Fedora rawhide/f36 https://koji.fedoraproject.org/koji/taskinfo?taskID=81769518 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Please fix R-jqr at your earliest convenience and set the bug's status to ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks, R-jqr will be orphaned. Before branching of Fedora 37, R-jqr will be retired, if it still fails to build. For more details on the FTBFS policy, please visit: https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
Created attachment 1853590 [details] build.log
Created attachment 1853591 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 1853592 [details] state.log
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle. Changing version to 36.
Created attachment 1863473 [details] Test case demonstrating broken jq
This is _apparently_ caused by the decimal number patch in jq (cc'd maintainer.) Attached is a test program that shows the issue. It creates a jq_state, calls jq_compile on an empty string, then on something numeric-ish (...), then again on an empty string. Without the decimal patch, this errors on the second compile, but works again on the second empty string (just as the first empty string). With the decimal patch, the second empty string is totally broken, and calls error_cb with some errors parsing some unrelated file.
https://github.com/stedolan/jq/pull/2400 seems relevant.
I confirmed that 2400 fixes the problem. Davide has created a pull request to port this patch into the rpm: https://src.fedoraproject.org/rpms/jq/pull-request/5#
FEDORA-2022-19b8a22908 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-19b8a22908
Proposed as a Freeze Exception for 36-beta by Fedora user dcavalca using the blocker tracking app because: This bug fixes a regression in jq and unbreaks R-jqr
+3 in https://pagure.io/fedora-qa/blocker-review/issue/657 , marking accepted.
FEDORA-2022-19b8a22908 has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.