Summary: | kernel directory corrupts if directory exists | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Caleb Cushing <xenoterracide> |
Component: | New packages | Assignee: | Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Caleb Cushing
2009-01-29 18:51:42 UTC
your /usr/src/linux/ tree needs to be world readable or plenty of emerge processes are going to fail it is, I checked that first, but an ls /usr/src/linux/include/linux/param.h (as root) shows that the file simply does not exist. I checked the previous version and it is there. very strange... I guess I'll resolve cantfix because the very nature of what the problem was is indeterminable. rm -r /usr/src/linux-2.6.28-gentoo-r1 and re-emerging it created the file, however just re-emerge-ing that same version (without deleting first) did not. if anyone has any idea what would cause this feel free to re-open. because it's obviously not supposed to behave this way. I'm re-opening because I can reproduce this bug 100% I also know how to fix it. rm -rf /usr/src/linux-whavever-version-being-extracted must be done before emerging an existing version of the kernel, or files will disappear. I've no idea why they dissappear or what. it's reproducible with both gentoo-sources and vanilla-sources. dmesg shows know errors and this comp is new, I'm also not experiencing this with anything other than the kernel (that I'm aware of), otherwise I'd suspect my fs, ext4. I'm currently running a vanilla-sources-2.6.28.4 kernel. and portage 2.2_rc23. further steps to troubleshoot would be appreciated. this is likely either a kernel (zmedico suggested the eclass) or portage issue, imho. finally tracked this bug down a few days ago. the files the error said it couldn't find were missing. But they weren't the only files possible for it to use. The other files didn't have loose enough permissions. so it's my own fault. I'm debating on an appropriate workaround. |