I said I was going to try cross-chap5, and I'd intended to keep quiet about it until I completed - as I said before, I don't think that entering chroot in chapter 5 is a good idea - but that, and various minor points can wait.
I'm continuing to set /etc/passwd and /etc/group on the way into chroot, and then running everything in chroot from my chroot script. This has taken me a long time because my method of logging got really broken with the DESTDIRs in /tools (I used to log only /tools), and then after that my 'intochroot' script for passwd and group suddenly discovered /dev, /proc and /sys). As Ryan would have said: fun, fun, fun. But now I'm running in chroot I'm looking at each testsuite in the hope that I can get everything to complete (brief note - glibc no failures on my haswell). So I got to sed and the panic-tests problem. The only slightly-relevant posting I could find was: From https://lists.gnu.org/archive/html/bug-sed/2018-01/msg00006.html and that got no reply so I'm guessing the cause was a local problem. We've been skipping this test since LFS-8.0 (sed-4.4), but I think I now understand the problem. At the end of that reply is : | Also, can you try the following commands in the same directory | as 'sed', as a sanity check? | | mkdir aaa | chmod a-w aaa | touch aaa/bbb | | The 'touch' command should fail with "permission denied" | (this is esentially the sed test that fails). When I run that as root after the failure, the touch succeeds - I suppose because I'm root so I can shoot myself in the foot. Trying variations on what we do for coreutils, the following seems to work - chown -Rv nobody . su nobody -s /bin/bash \ -c "make check" For my script I log this, and I have to chown the log to nobody, but the book won't care about that. I have every hope that Pierre's approach is better than what we've been doing, but I guess this part should work even in trunk (provided user nobody exists at this point, I haven't looked at where we create that user in trunk). ============================================================================ Testsuite summary for GNU sed 4.8 ============================================================================ # TOTAL: 178 # PASS: 157 # SKIP: 21 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ ĸen -- Do you not know that, what you belittle by the name tree is but the mere four-dimensional analogue of a whole multidimensional universe which - no, I can see you do not. -- Druellae (a Dryad) -- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
