Your message dated Wed, 21 Sep 2022 23:24:32 +0000
with message-id <e1ob94y-00ajmh...@fasolo.debian.org>
and subject line Bug#1012912: fixed in diagnostics 0.3.3-12.3
has caused the Debian Bug report #1012912,
regarding diagnostics: ftbfs with GCC-12
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.)
--
1012912: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012912
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:diagnostics
Version: 0.3.3-12.2
Severity: normal
Tags: sid bookworm
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-12
[This bug is targeted to the upcoming bookworm 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-12/g++-12, but succeeds to build with gcc-11/g++-11. The
severity of this report will be raised before the bookworm release.
The full build log can be found at:
http://qa-logs.debian.net/2022/06/09/gcc12/diagnostics_0.3.3-12.2_unstable_gcc12.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.
[...]
libtool: compile: x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I../..
-DDEBUG__LEVEL__=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wall -Werror -pedantic -Wno-unused-function -MT
test_data.lo -MD -MP -MF .deps/test_data.Tpo -c test_data.cpp -o test_data.o
>/dev/null 2>&1
mv -f .deps/test_data.Tpo .deps/test_data.Plo
/bin/bash ../../libtool --tag=CXX --mode=compile x86_64-linux-gnu-g++
-DHAVE_CONFIG_H -I../.. -DDEBUG__LEVEL__=2 -Wdate-time -D_FORTIFY_SOURCE=2
-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wall -Werror -pedantic -Wno-unused-function -MT
test_exception.lo -MD -MP -MF .deps/test_exception.Tpo -c -o test_exception.lo
test_exception.cpp
libtool: compile: x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I../..
-DDEBUG__LEVEL__=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wall -Werror -pedantic -Wno-unused-function -MT
test_exception.lo -MD -MP -MF .deps/test_exception.Tpo -c test_exception.cpp
-fPIC -DPIC -o .libs/test_exception.o
libtool: compile: x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I../..
-DDEBUG__LEVEL__=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wall -Werror -pedantic -Wno-unused-function -MT
test_exception.lo -MD -MP -MF .deps/test_exception.Tpo -c test_exception.cpp -o
test_exception.o >/dev/null 2>&1
mv -f .deps/test_exception.Tpo .deps/test_exception.Plo
/bin/bash ../../libtool --tag=CXX --mode=compile x86_64-linux-gnu-g++
-DHAVE_CONFIG_H -I../.. -DDEBUG__LEVEL__=2 -Wdate-time -D_FORTIFY_SOURCE=2
-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wall -Werror -pedantic -Wno-unused-function -MT
test_suite.lo -MD -MP -MF .deps/test_suite.Tpo -c -o test_suite.lo
test_suite.cpp
libtool: compile: x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I../..
-DDEBUG__LEVEL__=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wall -Werror -pedantic -Wno-unused-function -MT
test_suite.lo -MD -MP -MF .deps/test_suite.Tpo -c test_suite.cpp -fPIC -DPIC
-o .libs/test_suite.o
libtool: compile: x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I../..
-DDEBUG__LEVEL__=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wall -Werror -pedantic -Wno-unused-function -MT
test_suite.lo -MD -MP -MF .deps/test_suite.Tpo -c test_suite.cpp -o
test_suite.o >/dev/null 2>&1
mv -f .deps/test_suite.Tpo .deps/test_suite.Plo
/bin/bash ../../libtool --tag=CXX --mode=compile x86_64-linux-gnu-g++
-DHAVE_CONFIG_H -I../.. -DDEBUG__LEVEL__=2 -Wdate-time -D_FORTIFY_SOURCE=2
-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wall -Werror -pedantic -Wno-unused-function -MT
test_system_exception.lo -MD -MP -MF .deps/test_system_exception.Tpo -c -o
test_system_exception.lo test_system_exception.cpp
libtool: compile: x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I../..
-DDEBUG__LEVEL__=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wall -Werror -pedantic -Wno-unused-function -MT
test_system_exception.lo -MD -MP -MF .deps/test_system_exception.Tpo -c
test_system_exception.cpp -fPIC -DPIC -o .libs/test_system_exception.o
libtool: compile: x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I../..
-DDEBUG__LEVEL__=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wall -Werror -pedantic -Wno-unused-function -MT
test_system_exception.lo -MD -MP -MF .deps/test_system_exception.Tpo -c
test_system_exception.cpp -o test_system_exception.o >/dev/null 2>&1
mv -f .deps/test_system_exception.Tpo .deps/test_system_exception.Plo
/bin/bash ../../libtool --tag=CXX --mode=link x86_64-linux-gnu-g++ -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wall -Werror -pedantic -Wno-unused-function
-Wl,-z,relro -lACE -lpthread -o libunittest.la name_separators.lo
std_test_case.lo stream_test_system_main.lo test_case.lo test_data.lo
test_exception.lo test_suite.lo test_system_exception.lo
libtool: link: x86_64-linux-gnu-ar cr .libs/libunittest.a
.libs/name_separators.o .libs/std_test_case.o .libs/stream_test_system_main.o
.libs/test_case.o .libs/test_data.o .libs/test_exception.o .libs/test_suite.o
.libs/test_system_exception.o
libtool: link: x86_64-linux-gnu-ranlib .libs/libunittest.a
libtool: link: ( cd ".libs" && rm -f "libunittest.la" && ln -s
"../libunittest.la" "libunittest.la" )
make[7]: Leaving directory '/<<PKGBUILDDIR>>/diagnostics/unittest'
make[6]: Leaving directory '/<<PKGBUILDDIR>>/diagnostics/unittest'
make[5]: Leaving directory '/<<PKGBUILDDIR>>/diagnostics/unittest'
Making all in util
make[5]: Entering directory '/<<PKGBUILDDIR>>/diagnostics/util'
rm -f *.o *.lo *.la
rm -f diag_stamp_*
touch diag_stamp_2
make all-recursive
make[6]: Entering directory '/<<PKGBUILDDIR>>/diagnostics/util'
make[7]: Entering directory '/<<PKGBUILDDIR>>/diagnostics/util'
/bin/bash ../../libtool --tag=CXX --mode=compile x86_64-linux-gnu-g++
-DHAVE_CONFIG_H -I../.. -DDEBUG__LEVEL__=2 -Wdate-time -D_FORTIFY_SOURCE=2
-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wall -Werror -pedantic -Wno-unused-function -MT
diff.lo -MD -MP -MF .deps/diff.Tpo -c -o diff.lo diff.cpp
libtool: compile: x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I../..
-DDEBUG__LEVEL__=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wall -Werror -pedantic -Wno-unused-function -MT
diff.lo -MD -MP -MF .deps/diff.Tpo -c diff.cpp -fPIC -DPIC -o .libs/diff.o
libtool: compile: x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I../..
-DDEBUG__LEVEL__=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wall -Werror -pedantic -Wno-unused-function -MT
diff.lo -MD -MP -MF .deps/diff.Tpo -c diff.cpp -o diff.o >/dev/null 2>&1
mv -f .deps/diff.Tpo .deps/diff.Plo
/bin/bash ../../libtool --tag=CXX --mode=compile x86_64-linux-gnu-g++
-DHAVE_CONFIG_H -I../.. -DDEBUG__LEVEL__=2 -Wdate-time -D_FORTIFY_SOURCE=2
-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wall -Werror -pedantic -Wno-unused-function -MT
diff_generator.lo -MD -MP -MF .deps/diff_generator.Tpo -c -o diff_generator.lo
diff_generator.cpp
libtool: compile: x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I../..
-DDEBUG__LEVEL__=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wall -Werror -pedantic -Wno-unused-function -MT
diff_generator.lo -MD -MP -MF .deps/diff_generator.Tpo -c diff_generator.cpp
-fPIC -DPIC -o .libs/diff_generator.o
libtool: compile: x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I../..
-DDEBUG__LEVEL__=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wall -Werror -pedantic -Wno-unused-function -MT
diff_generator.lo -MD -MP -MF .deps/diff_generator.Tpo -c diff_generator.cpp -o
diff_generator.o >/dev/null 2>&1
mv -f .deps/diff_generator.Tpo .deps/diff_generator.Plo
/bin/bash ../../libtool --tag=CXX --mode=compile x86_64-linux-gnu-g++
-DHAVE_CONFIG_H -I../.. -DDEBUG__LEVEL__=2 -Wdate-time -D_FORTIFY_SOURCE=2
-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wall -Werror -pedantic -Wno-unused-function -MT
marshaling.lo -MD -MP -MF .deps/marshaling.Tpo -c -o marshaling.lo
marshaling.cpp
libtool: compile: x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I../..
-DDEBUG__LEVEL__=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wall -Werror -pedantic -Wno-unused-function -MT
marshaling.lo -MD -MP -MF .deps/marshaling.Tpo -c marshaling.cpp -fPIC -DPIC
-o .libs/marshaling.o
marshaling.cpp: In function ‘bool diagnostics::internal::read(std::istream&,
std::string&)’:
marshaling.cpp:77:16: error: ‘void operator delete(void*, std::size_t)’ called
on pointer returned from a mismatched allocation function
[-Werror=mismatched-new-delete]
77 | delete target_buffer;
| ^~~~~~~~~~~~~
marshaling.cpp:74:47: note: returned from ‘void* operator new [](std::size_t)’
74 | char * const target_buffer(new char[length]);
| ^
marshaling.cpp:83:12: error: ‘void operator delete(void*, std::size_t)’ called
on pointer returned from a mismatched allocation function
[-Werror=mismatched-new-delete]
83 | delete target_buffer;
| ^~~~~~~~~~~~~
marshaling.cpp:74:47: note: returned from ‘void* operator new [](std::size_t)’
74 | char * const target_buffer(new char[length]);
| ^
cc1plus: all warnings being treated as errors
make[7]: *** [Makefile:781: marshaling.lo] Error 1
make[7]: Leaving directory '/<<PKGBUILDDIR>>/diagnostics/util'
make[6]: *** [Makefile:842: all-recursive] Error 1
make[6]: Leaving directory '/<<PKGBUILDDIR>>/diagnostics/util'
make[5]: *** [Makefile:669: all] Error 2
make[5]: Leaving directory '/<<PKGBUILDDIR>>/diagnostics/util'
make[4]: *** [Makefile:826: all-recursive] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/diagnostics'
make[3]: *** [Makefile:671: all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/diagnostics'
make[2]: *** [Makefile:540: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:471: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j1 returned exit code 2
make: *** [debian/rules:15: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--- End Message ---
--- Begin Message ---
Source: diagnostics
Source-Version: 0.3.3-12.3
Done: Sudip Mukherjee <sudipm.mukher...@gmail.com>
We believe that the bug you reported is fixed in the latest version of
diagnostics, 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 1012...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sudip Mukherjee <sudipm.mukher...@gmail.com> (supplier of updated diagnostics
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: SHA512
Format: 1.8
Date: Mon, 19 Sep 2022 21:46:06 +0100
Source: diagnostics
Architecture: source
Version: 0.3.3-12.3
Distribution: unstable
Urgency: medium
Maintainer: Michael Tautschnig <m...@debian.org>
Changed-By: Sudip Mukherjee <sudipm.mukher...@gmail.com>
Closes: 1012912
Changes:
diagnostics (0.3.3-12.3) unstable; urgency=medium
.
* Non-maintainer upload.
* Fix ftbfs with GCC-12. (Closes: #1012912)
- Thanks Adnan from Codethink for helping with the fix.
Checksums-Sha1:
543d494335ca2ac936e7e0a550c695e45e4c969d 1960 diagnostics_0.3.3-12.3.dsc
ef43941e290e28cfa5f2a997925461c0bf46872a 14452
diagnostics_0.3.3-12.3.debian.tar.xz
989216a15451184d4313566d3c274119ba61f285 6957
diagnostics_0.3.3-12.3_amd64.buildinfo
Checksums-Sha256:
114e17967c8d0062ed5be24e16e7b53ec7fc41eef29a0c64591fa4aa3fa1dc57 1960
diagnostics_0.3.3-12.3.dsc
7405df6583b8c0b57093a81489c3b52a9ff44e08755ef56d33266b239af0f9b9 14452
diagnostics_0.3.3-12.3.debian.tar.xz
92216eeede100a26297f238fa2eac61e842c6c619621aae3d694b1cba1dcf96c 6957
diagnostics_0.3.3-12.3_amd64.buildinfo
Files:
3f2a52815cb656f8dd4489a43addea48 1960 libs extra diagnostics_0.3.3-12.3.dsc
4798dc945da5f29c36a2133c22909a05 14452 libs extra
diagnostics_0.3.3-12.3.debian.tar.xz
14127304d6261e0fef6fa3f47241a246 6957 libs extra
diagnostics_0.3.3-12.3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEuDQJkCg9jZvBlJrHR5mjUUbRKzUFAmMo1sAACgkQR5mjUUbR
KzXK/A//cqKoviTguQw3U/b9nTYwMyajLs3DIpquTp16s7qX9k5Nk/eLQYt0fkSD
WvOpUTc0x/s50KsDCpRsJB7TAIrFXa2IEp+pTm1d/V8YHb709eKdSHM2+3c+eqcG
kfjoozvQKpb5TsTWNIRyvASKWjm5P+X0TwuY7ePEx1Sw+cGYSR/++DVuRwU6K8jJ
WowHSJLeQO2AP25LPta/yUPfEf5idAISYKXvfISCmS041EqoTTsb4pdEMbS/YGDZ
rXPylCcO9z3usaV16pBwtQoT65aM1owX5NeplGKl2vqftT2sOZ0VitZVMwPfMZHj
wKwgEffKuF1Eh5p/BTx3rOITlxS9tquytdofu1uDlKXsoaoQOhs5EUFfrQ/28058
d2RVs/VSdiY9q805DH71txv6vk5zFMCRmYIgXht1Glq5nyo8QfX3ri/Q/fVUU6Ol
RzkLptbmGVhNNreqY3Zyz3NZ+wtDW+u3pLUUCVqkdcqt7YlgXOiW3+CQ7wBpYhiR
ffQBnd8EhK9o3IH8iQzwGJUcqSBNg97HIR1rVpQG2bP1JMUJNqggmNJ7hzdsagvB
uq4CXniNOlYUb9bQDCzoNoCaZsdKUcSE8SMxbirfyJ6OgJOj6BA38sASWWFs2LVf
N6MZutQVUj+ymJr8NMtv5I7W4vyO2Xlh1YWWFQ6/kUJ5wSIYDYU=
=UWf1
-----END PGP SIGNATURE-----
--- End Message ---