Hi, Ondřej Vašík wrote: > Hi, > I'm trying to package coreutils-8.1 for Fedora Rawhide, but few tests > are failing > ( http://koji.fedoraproject.org/koji/getfile?taskID=1819634&name=build.log ). > I removed all Fedora-only patches to prevent patch-related issues. Koji > build system uses mock build hosted on machine with old RHEL-5 xen > kernel, so this may be the culprit of the issues. Generally there are > two issues - > 1) test 126 = 127 ... koji kernel seems to return EXIT_CANNOT_INVOKE > (126) exit code in cases where EXIT_ENOENT (127) is expected by > testsuite.
Thanks Jim for quick fix... > 2) futimens time functions seem to return ENOSYS there, so the tests are > failing. There are already some workarounds for the RHEL-5 kernels in > utimens.c gnulib file, but it seems some recent change brought the issue > back. So this one still make troubles - two tests still failing. Relevant part of strace attached - full log in http://koji.fedoraproject.org/koji/getfile?taskID=1826816&name=build.log ... ... futex(0x7fffa494fddc, FUTEX_WAKE_PRIVATE, 1) = 0 futex(0x7fffa494fddc, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 2af9b2dd40e0) = -1 ENOSYS (Function not implemented) rt_sigaction(SIGRTMIN, {0x2af9b2bbb860, [], SA_RESTORER|SA_SIGINFO, 0x2af9b2bc54a0}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {0x2af9b2bbb8f0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x2af9b2bc54a0}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 getrlimit(RLIMIT_STACK, {rlim_cur=10240*1024, rlim_max=RLIM_INFINITY}) = 0 brk(0) = 0x144c3000 brk(0x144e4000) = 0x144e4000 utimensat(AT_FDCWD, "file", NULL, AT_SYMLINK_NOFOLLOW) = -1 ENOSYS (Function not implemented) utimensat(AT_FDCWD, "file", NULL, AT_SYMLINK_NOFOLLOW) = -1 ENOSYS (Function not implemented) write(2, "touch: ", 7touch: ) = 7 write(2, "setting times of `file'", 23setting times of `file') = 23 write(2, ": Function not implemented", 26: Function not implemented) = 26 write(2, "\n", 1 ... Those two failing tests (touch/no-dereference and touch/trailing-slash) seems to be new in coreutils test-suite (added in 8.1), so the issue was likely there even before 8.1 and now shows in koji... Ondra
signature.asc
Description: Toto je digitálně podepsaná část zprávy
