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

Bug 365619

Summary: app-emulation/xen-tools-3.4.2 with linux-headers-2.6.36.1 - ../lib/blktaplib.h:199:1: error: "WRITE" redefined
Product: Gentoo Linux Reporter: Fabiano Francesconi <fabiano.francesconi>
Component: Current packagesAssignee: Gentoo Xen Devs <xen>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: bug, royger
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
Complete build log

Description Fabiano Francesconi 2011-05-01 19:48:13 UTC
Xen-tools won't recompile after upgrading the system

In file included from tapdisk.h:62,
                 from blk_linux.c:4:
../lib/blktaplib.h:199:1: error: "WRITE" redefined
In file included from blk_linux.c:3:
/usr/include/linux/fs.h:150:1: error: this is the location of the previous definition
make[4]: *** [blk_linux.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [subdir-all-drivers] Error 2
make[2]: *** [subdirs-all] Error 2
make[1]: *** [subdir-all-blktap] Error 2
make: *** [subdirs-all] Error 2
emake failed

I guess this is the same error occurring with xen-tools-4
Comment 1 Fabiano Francesconi 2011-05-01 19:49:02 UTC
Created attachment 271797 [details]
emerge --info
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2011-05-10 19:26:38 UTC
Please attach the entire build log.
Comment 3 Fabiano Francesconi 2011-05-10 19:44:50 UTC
Created attachment 272771 [details]
Complete build log
Comment 4 Ian Delaney (RETIRED) gentoo-dev 2011-09-08 15:51:09 UTC
likely need to updrade the linux-headers-2.6.38 or 39
Comment 5 Ian Delaney (RETIRED) gentoo-dev 2011-10-10 04:56:33 UTC
ok changing this to test request.  Almost guaranteed the followong will fix. unmask linux headers 38 or 39 in /etc/portage/package.keywords and re-try