Your message dated Sun, 11 Apr 2021 00:03:26 +0000
with message-id <e1lvnzw-0007lw...@fasolo.debian.org>
and subject line Bug#985948: fixed in libubootenv 0.3-3
has caused the Debian Bug report #985948,
regarding libubootenv-tool: Debug lines from fw_printenv break RAUC
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
985948: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985948
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
Source: libubootenv
Source-Version: 0.3-3
Done: Nobuhiro Iwamatsu <iwama...@debian.org>

We believe that the bug you reported is fixed in the latest version of
libubootenv, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 985...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Nobuhiro Iwamatsu <iwama...@debian.org> (supplier of updated libubootenv 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 11 Apr 2021 08:32:03 +0900
Source: libubootenv
Architecture: source
Version: 0.3-3
Distribution: unstable
Urgency: medium
Maintainer: Nobuhiro Iwamatsu <iwama...@debian.org>
Changed-By: Nobuhiro Iwamatsu <iwama...@debian.org>
Closes: 985948
Changes:
 libubootenv (0.3-3) unstable; urgency=medium
 .
   [ Andreas Henriksson ]
   * debian/rules: Remove unused variables
   * debian/rules: Remove CMAKE_VERBOSE_MAKEFILE, set by dh as needed
   * debian/rules: Drop non-existent BUILD_DOCS option
   * Define NDEBUG to avoid debug prints (Closes: #985948)
   * Add autopkgtest smoketest of fw_{print,set}env
Checksums-Sha1:
 fff5e5ded6c7c63860007cfa660d019b2b45be93 2149 libubootenv_0.3-3.dsc
 d0a5317e0ff240847bd4f0a536b6145f4f6c0439 5044 libubootenv_0.3-3.debian.tar.xz
 e185ddf8d80075387f3bdd875ad56fec45fa9eb6 9416 libubootenv_0.3-3_amd64.buildinfo
Checksums-Sha256:
 edb2279288e7fa8d4042650fa4151e3fd16540576874531235bed893f7fc4398 2149 
libubootenv_0.3-3.dsc
 e4547ff71c69c46be54e7577752fe43005279420e472d69bef29dce81af5bacc 5044 
libubootenv_0.3-3.debian.tar.xz
 d4d67f9486c78de7b2531a3bdeffbfb1f50847189b68e2933a5c337eafccef1c 9416 
libubootenv_0.3-3_amd64.buildinfo
Files:
 8cb21d8a17d42b20b9d0f5b388721197 2149 utils optional libubootenv_0.3-3.dsc
 f6c158faae5b96b2a3a2281341183837 5044 utils optional 
libubootenv_0.3-3.debian.tar.xz
 e4422308fadb03a18bdb85642156414a 9416 utils optional 
libubootenv_0.3-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEXmKe5SMhlzV7hM9DMiR/u0CtH6YFAmByNokACgkQMiR/u0Ct
H6Yd0A/9HcycFWpcy6TAoooFbn/wV0ckbC9Iich4QTFL1NHxnvddcRwzJcf4YNAu
lPU+ADi0M/64EXx7HS4wQc0WiTWQ+TJ03j+FdX71s1q1/PuLWsL+Vf9lLGEHedkO
GfBkNpnyeUC5+VmXhcCdiiqNSIJD6yxCp3Be5R8JRO7rzkcTAUgXkBrzhw8cb2Y0
MFzfSSasq9xnSECMcQoBdUOQ/sZgm15u8m2Xe7hly0C2V4zL4UDrcGQtp4DmfITC
EGHcBM0hytY3AV/Lp+68rnG82KEGnXhVq/xjjJXqV+52b2JpIKU4hJ0uaxf3z/uX
b9AzRXvh5BOiNirN+zJ/4iTtlTcACEv4qjkt5ob+n2fIIyjlIO9xiXVmEeTuwow8
SNDhHEYP8fy7Tv8QJLEKYOAzdS/kSITIiHTtzEzJdzxOIaWzUON4M6XLFgbv7Vmj
IHYYuRxOCkYPZSI2VtJCmrVswM8QINndBuzsAv/bScCeesMZEmkUc8/c8tft7YG8
akklzKoPOXyybe/5unwktuyYhZ77BRg6SdxC3zI934FlULAlwEy2av0gK/uD1e5C
eTyztrc6T0F56IZwDN0WPEy2s4t28fazuqQ5sKiCKXU4sHF3UGYGQpyxsmCOeaE7
eWSqtsVRF57W0A0321GBPxIvEhnwakkBfVIO6nNXp4PadBf+f7I=
=Mmpk
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to