Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 365619 - app-emulation/xen-tools-3.4.2 with linux-headers-2.6.36.1 - ../lib/blktaplib.h:199:1: error: "WRITE" redefined
Summary: app-emulation/xen-tools-3.4.2 with linux-headers-2.6.36.1 - ../lib/blktaplib....
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Xen Devs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-01 19:48 UTC by Fabiano Francesconi
Modified: 2011-10-10 04:56 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (untitled text 2,3.99 KB, text/plain)
2011-05-01 19:49 UTC, Fabiano Francesconi
Details
Complete build log (build.log,4.28 KB, text/plain)
2011-05-10 19:44 UTC, Fabiano Francesconi
Details

Note You need to log in before you can comment on or make changes to this bug.
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