Arch Linux

Please read this before reporting a bug:

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#71655 - [amf-headers] pkgver() generates invalid pkgver

Attached to Project: Arch Linux
Opened by Felix Yan (felixonmars) - Thursday, 29 July 2021, 15:50 GMT
Last edited by Maxime Gauduin (Alucryd) - Monday, 02 August 2021, 07:18 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


The pkgver() in PKGBUILD is currently generating invalid version:

==> Extracting sources...
-> Creating working copy of AMF git repo...
Cloning into 'AMF'...
Updating files: 100% (3377/3377), done.
Switched to a new branch 'makepkg'
==> Starting pkgver()...
==> ERROR: pkgver is not allowed to contain colons, forward slashes, hyphens or whitespace.
==> ERROR: pkgver() generated an invalid version: .4.18-5-g6898a97

Additional info:
* package version(s)
amf-headers 1.4.21-1
This task depends upon

Closed by  Maxime Gauduin (Alucryd)
Monday, 02 August 2021, 07:18 GMT
Reason for closing:  Works for me
Comment by Maxime Gauduin (Alucryd) - Monday, 02 August 2021, 07:18 GMT
It works fine with tags, looks like you're trying to build a commit, not a tag, this is unsupported.