#1096530 dlt-viewer: ftbfs with GCC-15

#1096530#5
Date:
2025-02-17 17:10:07 UTC
From:
To:
[This bug is NOT targeted to the upcoming trixie 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-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.

The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/dlt-viewer_2.27.0+dfsg-2_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.

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

  apt-get -t=experimental install g++

GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other 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-15/porting_to.html

[...]
/build/reproducible-path/dlt-viewer-2.27.0+dfsg/qdlt/qdltoptmanager.cpp:122:58: note: ‘QStringList’ {aka ‘QList<QString>’} temporary created here
  122 |         const QString& arg = m_parser.positionalArguments().at(0);
      |                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/build/reproducible-path/dlt-viewer-2.27.0+dfsg/qdlt/qdltimporter.cpp: In member function ‘void QDltImporter::dltIpcFromMF4(QString)’:
/build/reproducible-path/dlt-viewer-2.27.0+dfsg/qdlt/qdltimporter.cpp:198:28: warning: variable ‘dt_pos’ set but not used [-Wunused-but-set-variable]
  198 |     quint64 pos=0,hd_pos=0,dt_pos=0;
      |                            ^~~~~~
/build/reproducible-path/dlt-viewer-2.27.0+dfsg/qdlt/fieldnames.cpp: In static member function ‘static QString FieldNames::getName(Fields, QDltSettingsManager*)’:
/build/reproducible-path/dlt-viewer-2.27.0+dfsg/qdlt/fieldnames.cpp:27:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
   27 |         switch(settings->showApIdDesc){
      |         ^~~~~~
/build/reproducible-path/dlt-viewer-2.27.0+dfsg/qdlt/fieldnames.cpp:33:5: note: here
   33 |     case ContextId:
      |     ^~~~
/build/reproducible-path/dlt-viewer-2.27.0+dfsg/qdlt/fieldnames.cpp:38:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
   38 |         switch(settings->showCtIdDesc){
      |         ^~~~~~
/build/reproducible-path/dlt-viewer-2.27.0+dfsg/qdlt/fieldnames.cpp:44:5: note: here
   44 |     case SessionId:
      |     ^~~~
/build/reproducible-path/dlt-viewer-2.27.0+dfsg/qdlt/fieldnames.cpp:49:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
   49 |         switch(settings->showSessionName){
      |         ^~~~~~
/build/reproducible-path/dlt-viewer-2.27.0+dfsg/qdlt/fieldnames.cpp:55:5: note: here
   55 |     case Type:
      |     ^~~~
/build/reproducible-path/dlt-viewer-2.27.0+dfsg/qdlt/qdltexporter.cpp: In member function ‘bool QDltExporter::startExport()’:
/build/reproducible-path/dlt-viewer-2.27.0+dfsg/qdlt/qdltexporter.cpp:144:56: warning: ‘file’ may be used uninitialized [-Wmaybe-uninitialized]
  144 |                 if(!filterList->isEmpty() && file->open(QIODevice::WriteOnly | QIODevice::Text))
      |                                              ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/reproducible-path/dlt-viewer-2.27.0+dfsg/qdlt/qdltexporter.cpp:134:24: note: ‘file’ was declared here
  134 |                 QFile *file;
      |                        ^~~~
[ 25%] Linking CXX shared library libqdlt.so
cd /build/reproducible-path/dlt-viewer-2.27.0+dfsg/obj-x86_64-linux-gnu/qdlt && /usr/bin/cmake -E cmake_link_script CMakeFiles/qdlt.dir/link.txt --verbose=1
/usr/bin/ld: CMakeFiles/qdlt.dir/qdltipconnection.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qdlt.dir/qdlt_autogen/mocs_compilation.cpp.o:(.rodata+0x714): first defined here
/usr/bin/ld: CMakeFiles/qdlt.dir/qdlttcpconnection.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qdlt.dir/qdlt_autogen/mocs_compilation.cpp.o:(.rodata+0x714): first defined here
/usr/bin/ld: CMakeFiles/qdlt.dir/qdltudpconnection.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qdlt.dir/qdlt_autogen/mocs_compilation.cpp.o:(.rodata+0x714): first defined here
/usr/bin/ld: CMakeFiles/qdlt.dir/qdltserialconnection.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qdlt.dir/qdlt_autogen/mocs_compilation.cpp.o:(.rodata+0x714): first defined here
/usr/bin/ld: CMakeFiles/qdlt.dir/qdltmsg.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qdlt.dir/qdlt_autogen/mocs_compilation.cpp.o:(.rodata+0x714): first defined here
/usr/bin/ld: CMakeFiles/qdlt.dir/qdltfilter.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qdlt.dir/qdlt_autogen/mocs_compilation.cpp.o:(.rodata+0x714): first defined here
/usr/bin/ld: CMakeFiles/qdlt.dir/qdltfile.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qdlt.dir/qdlt_autogen/mocs_compilation.cpp.o:(.rodata+0x714): first defined here
/usr/bin/ld: CMakeFiles/qdlt.dir/qdltcontrol.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qdlt.dir/qdlt_autogen/mocs_compilation.cpp.o:(.rodata+0x714): first defined here
/usr/bin/ld: CMakeFiles/qdlt.dir/qdltconnection.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qdlt.dir/qdlt_autogen/mocs_compilation.cpp.o:(.rodata+0x714): first defined here
/usr/bin/ld: CMakeFiles/qdlt.dir/qdltbase.cpp.o:(.rodata+0x10): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qdlt.dir/qdlt_autogen/mocs_compilation.cpp.o:(.rodata+0x714): first defined here
/usr/bin/ld: CMakeFiles/qdlt.dir/qdltargument.cpp.o:(.rodata+0x130): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qdlt.dir/qdlt_autogen/mocs_compilation.cpp.o:(.rodata+0x714): first defined here
/usr/bin/ld: CMakeFiles/qdlt.dir/qdltfilterlist.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qdlt.dir/qdlt_autogen/mocs_compilation.cpp.o:(.rodata+0x714): first defined here
/usr/bin/ld: CMakeFiles/qdlt.dir/qdltfilterindex.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qdlt.dir/qdlt_autogen/mocs_compilation.cpp.o:(.rodata+0x714): first defined here
/usr/bin/ld: CMakeFiles/qdlt.dir/qdltdefaultfilter.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qdlt.dir/qdlt_autogen/mocs_compilation.cpp.o:(.rodata+0x714): first defined here
/usr/bin/ld: CMakeFiles/qdlt.dir/qdltmessagedecoder.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qdlt.dir/qdlt_autogen/mocs_compilation.cpp.o:(.rodata+0x714): first defined here
/usr/bin/ld: CMakeFiles/qdlt.dir/qdltpluginmanager.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qdlt.dir/qdlt_autogen/mocs_compilation.cpp.o:(.rodata+0x714): first defined here
/usr/bin/ld: CMakeFiles/qdlt.dir/qdltplugin.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qdlt.dir/qdlt_autogen/mocs_compilation.cpp.o:(.rodata+0x714): first defined here
/usr/bin/ld: CMakeFiles/qdlt.dir/qdltsegmentedmsg.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qdlt.dir/qdlt_autogen/mocs_compilation.cpp.o:(.rodata+0x714): first defined here
/usr/bin/ld: CMakeFiles/qdlt.dir/qdltoptmanager.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qdlt.dir/qdlt_autogen/mocs_compilation.cpp.o:(.rodata+0x714): first defined here
/usr/bin/ld: CMakeFiles/qdlt.dir/qdltsettingsmanager.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qdlt.dir/qdlt_autogen/mocs_compilation.cpp.o:(.rodata+0x714): first defined here
/usr/bin/ld: CMakeFiles/qdlt.dir/qdltexporter.cpp.o:(.rodata+0x24): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qdlt.dir/qdlt_autogen/mocs_compilation.cpp.o:(.rodata+0x714): first defined here
/usr/bin/ld: CMakeFiles/qdlt.dir/qdltimporter.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qdlt.dir/qdlt_autogen/mocs_compilation.cpp.o:(.rodata+0x714): first defined here
/usr/bin/ld: CMakeFiles/qdlt.dir/fieldnames.cpp.o:(.rodata+0xf4): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qdlt.dir/qdlt_autogen/mocs_compilation.cpp.o:(.rodata+0x714): first defined here
/usr/bin/ld: CMakeFiles/qdlt.dir/dltmessagematcher.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qdlt.dir/qdlt_autogen/mocs_compilation.cpp.o:(.rodata+0x714): first defined here
collect2: error: ld returned 1 exit status
/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/build/reproducible-path/dlt-viewer-2.27.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--dependency-file=CMakeFiles/qdlt.dir/link.d -Wl,-z,relro -shared -Wl,-soname,libqdlt.so -o libqdlt.so CMakeFiles/qdlt.dir/qdlt_autogen/mocs_compilation.cpp.o CMakeFiles/qdlt.dir/dlt_common.c.o CMakeFiles/qdlt.dir/qdltipconnection.cpp.o CMakeFiles/qdlt.dir/qdlttcpconnection.cpp.o CMakeFiles/qdlt.dir/qdltudpconnection.cpp.o CMakeFiles/qdlt.dir/qdltserialconnection.cpp.o CMakeFiles/qdlt.dir/qdltmsg.cpp.o CMakeFiles/qdlt.dir/qdltfilter.cpp.o CMakeFiles/qdlt.dir/qdltfile.cpp.o CMakeFiles/qdlt.dir/qdltcontrol.cpp.o CMakeFiles/qdlt.dir/qdltconnection.cpp.o CMakeFiles/qdlt.dir/qdltbase.cpp.o CMakeFiles/qdlt.dir/qdltargument.cpp.o CMakeFiles/qdlt.dir/qdltfilterlist.cpp.o CMakeFiles/qdlt.dir/qdltfilterindex.cpp.o CMakeFiles/qdlt.dir/qdltdefaultfilter.cpp.o CMakeFiles/qdlt.dir/qdltmessagedecoder.cpp.o CMakeFiles/qdlt.dir/qdltpluginmanager.cpp.o CMakeFiles/qdlt.dir/qdltplugin.cpp.o CMakeFiles/qdlt.dir/qdltsegmentedmsg.cpp.o CMakeFiles/qdlt.dir/qdltoptmanager.cpp.o CMakeFiles/qdlt.dir/qdltsettingsmanager.cpp.o CMakeFiles/qdlt.dir/qdltexporter.cpp.o CMakeFiles/qdlt.dir/qdltimporter.cpp.o CMakeFiles/qdlt.dir/fieldnames.cpp.o CMakeFiles/qdlt.dir/dltmessagematcher.cpp.o  /usr/lib/x86_64-linux-gnu/libQt6Network.so.6.7.2 /usr/lib/x86_64-linux-gnu/libQt6SerialPort.so.6.7.2 /usr/lib/x86_64-linux-gnu/libQt6Core.so.6.7.2
make[3]: *** [qdlt/CMakeFiles/qdlt.dir/build.make:514: qdlt/libqdlt.so] Error 1
make[3]: Leaving directory '/build/reproducible-path/dlt-viewer-2.27.0+dfsg/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:633: qdlt/CMakeFiles/qdlt.dir/all] Error 2
make[2]: Leaving directory '/build/reproducible-path/dlt-viewer-2.27.0+dfsg/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:159: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/dlt-viewer-2.27.0+dfsg/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:23: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

#1096530#10
Date:
2025-07-28 05:49:48 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
dlt-viewer, 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 1096530@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gianfranco Costamagna <locutusofborg@debian.org> (supplier of updated dlt-viewer 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)
Format: 1.8
Date: Mon, 28 Jul 2025 07:31:05 +0200
Source: dlt-viewer
Built-For-Profiles: noudeb
Architecture: source
Version: 2.28.0-2
Distribution: experimental
Urgency: medium
Maintainer: Stefan Potyra <stefan@potyra.de>
Changed-By: Gianfranco Costamagna <locutusofborg@debian.org>
Closes: 1096530
Changes:
 dlt-viewer (2.28.0-2) experimental; urgency=medium
 .
   * Edit control, remove extra space
   * This version should also build fine with gcc-15 (Closes: #1096530)
Checksums-Sha1:
 21b7a9b9cd1e481779f68519c9567b49a45a32ac 2198 dlt-viewer_2.28.0-2.dsc
 93c01588b95f4e4e08ffb670540811ab2d1b0b04 4220 dlt-viewer_2.28.0-2.debian.tar.xz
 9d0efa040770454b50f94bfd56bbf04e0637270b 8489 dlt-viewer_2.28.0-2_source.buildinfo
Checksums-Sha256:
 a3ca320dc62bbfe02eaed0772dc23205fa307ba0c0952488b96213ee0063be4b 2198 dlt-viewer_2.28.0-2.dsc
 3c4cf01db560ae4a278bb0f2337bd793f8076d0247f188b0d4f13f92e83aa434 4220 dlt-viewer_2.28.0-2.debian.tar.xz
 a8e2e5a8df725f41556cfca383893ae52fe234e04437f294a9cc7ef0ce64de46 8489 dlt-viewer_2.28.0-2_source.buildinfo
Files:
 55b8e01c4fcfd0dbd6b41d26424ca10a 2198 devel optional dlt-viewer_2.28.0-2.dsc
 0d826b10a7a3a4055c6917e638c416cc 4220 devel optional dlt-viewer_2.28.0-2.debian.tar.xz
 963dcffd72b91203595bcdb6ec9adecd 8489 devel optional dlt-viewer_2.28.0-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEkpeKbhleSSGCX3/w808JdE6fXdkFAmiHC2IACgkQ808JdE6f
XdkoNxAAweWaYmeKPDUm6J7fori/HTiwNs4aXYfKyy1mJRqH1RCl8XjSgzK4oW39
Pwv5elxR1uQLIg6syHPSdLBpQRdcJUpUozBPtKVM0nDBfwhWFghxYGe958lZl/GO
5Fnt8zARlhojM1mYHnLHTRI0sH629/3cJYHmAk8+ZZ2dsC5jBD7C+szwUOMhM7s/
yPP5M0sUTX82sVktzKE9MRpGWt52TZhtwdplRA+bDO56jC/wOKamD+GG8D2fruuN
WHjPIddiqYlRaJSJ3t8hKuEQ8wnF+M4HVVhlnNAR/wHsyTi2a+cfmj9hH201e+XZ
4gm+H0VG1sHr4uSyM0SljBI1zUI82CIL8s+2xYpcsXOLnNqmW8/ynQUmQt6JT8jM
vNs3G45OC3GQxix/b9HladSKHSJxWhLi4Q/1dCGK5uUic+rJf7PmGN9e+IaXBJ59
bkOd+V4uUhx1DQFDHl3Yw0wV/BWWZCFrQun3hr+2rfDRJHfgtT5HsXKX5A6NMGXt
ENPwMzUPXGDDecFDqLc/GlMpS5zeQkkHTT1MsK1l7Jwbw/aRsDgTha+mO54zP4uW
oTT7UZfTB3sThkroqagkVnSo2/lABu7xUIBcvx62a0+0wl+dd+TZqjZPgvRh6vqB
LLCNTHx0HOzKChxnyv1lyZAvnIzX+BlUcMfVhttQDQySwe9MrIU=
=//gp
-----END PGP SIGNATURE-----