Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

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
Task Type Feature Request
Category General
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 5.2.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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
Comment by Eli Schwartz (eschwartz) - Sunday, 27 December 2020, 16:02 GMT
  • Field changed: Attached to Project (Community Packages → Pacman)
  • Field changed: Category (General → Packages)
  • Field changed: Architecture (All → All)
This has nothing to do with updpkgsums.

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.
Comment by Eli Schwartz (eschwartz) - Sunday, 27 December 2020, 16:07 GMT
Note that makepkg --geninteg only emits checksums for architecture-specific sources, for each architecture listed in the arch=() array, so the only theory I have for your problem is that you did something like this:

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.
Comment by Romain Bazile (gromain) - Sunday, 27 December 2020, 17:39 GMT
Hi,
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!

Loading...