From: Christian Weisgerber Subject: Corruption in freshly checked out tree To: gameoftrees@openbsd.org Date: Sun, 9 Jan 2022 19:49:28 +0100 Repository: -------------------> [core] repositoryformatversion = 0 filemode = true bare = true [remote "origin"] url = https://github.com/openbsd/src.git fetch = +refs/heads/master:refs/heads/master [http "https://github.com/"] pinnedpubkey = sha256//7zwAM/YU+zd8BZMCl0J943URuyF35zefKC7QIoxTq+U= <------------------- I checked out a src tree, and when I tried to compile a kernel, I encountered corrupted file content. Specifically, the first 1132 bytes of sys/dev/pci/drm/amd/include/asic_reg/gc/gc_9_0_sh_mask.h sys/dev/pci/drm/amd/include/asic_reg/gc/gc_9_2_1_sh_mask.h are overwritten with the start of gnu/usr.bin/perl/lib/unicore/TestProp.pl Well, the first line reads # !!!!!!! DO NOT EDIT7THIS FILE !!!!!!! with an erroneous '7', so even the corruption is corrupted. I used "got tree -i" to get the blob IDs for the two files, and "got cat " shows what looks like correct content. However, "got blame" fails: got: value out of range I checked out another copy of the tree from the repository, and it shows the same corruption. got 0.65-current, as of commit 0f71f6196dbf9f3afd34524586b8bfdb2d1eaccd. Oh, hmm, that would be got 0.66-current, but I forgot a "make clean", and there's no dependency on got-version.mk. -- Christian "naddy" Weisgerber naddy@mips.inka.de