<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>15941</bug_id>
          
          <creation_ts>2025-07-25 07:26:31 +0000</creation_ts>
          <short_desc>AB-INT: test_devtool_modify_multiple_sources fails (e2fsprogs)</short_desc>
          <delta_ts>2025-07-31 14:36:23 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>5.99</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>AB-INT</status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>0.0.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mathieu Dubois-Briand">mathieu.dubois-briand</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>102508</commentid>
    <comment_count>0</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2025-07-25 07:26:31 +0000</bug_when>
    <thetext>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 &apos;/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&apos; 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, &amp;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-&gt;__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,
|       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102510</commentid>
    <comment_count>1</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2025-07-25 08:12:36 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102531</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2025-07-31 14:36:23 +0000</bug_when>
    <thetext>https://git.yoctoproject.org/poky/commit/?id=0eb0473883f804f475aa1c75e64f8e4f3efc537d</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>