FS#68351 - [gsfonts] 20200616-1 package version confusion

Attached to Project: Arch Linux
Opened by Sibo Dong (flyingpig) - Tuesday, 20 October 2020, 19:17 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 20 October 2020, 21:00 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
It appears that gsfonts 20200616-1 was built four days ago as of today's date (2020-10-20) [1], which would have been 2020-10-16. Was the package version supposed to be 20201016-1 instead?

Additional info:
* gsfonts 20200616-1

[1] https://github.com/archlinux/svntogit-packages/commit/d4419756507251b22226b56299dc235681d32afa#diff-3e341d2d9c67be01819b25b25d5e53ea3cdf3a38d28846cda85a195eb9b7203a
This task depends upon

Closed by  Antonio Rojas (arojas)
Tuesday, 20 October 2020, 21:00 GMT
Reason for closing:  Fixed
Additional comments about closing:  gsfonts 20200910-1
Comment by loqs (loqs) - Tuesday, 20 October 2020, 19:33 GMT
There is no tag 20200616 or 20201016 [1] most recent tag currently is 20200910

makepkg -Codd
==> Making package: gsfonts 20200616-1 (Tue 20 Oct 2020 19:29:17)
==> WARNING: Skipping dependency checks.
==> Retrieving sources...
-> Cloning urw-base35-fonts git repo...
Cloning into bare repository '/tmp/packages/trunk/urw-base35-fonts'...
remote: Enumerating objects: 1098, done.
remote: Total 1098 (delta 0), reused 0 (delta 0), pack-reused 1098
Receiving objects: 100% (1098/1098), 24.69 MiB | 9.07 MiB/s, done.
Resolving deltas: 100% (564/564), done.
==> Validating source files with sha256sums...
urw-base35-fonts ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Creating working copy of urw-base35-fonts git repo...
Cloning into 'urw-base35-fonts'...
done.
fatal: invalid reference: 20200616
==> ERROR: Failure while creating working copy of urw-base35-fonts git repo
Aborting...

[1] https://github.com/ArtifexSoftware/urw-base35-fonts/tags
Comment by Sibo Dong (flyingpig) - Tuesday, 20 October 2020, 20:07 GMT
Previous versions of gsfonts were built from a commit hash (usually master at the time), so I'm not even sure how gsfonts 20200616-1 was built successfully using an invalid tag.
Comment by loqs (loqs) - Tuesday, 20 October 2020, 20:15 GMT
That tag could exists at the time the package was built, it was then removed from the git repo with something like `git push --delete origin 20200616`
Comment by Sibo Dong (flyingpig) - Tuesday, 20 October 2020, 20:45 GMT
That's a possibility; I think upstream renamed the tag from 202000616 to 20200910 because the tag for 20200910 was created on June 16 [1] which is probably why gsfonts fails to build now.

[1] https://github.com/ArtifexSoftware/urw-base35-fonts/commits/20200910
Comment by Antonio Rojas (arojas) - Tuesday, 20 October 2020, 21:00 GMT
The pkgver was being overwritten by the pkgver() function

Loading...