[Debichem-devel] Bug#1012887: aces3: ftbfs with GCC-12
Matthias Klose
doko at debian.org
Thu Jun 16 13:07:22 BST 2022
Package: src:aces3
Version: 3.0.8-8
Severity: normal
Tags: sid bookworm
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-12
[This bug is targeted to the upcoming bookworm 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-12/g++-12, but succeeds to build with gcc-11/g++-11. The
severity of this report will be raised before the bookworm release.
The full build log can be found at:
http://qa-logs.debian.net/2022/06/09/gcc12/aces3_3.0.8-8_unstable_gcc12.log
The last lines of the build log are at the end of this report.
To build with GCC 11, either set CC=gcc-11 CXX=g++-11 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-11/porting_to.html
GCC 11 defaults to the GNU++17 standard. If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.
[...]
| ^~~
/usr/include/c++/12/bits/stl_pair.h:870:5: note: ‘template<long unsigned int _Int, class _Tp1, class _Tp2> constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(const pair<_Tp1, _Tp2>&&)’
870 | get(const pair<_Tp1, _Tp2>&& __in) noexcept
| ^~~
/usr/include/c++/12/bits/stl_pair.h:865:5: note: ‘template<long unsigned int _Int, class _Tp1, class _Tp2> constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(const pair<_Tp1, _Tp2>&)’
865 | get(const pair<_Tp1, _Tp2>& __in) noexcept
| ^~~
/usr/include/c++/12/bits/stl_pair.h:860:5: note: ‘template<long unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(pair<_Tp1, _Tp2>&&)’
860 | get(pair<_Tp1, _Tp2>&& __in) noexcept
| ^~~
/usr/include/c++/12/bits/stl_pair.h:855:5: note: ‘template<long unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(pair<_Tp1, _Tp2>&)’
855 | get(pair<_Tp1, _Tp2>& __in) noexcept
| ^~~
keywdcnt.h:38:61: note: ‘operators get’
38 | setindex, put, putadd, collective, execute, get,
| ^~~
instruct.cpp: In member function ‘void InstructCls::outputll() const’:
instruct.cpp:968:18: error: reference to ‘get’ is ambiguous
968 | else if (get==instruction[i][0])
| ^~~
/usr/include/c++/12/bits/stl_pair.h:914:5: note: candidates are: ‘template<class _Tp, class _Up> constexpr const _Tp&& std::get(const pair<_Up, _Tp>&&)’
914 | get(const pair<_Up, _Tp>&& __p) noexcept
| ^~~
/usr/include/c++/12/bits/stl_pair.h:909:5: note: ‘template<class _Tp, class _Up> constexpr _Tp&& std::get(pair<_Up, _Tp>&&)’
909 | get(pair<_Up, _Tp>&& __p) noexcept
| ^~~
/usr/include/c++/12/bits/stl_pair.h:904:5: note: ‘template<class _Tp, class _Up> constexpr const _Tp& std::get(const pair<_Up, _Tp>&)’
904 | get(const pair<_Up, _Tp>& __p) noexcept
| ^~~
/usr/include/c++/12/bits/stl_pair.h:899:5: note: ‘template<class _Tp, class _Up> constexpr _Tp& std::get(pair<_Up, _Tp>&)’
899 | get(pair<_Up, _Tp>& __p) noexcept
| ^~~
/usr/include/c++/12/bits/stl_pair.h:894:5: note: ‘template<class _Tp, class _Up> constexpr const _Tp&& std::get(const pair<_T1, _T2>&&)’
894 | get(const pair<_Tp, _Up>&& __p) noexcept
| ^~~
/usr/include/c++/12/bits/stl_pair.h:889:5: note: ‘template<class _Tp, class _Up> constexpr _Tp&& std::get(pair<_T1, _T2>&&)’
889 | get(pair<_Tp, _Up>&& __p) noexcept
| ^~~
/usr/include/c++/12/bits/stl_pair.h:884:5: note: ‘template<class _Tp, class _Up> constexpr const _Tp& std::get(const pair<_T1, _T2>&)’
884 | get(const pair<_Tp, _Up>& __p) noexcept
| ^~~
/usr/include/c++/12/bits/stl_pair.h:879:5: note: ‘template<class _Tp, class _Up> constexpr _Tp& std::get(pair<_T1, _T2>&)’
879 | get(pair<_Tp, _Up>& __p) noexcept
| ^~~
/usr/include/c++/12/bits/stl_pair.h:870:5: note: ‘template<long unsigned int _Int, class _Tp1, class _Tp2> constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(const pair<_Tp1, _Tp2>&&)’
870 | get(const pair<_Tp1, _Tp2>&& __in) noexcept
| ^~~
/usr/include/c++/12/bits/stl_pair.h:865:5: note: ‘template<long unsigned int _Int, class _Tp1, class _Tp2> constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(const pair<_Tp1, _Tp2>&)’
865 | get(const pair<_Tp1, _Tp2>& __in) noexcept
| ^~~
/usr/include/c++/12/bits/stl_pair.h:860:5: note: ‘template<long unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(pair<_Tp1, _Tp2>&&)’
860 | get(pair<_Tp1, _Tp2>&& __in) noexcept
| ^~~
/usr/include/c++/12/bits/stl_pair.h:855:5: note: ‘template<long unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(pair<_Tp1, _Tp2>&)’
855 | get(pair<_Tp1, _Tp2>& __in) noexcept
| ^~~
keywdcnt.h:38:61: note: ‘operators get’
38 | setindex, put, putadd, collective, execute, get,
| ^~~
make[4]: *** [Makefile:67: instruct.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/sial_compiler/sial'
make[3]: *** [Makefile:15: all] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/sial_compiler'
make[2]: *** [Makefile:15: all] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: *** [Makefile:35: all] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j1 returned exit code 2
make: *** [debian/rules:31: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
More information about the Debichem-devel
mailing list