following the example in “Stratux 10 SoC GSRD”
“Building the GSRD”
bitbake_image fails with the following error:
ERROR: console-image-minimal-1.0-r0 do_image_wic: ExecutionError(‘/home/rader/proj/StratixDevKit/Examples/RocketBoards/GSRD_Example1/stratix10_gsrd/gsrd_socfpga/stratix10-gsrd-rootfs/tmp/work/stratix10-poky-linux/console-image-minimal/1.0-r0/temp/run.do_image_wic.3007313’, 1, None, None)
ERROR: Logfile of failure stored in: /home/rader/proj/StratixDevKit/Examples/RocketBoards/GSRD_Example1/stratix10_gsrd/gsrd_socfpga/stratix10-gsrd-rootfs/tmp/work/stratix10-poky-linux/console-image-minimal/1.0-r0/temp/log.do_image_wic.3007313
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are [‘/home/rader/proj/StratixDevKit/Examples/RocketBoards/GSRD_Example1/stratix10_gsrd/gsrd_socfpga/poky/meta/recipes-core/glibc/cross-localedef-native_2.36.bb:do_populate_sysroot’, ‘/home/rader/proj/StratixDevKit/Examples/RocketBoards/GSRD_Example1/stratix10_gsrd/gsrd_socfpga/poky/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb:do_populate_sysroot’, ‘/home/rader/proj/StratixDevKit/Examples/RocketBoards/GSRD_Example1/stratix10_gsrd/gsrd_socfpga/poky/meta/recipes-devtools/binutils/binutils-cross_2.39.bb:do_populate_sysroot’, ‘/home/rader/proj/StratixDevKit/Examples/RocketBoards/GSRD_Example1/stratix10_gsrd/gsrd_socfpga/poky/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb:do_populate_sysroot’, ‘/home/rader/proj/StratixDevKit/Examples/RocketBoards/GSRD_Example1/stratix10_gsrd/gsrd_socfpga/poky/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb:do_populate_sysroot’, ‘/home/rader/proj/StratixDevKit/Examples/RocketBoards/GSRD_Example1/stratix10_gsrd/gsrd_socfpga/poky/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb:do_populate_sysroot’, ‘virtual:native:/home/rader/proj/StratixDevKit/Examples/RocketBoards/GSRD_Example1/stratix10_gsrd/gsrd_socfpga/poky/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb:do_populate_sysroot’, ‘virtual:native:/home/rader/proj/StratixDevKit/Examples/RocketBoards/GSRD_Example1/stratix10_gsrd/gsrd_socfpga/poky/meta/recipes-devtools/btrfs-tools/btrfs-tools_5.19.1.bb:do_populate_sysroot’, ‘virtual:native:/home/rader/proj/StratixDevKit/Examples/RocketBoards/GSRD_Example1/stratix10_gsrd/gsrd_socfpga/poky/meta/recipes-devtools/createrepo-c/createrepo-c_0.20.1.bb:do_populate_sysroot’, ‘virtual:native:/home/rader/proj/StratixDevKit/Examples/RocketBoards/GSRD_Example1/stratix10_gsrd/gsrd_socfpga/poky/meta/recipes-devtools/dnf/dnf_4.14.0.bb:do_populate_sysroot’, ‘virtual:native:/home/rader/proj/StratixDevKit/Examples/RocketBoards/GSRD_Example1/stratix10_gsrd/gsrd_socfpga/poky/meta/recipes-devtools/dosfstools/dosfstools_4.2.bb:do_populate_sysroot’, ‘virtual:native:/home/rader/proj/StratixDevKit/Examples/RocketBoards/GSRD_Example1/stratix10_gsrd/gsrd_socfpga/poky/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.46.5.bb:do_populate_sysroot’, ‘virtual:native:/home/rader/proj/StratixDevKit/Examples/RocketBoards/GSRD_Example1/stratix10_gsrd/gsrd_socfpga/poky/meta/recipes-devtools/erofs-utils/erofs-utils_1.5.bb:do_populate_sysroot’, ‘virtual:native:/home/rader/proj/StratixDevKit/Examples/RocketBoards/GSRD_Example1/stratix10_gsrd/gsrd_socfpga/poky/meta/recipes-devtools/fdisk/gptfdisk_1.0.9.bb:do_populate_sysroot’, ‘virtual:native:/home/rader/proj/StratixDevKit/Examples/RocketBoards/GSRD_Example1/stratix10_gsrd/gsrd_socfpga/poky/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb:do_populate_sysroot’, ‘virtual:native:/home/rader/proj/StratixDevKit/Examples/RocketBoards/GSRD_Example1/stratix10_gsrd/gsrd_socfpga/poky/meta/recipes-devtools/mtools/mtools_4.0.41.bb:do_populate_sysroot’, ‘virtual:native:/home/rader/proj/StratixDevKit/Examples/RocketBoards/GSRD_Example1/stratix10_gsrd/gsrd_socfpga/poky/meta/recipes-devtools/opkg-utils/opkg-utils_0.5.0.bb:do_populate_sysroot’, ‘virtual:native:/home/rader/proj/StratixDevKit/Examples/RocketBoards/GSRD_Example1/stratix10_gsrd/gsrd_socfpga/poky/meta/recipes-devtools/opkg/opkg_0.6.1.bb:do_populate_sysroot’, ‘virtual:native:/home/rader/proj/StratixDevKit/Examples/RocketBoards/GSRD_Example1/stratix10_gsrd/gsrd_socfpga/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot’, ‘virtual:native:/home/rader/proj/StratixDevKit/Examples/RocketBoards/GSRD_Example1/stratix10_gsrd/gsrd_socfpga/poky/meta/recipes-devtools/rpm/rpm_4.18.0.bb:do_populate_sysroot’, ‘virtual:native:/home/rader/proj/StratixDevKit/Examples/RocketBoards/GSRD_Example1/stratix10_gsrd/gsrd_socfpga/poky/meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb:do_populate_sysroot’, ‘virtual:native:/home/rader/proj/StratixDevKit/Examples/RocketBoards/GSRD_Example1/stratix10_gsrd/gsrd_socfpga/poky/meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb:do_populate_sysroot’, ‘virtual:native:/home/rader/proj/StratixDevKit/Examples/RocketBoards/GSRD_Example1/stratix10_gsrd/gsrd_socfpga/poky/meta/recipes-extended/parted/parted_3.5.bb:do_populate_sysroot’, ‘virtual:native:/home/rader/proj/StratixDevKit/Examples/RocketBoards/GSRD_Example1/stratix10_gsrd/gsrd_socfpga/poky/meta/recipes-extended/pigz/pigz_2.7.bb:do_populate_sysroot’, ‘virtual:native:/home/rader/proj/StratixDevKit/Examples/RocketBoards/GSRD_Example1/stratix10_gsrd/gsrd_socfpga/poky/meta/recipes-support/bmap-tools/bmap-tools_git.bb:do_populate_sysroot’]
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: [‘cross-localedef-native’, ‘ldconfig-native’, ‘binutils-cross-aarch64’, ‘cdrtools-native’, ‘qemuwrapper-cross’, ‘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’, ‘opkg-native’, ‘pseudo-native’, ‘rpm-native’, ‘squashfs-tools-native’, ‘syslinux-native’, ‘parted-native’, ‘pigz-native’, ‘bmap-tools-native’, ‘qemu-native’, ‘popt-native’, ‘ncurses-native’, ‘util-linux-native’, ‘systemd-systemctl-native’, ‘kmod-native’, ‘attr-native’, ‘texinfo-dummy-native’, ‘libtool-native’, ‘gettext-minimal-native’, ‘openssl-native’, ‘debianutils-native’, ‘xz-native’, ‘readline-native’, ‘gnu-config-native’, ‘flex-native’, ‘zlib-native’, ‘shadow-native’, ‘libsolv-native’, ‘libarchive-native’, ‘python3-native’, ‘bzip2-native’, ‘lua-native’, ‘zstd-native’, ‘elfutils-native’, ‘file-native’, ‘sqlite3-native’, ‘libgcrypt-native’, ‘nasm-native’, ‘glib-2.0-native’, ‘libxml2-native’, ‘cmake-native’, ‘curl-native’, ‘expat-native’, ‘lzo-native’, ‘lz4-native’, ‘util-linux-libuuid-native’, ‘perl-native’, ‘shared-mime-info-native’, ‘python3-setuptools-native’, ‘python3-wheel-native’, ‘coreutils-native’, ‘python3-picobuild-native’, ‘python3-installer-native’, ‘python3-six-native’, ‘librepo-native’, ‘python3-iniparse-native’, ‘libdnf-native’, ‘libcomps-native’, ‘libcap-ng-native’, ‘libpcre2-native’, ‘m4-native’, ‘libnsl2-native’, ‘libffi-native’, ‘gdbm-native’, ‘libtirpc-native’, ‘libmicrohttpd-native’, ‘libcap-native’, ‘libgpg-error-native’, ‘groff-native’, ‘gettext-native’, ‘libpcre-native’, ‘make-native’, ‘itstool-native’, ‘python3-flit-core-native’, ‘gpgme-native’, ‘libmodulemd-native’, ‘libcheck-native’, ‘json-c-native’, ‘swig-native’, ‘gobject-introspection-native’, ‘gnutls-native’, ‘unzip-native’, ‘libassuan-native’, ‘libyaml-native’, ‘nettle-native’, ‘libidn2-native’, ‘gmp-native’, ‘libunistring-native’]
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing python function set_image_size
| DEBUG: 273041.600000 = 210032 * 1.300000
| DEBUG: 277137.600000 = max(273041.600000, 8192)[273041.600000] + 4096
| DEBUG: 277138.000000 = int(277137.600000)
| DEBUG: 277138 = aligned(277138)
| DEBUG: returning 277138
| DEBUG: Python function set_image_size finished
| DEBUG: Executing shell function do_image_wic
| INFO: Creating image(s)…
|
| WARNING: bootloader config not specified, using defaults
|
| ERROR: _exec_cmd: install -m 0644 -D /home/rader/proj/StratixDevKit/Examples/RocketBoards/GSRD_Example1/stratix10_gsrd/gsrd_socfpga/stratix10-gsrd-rootfs/tmp/deploy/images/stratix10/boot.scr.uimg /home/rader/proj/StratixDevKit/Examples/RocketBoards/GSRD_Example1/stratix10_gsrd/gsrd_socfpga/stratix10-gsrd-rootfs/tmp/work/stratix10-poky-linux/console-image-minimal/1.0-r0/tmp-wic/boot.1/boot.scr.uimg returned ‘1’ instead of 0
| output: install: cannot stat ‘/home/rader/proj/StratixDevKit/Examples/RocketBoards/GSRD_Example1/stratix10_gsrd/gsrd_socfpga/stratix10-gsrd-rootfs/tmp/deploy/images/stratix10/boot.scr.uimg’: No such file or directory
|
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/rader/proj/StratixDevKit/Examples/RocketBoards/GSRD_Example1/stratix10_gsrd/gsrd_socfpga/meta-intel-fpga-refdes/recipes-images/poky/console-image-minimal.bb:do_image_wic) failed with exit code ‘1’
NOTE: Tasks Summary: Attempted 5218 tasks of which 5143 didn’t need to be rerun and 1 failed.
Summary: 1 task failed:
/home/rader/proj/StratixDevKit/Examples/RocketBoards/GSRD_Example1/stratix10_gsrd/gsrd_socfpga/meta-intel-fpga-refdes/recipes-images/poky/console-image-minimal.bb:do_image_wic
Summary: There was 1 WARNING message.
Summary: There was 1 ERROR message, returning a non-zero exit code.