Bug 15941 - AB-INT: test_devtool_modify_multiple_sources fails (e2fsprogs)
Summary: AB-INT: test_devtool_modify_multiple_sources fails (e2fsprogs)
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 5.99
Hardware: x86 Multiple
: Undecided normal
Target Milestone: 0.0.0
Assignee: Unassigned
QA Contact:
URL:
Whiteboard: AB-INT
Depends on:
Blocks:
 
Reported: 2025-07-25 07:26 UTC by Mathieu Dubois-Briand
Modified: 2025-07-31 14:36 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Dubois-Briand 2025-07-25 07:26:31 UTC
2025-07-23 10:15:31,828 - oe-selftest - INFO - devtool.DevtoolModifyTests.test_devtool_modify_multiple_sources (subunit.RemotedTestCase)
2025-07-23 10:15:31,829 - oe-selftest - INFO -  ... FAIL
...
ERROR: e2fsprogs-native-1.47.2-r0 do_compile: oe_runmake failed
ERROR: e2fsprogs-native-1.47.2-r0 do_compile: Execution of '/srv/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-1509538/tmp/work/x86_64-linux/e2fsprogs-native/1.47.2/temp/run.do_compile.3171979' failed with exit code 1
ERROR: Logfile of failure stored in: /srv/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-1509538/tmp/work/x86_64-linux/e2fsprogs-native/1.47.2/temp/log.do_compile.3171979
...
| ../../sources/e2fsprogs-1.47.2/debugfs/../misc/create_inode.c: In function ‘copy_fs_verity_data’:
| ../../sources/e2fsprogs-1.47.2/debugfs/../misc/create_inode.c:589:10: error: variable ‘arg’ has initializer but incomplete type
|   589 |   struct fsverity_read_metadata_arg arg = {
|       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
| ../../sources/e2fsprogs-1.47.2/debugfs/../misc/create_inode.c:590:6: error: ‘struct fsverity_read_metadata_arg’ has no member named ‘metadata_type’
|   590 |     .metadata_type = metadata_type,
|       |      ^~~~~~~~~~~~~
| ../../sources/e2fsprogs-1.47.2/debugfs/../misc/create_inode.c:590:22: warning: excess elements in struct initializer
|   590 |     .metadata_type = metadata_type,
|       |                      ^~~~~~~~~~~~~
| ../../sources/e2fsprogs-1.47.2/debugfs/../misc/create_inode.c:590:22: note: (near initialization for ‘arg’)
| ../../sources/e2fsprogs-1.47.2/debugfs/../misc/create_inode.c:594:6: error: ‘struct fsverity_read_metadata_arg’ has no member named ‘buf_ptr’
|   594 |     .buf_ptr = (uint64_t) buf,
|       |      ^~~~~~~
| ../../sources/e2fsprogs-1.47.2/debugfs/../misc/create_inode.c:594:16: warning: excess elements in struct initializer
|   594 |     .buf_ptr = (uint64_t) buf,
|       |                ^
| ../../sources/e2fsprogs-1.47.2/debugfs/../misc/create_inode.c:594:16: note: (near initialization for ‘arg’)
| ../../sources/e2fsprogs-1.47.2/debugfs/../misc/create_inode.c:596:6: error: ‘struct fsverity_read_metadata_arg’ has no member named ‘length’
|   596 |     .length = sizeof(buf),
|       |      ^~~~~~
| ../../sources/e2fsprogs-1.47.2/debugfs/../misc/create_inode.c:596:15: warning: excess elements in struct initializer
|   596 |     .length = sizeof(buf),
|       |               ^~~~~~
| ../../sources/e2fsprogs-1.47.2/debugfs/../misc/create_inode.c:596:15: note: (near initialization for ‘arg’)
| ../../sources/e2fsprogs-1.47.2/debugfs/../misc/create_inode.c:597:6: error: ‘struct fsverity_read_metadata_arg’ has no member named ‘offset’
|   597 |     .offset = *written,
|       |      ^~~~~~
| ../../sources/e2fsprogs-1.47.2/debugfs/../misc/create_inode.c:597:15: warning: excess elements in struct initializer
|   597 |     .offset = *written,
|       |               ^
| ../../sources/e2fsprogs-1.47.2/debugfs/../misc/create_inode.c:597:15: note: (near initialization for ‘arg’)
| ../../sources/e2fsprogs-1.47.2/debugfs/../misc/create_inode.c:589:37: error: storage size of ‘arg’ isn’t known
|   589 |   struct fsverity_read_metadata_arg arg = {
|       |                                     ^~~
| ../../sources/e2fsprogs-1.47.2/debugfs/../misc/create_inode.c:600:20: error: ‘FS_IOC_READ_VERITY_METADATA’ undeclared (first use in this function)
|   600 |   size = ioctl(fd, FS_IOC_READ_VERITY_METADATA, &arg);
|       |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| ../../sources/e2fsprogs-1.47.2/debugfs/../misc/create_inode.c:600:20: note: each undeclared identifier is reported only once for each function it appears in
| gcc  -c -I. -I../lib -I../../sources/e2fsprogs-1.47.2/lib -isystem/srv/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-1509538/tmp/work/x86_64-linux/e2fsprogs-native/1.47.2/recipe-sysroot-native/usr/include  -isystem/srv/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-1509538/tmp/work/x86_64-linux/e2fsprogs-native/1.47.2/recipe-sysroot-native/usr/include -O2 -pipe -pthread  -DHAVE_CONFIG_H -I../../sources/e2fsprogs-1.47.2/debugfs/../e2fsck -DDEBUGFS ../../sources/e2fsprogs-1.47.2/debugfs/xattrs.c -o xattrs.o
| ../../sources/e2fsprogs-1.47.2/debugfs/../misc/create_inode.c:617:24: error: ‘FS_VERITY_METADATA_TYPE_DESCRIPTOR’ undeclared (first use in this function)
|   617 |   if (metadata_type == FS_VERITY_METADATA_TYPE_DESCRIPTOR) {
|       |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| ../../sources/e2fsprogs-1.47.2/debugfs/../misc/create_inode.c:621:24: error: ‘FS_VERITY_METADATA_TYPE_SIGNATURE’ undeclared (first use in this function)
|   621 |    arg.metadata_type = FS_VERITY_METADATA_TYPE_SIGNATURE;
|       |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| ../../sources/e2fsprogs-1.47.2/debugfs/../misc/create_inode.c:627:9: error: invalid use of undefined type ‘struct fsverity_descriptor’
|   627 |     desc->__reserved_0x04 =
|       |         ^~
| ../../sources/e2fsprogs-1.47.2/debugfs/../misc/create_inode.c: In function ‘copy_fs_verity’:
| ../../sources/e2fsprogs-1.47.2/debugfs/../misc/create_inode.c:671:7: error: ‘FS_VERITY_METADATA_TYPE_MERKLE_TREE’ undeclared (first use in this function)
|   671 |       FS_VERITY_METADATA_TYPE_MERKLE_TREE,
|       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| ../../sources/e2fsprogs-1.47.2/debugfs/../misc/create_inode.c:688:7: error: ‘FS_VERITY_METADATA_TYPE_DESCRIPTOR’ undeclared (first use in this function)
|   688 |       FS_VERITY_METADATA_TYPE_DESCRIPTOR,
|       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Comment 1 Mathieu Dubois-Briand 2025-07-25 08:12:36 UTC
oe-selftest-debian debian11-vk-2 mathieu/master-next completed at 2025-07-23 11:19:45+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/2017/steps/14/logs/stdio