Package: libubootenv-tool Version: 0.3-1 Severity: grave Hello,
there are compatibility problems with RAUC and the libubootenv-tool package. RAUC requires the fw_setenv and fw_printenv utilites to interact with the u-boot-environment. After Installing the libubootenv-tool package to get fw_printenv and fw_setenv, RAUC didnt work properly. i.e.: $ rauc status ... === Bootloader === Activated: (null) ((null)) <-- should look like "Activated: rootfs.0 (A) ... The reason for this is that RAUC is not able to parse the output of fw_printenv with the added debug message "Environment OK, copy 0": $ fw_printenv BOOT_ORDER Environment OK, copy 0 BOOT_ORDER=B A After building a fw_printenv that doesnt print the Debug Mesaage the Rauc worked properly again. (I looked into the source code of libubootenv and saw that passing the NDEBUG compiler flag supresses the Debugging Messages: https://salsa.debian.org/debian/libubootenv/-/blob/master/src/uboot_env.c#L946) i.e: $ fw_printenv BOOT_ORDER BOOT_ORDER=B A $ rauc status ... === Bootloader === Activated: rootfs.1 (B) ... Perhaps it is desirable that libubootenv-tool provides output similiar to the native u-boot envtools to support compability, by building it in downstream with the NDEBUG compiler flag. Paul Jena -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (500, 'testing') Architecture: armhf (armv7l) Kernel: Linux 4.14.184-rt84-stable-16216-gdf370847d809 (SMP w/4 CPU threads; PR> Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) Versions of packages libubootenv-tool depends on: ii libc6 2.31-9 ii libubootenv0.1 0.3-1 ii zlib1g 1:1.2.11.dfsg-2 libubootenv-tool recommends no packages. libubootenv-tool suggests no packages. -- no debconf information