FS#69087 - [makepkg] Update all architecture checksums
Attached to Project:
Pacman
Opened by Romain Bazile (gromain) - Thursday, 24 December 2020, 10:46 GMT
Last edited by Eli Schwartz (eschwartz) - Sunday, 27 December 2020, 17:40 GMT
Opened by Romain Bazile (gromain) - Thursday, 24 December 2020, 10:46 GMT
Last edited by Eli Schwartz (eschwartz) - Sunday, 27 December 2020, 17:40 GMT
|
Details
The command updpkgsums from pacman-contrib should update all
sources checksum, regardless of the architecture.
Right now, it only updates the architecture of the machine it's running on, which makes the work of package maintainers more complicated (with missed steps for example). This is in `makepkg (pacman) 5.2.2` and `updpkgsums 1.4.0`. |
This task depends upon
Closed by Eli Schwartz (eschwartz)
Sunday, 27 December 2020, 17:40 GMT
Reason for closing: Not a bug
Additional comments about closing: OP request: error was in architecture declaration
Sunday, 27 December 2020, 17:40 GMT
Reason for closing: Not a bug
Additional comments about closing: OP request: error was in architecture declaration
updpkgsums runs "makepkg --geninteg", then dutifully edits the PKGBUILD in place with the results of makepkg --geninteg.
Both makepkg --geninteg and updpkgsums work fine for me and update the checksums for all supported arches.
arch=('x86_64') # I only support 64-bit
source_i686=('....') # but I'll list these sources anyway???
source_x86_64=('....')
or like this:
arch=('any') # there are no architecture-specific details in this PKGBUILD
source_x86_64=('....') # fatal logic error
But in the latter case, it will not update the architecture of the machine it's running on either.
Thanks for your feedback. I've checked on my packages and your first example seems to be the case I encountered.
Closing now, thanks for your time!