xfstests: fail to build detached_mounts_propagation: error: redeclaration of 'enum fsconfig_command'
Snippet of test failure
# https://s3.us-east-1.amazonaws.com/arr-cki-prod-datawarehouse-public/datawarehouse-public/2022/07/29/redhat:599881865/build_aarch64_redhat:599881865_aarch64/tests/6/results_0001/job.02/recipes/12363553/tasks/3/logs/taskout.log
[CC] detached_mounts_propagation
In file included from /usr/include/linux/fs.h:19,
from /usr/include/xfs/linux.h:36,
from /usr/include/xfs/xfs.h:9,
from vfs/../global.h:13,
from vfs/missing.h:9,
from detached_mounts_propagation.c:29:
/usr/include/linux/mount.h:95:6: error: redeclaration of 'enum fsconfig_command'
95 | enum fsconfig_command {
| ^~~~~~~~~~~~~~~~
In file included from detached_mounts_propagation.c:23:
/usr/include/sys/mount.h:189:6: note: originally defined here
189 | enum fsconfig_command
| ^~~~~~~~~~~~~~~~
/usr/include/linux/mount.h:96:9: error: redeclaration of enumerator 'FSCONFIG_SET_FLAG'
96 | FSCONFIG_SET_FLAG = 0, /* Set parameter, supplying no value */
| ^~~~~~~~~~~~~~~~~
/usr/include/sys/mount.h:191:3: note: previous definition of 'FSCONFIG_SET_FLAG' with type 'enum fsconfig_command'
191 | FSCONFIG_SET_FLAG = 0, /* Set parameter, supplying no value */
Test logs on DataWarehouse
DataWarehouse issue
-
DW issue : https://datawarehouse.cki-project.org/issue/1460
-
Regex
: https://datawarehouse.cki-project.org/issue/-/regex/1426- Text Match :
linux\/mount\.h:\d+:\d+: error: redeclaration of \S+enum fsconfig_command
- (Log) File Name Match :
taskout\.log
- Test Name Match :
xfstests.*
- KPET Tree Name Match :
(upstream|rawhide|eln)
- Text Match :
-
Additional details
N/A
In case opening the links above result in a 404 page on DataWarehouse, please make sure you are correctly logged into DataWarehouse via Red Hat SSO.