Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 587232 - app-emulation/xen-tools-4.6.3 fails while compiling with xfs.h redefinition of ‘struct fsxattr’
Summary: app-emulation/xen-tools-4.6.3 fails while compiling with xfs.h redefinition o...
Status: RESOLVED OBSOLETE
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: 2016-06-27 11:04 UTC by Joerg Neikes
Modified: 2021-09-03 23:14 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge-info.txt,18.31 KB, text/plain)
2016-06-27 11:05 UTC, Joerg Neikes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joerg Neikes 2016-06-27 11:04:50 UTC
In file included from /usr/include/xfs/xfs.h:58:0,
                 from /var/tmp/portage/app-emulation/xen-tools-
4.6.3/work/xen-4.6.3/tools/qemu-xen/block/raw-posix.c:90:
/usr/include/xfs/xfs_fs.h:42:8: error: redefinition of ‘struct fsxattr’
 struct fsxattr {
        ^
In file included from /var/tmp/portage/app-emulation/xen-tools-
4.6.3/work/xen-4.6.3/tools/qemu-xen/block/raw-posix.c:58:0:
/usr/include/linux/fs.h:155:8: note: originally defined here
 struct fsxattr {
        ^
/var/tmp/portage/app-emulation/xen-tools-4.6.3/work/xen-
4.6.3/tools/qemu-xen/block/raw-posix.c: In function
‘raw_reopen_prepare’:
/var/tmp/portage/app-emulation/xen-tools-4.6.3/work/xen-
4.6.3/tools/qemu-xen/block/raw-posix.c:554:5: warning: ISO C90 forbids
mixed declarations and code [-Wdeclaration-after-statement]
     int fcntl_flags = O_APPEND | O_NONBLOCK;
     ^
make[2]: *** [/var/tmp/portage/app-emulation/xen-tools-4.6.3/work/xen-
4.6.3/tools/qemu-xen/rules.mak:57: block/raw-posix.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/var/tmp/portage/app-emulation/xen-tools-4.6.3/work/xen-
4.6.3/tools/qemu-xen/block/curl.c: In function ‘curl_readv_bh_cb’:
/var/tmp/portage/app-emulation/xen-tools-4.6.3/work/xen-
4.6.3/tools/qemu-xen/block/curl.c:637:5: warning: ISO C90 forbids mixed
declarations and code [-Wdeclaration-after-statement]
     size_t start = acb->sector_num * SECTOR_SIZE;
     ^
make[2]: Leaving directory '/var/tmp/portage/app-emulation/xen-tools-
4.6.3/work/xen-4.6.3/tools/qemu-xen-dir'
make[1]: *** [Makefile:237: subdir-all-qemu-xen-dir] Error 2
make[1]: Leaving directory '/var/tmp/portage/app-emulation/xen-tools-
4.6.3/work/xen-4.6.3/tools'
make: *** [/var/tmp/portage/app-emulation/xen-tools-4.6.3/work/xen-
4.6.3/tools/../tools/Rules.mk:118: subdirs-all] Error 2
make: Leaving directory '/var/tmp/portage/app-emulation/xen-tools-
4.6.3/work/xen-4.6.3/tools'
 * ERROR: app-emulation/xen-tools-4.6.3::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=app-
emulation/xen-tools-4.6.3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-
emulation/xen-tools-4.6.3::gentoo'`.
 * The complete build log is located at '/var/log/portage/app-
emulation:xen-tools-4.6.3:20160627-103241.log'.
 * For convenience, a symlink to the build log is located at
'/var/tmp/portage/app-emulation/xen-tools-4.6.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-
emulation/xen-tools-4.6.3/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/xen-tools-
4.6.3/work/xen-4.6.3'
 * S: '/var/tmp/portage/app-emulation/xen-tools-4.6.3/work/xen-4.6.3'

> 
> > 
> > > 
> > > Failed to emerge app-emulation/xen-tools-4.6.3, Log file:
> 
> > 
> > > 
> > >   '/var/log/portage/app-emulation:xen-tools-4.6.3:20160627-
> > > 103241.log'
*** Resuming merge...

These are the packages that would be merged, in reverse order:

Calculating dependencies -^[ \^[... done!

Total: 0 packages, Size of downloads: 0 KiB
 * emerge --keep-going: app-emulation/xen-4.6.3 dropped because it
requires
 * ~app-emulation/xen-tools-4.6.3
 * 
 * The following 2 packages have failed to build, install, or execute
 * postinst:
 * 
 *  (app-emulation/xen-tools-4.6.3:0/4.6::gentoo, ebuild scheduled for
merge), Log file:
 *   '/var/log/portage/app-emulation:xen-tools-4.6.3:20160627-
103241.log'
 *  (app-emulation/xen-4.6.3:0/0::gentoo, ebuild scheduled for merge

Reproducible: Always

Steps to Reproduce:
1.emerge =app-emulation/xen-tools-4.6.3
2. getting error:
The following package has failed to build, install, or execute
postinst:
(app-emulation/xen-tools-4.6.3:0/4.6::gentoo, ebuild scheduled
for merge
Actual Results:  
fails on emerge 

Expected Results:  
emerge should work
Comment 1 Joerg Neikes 2016-06-27 11:05:23 UTC
Created attachment 438968 [details]
emerge --info

emerge --info
Comment 2 Joerg Neikes 2016-06-27 11:07:16 UTC
EXTRA_QEMUU_CONFIGURE_ARGS="--disable-werror --disable-xfsctl" \
emerge =app-emulation/xen-tools-4.6.3
Comment 3 Joerg Neikes 2016-06-27 11:38:25 UTC
for more informations have a look at:

https://lists.xenproject.org/archives/html/xen-users/2016-04/msg00061.html