Bug 2315855

Summary: Version string breaks RC
Product: [Fedora] Fedora Reporter: robin
Component: rcloneAssignee: Mikel Olasagasti Uranga <mikel>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 40CC: eclipseo, go-sig, mikel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: rclone-1.67.0-2.fc42 rclone-1.67.0-2.fc41 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-10-01 09:23:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description robin 2024-10-01 08:16:46 UTC
The following command fails:

$ rclone rc --loopback core/version
Failed to rc: loopback call failed: strconv.ParseInt: parsing "": invalid syntax

Apparently this issue occurs when the version string does not start with "v". This same issue occurred in the Termux distribution: https://github.com/termux/termux-packages/issues/19013

This command is run by the Borg backup program when using an rclone-backed repository: https://borgbackup.readthedocs.io/en/2.0.0b11/usage/general.html#repository-urls




Reproducible: Always

Comment 1 Mikel Olasagasti Uranga 2024-10-01 08:57:58 UTC
Fixed in https://src.fedoraproject.org/rpms/rclone/c/120873a89d0e80fc936b4bc8fe196e1d55c30e1f?branch=rawhide and builds are running now. Thanks for reporting!

Comment 2 Fedora Update System 2024-10-01 09:19:04 UTC
FEDORA-2024-b05b9e3528 (rclone-1.67.0-2.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-b05b9e3528

Comment 3 Fedora Update System 2024-10-01 09:23:36 UTC
FEDORA-2024-b05b9e3528 (rclone-1.67.0-2.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 4 Fedora Update System 2024-10-01 15:10:44 UTC
FEDORA-2024-99f8736e7a (rclone-1.67.0-2.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-99f8736e7a

Comment 5 Fedora Update System 2024-10-02 02:55:12 UTC
FEDORA-2024-99f8736e7a has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-99f8736e7a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-99f8736e7a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 robin 2024-10-02 14:59:05 UTC
Thanks!

Comment 7 Fedora Update System 2024-10-10 00:16:44 UTC
FEDORA-2024-99f8736e7a (rclone-1.67.0-2.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.