I had the same problem it happens when you install the testpatch over an old LFS version. https://www.lfs.net/forum/post/1971066#post1971066