[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#984247: marked as done (mstflint: ftbfs with GCC-11)



Your message dated Fri, 05 Nov 2021 21:04:55 +0000
with message-id <E1mj6ON-0008A1-OH@fasolo.debian.org>
and subject line Bug#984247: fixed in mstflint 4.17.0+1-1
has caused the Debian Bug report #984247,
regarding mstflint: ftbfs with GCC-11
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 owner@bugs.debian.org
immediately.)


-- 
984247: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984247
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:mstflint
Version: 4.16.0+1-3
Severity: normal
Tags: sid bookworm
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-11

[This bug is not targeted to the upcoming bullseye release]

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-11/g++-11, but succeeds to build with gcc-10/g++-10. The
severity of this report will be raised before the bookworm release,
so nothing has to be done for the bullseye release.

The full build log can be found at:
http://people.debian.org/~doko/logs/20210228/filtered/gcc11/mstflint_4.16.0+1-3_unstable_gcc11.log
The last lines of the build log are at the end of this report.

To build with GCC 11, either set CC=gcc-11 CXX=g++-11 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-11/porting_to.html

GCC 11 defaults to the GNU++17 standard.  If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.

[...]
      |            ^~~~~~
mlxlink_cables_commander.cpp:386:41: note: returned from ‘void* malloc(size_t)’
  386 |     u_int8_t *page0L = (u_int8_t*)malloc(sizeof(u_int8_t) * CABLE_PAGE_SIZE);
      |                                   ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mlxlink_cables_commander.cpp: In member function ‘void MlxlinkCablesCommander::readCableDDMInfo()’:
mlxlink_cables_commander.cpp:638:12: error: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Werror=mismatched-new-delete]
  638 |     delete thresholdPage;
      |            ^~~~~~~~~~~~~
mlxlink_cables_commander.cpp:611:48: note: returned from ‘void* malloc(size_t)’
  611 |     u_int8_t *thresholdPage = (u_int8_t*)malloc(sizeof(u_int8_t) * CABLE_PAGE_SIZE);
      |                                          ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../mtcr_ul -I -I../../mft_utils -I../../mlxreg -I../../mlxlink -I../../include/mtcr_ul -I/usr/include/jsoncpp  -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -g -MP -MD -pipe -Werror  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -isystem /usr/local/include -DHAVE_TERMIOS_H -DMST_UL -c -o mlxlink_eye_opener.lo mlxlink_eye_opener.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../mtcr_ul -I -I../../mft_utils -I../../mlxreg -I../../mlxlink -I../../include/mtcr_ul -I/usr/include/jsoncpp -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -g -MP -MD -pipe -Werror -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -isystem /usr/local/include -DHAVE_TERMIOS_H -DMST_UL -c mlxlink_eye_opener.cpp  -fPIC -DPIC -o .libs/mlxlink_eye_opener.o
mlxlink_cables_commander.cpp: In member function ‘void MlxlinkCablesCommander::initValidPages()’:
mlxlink_cables_commander.cpp:868:16: error: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Werror=mismatched-new-delete]
  868 |         delete page0H;
      |                ^~~~~~
mlxlink_cables_commander.cpp:864:46: note: returned from ‘void* malloc(size_t)’
  864 |         u_int8_t *page0H =  (u_int8_t*)malloc(sizeof(u_int8_t) * CABLE_PAGE_SIZE);
      |                                        ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mlxlink_cables_commander.cpp:898:16: error: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Werror=mismatched-new-delete]
  898 |         delete page0L;
      |                ^~~~~~
mlxlink_cables_commander.cpp:895:45: note: returned from ‘void* malloc(size_t)’
  895 |         u_int8_t *page0L = (u_int8_t*)malloc(sizeof(u_int8_t) * CABLE_PAGE_SIZE);
      |                                       ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mlxlink_cables_commander.cpp:952:24: error: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Werror=mismatched-new-delete]
  952 |                 delete page1H;
      |                        ^~~~~~
mlxlink_cables_commander.cpp:922:53: note: returned from ‘void* malloc(size_t)’
  922 |                 u_int8_t *page1H = (u_int8_t*)malloc(sizeof(u_int8_t) * CABLE_PAGE_SIZE);
      |                                               ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mlxlink_cables_commander.cpp: In member function ‘std::vector<MlxlinkCmdPrint> MlxlinkCablesCommander::getPagesToDump()’:
mlxlink_cables_commander.cpp:966:16: error: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Werror=mismatched-new-delete]
  966 |         delete pageP;
      |                ^~~~~
mlxlink_cables_commander.cpp:963:44: note: returned from ‘void* malloc(size_t)’
  963 |         u_int8_t *pageP = (u_int8_t*)malloc(sizeof(u_int8_t) * CABLE_PAGE_SIZE);
      |                                      ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mlxlink_cables_commander.cpp: In member function ‘MlxlinkCmdPrint MlxlinkCablesCommander::readFromEEPRM(u_int16_t, u_int16_t, u_int16_t)’:
mlxlink_cables_commander.cpp:1087:12: error: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Werror=mismatched-new-delete]
 1087 |     delete pageL;
      |            ^~~~~
mlxlink_cables_commander.cpp:1052:41: note: returned from ‘void* malloc(size_t)’
 1052 |     u_int8_t *pageL = (u_int8_t*) malloc(sizeof(u_int8_t) * CABLE_PAGE_SIZE);
      |                                   ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mlxlink_cables_commander.cpp: In member function ‘void MlxlinkCablesCommander::writeToEEPROM(u_int16_t, u_int16_t, std::vector<unsigned char>&)’:
mlxlink_cables_commander.cpp:991:12: error: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Werror=mismatched-new-delete]
  991 |     delete data;
      |            ^~~~
mlxlink_cables_commander.cpp:984:40: note: returned from ‘void* malloc(size_t)’
  984 |     u_int8_t *data = (u_int8_t*) malloc(sizeof(u_int8_t) * bytesToWrite.size());
      |                                  ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[5]: *** [Makefile:606: mlxlink_cables_commander.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../mtcr_ul -I -I../../mft_utils -I../../mlxreg -I../../mlxlink -I../../include/mtcr_ul -I/usr/include/jsoncpp -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -g -MP -MD -pipe -Werror -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -isystem /usr/local/include -DHAVE_TERMIOS_H -DMST_UL -c mlxlink_eye_opener.cpp -o mlxlink_eye_opener.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../mtcr_ul -I -I../../mft_utils -I../../mlxreg -I../../mlxlink -I../../include/mtcr_ul -I/usr/include/jsoncpp -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -g -MP -MD -pipe -Werror -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -isystem /usr/local/include -DHAVE_TERMIOS_H -DMST_UL -c mlxlink_commander.cpp -o mlxlink_commander.o >/dev/null 2>&1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/mlxlink/modules'
make[4]: *** [Makefile:621: all-recursive] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/mlxlink/modules'
make[3]: *** [Makefile:590: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/mlxlink'
make[2]: *** [Makefile:551: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:438: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: mstflint
Source-Version: 4.17.0+1-1
Done: Tzafrir Cohen <tzafrir@debian.org>

We believe that the bug you reported is fixed in the latest version of
mstflint, 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 984247@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Tzafrir Cohen <tzafrir@debian.org> (supplier of updated mstflint 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 ftpmaster@ftp-master.debian.org)


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

Format: 1.8
Date: Fri, 05 Nov 2021 16:25:00 +0200
Source: mstflint
Architecture: source
Version: 4.17.0+1-1
Distribution: sid
Urgency: medium
Maintainer: Debian HPC Team <debian-hpc@lists.debian.org>
Changed-By: Tzafrir Cohen <tzafrir@debian.org>
Closes: 984247
Changes:
 mstflint (4.17.0+1-1) unstable; urgency=medium
 .
   * New upstream release:
     - array_length.patch removed: merged upstream.
     - riscv.patch removed removed merged upstream.
     - hppa_and_m68k.patch remove: merged upstream.
     - mipsel.patch added (originally from hppa_and_m68k.patch).
   * Add malloc_delete_free.patch (Closes: #984247).
Checksums-Sha1:
 42c2391f110e49b9da4531cc60fc361390adc4b9 2024 mstflint_4.17.0+1-1.dsc
 5270b392baf76768f93ca047236e5def147108e3 5756120 mstflint_4.17.0+1.orig.tar.gz
 84c699d6d780c16c2e8674f5f91a91169a6fb782 15296 mstflint_4.17.0+1-1.debian.tar.xz
 7ad6fe3e5e0eafabe5d153df4d5afecae5405a43 6639 mstflint_4.17.0+1-1_amd64.buildinfo
Checksums-Sha256:
 b8cd202a320bfcb58df0716e4f260db65f8d24f1b478dfdcdb4120420a97b65d 2024 mstflint_4.17.0+1-1.dsc
 d7f00477be60ad0f7c714e7972e566bb77cac5537567d515ae041c85e8616f81 5756120 mstflint_4.17.0+1.orig.tar.gz
 fae2f87b7eddb5270749f0242b41b5dd17715b5b6b4b27199e2a98c4d5c6f445 15296 mstflint_4.17.0+1-1.debian.tar.xz
 095fa20cdb140dc1f843beb8093f0807ba45a07fbf064d5c8700540a0101847b 6639 mstflint_4.17.0+1-1_amd64.buildinfo
Files:
 cd18d2cacb2a3835f139e0c339f1be62 2024 net optional mstflint_4.17.0+1-1.dsc
 b6d74e5d71cbdd2ba7596c1b694c696f 5756120 net optional mstflint_4.17.0+1.orig.tar.gz
 eef73085135dbc047299451f9b05d596 15296 net optional mstflint_4.17.0+1-1.debian.tar.xz
 0ccb720792e5e2d4ce76a9b68afc41e9 6639 net optional mstflint_4.17.0+1-1_amd64.buildinfo

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

iQGzBAEBCAAdFiEEjhGGa0mM+W3ykQJyjv1MLwMloM4FAmGFmE0ACgkQjv1MLwMl
oM6rYQwAocAyYbOLDr2SVmfoNS9q/JM4LXxod3FCUbf33APnvFJcemCKrNNFP/U2
cjF/Q6cl9nAiYatTbrXe7goLjuzMU8aDidFpu3pAIOeQJbB8zPLubZU1Wz8gE9nS
CP0J55wgqBZ2yQTUGmJkp40UkMdnKAbamKcuzf2jZvqeFMOK+FaiLItY04RuXKMV
1TiNBiF1TtW7B1ZoGmJTOB200x2g84dslPAHIjq3nAOPuIb49FsNrivluP6jTC3l
LBC5HR2nxd7wLedI2XpQ6GEqnABtMfO3XsIrdwDx09AdmOCORaqSUZUjSxwfOI4v
XT+TwAPSQqscQ4S40KiK/gBo9dX4PbJW1kpFBV9MihDhcNeoKnx2ZKB6jX8aRKpQ
TP95LvmBTmZHx8M4abMFXKJUs3SjJEz/A5eikM3VDYcKMZMAxq3ksEd371IrhB0t
tcUnCgibuLeo3aUcAfx8+SllpUufQEuPw1Ywn92pKPCjUrzYKVxqbECdEWcgV/7d
bQX24bBE
=qMHU
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: