Package: src:texmacs Version: 1:2.1.4+ds-3 Severity: important Tags: sid forky User: debian-...@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/texmacs_2.1.4+ds-3_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 [...] | ^~~~~~~~~~~~ ./Plugins/Qt/QTMWidget.cpp:672:46: warning: ‘qreal QTabletEvent::hiResGlobalY() const’ is deprecated: use globalPosF().y() [-Wdeprecated-declarations] 672 | double y= point.y() + event->hiResGlobalY() - event->globalY(); | ~~~~~~~~~~~~~~~~~~~^~ /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:314:18: note: declared here 314 | inline qreal hiResGlobalY() const { return mGPos.y(); } | ^~~~~~~~~~~~ ./Plugins/Qt/QTMWidget.cpp: In member function ‘virtual void QTMWidget::wheelEvent(QWheelEvent*)’: ./Plugins/Qt/QTMWidget.cpp:1005:30: warning: ‘QPoint QWheelEvent::pos() const’ is deprecated: Use position() [-Wdeprecated-declarations] 1005 | QPoint point= event->pos() + origin(); | ~~~~~~~~~~^~ /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:225:19: note: declared here 225 | inline QPoint pos() const { return p.toPoint(); } | ^~~ ./Plugins/Qt/QTMWidget.cpp:1022:21: warning: ‘int QWheelEvent::delta() const’ is deprecated: Use angleDelta() [-Wdeprecated-declarations] 1022 | if (event->delta() > 0) { | ~~~~~~~~~~~~^~ /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:219:16: note: declared here 219 | inline int delta() const { return qt4D; } | ^~~~~ g++ -ISystem -ISystem/Boot -ISystem/Classes -ISystem/Files -ISystem/Link -ISystem/Misc -ISystem/Language -IKernel/Abstractions -IKernel/Containers -IKernel/Types -IData/Convert -IData/Drd -IData/History -IData/Observers -IData/Document -IData/String -IData/Tmfs -IData/Tree -IData/Parser -IScheme -IGraphics/Bitmap_fonts -IGraphics/Fonts -IGraphics/Gui -IGraphics/Mathematics -IGraphics/Renderer -IGraphics/Handwriting -IGraphics/Types -IGraphics/Pictures -IGraphics/Spacial -IGraphics/Colors -IPlugins -IPlugins/Unix -IPlugins/Pdf/LibAesgm -I/usr/include/freetype2 -I/usr/include/libpng16 -pipe -O2 -Wall -Wextra -fPIC -std=c++11 -Wdate-time -D_FORTIFY_SOURCE=2 -include config.h -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -D_REENTRANT -DQTTEXMACS -Wall -Wno-return-type -O3 -fexpensive-optimizations -g -O2 -ffile-prefix-map=/build/reproducible-path/texmacs-2.1.4+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c ./Plugins/Pdf/PDFWriter/StateWriter.cpp -o Objects/StateWriter.o In file included from ./Plugins/Qt/qt_tm_widget.hpp:15, from ./Plugins/Qt/QTMWindow.hpp:17, from ./Plugins/Qt/QTMWindow.cpp:12: Kernel/Containers/list.hpp:44:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 44 | inline list_rep<T> (T item2, list<T> next2): item(item2), next(next2) { | ^ Kernel/Containers/list.hpp:44:23: note: remove the ‘< >’ Kernel/Containers/list.hpp:46:10: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 46 | inline ~list_rep<T> () { TM_DEBUG(list_count--); } | ^ Kernel/Containers/list.hpp:46:10: note: remove the ‘< >’ In file included from Kernel/Abstractions/resource.hpp:14, from Graphics/Bitmap_fonts/bitmap_font.hpp:14, from Graphics/Renderer/renderer.hpp:14, from Graphics/Gui/widget.hpp:19, from ./Plugins/Qt/qt_widget.hpp:16, from ./Plugins/Qt/qt_tm_widget.hpp:17: Kernel/Containers/hashmap.hpp:35:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 35 | hashentry<T,U> () { } | ^ Kernel/Containers/hashmap.hpp:35:18: note: remove the ‘< >’ Kernel/Containers/hashmap.hpp:36:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 36 | hashentry<T,U> (int code, T key2, U im2); | ^ Kernel/Containers/hashmap.hpp:36:18: note: remove the ‘< >’ Kernel/Containers/hashmap.hpp:48:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 48 | inline hashmap_rep<T,U>(U init2, int n2=1, int max2=1): | ^ Kernel/Containers/hashmap.hpp:48:27: note: remove the ‘< >’ Kernel/Containers/hashmap.hpp:51:10: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 51 | inline ~hashmap_rep<T,U> () { tm_delete_array (a); } | ^ Kernel/Containers/hashmap.hpp:51:10: note: remove the ‘< >’ Kernel/Abstractions/resource.hpp:18:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 18 | inline rep<T> (string res_name2):res_name (res_name2) { | ^~~~~~ Kernel/Abstractions/resource.hpp:18:18: note: remove the ‘< >’ Kernel/Abstractions/resource.hpp:20:18: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 20 | inline virtual ~rep<T> () { | ^ Kernel/Abstractions/resource.hpp:20:18: note: remove the ‘< >’ make[2]: *** [makefile:345: Objects/QTMWidget.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/build/reproducible-path/texmacs-2.1.4+ds/src' make[1]: *** [Makefile:62: TEXMACS] Error 2 make[1]: Leaving directory '/build/reproducible-path/texmacs-2.1.4+ds' dh_auto_build: error: make -j8 returned exit code 2 make: *** [debian/rules:31: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -- debian-science-maintainers mailing list debian-science-maintainers@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers