Summary: | emerge (any ebuild) fails: text file busy | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Garth N. Zwergg <garthnzwergg> |
Component: | Unclassified | Assignee: | Nicholas Jones (RETIRED) <carpaski> |
Status: | RESOLVED WORKSFORME | ||
Severity: | blocker | CC: | azarah, jrray, nwourms |
Priority: | Highest | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | complete strace output |
Description
Garth N. Zwergg
2003-07-06 16:10:26 UTC
Looks like some process is eating it. Do a "fuser /tmp/sandboxpids.tmp"; then do a "ps -ef" and trace the ID given by fuser to the process list. Dump both here. Do an strace as well. If you can't emerge it, get a binary version... Need a response to help with this one. "fuser /tmp/sandboxpids.tmp" returns nothing. straceing turnd out to be a bit more difficult with all the subprocesses involved. "strace -ff -o emerge rxvt" produces a lot of files, but only one of them appears to be relevant here. Not sure though what causes the error, but it looks like there are two errors, one in the open call and another one in the 2 _llseek calls. open("/tmp/sandboxpids.tmp", O_RDWR|O_CREAT, 0644) = -1 ETXTBSY (Text file busy) dup(2) = 3 fcntl64(3, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE) fstat64(3, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 3), ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40013000 _llseek(3, 0, 0xbfffb660, SEEK_CUR) = -1 ESPIPE (Illegal seek) write(3, ">>> /tmp/sandboxpids.tmp file mo"..., 60) = 60 close(3) = 0 munmap(0x40013000, 4096) = 0 dup(2) = 3 fcntl64(3, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE) fstat64(3, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 3), ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40013000 _llseek(3, 0, 0xbfffb790, SEEK_CUR) = -1 ESPIPE (Illegal seek) write(3, ">>> pids file write: Illegal see"..., 34) = 34 close(3) = 0 munmap(0x40013000, 4096) = 0 _exit(1) = ? -- Created attachment 14785 [details]
complete strace output
If this is still an issue, please reopen. |