verify build files for LFS

Chris Staub chris at beaker67.com
Wed Mar 18 15:49:47 PDT 2009


Mike McCarty wrote:
> 
> Ok, gunzip thinks there is no error, but when I pulled that
> file from
> 
> ftp://ftp.lfs-matrix.net/pub/lfs/lfs-packages/6.4/inetutils-1.5.tar.gz
> 
> it's different from the wget-list file's URL target
> 
> http://ftp.gnu.org/gnu/inetutils/inetutils-1.5.tar.gz
> 
> So, which one is correct? the one from the GNU project page, which
> does not match the SHA1SUMS file, or the one from the LFS page,
> which does? Presumably, any difference between what GNU provides
> and what LFS actually needs would be provided by a corresponding
> patch file.
> 
> Mike

I just downloaded the inetutils 1.5 tarball from the LFS ftp, and from 
gnu, and both are identical. Also, the SHA1SUM given in the SHA1SUMS 
file in the 6.4 dir on the LFS download site matches what I get for both 
ineutils tarballs...

chris at chris_laptop:~$ wget 
ftp://ftp.lfs-matrix.net/pub/lfs/lfs-packages/6.4/SHA1SUMS
--2009-03-18 18:30:54-- 
ftp://ftp.lfs-matrix.net/pub/lfs/lfs-packages/6.4/SHA1SUMS
            => `SHA1SUMS'
Resolving ftp.lfs-matrix.net... 208.113.193.9
[more wget output]
2009-03-18 18:31:00 (97.4 KB/s) - `SHA1SUMS' saved [5653]

chris at chris_laptop:~$ grep 'inetutils.*tar' SHA1SUMS
825834b94cd387b2d088ef1cfe727de824b9589e  inetutils-1.5.tar.gz
chris at chris_laptop:~$ mkdir gnu
chris at chris_laptop:~$ mkdir lfs
chris at chris_laptop:~$ cd lfs
chris at chris_laptop:~/lfs$ wget 
ftp://ftp.lfs-matrix.net/pub/lfs/lfs-packages/6.4/inetutils-1.5.tar.gz
--2009-03-18 18:40:12-- 
ftp://ftp.lfs-matrix.net/pub/lfs/lfs-packages/6.4/inetutils-1.5.tar.gz
            => `inetutils-1.5.tar.gz'
Resolving ftp.lfs-matrix.net... 208.113.193.9
[more wget output]
2009-03-18 18:40:22 (323 KB/s) - `inetutils-1.5.tar.gz' saved [1390529]

chris at chris_laptop:~/lfs$ cd ../gnu/
chris at chris_laptop:~/gnu$ wget 
http://ftp.gnu.org/gnu/inetutils/inetutils-1.5.tar.gz
--2009-03-18 18:40:28-- 
http://ftp.gnu.org/gnu/inetutils/inetutils-1.5.tar.gz
Resolving ftp.gnu.org... 140.186.70.20
[more wget output]
2009-03-18 18:40:36 (481 KB/s) - `inetutils-1.5.tar.gz' saved 
[1390529/1390529]

chris at chris_laptop:~/gnu$ sha1sum inetutils-1.5.tar.gz
825834b94cd387b2d088ef1cfe727de824b9589e  inetutils-1.5.tar.gz
chris at chris_laptop:~/gnu$ sha1sum -c ../SHA1SUMS 2>/dev/null | grep 
'inetutils.*tar'
inetutils-1.5.tar.gz: OK
chris at chris_laptop:~/gnu$ cd ../lfs
chris at chris_laptop:~/lfs$ sha1sum inetutils-1.5.tar.gz
825834b94cd387b2d088ef1cfe727de824b9589e  inetutils-1.5.tar.gz
chris at chris_laptop:~/lfs$ sha1sum -c ../SHA1SUMS 2>/dev/null | grep 
'inetutils.*tar'
inetutils-1.5.tar.gz: OK

Why it's saying "FAILED" for you, I don't know.



More information about the lfs-support mailing list