View Issue Details

IDProjectCategoryView StatusLast Update
0011243CentOS-7xfsprogspublic2016-10-17 22:45
Reportercentos_anon 
PrioritynormalSeveritymajorReproducibilityalways
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: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=822470

A workaround has been implemented in newer QEMU versions but the problem is caused by xfsprogs and was fixed in 4.5.0:

http://oss.sgi.com/archives/xfs/2016-04/msg00598.html
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.
abrt_hash
URL

Activities

toracat

toracat

2016-10-17 22:02

manager   ~0027734

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

http://mirror.centos.org/altarch/7/experimental/x86_64/Packages/
philwyett_hemi

philwyett_hemi

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.

https://gitlab.com/philwyett_hemi/centos_7_mock_configs

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.

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7-Beta/html/7.3_Release_Notes/new_features_file_systems.html

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