Source: mstflint
Version: 4.0.1+1.43.g97d7275-1
Severity: serious
Justification: fails to build from source
Tags: sid stretch
User: [email protected]
Usertags: ftbfs
X-Debbugs-CC: [email protected]
Dear Maintainer,
The package fails to build, probably due to gcc upgrades:
g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I../../include/mtcr_ul -I../../mflash
-I../../ext_libs/json -I../../ext_libs/minixz -I../../common -I/zlib -I
../../tools_layouts -I../../common -I../../mft_utils -D_FORTIFY_SOURCE=2 -Wall
-W -g -MP -MD -pipe -DNO_MFA_SUPPORT -g -O2 -fstack-protector-strong -Wformat
-Werror=format-security -DHAVE_TERMIOS_H -Werror -DMST_UL -c -o fs3_ops.o
fs3_ops.cpp
fs3_ops.cpp: In member function ‘bool
Fs3Operations::Fs3GetNewSectionAddr(Fs3Operations::toc_info*, u_int32_t&,
bool)’:
fs3_ops.cpp:1727:40: error: ‘toc’ may be used uninitialized in this function
[-Werror=maybe-uninitialized]
devInfoAddr1 = (toc->toc_entry.flash_addr << 2) - 0x1000;
^
fs3_ops.cpp: In member function ‘bool Fs3Operations::Fs3UpdateSection(void*,
fs3_section_t, bool, CommandType, PrintCallBack)’:
fs3_ops.cpp:1863:27: error: ‘curr_toc’ may be used uninitialized in this
function [-Werror=maybe-uninitialized]
if (!Fs3UpdateItocInfo(curr_toc, newSectionAddr, curr_toc->toc_entry.size,
newUidSection)) {
^
fs3_ops.cpp: In member function ‘bool Fs3Operations::Fs3Burn(Fs3Operations&,
FwOperations::ExtBurnParams&)’:
fs3_ops.cpp:1068:65: error: ‘imageInfoToc’ may be used uninitialized in this
function [-Werror=maybe-uninitialized]
std::vector<u_int8_t> imageInfoSect = imageInfoToc->section_data;
^
cc1plus: all warnings being treated as errors
Makefile:424: recipe for target 'fs3_ops.o' failed
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)