[Pkg-pascal-devel] Bug#1097255: libqt6pas: ftbfs with GCC-15

Matthias Klose doko at debian.org
Mon Feb 17 17:33:20 GMT 2025


Package: src:libqt6pas
Version: 2.1
Severity: important
Tags: sid forky
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-15

[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/libqt6pas_2.1_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

[...]
/usr/bin/ld: tmp/moc_qwindow_hook.o:(.rodata+0x668): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qwidget_hook.o:(.rodata+0xb4): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qlayout_hook.o:(.rodata+0x58): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qstackedlayout_hook.o:(.rodata+0x10c): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qaction_hook.o:(.rodata+0x1b0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qactiongroup_hook.o:(.rodata+0x114): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qshortcut_hook.o:(.rodata+0xdc): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qabstracttextdocumentlayout_hook.o:(.rodata+0x2a8): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qstandarditemmodel_hook.o:(.rodata+0x13c): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qframe_hook.o:(.rodata+0x54): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qstackedwidget_hook.o:(.rodata+0x120): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qabstractscrollarea_hook.o:(.rodata+0x64): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qabstractslider_hook.o:(.rodata+0x250): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qscrollbar_hook.o:(.rodata+0x58): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qmenu_hook.o:(.rodata+0x15c): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qmenubar_hook.o:(.rodata+0x10c): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qbuttongroup_hook.o:(.rodata+0x238): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qabstractbutton_hook.o:(.rodata+0x1a4): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qpushbutton_hook.o:(.rodata+0x5c): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qcompleter_hook.o:(.rodata+0x198): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qlineedit_hook.o:(.rodata+0x24c): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qplaintextedit_hook.o:(.rodata+0x3b8): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qtextedit_hook.o:(.rodata+0x264): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qtabwidget_hook.o:(.rodata+0x10c): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qmainwindow_hook.o:(.rodata+0x148): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qtoolbar_hook.o:(.rodata+0x388): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qlcdnumber_hook.o:(.rodata+0x98): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qabstractspinbox_hook.o:(.rodata+0xa4): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qspinbox_hook.o:(.rodata+0x228): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qsplitter_hook.o:(.rodata+0x138): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qcombobox_hook.o:(.rodata+0x2a4): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qcheckbox_hook.o:(.rodata+0xb0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qslider_hook.o:(.rodata+0x58): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qtextbrowser_hook.o:(.rodata+0x258): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qlabel_hook.o:(.rodata+0x100): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qgroupbox_hook.o:(.rodata+0x124): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qdockwidget_hook.o:(.rodata+0x290): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qtabbar_hook.o:(.rodata+0x158): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qprogressbar_hook.o:(.rodata+0xac): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qstatusbar_hook.o:(.rodata+0xac): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qtoolbox_hook.o:(.rodata+0xac): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qtoolbutton_hook.o:(.rodata+0xc0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qmdiarea_hook.o:(.rodata+0xcc): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qmdisubwindow_hook.o:(.rodata+0x13c): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qcalendarwidget_hook.o:(.rodata+0x198): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qfontcombobox_hook.o:(.rodata+0xb0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qabstractitemview_hook.o:(.rodata+0x218): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qlistview_hook.o:(.rodata+0x58): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qlistwidget_hook.o:(.rodata+0x420): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qtreeview_hook.o:(.rodata+0x110): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qtreewidget_hook.o:(.rodata+0x420): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qheaderview_hook.o:(.rodata+0x424): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qabstractitemdelegate_hook.o:(.rodata+0x1f4): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qtableview_hook.o:(.rodata+0x58): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qtablewidget_hook.o:(.rodata+0x628): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qdialog_hook.o:(.rodata+0x110): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qfiledialog_hook.o:(.rodata+0x218): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qprogressdialog_hook.o:(.rodata+0x9c): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qabstractprintdialog_hook.o:(.rodata+0x64): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qprintdialog_hook.o:(.rodata+0xbc): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qprintpreviewdialog_hook.o:(.rodata+0xc8): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qprintpreviewwidget_hook.o:(.rodata+0x104): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qsystemtrayicon_hook.o:(.rodata+0x114): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
/usr/bin/ld: tmp/moc_qgraphicsscene_hook.o:(.rodata+0x1ac): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; tmp/qobject_hook_c.o:(.rodata+0x0): first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:1427: libQt6Pas.so.6.2.8] Error 1
make[1]: Leaving directory '/build/reproducible-path/libqt6pas-2.1/cbindings'
dh_auto_build: error: cd cbindings && make -j8 returned exit code 2
make: *** [debian/rules:22: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Pkg-pascal-devel mailing list