On Wed, 2022-02-02 at 12:22 -0500, Todd Zullinger wrote: > Patrick O'Callaghan wrote: > > I would if this were a test version of the RPM, but it > > isn't. It's the standard version from the base repo. I may > > file a BZ report. > > It looks to me like that upstream doesn't consider anything > but their binaries as official. :( > > This might be due in whole or in part to having to register > the app with the API for each supported service, but the > effect appears to be that no one can build from source > without hitting this limitation. > > That is unfortunate, though I'm not sure the Fedora packages > can fix it (upstream might not be able to either). > > The package could patch `-DEV` out of the Version string in > fs/version.go, though the packages do try to do that via > LDFLAGS (refer to line 144 in the rclone spec file)¹. > > I was curious and killing time avoiding real work, so I > built the package with the version file patched instead of > only trying to override it via LDFLAGS, to see if that > reported the version without the -DEV. It does remove the > '-DEV' suffix: > > $ rclone version > rclone v1.57.0 > - os/version: fedora 35 (64 bit) > - os/kernel: 5.15.16-100.fc34.x86_64 (x86_64) > - os/type: linux > - os/arch: amd64 > - go/version: go1.16.13 > - go/linking: dynamic > - go/tags: none > > I don't know if that's enough to allow the build to work > without the 7-day limitation, as I don't use rclone. Please > feel free to give that a try and see if it helps. It'd be > great if it were that simple. If so, I can submit the > change to the package maintainer easily enough. > > The scratch build and package changes are at: > > https://koji.fedoraproject.org/koji/taskinfo?taskID=82292527 > > https://src.fedoraproject.org/fork/tmz/rpms/rclone/c/9ab47be63?branch=fix-version-string-harder > > It would be ideal if upstream and downstream packagers could > come to some sort of arrangement to improve the situation. > That presumes upstream would be interested in having builds > which didn't come directly from their site. > > ¹ > https://src.fedoraproject.org/rpms/rclone/blob/045ab834f/f/rclone.spec#_144 That's an interesting proposal. I'll have to wait to test it because of the 7-day timeout (I don't know a way of speeding that up) but in the meantime I'll pass this on to the Rclone forum to see if there's a response. poc _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure