In file included from /usr/include/xfs/xfs.h:58:0, from /var/tmp/portage/app-emulation/xen-tools- 4.7.0/work/xen-4.7.0/tools/qemu-xen/block/raw-posix.c:97: /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.7.0/work/xen-4.7.0/tools/qemu-xen/block/raw-posix.c:60:0: /usr/include/linux/fs.h:155:8: note: originally defined here struct fsxattr { ^ /var/tmp/portage/app-emulation/xen-tools-4.7.0/work/xen- 4.7.0/tools/qemu-xen/block/raw-posix.c: In function ‘raw_reopen_prepare’: /var/tmp/portage/app-emulation/xen-tools-4.7.0/work/xen- 4.7.0/tools/qemu-xen/block/raw-posix.c:637: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.7.0/work/xen- 4.7.0/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.7.0/work/xen- 4.7.0/tools/qemu-xen/block/io.c: In function ‘bdrv_aio_flush’: /var/tmp/portage/app-emulation/xen-tools-4.7.0/work/xen- 4.7.0/tools/qemu-xen/block/io.c:2162:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] Coroutine *co; ^ make[2]: Leaving directory '/var/tmp/portage/app-emulation/xen-tools- 4.7.0/work/xen-4.7.0/tools/qemu-xen-dir' make[1]: *** [Makefile:236: subdir-all-qemu-xen-dir] Error 2 make[1]: Leaving directory '/var/tmp/portage/app-emulation/xen-tools- 4.7.0/work/xen-4.7.0/tools' make: *** [/var/tmp/portage/app-emulation/xen-tools-4.7.0/work/xen- 4.7.0/tools/../tools/Rules.mk:211: subdirs-all] Error 2 make: Leaving directory '/var/tmp/portage/app-emulation/xen-tools- 4.7.0/work/xen-4.7.0/tools' * ERROR: app-emulation/xen-tools-4.7.0::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app- emulation/xen-tools-4.7.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=app- emulation/xen-tools-4.7.0::gentoo'`. * The complete build log is located at '/var/log/portage/app- emulation:xen-tools-4.7.0:20160627-103705.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-emulation/xen-tools-4.7.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app- emulation/xen-tools-4.7.0/temp/environment'. * Working directory: '/var/tmp/portage/app-emulation/xen-tools- 4.7.0/work/xen-4.7.0' * S: '/var/tmp/portage/app-emulation/xen-tools-4.7.0/work/xen-4.7.0' > > > > > > > > > Failed to emerge app-emulation/xen-tools-4.7.0, Log file: > > > > > > > > > '/var/log/portage/app-emulation:xen-tools-4.7.0:20160627- > > > 103705.log' Reproducible: Always Steps to Reproduce: 1.emerge =app-emulation/xen-tools-4.7.0 2. getting error: The following package has failed to build, install, or execute postinst: (app-emulation/xen-tools-4.7.0:0/4.7::gentoo, ebuild scheduled for merge Actual Results: fails on emerge Expected Results: emerge should work
Created attachment 438970 [details] emerge --info emerge --info
emerge works with: EXTRA_QEMUU_CONFIGURE_ARGS="--disable-werror --disable-xfsctl" \ emerge =app-emulation/xen-tools-4.7.0
for more informations have a look at: https://lists.xenproject.org/archives/html/xen-users/2016-04/msg00061.html
This should be fixed in newer versions. Can you confirm?