NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

toolchain/56136: Checksum in mtree file differs from that for the file itself in distribution builds



>Number:         56136
>Category:       toolchain
>Synopsis:       Checksum in mtree file differs from that for the file itself in distribution builds
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 30 11:05:00 +0000 2021
>Originator:     Stephen Borrill
>Release:        9.1_STABLE
>Organization:
>Environment:
NetBSD builder9 9.1 NetBSD 9.1 (XEN3_DOMU) #0: Sun Oct 18 19:24:30 UTC 2020  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/xen/compile/XEN3_DOMU amd64

>Description:
Checksum in mtree file for /usr/lib/i386/libkadm5srv.so.15.0 differs from that for the file itself in distribution tarballs. See on autobuild cluster, so perhaps MKREPRO issue?

It is only this file that is affected by the cksum problem. This is a long-term problem (also in 9.1 release).

In addition there are two files in the tarball that are not in the mtree:

./usr/lib/i386/libtermcap.so.0.6
./usr/lib/i386/libtermlib.so.0.6

>How-To-Repeat:
Download http://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-9/latest/amd64/binary/sets/base.tar.xz

tar -xpzf base.tar.xz ./etc/mtree/set.base ./usr/lib/i386/libkadm5srv.so.15.0

# cksum -a sha256 ./usr/lib/i386/libkadm5srv.so.15.0
SHA256 (./usr/lib/i386/libkadm5srv.so.15.0) = 20f227ef1fd15342540c2a437795c318ee5a03b42f88fb74f35182cf0ba70ee4

# grep ./usr/lib/i386/libkadm5srv.so.15.0 etc/mtree/set.base
./usr/lib/i386/libkadm5srv.so.15.0 type=file uname=root gname=wheel mode=0444 size=95068 sha256=53144885ce3083af9847f66fbd583fdfb685cf188b7d330df3ce5d3feedd3402

# ls -l ./usr/lib/i386/libkadm5srv.so.15.0
-r--r--r--  1 root  wheel  95068 Apr 28 10:59 ./usr/lib/i386/libkadm5srv.so.15.0

Note that cksums do not match between the file in the tarball and the mtree entry.
>Fix:



Home | Main Index | Thread Index | Old Index