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!
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!
FS#71869 - [micro] compiled without version information
Attached to Project:
Community Packages
Opened by Pierre Chapuis (catwell) - Thursday, 19 August 2021, 13:53 GMT
Last edited by Alexander F. Rødseth (xyproto) - Friday, 27 August 2021, 10:31 GMT
Opened by Pierre Chapuis (catwell) - Thursday, 19 August 2021, 13:53 GMT
Last edited by Alexander F. Rødseth (xyproto) - Friday, 27 August 2021, 10:31 GMT
|
DetailsDescription:
The `micro` package is compiled with no version information. This breaks plugin installation since they cannot resolve dependencies. Additional info: * package version: 2.0.10-1 Steps to reproduce: Run `micro -version`. Try to install a plugin, for instance: `micro -plugin install filemanager`. |
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Friday, 27 August 2021, 10:31 GMT
Reason for closing: Fixed
Friday, 27 August 2021, 10:31 GMT
Reason for closing: Fixed
This issue is documented in the README (https://github.com/zyedidia/micro#building-from-source):
> You can install directly with go get (go get github.com/zyedidia/micro/cmd/micro) but this isn't recommended because it doesn't build micro with version information (necessary for the plugin manager), and doesn't disable debug mode.
The options were set as external linker options which would have caused a build error except the external linker was not used so the options were not used.
Also had to change the escaping of the build date string.