Summary: | app-emulation/xen-tools-4.6.1-r4 fails while compiling with xfs.h redefinition of ‘struct fsxattr’ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Joerg Neikes <j.m.neikes> |
Component: | Current packages | Assignee: | Gentoo Xen Devs <xen> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | jstein |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge --info |
Created attachment 438966 [details]
emerge --info
emerge --info
The emerge could be done with: EXTRA_QEMUU_CONFIGURE_ARGS="--disable-werror --disable-xfsctl" \ emerge =app-emulation/xen-tools-4.6.1-r4 for more informations have a look at: https://lists.xenproject.org/archives/html/xen-users/2016-04/msg00061.html Joerg, thank you for testing and providing additional information. see also https://bugs.gentoo.org/show_bug.cgi?id=587232 https://bugs.gentoo.org/show_bug.cgi?id=587234 |
Error on compiling app-emulation/xen-tools-4.6.1-r4 Here the error snipped: In file included from /usr/include/xfs/xfs.h:58:0, from /var/tmp/portage/app-emulation/xen-tools-4.6.1- r4/work/xen-4.6.1/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.1- r4/work/xen-4.6.1/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.1-r4/work/xen- 4.6.1/tools/qemu-xen/block/raw-posix.c: In function ‘raw_reopen_prepare’: /var/tmp/portage/app-emulation/xen-tools-4.6.1-r4/work/xen- 4.6.1/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.1- r4/work/xen-4.6.1/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.1-r4/work/xen- 4.6.1/tools/qemu-xen/util/oslib-posix.c: In function ‘qemu_try_memalign’: /var/tmp/portage/app-emulation/xen-tools-4.6.1-r4/work/xen- 4.6.1/tools/qemu-xen/util/oslib-posix.c:106:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] int ret; ^ make[2]: Leaving directory '/var/tmp/portage/app-emulation/xen-tools- 4.6.1-r4/work/xen-4.6.1/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.1-r4/work/xen-4.6.1/tools' make: *** [/var/tmp/portage/app-emulation/xen-tools-4.6.1-r4/work/xen- 4.6.1/tools/../tools/Rules.mk:118: subdirs-all] Error 2 make: Leaving directory '/var/tmp/portage/app-emulation/xen-tools- 4.6.1-r4/work/xen-4.6.1/tools' * ERROR: app-emulation/xen-tools-4.6.1-r4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app- emulation/xen-tools-4.6.1-r4::gentoo'`, * the complete build log and the output of `emerge -pqv '=app- emulation/xen-tools-4.6.1-r4::gentoo'`. * The complete build log is located at '/var/log/portage/app- emulation:xen-tools-4.6.1-r4:20160627-100009.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-emulation/xen-tools-4.6.1-r4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app- emulation/xen-tools-4.6.1-r4/temp/environment'. * Working directory: '/var/tmp/portage/app-emulation/xen-tools-4.6.1- r4/work/xen-4.6.1' * S: '/var/tmp/portage/app-emulation/xen-tools-4.6.1-r4/work/xen- 4.6.1' > > > > > > > > > Failed to emerge app-emulation/xen-tools-4.6.1-r4, Log file: > > > > > > > > > '/var/log/portage/app-emulation:xen-tools-4.6.1-r4:20160627- > > > 100009.log' * * The following package has failed to build, install, or execute postinst: * * (app-emulation/xen-tools-4.6.1-r4:0/4.6::gentoo, ebuild scheduled for merge), Log file: * '/var/log/portage/app-emulation:xen-tools-4.6.1-r4:20160627- 100009.log' Reproducible: Always Steps to Reproduce: 1.emerge =app-emulation/xen-tools-4.6.1-r4 2. getting error: The following package has failed to build, install, or execute postinst: (app-emulation/xen-tools-4.6.1-r4:0/4.6::gentoo, ebuild scheduled for merge) Actual Results: fails on emerge Expected Results: emerge should work