Bug 16066 - wic: partition length errors on Ubuntu 25.10
Summary: wic: partition length errors on Ubuntu 25.10
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: Scripts and Tools (show other bugs)
Version: 5.99
Hardware: x86 Multiple
: High normal
Target Milestone: 6.0 M1
Assignee: Mathieu Dubois-Briand
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2025-11-17 13:16 UTC by Mathieu Dubois-Briand
Modified: 2025-11-27 16:08 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-11-17 13:16:43 UTC
We got this error on the ubuntu 25.10 worker, rebuild succeed on another worker.

ERROR: _exec_cmd: export PATH=/srv/pokybuild/yocto-worker/wic/build/build/tmp/work/core2-32-poky-linux/wic-tools/1.0/recipe-sysroot-native/sbin:/srv/pokybuild/yocto-worker/wic/build/build/tmp/work/core2-32-poky-linux/wic-tools/1.0/recipe-sysroot-native/usr/sbin:/srv/pokybuild/yocto-worker/wic/build/build/tmp/work/core2-32-poky-linux/wic-tools/1.0/recipe-sysroot-native/usr/bin:/srv/pokybuild/yocto-worker/wic/build/build/tmp/work/core2-32-poky-linux/wic-tools/1.0/recipe-sysroot-native/usr/bin/i686-poky-linux:/srv/pokybuild/yocto-worker/wic/build/build/tmp/work/core2-32-poky-linux/wic-tools/1.0/recipe-sysroot-native/bin:/srv/pokybuild/yocto-worker/wic/build/build/tmp/hosttools:$PATH;export PARTED_SECTOR_SIZE=512; parted -s /srv/pokybuild/yocto-worker/wic/build/build/tmp/deploy/wic_images/qemux86/directdisk/core-image-sato/tmp.wic._mg4sjpy/directdisk-202511171027-sda.direct unit s mkpart primary fat32 2048 24052684799 returned '1' instead of 0
output: Error: partition length of 24052682752 sectors exceeds the msdos-partition-table-imposed maximum of 4294967295
Comment 1 Mathieu Dubois-Briand 2025-11-17 13:17:53 UTC
wic ubuntu2510-vk-1 mathieu/master-next completed at 2025-11-17 10:40:48+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/15/builds/2688/steps/13/logs/stdio
Comment 2 Mathieu Dubois-Briand 2025-11-21 15:06:43 UTC
wic ubuntu2510-vk-1 master-next completed at 2025-11-21 13:28:13+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/15/builds/2718/steps/13/logs/stdio
Comment 3 Mathieu Dubois-Briand 2025-11-23 12:57:55 UTC
Behavior of du differs between coreutils and uutils. I sent a patch that should fix this issue.

https://lists.openembedded.org/g/openembedded-core/message/226723