FS#75112 - [coreutils] add a patch to fix unit test
Attached to Project:
Arch Linux
Opened by Letu Ren (FantasqueX) - Sunday, 19 June 2022, 21:22 GMT
Last edited by Sébastien Luttringer (seblu) - Monday, 17 October 2022, 23:49 GMT
Opened by Letu Ren (FantasqueX) - Sunday, 19 June 2022, 21:22 GMT
Last edited by Sébastien Luttringer (seblu) - Monday, 17 October 2022, 23:49 GMT
|
Details
Description:
Currently, coreutils fails to be built from source because of one unit test test-getlogin. FAIL: test-getlogin =================== test-getlogin.h:51: assertion '! isatty (0)' failed FAIL test-getlogin (exit status: 134) There is a bug report in ArchLinux about the same issue which has been closed because that issue should be reported to upstream. Ref: https://bugs.archlinux.org/task/66506 I reported to the upstream gnulib. A patch to skip this test has been merged. Ref: https://lists.gnu.org/archive/html/bug-gnulib/2022-06/msg00001.html I would like to add this patch to make sure that coreutils is able to be built from source successfully. The patch attached has been tested using `extra-x86_64-build`. |
This task depends upon
Closed by Sébastien Luttringer (seblu)
Monday, 17 October 2022, 23:49 GMT
Reason for closing: Works for me
Monday, 17 October 2022, 23:49 GMT
Reason for closing: Works for me
FS#66506, I do not see the test failure. I wonder why it fails for some and not others?Edit: Ahh, it's skipped because "Skipping test: stdin is not a tty"