FS#45048 - [pacman] updpkgsums needs work supporting dual source PKGBUILD
Attached to Project:
Pacman
Opened by Chris Severance (severach) - Thursday, 21 May 2015, 22:41 GMT
Last edited by Allan McRae (Allan) - Friday, 30 December 2016, 02:35 GMT
Opened by Chris Severance (severach) - Thursday, 21 May 2015, 22:41 GMT
Last edited by Allan McRae (Allan) - Friday, 30 December 2016, 02:35 GMT
|
Details
Description:
When a PKGBUILD has source_i686 Additional info: * package version(s) * config and/or log files etc. Steps to reproduce: |
This task depends upon
Closed by Allan McRae (Allan)
Friday, 30 December 2016, 02:35 GMT
Reason for closing: None
Additional comments about closing: Moved to separate project
Friday, 30 December 2016, 02:35 GMT
Reason for closing: None
Additional comments about closing: Moved to separate project
Description:
When a PKGBUILD has source_i686 and source_x86_64 updpkgsums tends to remove sums and put the wrong ones back.
* md5 is reasonably well supported. sha1 is somewhat supported. sha256 is not supported and gets replaced with md5. sha512 is wider than 80 columns so I don't take much interest in them.
* updpkgsums removes all sums and puts only the sums in for the current $CARCH.
makepkg seems to be to blame too since it won't output both sums
Additional info:
* package version(s)
* config and/or log files etc.
updpkgsums 4.2.1
Steps to reproduce:
See basis-pro5 on AUR for an example of what I had to do to keep updpkgsums greasy mitts off my sums. I had sha1sums working but they don't work now so I switched them to md5sums.
Here's a test package that shows the all->md5 bug and the annoyance where updpgksums writes all sums together. I was able to fix the PKGBUILD so makepkg -g outputs sums for both architectures.
md5sums_i686
sha256sums_x86_64
results in
md5sums_i686
md5sums_x86_64
sha256sums_i686
sha256sums_x86_64
I did not try to keep the hashes at their original locations.