stress: stress-ng: fail to build core-affinity: 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_x86_64_redhat:599881865_x86_64/tests/1/results_0001/job.01/recipes/12363531/tasks/12/logs/taskout.log
MK git-commit-id.h
CC core-affinity.c
In file included from /usr/include/linux/fs.h:19,
from /usr/include/linux/io_uring.h:11,
from stress-ng.h:524,
from core-affinity.c:25:
/usr/include/linux/mount.h:95:6: error: redeclaration of ‘enum fsconfig_command’
95 | enum fsconfig_command {
| ^~~~~~~~~~~~~~~~
In file included from stress-ng.h:336:
/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 */
Test logs on DataWarehouse
DataWarehouse issue
-
DW issue : https://datawarehouse.cki-project.org/issue/1462
-
Regex: https://datawarehouse.cki-project.org/issue/-/regex/1428- Text Match :
linux\/mount\.h:\d+:\d+: error: redeclaration of \S+enum fsconfig_command - (Log) File Name Match :
taskout\.log - Test Name Match :
stress: stress-ng - cpu-cache - KPET Tree Name Match :
(upstream|rawhide|eln)
- Text Match :
-
Additional details
- Similar DW issue: https://datawarehouse.cki-project.org/issue/1460
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.
Edited by Huanian Li