[Debichem-devel] Bug#1037733: libpwizlite: ftbfs with GCC-13
Matthias Klose
doko at debian.org
Wed Jun 14 10:27:01 BST 2023
Package: src:libpwizlite
Version: 3.0.4-1
Severity: normal
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-13
[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-13/g++-13, but succeeds to build with gcc-12/g++-12. 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/2023/05/22/logs/libpwizlite_3.0.4-1_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 13, either set CC=gcc-13 CXX=g++-13 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-13/porting_to.html
[...]
| ~~~~~~^~~
/<<PKGBUILDDIR>>/src/pwiz/utility/misc/BinaryData.cpp: In instantiation of ‘pwiz::util::BinaryData<T>::Impl::Impl(void*) [with T = float]’:
/<<PKGBUILDDIR>>/src/pwiz/utility/misc/BinaryData.cpp:471:30: required from here
/<<PKGBUILDDIR>>/src/pwiz/utility/misc/BinaryData.cpp:57:16: warning: unused parameter ‘cliNumericArray’ [-Wunused-parameter]
57 | Impl(void* cliNumericArray)
| ~~~~~~^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/pwiz/utility/misc/BinaryData.cpp: In instantiation of ‘pwiz::util::BinaryData<T>::Impl& pwiz::util::BinaryData<T>::Impl::operator=(void*) [with T = float]’:
/<<PKGBUILDDIR>>/src/pwiz/utility/misc/BinaryData.cpp:471:30: required from here
/<<PKGBUILDDIR>>/src/pwiz/utility/misc/BinaryData.cpp:71:27: warning: unused parameter ‘cliNumericArray’ [-Wunused-parameter]
71 | Impl& operator=(void* cliNumericArray)
| ~~~~~~^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/pwiz/utility/misc/BinaryData.cpp: In instantiation of ‘void pwiz::util::BinaryData<T>::Impl::cacheIterators(pwiz::util::BinaryData<T>&) [with T = float]’:
/<<PKGBUILDDIR>>/src/pwiz/utility/misc/BinaryData.cpp:471:30: required from here
/<<PKGBUILDDIR>>/src/pwiz/utility/misc/BinaryData.cpp:285:16: warning: implicitly-declared ‘constexpr pwiz::util::BinaryData<float>::iterator& pwiz::util::BinaryData<float>::iterator::operator=(const pwiz::util::BinaryData<float>::iterator&)’ is deprecated [-Wdeprecated-copy]
285 | begin_ = iterator(binaryData, true);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/pwiz/utility/misc/BinaryData.hpp:113:9: note: because ‘pwiz::util::BinaryData<float>::iterator’ has user-provided ‘pwiz::util::BinaryData<T>::iterator::iterator(const pwiz::util::BinaryData<T>::iterator&) [with T = float]’
113 | iterator(const iterator& rhs) : current_(rhs.current_) {}
| ^~~~~~~~
/<<PKGBUILDDIR>>/src/pwiz/utility/misc/BinaryData.cpp:286:14: warning: implicitly-declared ‘constexpr pwiz::util::BinaryData<float>::iterator& pwiz::util::BinaryData<float>::iterator::operator=(const pwiz::util::BinaryData<float>::iterator&)’ is deprecated [-Wdeprecated-copy]
286 | end_ = iterator(binaryData, false);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/pwiz/utility/misc/BinaryData.hpp:113:9: note: because ‘pwiz::util::BinaryData<float>::iterator’ has user-provided ‘pwiz::util::BinaryData<T>::iterator::iterator(const pwiz::util::BinaryData<T>::iterator&) [with T = float]’
113 | iterator(const iterator& rhs) : current_(rhs.current_) {}
| ^~~~~~~~
/<<PKGBUILDDIR>>/src/pwiz/utility/misc/BinaryData.cpp:287:17: warning: implicitly-declared ‘constexpr pwiz::util::BinaryData<float>::const_iterator& pwiz::util::BinaryData<float>::const_iterator::operator=(const pwiz::util::BinaryData<float>::const_iterator&)’ is deprecated [-Wdeprecated-copy]
287 | cbegin_ = const_iterator(binaryData, true);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/pwiz/utility/misc/BinaryData.hpp:79:9: note: because ‘pwiz::util::BinaryData<float>::const_iterator’ has user-provided ‘pwiz::util::BinaryData<T>::const_iterator::const_iterator(const pwiz::util::BinaryData<T>::const_iterator&) [with T = float]’
79 | const_iterator(const const_iterator& rhs) : current_(rhs.current_) {}
| ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/pwiz/utility/misc/BinaryData.cpp:288:15: warning: implicitly-declared ‘constexpr pwiz::util::BinaryData<float>::const_iterator& pwiz::util::BinaryData<float>::const_iterator::operator=(const pwiz::util::BinaryData<float>::const_iterator&)’ is deprecated [-Wdeprecated-copy]
288 | cend_ = const_iterator(binaryData, false);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/pwiz/utility/misc/BinaryData.hpp:79:9: note: because ‘pwiz::util::BinaryData<float>::const_iterator’ has user-provided ‘pwiz::util::BinaryData<T>::const_iterator::const_iterator(const pwiz::util::BinaryData<T>::const_iterator&) [with T = float]’
79 | const_iterator(const const_iterator& rhs) : current_(rhs.current_) {}
| ^~~~~~~~~~~~~~
make[3]: *** [src/CMakeFiles/pwizlite-shared.dir/build.make:121: src/CMakeFiles/pwizlite-shared.dir/pwiz/utility/misc/BinaryData.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/<<PKGBUILDDIR>>/src/pwiz/utility/minimxml/SAXParser.cpp: In function ‘void pwiz::minimxml::SAXParser::parse(std::istream&, Handler&)’:
/<<PKGBUILDDIR>>/src/pwiz/utility/minimxml/SAXParser.cpp:543:61: warning: offset ‘1’ outside bounds of constant string [-Warray-bounds=]
543 | Handler::Status status = wrangler.endElement(buffer.c_str()+1, position);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/pwiz/utility/minimxml/SAXParser.cpp:549:17: warning: ‘inCDATA’ may be used uninitialized [-Wmaybe-uninitialized]
549 | if (inCDATA)
| ^~
/<<PKGBUILDDIR>>/src/pwiz/utility/minimxml/SAXParser.cpp:501:14: note: ‘inCDATA’ was declared here
501 | bool inCDATA;
| ^~~~~~~
/<<PKGBUILDDIR>>/src/pwiz/utility/minimxml/SAXParser.cpp: In function ‘void pwiz::minimxml::SAXParser::parse(std::istream&, Handler&)’:
/<<PKGBUILDDIR>>/src/pwiz/utility/minimxml/SAXParser.cpp:543:61: warning: offset ‘1’ outside bounds of constant string [-Warray-bounds=]
543 | Handler::Status status = wrangler.endElement(buffer.c_str()+1, position);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/pwiz/utility/minimxml/SAXParser.cpp:549:17: warning: ‘inCDATA’ may be used uninitialized [-Wmaybe-uninitialized]
549 | if (inCDATA)
| ^~
/<<PKGBUILDDIR>>/src/pwiz/utility/minimxml/SAXParser.cpp:501:14: note: ‘inCDATA’ was declared here
501 | bool inCDATA;
| ^~~~~~~
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:183: src/CMakeFiles/pwizlite-shared.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:157: src/CMakeFiles/pwizlite-static.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:159: 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:26: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
More information about the Debichem-devel
mailing list