Here is complete output of make check: Making check in lib make[1]: Entering directory `/var/tmp/portage/coreutils-5.94-r1/work/coreutils-5.94/lib' ./t-fpending > /dev/null make check-am make[2]: Entering directory `/var/tmp/portage/coreutils-5.94-r1/work/coreutils-5.94/lib' make[2]: Nothing to be done for `check-am'. make[2]: Leaving directory `/var/tmp/portage/coreutils-5.94-r1/work/coreutils-5.94/lib' make[1]: Leaving directory `/var/tmp/portage/coreutils-5.94-r1/work/coreutils-5.94/lib' Making check in src make[1]: Entering directory `/var/tmp/portage/coreutils-5.94-r1/work/coreutils-5.94/src' rm -rf progs-readme progs-makefile echo [ chgrp chown chmod chcon cp dd dircolors du ginstall link ln dir vdir ls mkdir mkfifo mknod mv nohup readlink r m rmdir shred stat sync touch unlink cat cksum comm csplit cut expand fmt fold head join md5sum nl od paste pr ptx sh a1sum sort split sum tac tail tr tsort unexpand uniq wc basename date dirname echo env expr factor false hostname id kill logname pathchk printenv printf pwd runcon seq sleep tee test true tty whoami yes uname chroot hostid nice pinky users who uptime stty df groups chroot df hostid nice pinky stty su uname uptime users who \ | tr -s ' ' '\n' | sed -e 's,$,,' \ | LC_ALL=C sort -u > progs-makefile && \ sed -n '/^The programs .* are:/,/^[a-zA-Z]/p' ../README \ | sed -n '/^ */s///p' | tr -s ' ' '\n' > progs-readme diff progs-makefile progs-readme && rm -rf progs-readme progs-makefile 4d3 < chcon 61d59 < runcon make[1]: *** [check-README] Error 1 make[1]: Leaving directory `/var/tmp/portage/coreutils-5.94-r1/work/coreutils-5.94/src' make: *** [check-recursive] Error 1 !!! ERROR: sys-apps/coreutils-5.94-r1 failed. Call stack: ebuild.sh, line 1546: Called dyn_test ebuild.sh, line 986: Called src_test coreutils-5.94-r1.ebuild, line 114: Called die I tried 5.2.1-r7 as well. It dies with the same error.
Created attachment 99455 [details] emerge --info
The attached patch solves the problem. Before performing any test it is checked whether all programs listed in the README file are available. Unfortunately, chcon and runcon are not listed in the README but exist when compiled with USE=selinux. Adding them in the README makes the diff successfully. Tests then passed without failure.
Created attachment 99484 [details, diff] Patch to README file
*** Bug 153562 has been marked as a duplicate of this bug. ***
fixed in coreutils-6.4