Re: LFS 12.4: 8.59. Coreutils-9.7 test suite fails: tests/chroot/chroot-credentials.sh

"Rainer Fiebig" ([email protected] via lfs-support Mailing List) <[email protected]> Tue, 25 Nov 2025 14:48:13 +0100
Newsgroups gmane.linux.lfs.support
Message-ID <[email protected]>
Am 25.11.25 um 12:53 schrieb "Random Penguin" ([email protected] via
lfs-support Mailing List):
>>>>>> I can't really see what the problem is, but you might want to compare
>>>>>> your
>>>>>> results with ours at
>>>>>>
>>>>>>
> https://www.linuxfromscratch.org/lfs/build-logs/12.4/i7-14700K/test-logs/857-coreutils-9.7
>>>>>>
>>>>>> -- Bruce
>>>>>
>>>>> I checked the results of both machines, however both of them pass without
>>>>> any
>>>>> error and no further elaboration. Could someone maybe send their test log
>>>>> to see what should be happening?
>>>>
>>>> What should be happening is that the tests succeed:
>>>> [...]
>>>> PASS: tests/chroot/chroot-credentials.sh
>>>> [...]
>>>>
>>>> If they don't, it's likely that you made a mistake somewhere. I suggest
>>>> that you re-check your every step after
>>>>
>>>> "Now the test suite is ready to be run. First, run the tests that are
>>>> meant to be run as user root: [...]"
>>>>
>>>> Rainer
>>>
>>> Running from /sources/coreutils-9.7 with root user:
>>> "make NON_ROOT_USERNAME=tester check-root"
>>>
>>> It's literally the first test command that fails. And I typed it twice, one
>>> for with the i18n patch and one for without, so there's no mistyping
>>> happening.
>>
>> It's generally safer (and faster) to copy/paste the commands instead of
>> typing. Perhaps you've made a mistake earlier in that chapter? If not,
>> I don't know what went wrong. The i18n-patch did not cause any problems
>> for me and there should be no FAILS:
>>
>> grep -E 'FAIL|XFAIL' coreutils-9.7.log-2025-06-05
>> # XFAIL: 0
>> # FAIL: 0
>> # XFAIL: 0
>> # FAIL: 0
>> # XFAIL: 0
>> # FAIL: 0
>> # XFAIL: 0
>> # FAIL: 0
>> # XFAIL: 0
>> # FAIL: 0
>> # XFAIL: 0
>> # FAIL: 0
>>
>> Rainer
> 
> For one, I am doing the chroot on a literal Arch Linux installation media
What's that to mean?  That your host-system is an Arch-system running
from an installation media?  Could you provide some details, please?

> because the only Linux machine I have access to is a  homebrewed Nintendo
> Switch on kernel 4.9, so no way that's happening.
> For two, what could be the possible mistakes? What libraries/binaries could've
> raised that error? Should I recompile it?
Coreutils is rather late in the build-process.  And if you haven't
experienced problems with earlier packages, it's hard to imagine that a
previously (not) built library or binary is to blame here.  I'd rather
speculate on a configuration-mishap, perhaps when (re-) entering the
chroot-environment (see "Important" at the end of ch. 7).  Or something
caused by that somewhat extraordinary build-system you seem to use.

At any rate - I'm afraid I can't give you more concrete advice in this
matter.


Rainer

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-support
Unsubscribe: See the above information page