Summary: | touch from sys-apps/coreutils-6.12-r1 does not work | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Stefan Behte (RETIRED) <craig> |
Component: | New packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED DUPLICATE | ||
Severity: | major | CC: | mips |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Stefan Behte (RETIRED)
2008-10-10 19:12:58 UTC
Created attachment 167904 [details]
build.log
It's not only portage, touch is broken and does seem to call a syscall that does not exist. Somehow, this does seem to be related: http://archive.netbsd.se/?ml=debian-mips&a=2008-01&t=6201080 prozium ~ # touch me touch: setting times of `me': Unknown error 4294967207 strace: open("me", O_WRONLY|O_CREAT|O_NOCTTY|O_NONBLOCK|O_LARGEFILE, 0666) = 3 dup2(3, 0) = 0 close(3) = 0 syscall_4294967207(0, 0, 0, 0x1, 0x422070, 0x2abaa3b8, 0x1b6, 0x1b6, 0x422070, 0, 0x420000, 0, 0x7fce5a0b, 0, 0x1, 0x401ddc, 0x2ac4e72a, 0x2ac24264, 0x7fce5758, 0x2aac5f70, 0, 0x1, 0, 0, 0x2aadd010, 0, 0x422070, 0x2ac502b0, 0x2aac60b8, 0x2, 0x5, 0) = -1 (errno 4006) svr4_syscall() = -1 ERRNO_4005 (Unknown error 4005) svr4_fork() = -1 ERRNO_4005 (Unknown error 4005) svr4_fork() = -1 ERRNO_4005 (Unknown error 4005) svr4_fork() = -1 ERRNO_4005 (Unknown error 4005) svr4_fork() = -1 ERRNO_4005 (Unknown error 4005) svr4_fork() = -1 ERRNO_4005 (Unknown error 4005) svr4_fork() = 4004 touch: svr4_wait() = 4004 setting times of `thebitch'svr4_alarm() = -1 ERRNO_4005 (Unknown error 4005) svr4_fork() = -1 ERRNO_4005 (Unknown error 4005) svr4_fork() = -1 ERRNO_4005 (Unknown error 4005) svr4_fork() = -1 ERRNO_4005 (Unknown error 4005) svr4_fork() = -1 ERRNO_4005 (Unknown error 4005) svr4_fork() = -1 ERRNO_4005 (Unknown error 4005) svr4_fork() = 4004 : Unknown error 4294967207svr4_ptrace() = 4004 svr4_exit() = -1 ERRNO_4006 (Unknown error 4006) svr4_syscall() = -1 ERRNO_4006 (Unknown error 4006) svr4_syscall() = -1 ERRNO_4246 (Unknown error 4246) This seems to be related to an update to coreutils-6.12-r1 Wasn't able to reproduce this on mips (yet). Kernel 2.6.27, glibc-2.7, and merging coreutils-6.12-r2 went smoothly, and touch created two zero-byte files. I did have to copy my glibc from another system because the one on my Octane was broken, so that very likely is linked against an older kernel headers. I'll have to rebuild glibc against newer headers and see if the problem arises then. Thanks for your efforts! Does 2.6.27 run on the octane 2?! I thought we were stuck with Linux-2.6.19.1-mipsgit-20061224 (I did not install that machine - I was just told so by the guy who did)? I temporarily fixed the issue by "./configure"-ing and "make"-ing coreutils-6.11 manually and copying touch over the broken version. http://lists.gnu.org/archive/html/bug-coreutils/2008-06/msg00022.html http://www.diy-linux.org/pipermail/diy-linux-dev/2008-September/001265.html (In reply to comment #4) > Thanks for your efforts! > Does 2.6.27 run on the octane 2?! I thought we were stuck with > Linux-2.6.19.1-mipsgit-20061224 (I did not install that machine - I was just > told so by the guy who did)? I have an ebuild for 2.6.27 almost ready. Running on my O2 and Octane right now. I'll spin it on an IP28 machine later on just to see how long it lives before committing it. The latest in portage is a 2.6.24 version. .25 and .26 were in a bit of flux for IP32, and then there was the merge of IP28 core code. .27 looks like a good, calm release, so it should play nice on the main machines people have. are you sure you're using coreutils-6.12-r1 ? this should already be fixed with Bug 224483 ... *** This bug has been marked as a duplicate of bug 224483 *** |