commit | b2665cdf3961ac30ff178a5e67e3624eb619c66f | [log] [tgz] |
---|---|---|
author | ojayanth <ojayanth@in.ibm.com> | Thu Jun 08 07:26:13 2023 -0500 |
committer | Jayanth Othayoth <ojayanth@in.ibm.com> | Thu Jun 08 16:57:09 2023 +0000 |
tree | 6ac7fb526b98c643364346525425d0e49c898167 | |
parent | 16eafec02e004281b98eb350a348fce79ee53c91 [diff] |
gcc13 : fix argument format issues gcc13 based build failed with below errors. error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt Problem reported during enum type input is similar to https://github.com/fmtlib/fmt/issues/391 Fix is to static_cast the "enum" type to "underlying_type" in fmt::format function. Problem related file descriptor input is to static_cast enum to "underlying_type". Change-Id: I587e4abfb4e188d40a0e4bfbdd57e6da6a77616d Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Phosphor Debug Collector provides mechanisms to collect various log files and system parameters. Used to troubleshoot problems in OpenBMC based systems.
One such mechanism is dreport, a script that collects debug data and packages it into an archive file.
To build this package with meson, do the following steps:
1. meson builddir 2. ninja -C builddir
To clean the built files run ninja -C builddir clean
.
Tests can be run in the CI docker container, refer local-ci-build
or with an OpenBMC x86 sdk(see below for x86 steps).
meson -Dtests=enabled build ninja -C build test