[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: downloading a tarball
From: |
Ben Woodcroft |
Subject: |
Re: downloading a tarball |
Date: |
Fri, 24 Mar 2017 22:26:53 +1000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 |
Hi,
On 24/03/17 22:06, Catonano wrote:
This
https://sourceforge.net/projects/libxls/files/
I attempted to build the package several times but every time the hash
results to be wrong.
I correct it and then it's wrong again
For example, I get
@ build-failed
/gnu/store/dcaqrf007jxyi0jzlsakr3j7faxm122f-libxsl-1.4.0.tar.gz.drv -
1 output path
`/gnu/store/v6i85v3myb09nbsacq9ghx6yd0spcr67-libxsl-1.4.0.tar.gz'
should have sha256 hash
`1574bcyagix5fkbs0yi2npi59y1zck23y2aia52vdv6ra3i5raid', instead has
`1zmsb0w6qh4vx7n7r3yijc5p4fwljyk5apzi1hwmrr5rkawmqmks'
I think the mistake is that you are not taking the hash of the
downloaded file, that is on the previous line. For instance from this
example
output path
`/gnu/store/7mfyynbzzi15265z92bdb00j7lxfa70y-libxls-1.4.0.zip' should
have sha256 hash `0py8hsspvwjlckg2xi7jcpj0frrp2qbmsy9x55fx0knnwbhdg5d2',
instead has `1g8ds7wbhsa4hdcn77xc2c0l3vvz5bx2hx9ng9c9n7aii92ymfnk'
@ build-failed
/gnu/store/cv5nmjcwja91151zmxh9g956if0bl2xl-libxls-1.4.0.zip.drv - 1
output path
`/gnu/store/7mfyynbzzi15265z92bdb00j7lxfa70y-libxls-1.4.0.zip' should
have sha256 hash `0py8hsspvwjlckg2xi7jcpj0frrp2qbmsy9x55fx0knnwbhdg5d2',
instead has `1g8ds7wbhsa4hdcn77xc2c0l3vvz5bx2hx9ng9c9n7aii92ymfnk'
The correct hash is 0py8hsspvwjlckg2xi7jcpj0frrp2qbmsy9x55fx0knnwbhdg5d2.
HTH - speaking from experience making the same mistake here..
ben
Re: downloading a tarball, Ricardo Wurmus, 2017/03/24