FS#74943 - [perl-datetime-format-builder] Epoch needed due to non-monotonic version upgrade

Attached to Project: Community Packages
Opened by Arvid Norlander (VorpalGun) - Thursday, 02 June 2022, 19:11 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 02 June 2022, 21:03 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

During a system upgrade I'm getting the following message:

warning: perl-datetime-format-builder: local (0.8100-9) is newer than community (0.83-1)

I have not done anything unusual with this package locally so I believe this is a packaging error.

Looking at the PKGBUILD diff at https://github.com/archlinux/svntogit-community/commit/1138e1291c8ea7bc653b7848ea389fa95463d01e it seems that the packager forgot (or didn't realise the need for) updating the epoch value.

Either this should be fixed (epoch value added) or a news item posted on archlinux.org to indicate that manual intervention is needed.

Additional info:
* package version(s) 0.8100-9 -> 0.83-1
* config and/or log files etc: N/A
* link to upstream bug report, if any: N/A

Steps to reproduce:
* Have the package installed with the old version 0.8100-9
* Run a system update (pacman -Syu)
This task depends upon

Closed by  Sergej Pupykin (sergej)
Thursday, 02 June 2022, 21:03 GMT
Reason for closing:  Fixed
Comment by Arvid Norlander (VorpalGun) - Thursday, 02 June 2022, 19:16 GMT
Oops I forgot to write anything but the package name in the title. My bad. I do not seem to be able to edit this. But if someone can change it that would be great. I'd suggest "Package downgrade due to wrong version numbers" or similar.
Comment by Jonas Witschel (diabonas) - Thursday, 02 June 2022, 19:41 GMT
In addition to the point raised in this bug report regarding the version numbering, bumping pkgver does absolutely nothing for this package since the source array does not reference $pkgver and is therefore still stuck at

source=('https://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-Format-Builder-0.80.tar.gz')
Comment by Sergej Pupykin (sergej) - Thursday, 02 June 2022, 19:48 GMT
should be fixed in perl-datetime-format-builder-1:0.83-2
Comment by Marcell Meszaros (MarsSeed) - Thursday, 02 June 2022, 20:24 GMT
Can confirm fixed in [community] perl-datetime-format-builder-1:0.83-2

Please also do the following task as well:

 FS#74944  [perl-datetime-format-builder] drop depends= [perl-class-factory-util]
(latter is deprecated, unneeded)

Loading...