On Sun, 6 Aug 2023 at 13:38, Alexandre Belloni
<[email protected]> wrote:
>
> Hello,
>
> I have high suspicions that the upgrade causes the following failure:
>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/5559/steps/14/logs/stdio
>
> ERROR: core-image-minimal-1.0-r0 do_image_wic: 
> ExecutionError('/home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1163224/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/temp/run.do_image_wic.1308950',
>  1, None, None)
> ERROR: Logfile of failure stored in: 
> /home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1163224/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/temp/log.do_image_wic.1308950
> Log data follows:
> | DEBUG: Executing python function extend_recipe_sysroot
> | NOTE: Direct dependencies are 
> ['/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/recipes-bsp/grub/grub-efi_2.06.bb:do_populate_sysroot',
>  
> '/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/recipes-core/glibc/cross-localedef-native_2.37.bb:do_populate_sysroot',
>  
> '/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb:do_populate_sysroot',
>  
> '/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/recipes-core/os-release/os-release.bb:do_populate_sysroot',
>  
> '/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/recipes-core/systemd/systemd-boot_254.bb:do_populate_sysroot',
>  
> '/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/recipes-devtools/binutils/binutils-cross_2.41.bb:do_populate_sysroot',
>  
> '/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb:do_populate_sysroot',
>  
> '/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb:do_populate_sysroot',
>  
> '/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb:do_populate_sysroot',
>  
> '/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb:do_populate_sysroot',
>  
> 'virtual:native:/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb:do_populate_sysroot',
>  
> 'virtual:native:/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/recipes-devtools/btrfs-tools/btrfs-tools_6.3.1.bb:do_populate_sysroot',
>  
> 'virtual:native:/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/recipes-devtools/createrepo-c/createrepo-c_0.21.1.bb:do_populate_sysroot',
>  
> 'virtual:native:/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/recipes-devtools/dnf/dnf_4.16.1.bb:do_populate_sysroot',
>  
> 'virtual:native:/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/recipes-devtools/dosfstools/dosfstools_4.2.bb:do_populate_sysroot',
>  
> 'virtual:native:/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.0.bb:do_populate_sysroot',
>  
> 'virtual:native:/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/recipes-devtools/erofs-utils/erofs-utils_1.6.bb:do_populate_sysroot',
>  
> 'virtual:native:/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/recipes-devtools/fdisk/gptfdisk_1.0.9.bb:do_populate_sysroot',
>  
> 'virtual:native:/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb:do_populate_sysroot',
>  
> 'virtual:native:/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/recipes-devtools/mtools/mtools_4.0.43.bb:do_populate_sysroot',
>  
> 'virtual:native:/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/recipes-devtools/opkg-utils/opkg-utils_0.6.2.bb:do_populate_sysroot',
>  
> 'virtual:native:/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot',
>  
> 'virtual:native:/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/recipes-devtools/rpm/rpm_4.18.1.bb:do_populate_sysroot',
>  
> 'virtual:native:/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb:do_populate_sysroot',
>  
> 'virtual:native:/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb:do_populate_sysroot',
>  
> 'virtual:native:/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/recipes-extended/parted/parted_3.6.bb:do_populate_sysroot',
>  
> 'virtual:native:/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/recipes-extended/pbzip2/pbzip2_1.1.13.bb:do_populate_sysroot',
>  
> 'virtual:native:/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/recipes-extended/pigz/pigz_2.7.bb:do_populate_sysroot',
>  
> 'virtual:native:/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/recipes-support/bmap-tools/bmap-tools_git.bb:do_populate_sysroot']
> | NOTE: Installed into sysroot: ['cpio-native']
> | NOTE: Skipping as already exists in sysroot: ['grub-efi', 
> 'cross-localedef-native', 'ldconfig-native', 'os-release', 'systemd-boot', 
> 'binutils-cross-x86_64', 'cdrtools-native', 'qemuwrapper-cross', 'syslinux', 
> 'depmodwrapper-cross', 'update-rc.d-native', 'btrfs-tools-native', 
> 'createrepo-c-native', 'dnf-native', 'dosfstools-native', 'e2fsprogs-native', 
> 'erofs-utils-native', 'gptfdisk-native', 'makedevs-native', 'mtools-native', 
> 'opkg-utils-native', 'pseudo-native', 'rpm-native', 'squashfs-tools-native', 
> 'syslinux-native', 'parted-native', 'pbzip2-native', 'pigz-native', 
> 'bmap-tools-native', 'libtool-native', 'texinfo-dummy-native', 
> 'util-linux-native', 'attr-native', 'gettext-minimal-native', 'file-native', 
> 'xz-native', 'elfutils-native', 'lua-native', 'zstd-native', 
> 'sqlite3-native', 'libgcrypt-native', 'python3-native', 'bzip2-native', 
> 'popt-native', 'openssl-native', 'zlib-native', 'expat-native', 
> 'glib-2.0-native', 'cmake-native', 'curl-native', 'libxml2-native', 
> 'python3-setuptools-native', 'kmod-native', 'python3-build-native', 
> 'python3-installer-native', 'python3-wheel-native', 'python3-six-native', 
> 'coreutils-native', 'shared-mime-info-native', 'nasm-native', 
> 'ncurses-native', 'util-linux-libuuid-native', 'lz4-native', 'qemu-native', 
> 'libcomps-native', 'libdnf-native', 'librepo-native', 
> 'python3-iniparse-native', 'shadow-native', 'glibc', 'gcc-runtime', 
> 'flex-native', 'gnu-config-native', 'e2fsprogs', 'util-linux', 
> 'readline-native', 'perl-native', 'lzo-native', 'debianutils-native', 
> 'libcap', 'libpcre2-native', 'libcap-ng-native', 'libmicrohttpd-native', 
> 'libarchive-native', 'libcap-native', 'libgpg-error-native', 'gdbm-native', 
> 'libnsl2-native', 'libedit-native', 'libffi-native', 'libtirpc-native', 
> 'gettext-native', 'qemu-system-native', 'qemu-helper-native', 'unfs3-native', 
> 'python3-pyproject-hooks-native', 'python3-flit-core-native', 
> 'python3-packaging-native', 'itstool-native', 'groff-native', 
> 'gobject-introspection-native', 'libmodulemd-native', 'swig-native', 
> 'json-c-native', 'libsolv-native', 'libcheck-native', 'gpgme-native', 
> 'linux-libc-headers', 'libgcc', 'm4-native', 'opkg-utils', 'attr', 
> 'bash-completion', 'libcap-ng', 'util-linux-libuuid', 'zlib', 'libxcrypt', 
> 'ncurses', 'make-native', 'gnutls-native', 'acl-native', 'alsa-lib-native', 
> 'libepoxy-native', 'dtc-native', 'libslirp-native', 'virglrenderer-native', 
> 'pixman-native', 'libsdl2-native', 'unzip-native', 'libyaml-native', 
> 'libassuan-native', 'libidn2-native', 'libunistring-native', 'nettle-native', 
> 'libtasn1-native', 'gmp-native', 'libx11-native', 'mesa-native', 
> 'libdrm-native', 'libxext-native', 'libxrandr-native', 'libxrender-native', 
> 'libxcb-native', 'util-macros-native', 'xorgproto-native', 'xtrans-native', 
> 'llvm-native', 'wayland-native', 'libxdamage-native', 
> 'wayland-protocols-native', 'python3-mako-native', 'libxxf86vm-native', 
> 'xrandr-native', 'libxshmfence-native', 'chrpath-native', 
> 'makedepend-native', 'libxfixes-native', 'libpciaccess-native', 
> 'libpthread-stubs-native', 'xcb-proto-native', 'libxau-native', 
> 'libxdmcp-native', 'python3-pygments-native', 'python3-markupsafe-native']
> | DEBUG: Python function extend_recipe_sysroot finished
> | DEBUG: Executing python function set_image_size
> | DEBUG: 62249.200000 = 47884 * 1.300000
> | DEBUG: 62249.200000 = max(62249.200000, 8192)[62249.200000] + 0
> | DEBUG: 62250.000000 = int(62249.200000)
> | DEBUG: 62250 = aligned(62250)
> | DEBUG: returning 62250
> | DEBUG: Python function set_image_size finished
> | DEBUG: Executing shell function do_image_wic
> | INFO: Creating image(s)...
> |
> | ERROR: _exec_cmd: export 
> PATH=/home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1163224/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot-native/sbin:/home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1163224/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot-native/usr/sbin:/home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1163224/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot-native/usr/bin:/home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1163224/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux:/home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1163224/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot-native/bin:/home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1163224/tmp/hosttools:$PATH;x86_64-poky-linux-objcopy
>  --enable-deterministic-archives --preserve-dates --add-section 
> .osrel=/home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1163224/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot/usr/lib/os-release
>  --change-section-vma .osrel=0x20000 --add-section 
> .cmdline=/tmp/tmpqugy4n6d/cmdline --change-section-vma .cmdline=0x30000 
> --add-section 
> .linux=/home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1163224/tmp/deploy/images/qemux86-64/bzImage
>  --change-section-vma .linux=0x2000000 --add-section 
> .initrd=/tmp/tmpqugy4n6d/initrd --change-section-vma .initrd=0x3000000 
> /home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1163224/tmp/deploy/images/qemux86-64/linuxx64.efi.stub
>  
> /home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1163224/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/tmp-wic/hdd/boot/EFI/Linux/linux.efi
>  returned '1' instead of 0
> | output: x86_64-poky-linux-objcopy: 
> /home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1163224/tmp/deploy/images/qemux86-64/linuxx64.efi.stub
>  (.reloc): section flag STYP_GROUP (0x4) ignored
> | 
> /home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1163224/tmp/deploy/images/qemux86-64/linuxx64.efi.stub
>  (.reloc): section flag STYP_COPY (0x10) ignored
> | 
> /home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1163224/tmp/deploy/images/qemux86-64/linuxx64.efi.stub:
>  warning: ignoring section flag IMAGE_SCN_MEM_NOT_PAGED in section .reloc
> | x86_64-poky-linux-objcopy: 
> /home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1163224/tmp/deploy/images/qemux86-64/linuxx64.efi.stub
>  (.reloc): section flag STYP_GROUP (0x4) ignored
> | 
> /home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1163224/tmp/deploy/images/qemux86-64/linuxx64.efi.stub
>  (.reloc): section flag STYP_COPY (0x10) ignored
> | 
> /home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1163224/tmp/deploy/images/qemux86-64/linuxx64.efi.stub:
>  warning: ignoring section flag IMAGE_SCN_MEM_NOT_PAGED in section .reloc
> | x86_64-poky-linux-objcopy: 
> /home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1163224/tmp/deploy/images/qemux86-64/linuxx64.efi.stub:
>  file format not recognized
> | x86_64-poky-linux-objcopy: --change-section-vma .initrd=0x3000000 never used
> | x86_64-poky-linux-objcopy: --change-section-vma .linux=0x2000000 never used
> | x86_64-poky-linux-objcopy: --change-section-vma .cmdline=0x30000 never used
> | x86_64-poky-linux-objcopy: --change-section-vma .osrel=0x20000 never used
> |
> | WARNING: 
> /home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1163224/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/temp/run.do_image_wic.1308950:163
>  exit 1 from 
> 'BUILDDIR="/home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1163224"
>  PSEUDO_UNLOAD=1 wic create "$wks" --vars 
> "/home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1163224/tmp/sysroots/qemux86-64/imgdata/"
>  -e "core-image-minimal" -o "$build_wic/" -w "$tmp_wic"'
> | WARNING: Backtrace (BB generated script):
> |       #1: do_image_wic, 
> /home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1163224/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/temp/run.do_image_wic.1308950,
>  line 163
> |       #2: main, 
> /home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1163224/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/temp/run.do_image_wic.1308950,
>  line 179
> NOTE: recipe core-image-minimal-1.0-r0: task do_image_wic: Failed
> ERROR: Task 
> (/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/recipes-core/images/core-image-minimal.bb:do_image_wic)
>  failed with exit code '1'

Where does that objcopy command come from? It looks awfully like it is
hard-coding VMAs? That cannot possibly work reliably, the actual VMAs
have to be calculated based on the components being added to the PE.
I'd recommend to use 'ukify' as that makes it much easier, and
actually we have an intern working to add a bbclass for that just now.
But it's not needed, you can do the calculations by hand too, dracut
used to do something similar and was fixed some months ago iirc.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#185565): 
https://lists.openembedded.org/g/openembedded-core/message/185565
Mute This Topic: https://lists.openembedded.org/mt/100516497/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to