This package has built successfully in Debian, but the same version is
failing to build in Ubuntu with the following error:

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 -O3 -fstack-protector-strong -Wformat 
-Werror=format-security -DHAVE_TERMIOS_H -Werror -DMST_UL -c -o fw_ops.o 
fw_ops.cpp
fw_ops.cpp: In member function 'bool FwOperations::ModifyImageFile(const char*, 
u_int32_t, void*, int)':
fw_ops.cpp:632:27: error: 'file_data' may be used uninitialized in this 
function [-Werror=maybe-uninitialized]
     memcpy(&file_data[addr], data, cnt);
                           ^
fw_ops.cpp:650:35: error: 'file_size' may be used uninitialized in this 
function [-Werror=maybe-uninitialized]
     if (fwrite(data, 1, length, fh) != length) {
                                   ^
fw_ops.cpp:626:9: note: 'file_size' was declared here
     int file_size;
         ^
cc1plus: all warnings being treated as errors
Makefile:300: recipe for target 'fw_ops.o' failed

https://launchpadlibrarian.net/193726658/buildlog_ubuntu-vivid-ppc64el.mstflint_3.7.0%2B1.18.gcdb9f80-3_FAILEDTOBUILD.txt.gz
https://launchpad.net/ubuntu/+source/mstflint/3.7.0+1.18.gcdb9f80-3/+build/6497168

This requires further investigation.

** Package changed: ubuntu => mstflint (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1367842

Title:
  [needs-packaging] OFED Mellanox firmware burning application package
  mstflint is missing

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mstflint/+bug/1367842/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to