Fedora Account System
Red Hat Associate
Red Hat Customer
External tools like helmfile may rely on `helm version --short` output. Current Fedora helm packaging uses raw version (i.e. 3.18.4+gd80839c) while https://github.com/helm/helm provides v-prefixed version (v3.18.4+gd80839c). With helmfile 1.1.3 (helmfile is a popular wrapper for helm tool), this not-prefixed version trigger an errror : ``` $ helmfile diff panic: error find helm srmver version '3.18.4+gd80839c ': unable to find semver info in 3.18.4+gd80839c goroutine 24 [running]: github.com/helmfile/helmfile/pkg/helmexec.New({0x3dadf84, 0x4}, {0x0?, 0x0?}, 0xc00080a1f8, {0x0, 0x0}, {0x0, 0x0}, {0x44c4188, ...}) /home/runner/work/helmfile/helmfile/pkg/helmexec/exec.go:123 +0x3c6 github.com/helmfile/helmfile/pkg/app.(*App).getHelm(0xc000bc26c0, 0xc000c41188) /home/runner/work/helmfile/helmfile/pkg/app/app.go:803 +0x25f ``` This helmfile issue was opened : https://github.com/helmfile/helmfile/issues/2107. I think Fedora package behavior is not new, but helmfile recently updates its helm version extraction, so it triggers the issue. Even if helmfile may relax version check, I think Fedora packaging should follow official helm binary behavior, and uses a v-prefixed version. From my package build understanding, helm.spec should be modified to use `helm.sh/helm/v3/internal/version.version=v%{version}` (v added before `%(version)`). Reproducible: Always Steps to Reproduce: Install helm from Fedora package. Install helmfile 1.1.3 (https://github.com/helmfile/helmfile/releases/tag/v1.1.3) Run `helmfile diff` from a helmfile folder. Actual Results: ``` $ helmfile diff panic: error find helm srmver version '3.18.4+gd80839c ': unable to find semver info in 3.18.4+gd80839c goroutine 24 [running]: github.com/helmfile/helmfile/pkg/helmexec.New({0x3dadf84, 0x4}, {0x0?, 0x0?}, 0xc00080a1f8, {0x0, 0x0}, {0x0, 0x0}, {0x44c4188, ...}) /home/runner/work/helmfile/helmfile/pkg/helmexec/exec.go:123 +0x3c6 github.com/helmfile/helmfile/pkg/app.(*App).getHelm(0xc000bc26c0, 0xc000c41188) /home/runner/work/helmfile/helmfile/pkg/app/app.go:803 +0x25f ``` Expected Results: diff is performed.
THANKS for such detailed report. You're right, upstream adds `v` to the version tag and so should Fedora also. I fixed this in https://src.fedoraproject.org/rpms/helm/c/b5d71b6879ac5e386df44dcf111615f082fd2b98?branch=rawhide and will push builds and updates now.
FEDORA-2025-9bdb634c3d (helm-3.18.4-3.fc43) has been submitted as an update to Fedora 43. https://bodhi.fedoraproject.org/updates/FEDORA-2025-9bdb634c3d
FEDORA-2025-29cd044422 (helm-3.18.4-3.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2025-29cd044422
FEDORA-2025-0460ca2ea1 (helm-3.18.4-3.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2025-0460ca2ea1
FEDORA-2025-9bdb634c3d (helm-3.18.4-3.fc43) has been pushed to the Fedora 43 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2025-29cd044422 has been pushed to the Fedora 42 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-29cd044422` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-29cd044422 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2025-0460ca2ea1 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-2025-0460ca2ea1` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-0460ca2ea1 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
I applied the update with the provided command `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-29cd044422` It fixes the original issue (error from helmfile command) as expected. Thanks for the quick fix.
FEDORA-2025-29cd044422 (helm-3.18.4-3.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2025-0460ca2ea1 (helm-3.18.4-3.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.