looks like a kernel-header update problem Reproducible: Always Steps to Reproduce: 1. emerge xen-tools 2. 3. Actual Results: 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[4]: Leaving directory `/var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1/tools/blktap/drivers' make[3]: *** [subdir-all-drivers] Error 2 make[3]: Leaving directory `/var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1/tools/blktap' make[2]: *** [subdirs-all] Error 2 make[2]: Leaving directory `/var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1/tools/blktap' make[1]: *** [subdir-all-blktap] Error 2 make[1]: Leaving directory `/var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1/tools' make: *** [subdirs-all] Error 2 make: Leaving directory `/var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1/tools' emake failed * ERROR: app-emulation/xen-tools-4.0.1 failed (compile phase): * compile failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 5089: Called die * The specific snippet of code: * emake -C tools ${myopt} || die "compile failed";
(In reply to comment #0) > looks like a kernel-header update problem > > Reproducible: Always > > Steps to Reproduce: > 1. emerge xen-tools > 2. > 3. > > Actual Results: > 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[4]: Leaving directory > `/var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1/tools/blktap/drivers' > make[3]: *** [subdir-all-drivers] Error 2 > make[3]: Leaving directory > `/var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1/tools/blktap' > make[2]: *** [subdirs-all] Error 2 > make[2]: Leaving directory > `/var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1/tools/blktap' > make[1]: *** [subdir-all-blktap] Error 2 > make[1]: Leaving directory > `/var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1/tools' > make: *** [subdirs-all] Error 2 > make: Leaving directory > `/var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1/tools' > emake failed > * ERROR: app-emulation/xen-tools-4.0.1 failed (compile phase): > * compile failed > * > * Call stack: > * ebuild.sh, line 56: Called src_compile > * environment, line 5089: Called die > * The specific snippet of code: > * emake -C tools ${myopt} || die "compile failed"; > fixed with: vi /usr/include/linux/fs.h :150 change #define WRITE RW_MASK with /* #define WRITE RW_MASK */ emerge xen-tools and change /usr/include/linux/fs.h back to normal. #define WRITE RW_MASK