Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 426514

Summary: x11-drivers/xf86-video-virtualbox-4.1.12 - /usr/src/linux-3.3.8-gentoo/arch/x86/include/asm/unistd.h:16:29: fatal error: asm/unistd_64.h: No such file or directory
Product: Gentoo Linux Reporter: Kent Fredric (IRC: kent\n) (RETIRED) <kentnl>
Component: [OLD] UnspecifiedAssignee: Alessio Cassibba (X-Drum) <swapon>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bkohler, pageexec, polynomial-c, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info and emerge -pqv
build.log

Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2012-07-14 05:00:25 UTC
Created attachment 318112 [details]
emerge --info and emerge -pqv

I managed to find one bug similar to this ( bug #344783 ), but the suggestion of "just make clean and then make modules prepare" don't seem to be sufficient.

I've encountered this bug twice now, in 2 separate setups, but the current one is inside a VBox VM.

The only thing I can think of that would be a likely candidate for a cause would be that I use KBUILD_OUTPUT= , which is one of the more frequently broken kernel module compilation features. 


I tried downgrading linux-headers just in case it was related, but no.
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2012-07-14 05:01:08 UTC
Created attachment 318114 [details]
build.log
Comment 2 Tomoh K. 2012-08-29 07:45:40 UTC
This bug maybe a duplicate of bug 424816.
I encountered the same error while emerging xf86-video-virtualbox with a separated kernel build directory.
/usr/src/linux-3.5.0-gentoo/arch/x86/include/asm/unistd.h:26:29: fatal error: asm/unistd_64.h: No such file or directory

In my case, the patch in bug 424816 solved the problem.
Comment 3 Ben Kohler gentoo-dev 2013-10-03 20:20:48 UTC

*** This bug has been marked as a duplicate of bug 424816 ***