Interesting task: makewhatis repeatability

Stefan Bethke stb at lassitu.de
Mon Aug 1 11:26:53 GMT 2005


Am 31.07.2005 um 17:46 schrieb Poul-Henning Kamp:


>
> I just found out that makewhatis does not produce the same output
> after two different installworld runs.
>
> I'm not sure why this is, but it would be neat if we could fix it.
>
> To reproduce, try something like:
>
>     make buildworld
>     for i in 1 2
>     do
>         rm -rf /foo/bar
>         make installworld DESTDIR=/foo/bar
>         md5 /foo/bar/usr/share/man/whatis
>     done
>

# for i in 1 2; do rm -rf /data/00/build/x; mkdir /data/00/build/x;  
make installworld DESTDIR=/data/00/build/x; md5 /data/00/build/x/usr/ 
share/man/whatis >>/tmp/md5; done
...
# cat /tmp/md5
MD5 (/data/00/build/x/usr/share/man/whatis) =  
393e1046893b6504b0d51e57a377c529
MD5 (/data/00/build/x/usr/share/man/whatis) =  
393e1046893b6504b0d51e57a377c529

FreeBSD majestix.tallence.de 5.4-STABLE FreeBSD 5.4-STABLE #0: Mon  
Jul 25 00:04:14 CEST 2005


-- 
Stefan Bethke <stb at lassitu.de>   Fon +49 170 346 0140




More information about the freebsd-current mailing list