Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#75477 - [gum] gum is unaware of its own version

Attached to Project: Community Packages
Opened by Klaus Alexander Seistrup (kseistrup) - Monday, 01 August 2022, 08:16 GMT
Last edited by Toolybird (Toolybird) - Monday, 01 August 2022, 22:23 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

When asked for its version, gum says “gum version unknown (built from source)” because the version strings hasn't been built into the binary.

Additional info:
* package version(s)

gum 0.2.0-3

Steps to reproduce:

1. gum --version
2. output from (1): gum version unknown (built from source)

This can be solved in PKGBUILD:

-ldflags="-linkmode=external -X main.Version=$pkgver"

See e.g. the PKGBUILD file from the [now obsolete] AUR version: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=gum
This task depends upon

Closed by  Toolybird (Toolybird)
Monday, 01 August 2022, 22:23 GMT
Reason for closing:  Fixed
Additional comments about closing:  gum 0.2.0-3

Loading...