View Issue Details

IDProjectCategoryView StatusLast Update
0011243CentOS-7xfsprogspublic2016-10-17 22:45
Status newResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0011243: xfsprogs needs updating to newer version to fix QEMU compiling
DescriptionTrying to build qemu:

In file included from /usr/include/xfs/xfs.h:38:0,
                 from block/raw-posix.c:89:
/usr/include/xfs/xfs_fs.h:42:8: error: redefinition of 'struct fsxattr'
 struct fsxattr {
In file included from block/raw-posix.c:57:0:
/usr/include/linux/fs.h:155:8: note: originally defined here
 struct fsxattr {

See more info here:

A workaround has been implemented in newer QEMU versions but the problem is caused by xfsprogs and was fixed in 4.5.0:
Steps To Reproducerpmbuild -ba ~/rpmbuild/SPECS/qemu.spec /opt/epel-src/qemu-2.0.0-1.el7.6.src.rpm

Note I'm building EPEL7 QEMU but all versions should be affected.
TagsNo tags attached.




2016-10-17 22:02

manager   ~0027734

Perhaps, @JohnnyHughes can update the xfsprogs package (currently at 4.3.0) to 4.5.0 ?


2016-10-17 22:45

reporter   ~0027736

The EPEL source package you reference (qemu-2.0.0-1.el7.6.src.rpm) builds successfully using a centos 7 only mock config that solely makes use of base + updates.

The package also built successfully using the mock supplied epel-7-x86_64 config.

RHEL/CentOS 7.3 will rebase to have/use xfsprogs 4.5.0.

Issue History

Date Modified Username Field Change
2016-07-29 18:59 centos_anon New Issue
2016-10-17 22:02 toracat Note Added: 0027734
2016-10-17 22:45 philwyett_hemi Note Added: 0027736