[Pkg-deepin-devel] Bug#1074905: deepin-log-viewer: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:24:59 BST 2024
Package: src:deepin-log-viewer
Version: 5.9.7+ds1-3
Severity: important
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-14
[This bug is 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-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.
The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/deepin-log-viewer_5.9.7+ds1-3_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 14, either set CC=gcc-14 CXX=g++-14 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-14/porting_to.html
[...]
712 | XmlFunc::XMLChToUtf8( l_attrNode ->getNodeValue() ) );
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~
/<<PKGBUILDDIR>>/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItem.cpp:237:73: note: ‘l_attrNode’ was declared here
237 | xercesc::DOMAttr* l_attrNode;
| ^~~~~~~~~~
/<<PKGBUILDDIR>>/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItem.cpp:423:39: warning: ‘l_type’ may be used uninitialized [-Wmaybe-uninitialized]
423 | l_ptr );
| ^
/<<PKGBUILDDIR>>/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItem.cpp:230:49: note: ‘l_type’ was declared here
230 | DocxCompilerXmlString::XmlStringType l_type;
| ^~~~~~
In file included from /<<PKGBUILDDIR>>/application/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:5:
/<<PKGBUILDDIR>>/application/../3rdparty/DocxFactory/include/DocxFactory/opc/OpcPackage.h: At global scope:
/<<PKGBUILDDIR>>/application/../3rdparty/DocxFactory/include/DocxFactory/opc/OpcPackage.h:38:30: warning: ‘virtual void DocxFactory::OpcPackage::save(const std::string&)’ was hidden [-Woverloaded-virtual=]
38 | virtual void save( const string& p_fileName );
| ^~~~
/<<PKGBUILDDIR>>/application/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:53:30: note: by ‘virtual void DocxFactory::DocxMergerFile::save(const std::string&, bool)’
53 | virtual void save( const string& p_fileName, bool p_updateToc = false );
| ^~~~
/<<PKGBUILDDIR>>/3rdparty/DocxFactory/src/DocxMerger/DocxMergerBarcodeField.cpp: In member function ‘virtual void DocxFactory::DocxMergerBarcodeField::save(DocxFactory::DocxMergerPasteFieldGroup*)’:
/<<PKGBUILDDIR>>/3rdparty/DocxFactory/src/DocxMerger/DocxMergerBarcodeField.cpp:70:17: warning: unused variable ‘l_zipFile’ [-Wunused-variable]
70 | ZipFile *l_zipFile = m_itemFile ->getZipFile();
| ^~~~~~~~~
/<<PKGBUILDDIR>>/3rdparty/DocxFactory/src/DocxMerger/DocxMergerBarcodeField.cpp:75:69: warning: unused variable ‘l_pasteBarcodeField’ [-Wunused-variable]
75 | DocxMergerPasteBarcodeField *l_pasteBarcodeField;
| ^~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/3rdparty/DocxFactory/src/DocxMerger/DocxMergerBarcodeField.cpp:79:13: warning: unused variable ‘l_ok’ [-Wunused-variable]
79 | bool l_ok;
| ^~~~
/<<PKGBUILDDIR>>/3rdparty/DocxFactory/src/DocxMerger/DocxMergerBooleanField.cpp: In member function ‘virtual void DocxFactory::DocxMergerBooleanField::save(DocxFactory::DocxMergerPasteFieldGroup*)’:
/<<PKGBUILDDIR>>/3rdparty/DocxFactory/src/DocxMerger/DocxMergerBooleanField.cpp:46:81: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
46 | if ( m_value == DocxMergerBooleanField::BOOLEAN_TRUE && l_pasteBooleanField ->getValue() == true
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/3rdparty/DocxFactory/src/DocxMerger/DocxMergerAltChunkField.cpp: In member function ‘bool DocxFactory::DocxMergerAltChunkField::getWord(const std::string&, const size_t&, size_t&, std::string&)’:
/<<PKGBUILDDIR>>/3rdparty/DocxFactory/src/DocxMerger/DocxMergerAltChunkField.cpp:422:55: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
422 | if ( !( p_str[ p_pos ] >= 'a' && p_str[ p_pos ] <= 'z'
/<<PKGBUILDDIR>>/3rdparty/DocxFactory/src/DocxMerger/DocxMergerAltChunkField.cpp:424:59: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
424 | || p_str[ p_pos ] >= '0' && p_str[ p_pos ] <= '9'
[ 40%] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartAxisDateTime.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/application && /usr/bin/c++ -DDSG_DATA_DIR=/usr/share/dsg -DENABLE_INACTIVE_DISPLAY -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_WIDGETS_LIB -DQT_XML_LIB -DUSE_POLKIT -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/application -I/<<PKGBUILDDIR>>/application -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/application/deepin-log-viewer_autogen/include -I/usr/include/libdtk-5.5.33/DCore -I/usr/include/libdtk-5.5.23/DGui -I/usr/include/libdtk-5.5.23/DWidget -I/usr/include/libdframeworkdbus-2.0 -I/<<PKGBUILDDIR>>/application/../3rdparty/DocxFactory/include -I/<<PKGBUILDDIR>>/application/../3rdparty/DocxFactory/include/DocxFactory -I/<<PKGBUILDDIR>>/application/../3rdparty/DocxFactory/include/DocxFactory/ConverterPrinter -I/<<PKGBUILDDIR>>/application/../3rdparty/DocxFactory/include/DocxFactory/DocxCompiler -I/<<PKGBUILDDIR>>/application/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger -I/<<PKGBUILDDIR>>/application/../3rdparty/DocxFactory/include/DocxFactory/UnoUtil -I/<<PKGBUILDDIR>>/application/../3rdparty/DocxFactory/include/DocxFactory/WordProcessingCompiler -I/<<PKGBUILDDIR>>/application/../3rdparty/DocxFactory/include/DocxFactory/WordProcessingMerger -I/<<PKGBUILDDIR>>/application/../3rdparty/DocxFactory/include/DocxFactory/barcode -I/<<PKGBUILDDIR>>/application/../3rdparty/DocxFactory/include/DocxFactory/console -I/<<PKGBUILDDIR>>/application/../3rdparty/DocxFactory/include/DocxFactory/json -I/<<PKGBUILDDIR>>/application/../3rdparty/DocxFactory/include/DocxFactory/locale -I/<<PKGBUILDDIR>>/application/../3rdparty/DocxFactory/include/DocxFactory/math -I/<<PKGBUILDDIR>>/application/../3rdparty/DocxFactory/include/DocxFactory/opc -I/<<PKGBUILDDIR>>/application/../3rdparty/DocxFactory/include/DocxFactory/os -I/<<PKGBUILDDIR>>/application/../3rdparty/DocxFactory/include/DocxFactory/parser -I/<<PKGBUILDDIR>>/application/../3rdparty/DocxFactory/include/DocxFactory/str -I/<<PKGBUILDDIR>>/application/../3rdparty/DocxFactory/include/DocxFactory/time -I/<<PKGBUILDDIR>>/application/../3rdparty/DocxFactory/include/DocxFactory/unix -I/<<PKGBUILDDIR>>/application/../3rdparty/DocxFactory/include/DocxFactory/util -I/<<PKGBUILDDIR>>/application/../3rdparty/DocxFactory/include/DocxFactory/win -I/<<PKGBUILDDIR>>/application/../3rdparty/DocxFactory/include/DocxFactory/xml -I/<<PKGBUILDDIR>>/application/../3rdparty/DocxFactory/include/DocxFactory/zip -I/<<PKGBUILDDIR>>/application/../3rdparty/md5 -I/<<PKGBUILDDIR>>/application/../3rdparty/tmpfileplus -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.13 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.13/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.13 -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.13/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.13 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.13/QtWidgets -I/usr/include/minizip -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem /usr/include/polkit-qt5-1 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -ldtkwidget -ldtkgui -ldtkcore -Wl,--as-need -fPIE -std=c++11 -z relro -z now -z noexecstack -pie -fstack-protector-all -z relro -z now -z noexecstack -pie -fstack-protector-all -O3 -std=gnu++11 -fPIC -MD -MT application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartAxisDateTime.cpp.o -MF CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartAxisDateTime.cpp.o.d -o CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartAxisDateTime.cpp.o -c /<<PKGBUILDDIR>>/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartAxisDateTime.cpp
make[3]: *** [application/CMakeFiles/deepin-log-viewer.dir/build.make:1116: application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerAltChunkField.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/<<PKGBUILDDIR>>/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp: In member function ‘void DocxFactory::DocxCompilerItemFile::loadFields()’:
/<<PKGBUILDDIR>>/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:1725:102: warning: ‘l_field’ may be used uninitialized [-Wmaybe-uninitialized]
1725 | l_placeHolderNode ->setAttribute(_X("ptr"), Utf8ToXMLCh(StrFunc::intToStr((size_t) l_field)));
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:786:49: note: ‘l_field’ was declared here
786 | DocxCompilerField *l_field;
| ^~~~~~~
/<<PKGBUILDDIR>>/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:1155:49: warning: ‘l_tEndIndex’ may be used uninitialized [-Wmaybe-uninitialized]
1155 | if (l_tEndIndex + 1 < l_textValue.length()) {
| ~~~~~~~~~~~~^~~
/<<PKGBUILDDIR>>/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:829:13: note: ‘l_tEndIndex’ was declared here
829 | size_t l_tEndIndex;
| ^~~~~~~~~~~
/<<PKGBUILDDIR>>/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp: In member function ‘void DocxFactory::DocxCompilerItemFile::normalizeBookmarksStartEnd()’:
/<<PKGBUILDDIR>>/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:3579:17: warning: ‘l_rPrNode’ may be used uninitialized [-Wmaybe-uninitialized]
3579 | if (l_childNode == l_rPrNode) {
| ^~
/<<PKGBUILDDIR>>/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:3437:41: note: ‘l_rPrNode’ was declared here
3437 | xercesc::DOMElement *l_rPrNode;
| ^~~~~~~~~
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:164: application/CMakeFiles/deepin-log-viewer.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/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:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Pkg-deepin-devel
mailing list