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#78026 - [typst] is not built with the TYPST_VERSION environment variable
Attached to Project:
Community Packages
Opened by Tyler Beckman (Ty) - Tuesday, 28 March 2023, 21:20 GMT
Last edited by Caleb Maclennan (alerque) - Wednesday, 05 April 2023, 09:25 GMT
Opened by Tyler Beckman (Ty) - Tuesday, 28 March 2023, 21:20 GMT
Last edited by Caleb Maclennan (alerque) - Wednesday, 05 April 2023, 09:25 GMT
|
DetailsDescription:
The community/typst package is not built with the TYPST_VERSION environment variable. This environment variable is supposed to contain the version of typst at compile time, and is used in the source code here: https://github.com/typst/typst/blob/v23-03-28/cli/src/main.rs#L164. Without it, the program simply returns "unknown version" when the command is run with the -V flag. This could easily be fixed in the PKGBUILD for this package by setting TYPST_VERSION=pkgver. Additional info: * package version(s): 23.03.28-1 * config and/or log files etc: N/A * link to upstream bug report, if any: N/A Steps to reproduce: 1. Install the community/typst package 2. Run `typst -V` |
This task depends upon
Closed by Caleb Maclennan (alerque)
Wednesday, 05 April 2023, 09:25 GMT
Reason for closing: Fixed
Additional comments about closing: Addressed in v0.1 build
Wednesday, 05 April 2023, 09:25 GMT
Reason for closing: Fixed
Additional comments about closing: Addressed in v0.1 build
Comment by Caleb Maclennan (alerque) -
Wednesday, 05 April 2023, 08:59 GMT
This is a result of the crazy goofy stuff the project is doing in the build.rs file. I hacked it to work in the Mar 23rd release, but the 28th one broke it. It looks like it changed again in v0.1, so I'll update the hack for that when I build it. And no it's not quite as simple as setting an env var since they have been blowing it away in the build.rs.