Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#57692 - [hdparm 9.54-1] incorrect md5sum

Attached to Project: Arch Linux
Opened by David McInnis (daavve) - Thursday, 01 March 2018, 16:07 GMT
Last edited by Eli Schwartz (eschwartz) - Thursday, 01 March 2018, 18:51 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

$ makepkg
==> Making package: hdparm 9.54-1 (Thu Mar 1 08:04:52 PST 2018)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading hdparm-9.54.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 652 100 652 0 0 983 0 --:--:-- --:--:-- --:--:-- 983
-> Found wiper.sh.2_6.max-ranges.patch
==> Validating source files with md5sums...
hdparm-9.54.tar.gz ... FAILED
wiper.sh.2_6.max-ranges.patch ... Passed
==> ERROR: One or more files did not pass the validity check!
[dave@bigArch hdparm]$ md5sum hdparm-9.54.tar.gz
cb530d737c8f2d1023797cf0587b4e05 hdparm-9.54.tar.gz



Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Thursday, 01 March 2018, 18:51 GMT
Reason for closing:  Not a bug
Additional comments about closing:  sourceforge is a really sucky source code hosting provider, wait until their website responds properly again.
Comment by David McInnis (daavve) - Thursday, 01 March 2018, 16:24 GMT
I made the following changes to PKGBUILD to get the checksum error to fix:$ diff PKGBUILD PKGBUILD.old
17,18c17,18
< sha512sums=('3b53ccf0243cd4a6a731a898bfdba95c3d22342e7e64f9e9a4a2bce5f74ac809943f570ed92c9077101a178f82f49ece1d1c4bfee1f288ea61d99fb36f6a243e'
< 'ddb9eff6e4c0b67da72104a9ddcb6fde2b6ad543174e56a7e065453beb88f4c16b977718b1db4beaed41aff477a0ed955303172d019efbe9eacef2a397f27499')
---
> sha512sumss=('410539d0bf3cc247181594581edbfb53'
> '74e368f384166a7710b447573cda120a')
44a45,46
> md5sums=('3c160eab5783c1d2fbf40f86333f7fcf'
> '74e368f384166a7710b447573cda120a')

But for some reason when I run makepkg it does not extract the sources properly:

==> ERROR: A failure occurred in prepare().
Aborting...
[dave@bigArch hdparm]$ ls src/
hdparm-9.54.tar.gz wiper.sh.2_6.max-ranges.patch
[dave@bigArch hdparm]$ file src/hdparm-9.54.tar.gz
src/hdparm-9.54.tar.gz: symbolic link to /home/dave/build/hdparm/hdparm-9.54.tar.gz

Loading...