debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #08006
[Bug 2120856] Re: graphite2: questing autopkgtest failures
this is due to an FTBFS in the test environment:
243s [ 78%] Building CXX object tests/featuremap/CMakeFiles/featuremaptest.dir/featuremaptest.cpp.o
243s cd /tmp/autopkgtest.mSjbfJ/build.iuX/src/build/tests/featuremap && /usr/bin/c++ -I/tmp/autopkgtest.mSjbfJ/build.iuX/src/include -I/tmp/autopkgtest.mSjbfJ/build.iuX/src/src -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/tmp/autopkgtest.mSjbfJ/build.iuX/src=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/tmp/autopkgtest.mSjbfJ/build.iuX/src=/usr/src/graphite2-1.3.14-2ubuntu1 -Wdate-time -D_FORTIFY_SOURCE=3 -std=gnu++11 -MD -MT tests/featuremap/CMakeFiles/featuremaptest.dir/featuremaptest.cpp.o -MF CMakeFiles/featuremaptest.dir/featuremaptest.cpp.o.d -o CMakeFiles/featuremaptest.dir/featuremaptest.cpp.o -c /tmp/autopkgtest.mSjbfJ/build.iuX/src/tests/featuremap/featuremaptest.cpp
244s /tmp/autopkgtest.mSjbfJ/build.iuX/src/tests/featuremap/featuremaptest.cpp:49:15: error: ‘uint8_t’ was not declared in this scope
244s 49 | std::vector<uint8_t> _ttf;
244s | ^~~~~~~
244s /tmp/autopkgtest.mSjbfJ/build.iuX/src/tests/featuremap/featuremaptest.cpp:35:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
244s 34 | #include "inc/Face.h"
244s +++ |+#include <cstdint>
244s 35 | #include "inc/FeatureMap.h"
244s /tmp/autopkgtest.mSjbfJ/build.iuX/src/tests/featuremap/featuremaptest.cpp:49:22: error: template argument 1 is invalid
244s 49 | std::vector<uint8_t> _ttf;
244s | ^
244s /tmp/autopkgtest.mSjbfJ/build.iuX/src/tests/featuremap/featuremaptest.cpp:49:22: error: template argument 2 is invalid
244s /tmp/autopkgtest.mSjbfJ/build.iuX/src/tests/featuremap/featuremaptest.cpp: In static member function ‘static int face_handle::buffer_from_file(const std::string&)’:
244s /tmp/autopkgtest.mSjbfJ/build.iuX/src/tests/featuremap/featuremaptest.cpp:60:12: error: request for member ‘assign’ in ‘result’, which is of non-class type ‘int’
244s 60 | result.assign(std::istreambuf_iterator<char>(f),
244s | ^~~~~~
244s /tmp/autopkgtest.mSjbfJ/build.iuX/src/tests/featuremap/featuremaptest.cpp: In constructor ‘face_handle::face_handle(const std::string&)’:
244s /tmp/autopkgtest.mSjbfJ/build.iuX/src/tests/featuremap/featuremaptest.cpp:80:27: error: request for member ‘size’ in ‘((face_handle*)this)->face_handle::_ttf’, which is of non-class type ‘int’
244s 80 | || tbl_len > _ttf.size()
244s | ^~~~
244s /tmp/autopkgtest.mSjbfJ/build.iuX/src/tests/featuremap/featuremaptest.cpp:81:30: error: request for member ‘size’ in ‘((face_handle*)this)->face_handle::_ttf’, which is of non-class type ‘int’
244s 81 | || tbl_offset > _ttf.size() - tbl_len
244s | ^~~~
244s /tmp/autopkgtest.mSjbfJ/build.iuX/src/tests/featuremap/featuremaptest.cpp:82:53: error: request for member ‘data’ in ‘((face_handle*)this)->face_handle::_ttf’, which is of non-class type ‘int’
244s 82 | || !TtfUtil::CheckHeader(_header_tbl = _ttf.data() + tbl_offset))
244s | ^~~~
244s /tmp/autopkgtest.mSjbfJ/build.iuX/src/tests/featuremap/featuremaptest.cpp:87:27: error: request for member ‘size’ in ‘((face_handle*)this)->face_handle::_ttf’, which is of non-class type ‘int’
244s 87 | || tbl_len > _ttf.size()
244s | ^~~~
244s /tmp/autopkgtest.mSjbfJ/build.iuX/src/tests/featuremap/featuremaptest.cpp:88:30: error: request for member ‘size’ in ‘((face_handle*)this)->face_handle::_ttf’, which is of non-class type ‘int’
244s 88 | || tbl_offset > _ttf.size() - tbl_len)
244s | ^~~~
244s /tmp/autopkgtest.mSjbfJ/build.iuX/src/tests/featuremap/featuremaptest.cpp:90:23: error: request for member ‘data’ in ‘((face_handle*)this)->face_handle::_ttf’, which is of non-class type ‘int’
244s 90 | _table_dir = _ttf.data() + tbl_offset;
244s | ^~~~
244s /tmp/autopkgtest.mSjbfJ/build.iuX/src/tests/featuremap/featuremaptest.cpp: In member function ‘const face_handle::table_t& face_handle::operator[](graphite2::TtfUtil::Tag) const’:
244s /tmp/autopkgtest.mSjbfJ/build.iuX/src/tests/featuremap/featuremaptest.cpp:110:25: error: request for member ‘data’ in ‘((const face_handle*)this)->face_handle::_ttf’, which is of non-class type ‘const int’
244s 110 | table = {_ttf.data() + tbl_offset, tbl_len};
244s | ^~~~
244s /tmp/autopkgtest.mSjbfJ/build.iuX/src/tests/featuremap/featuremaptest.cpp:110:53: error: no match for ‘operator=’ (operand types are ‘std::pair<const void*, long unsigned int>’ and ‘<brace-enclosed initializer list>’)
244s 110 | table = {_ttf.data() + tbl_offset, tbl_len};
244s | ^
244s /tmp/autopkgtest.mSjbfJ/build.iuX/src/tests/featuremap/featuremaptest.cpp:110:53: note: there are 4 candidates
244s In file included from /usr/include/c++/15/bits/stl_algobase.h:64,
244s from /usr/include/c++/15/string:53,
244s from /usr/include/c++/15/bits/locale_classes.h:42,
244s from /usr/include/c++/15/bits/ios_base.h:43,
244s from /usr/include/c++/15/ios:46,
244s from /usr/include/c++/15/istream:42,
244s from /usr/include/c++/15/fstream:42,
244s from /tmp/autopkgtest.mSjbfJ/build.iuX/src/tests/featuremap/featuremaptest.cpp:24:
244s /usr/include/c++/15/bits/stl_pair.h:966:9: note: candidate 1: ‘template<class _U1, class _U2> typename std::enable_if<std::__and_<std::is_assignable<_T1&, const _U1&>, std::is_assignable<_T2&, const _U2&> >::value, std::pair<_T1, _T2>&>::type std::pair<_T1, _T2>::operator=(const std::pair<_U1, _U2>&) [with _U2 = _U1; _T1 = const void*; _T2 = long unsigned int]’
244s 966 | operator=(const pair<_U1, _U2>& __p)
244s | ^~~~~~~~
244s /usr/include/c++/15/bits/stl_pair.h:966:9: note: template argument deduction/substitution failed:
244s /tmp/autopkgtest.mSjbfJ/build.iuX/src/tests/featuremap/featuremaptest.cpp:110:53: note: couldn’t deduce template parameter ‘_U1’
244s 110 | table = {_ttf.data() + tbl_offset, tbl_len};
244s | ^
244s /usr/include/c++/15/bits/stl_pair.h:977:9: note: candidate 2: ‘template<class _U1, class _U2> typename std::enable_if<std::__and_<std::is_assignable<_T1&, _U1&&>, std::is_assignable<_T2&, _U2&&> >::value, std::pair<_T1, _T2>&>::type std::pair<_T1, _T2>::operator=(std::pair<_U1, _U2>&&) [with _U2 = _U1; _T1 = const void*; _T2 = long unsigned int]’
244s 977 | operator=(pair<_U1, _U2>&& __p)
244s | ^~~~~~~~
244s /usr/include/c++/15/bits/stl_pair.h:977:9: note: template argument deduction/substitution failed:
244s /tmp/autopkgtest.mSjbfJ/build.iuX/src/tests/featuremap/featuremaptest.cpp:110:53: note: couldn’t deduce template parameter ‘_U1’
244s 110 | table = {_ttf.data() + tbl_offset, tbl_len};
244s | ^
244s /usr/include/c++/15/bits/stl_pair.h:941:7: note: candidate 3: ‘std::pair<_T1, _T2>& std::pair<_T1, _T2>::operator=(std::__conditional_t<((bool)std::__and_<std::is_copy_assignable<_T1>, std::is_copy_assignable<_T2> >::value), const std::pair<_T1, _T2>&, const std::__nonesuch&>) [with _T1 = const void*; _T2 = long unsigned int; std::__conditional_t<((bool)std::__and_<std::is_copy_assignable<_T1>, std::is_copy_assignable<_T2> >::value), const std::pair<_T1, _T2>&, const std::__nonesuch&> = const std::pair<const void*, long unsigned int>&]’
244s 941 | operator=(__conditional_t<__and_<is_copy_assignable<_T1>,
244s | ^~~~~~~~
244s /usr/include/c++/15/bits/stl_pair.h:943:65: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘std::__conditional_t<true, const std::pair<const void*, long unsigned int>&, const std::__nonesuch&>’ {aka ‘const std::pair<const void*, long unsigned int>&’}
244s 941 | operator=(__conditional_t<__and_<is_copy_assignable<_T1>,
244s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
244s 942 | is_copy_assignable<_T2>>::value,
244s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
244s 943 | const pair&, const __nonesuch&> __p)
244s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
244s /usr/include/c++/15/bits/stl_pair.h:951:7: note: candidate 4: ‘std::pair<_T1, _T2>& std::pair<_T1, _T2>::operator=(std::__conditional_t<((bool)std::__and_<std::is_move_assignable<_Tp>, std::is_move_assignable<_T2> >::value), std::pair<_T1, _T2>&&, std::__nonesuch&&>) [with _T1 = const void*; _T2 = long unsigned int; std::__conditional_t<((bool)std::__and_<std::is_move_assignable<_Tp>, std::is_move_assignable<_T2> >::value), std::pair<_T1, _T2>&&, std::__nonesuch&&> = std::pair<const void*, long unsigned int>&&]’
244s 951 | operator=(__conditional_t<__and_<is_move_assignable<_T1>,
244s | ^~~~~~~~
244s /usr/include/c++/15/bits/stl_pair.h:953:55: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘std::__conditional_t<true, std::pair<const void*, long unsigned int>&&, std::__nonesuch&&>’ {aka ‘std::pair<const void*, long unsigned int>&&’}
244s 951 | operator=(__conditional_t<__and_<is_move_assignable<_T1>,
244s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
244s 952 | is_move_assignable<_T2>>::value,
244s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
244s 953 | pair&&, __nonesuch&&> __p)
244s | ~~~~~~~~~~~~~~~~~~~~~~^~~
244s /tmp/autopkgtest.mSjbfJ/build.iuX/src/tests/featuremap/featuremaptest.cpp: In function ‘void testFeatTable(const T&, const std::string&)’:
244s /tmp/autopkgtest.mSjbfJ/build.iuX/src/tests/featuremap/featuremaptest.cpp:310:14: error: ‘uint16_t’ was not declared in this scope [-Wtemplate-body]
244s 310 | for (uint16_t j = 0; j < table.m_defs[i].m_numFeatSettings; j++)
244s | ^~~~~~~~
244s /tmp/autopkgtest.mSjbfJ/build.iuX/src/tests/featuremap/featuremaptest.cpp:310:14: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
244s /tmp/autopkgtest.mSjbfJ/build.iuX/src/tests/featuremap/featuremaptest.cpp:310:30: error: ‘j’ was not declared in this scope [-Wtemplate-body]
244s 310 | for (uint16_t j = 0; j < table.m_defs[i].m_numFeatSettings; j++)
244s | ^
244s make[2]: Leaving directory '/tmp/autopkgtest.mSjbfJ/build.iuX/src/build'
244s make[1]: Leaving directory '/tmp/autopkgtest.mSjbfJ/build.iuX/src/build'
244s make[2]: *** [tests/featuremap/CMakeFiles/featuremaptest.dir/build.make:82: tests/featuremap/CMakeFiles/featuremaptest.dir/featuremaptest.cpp.o] Error 1
244s make[1]: *** [CMakeFiles/Makefile2:741: tests/featuremap/CMakeFiles/featuremaptest.dir/all] Error 2
244s make: *** [Makefile:149: all] Error 2
--
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to graphite2 in Ubuntu.
https://bugs.launchpad.net/bugs/2120856
Title:
graphite2: questing autopkgtest failures
Status in graphite2 package in Ubuntu:
New
Bug description:
The autopkgtests for graphite2 have started failing in questing, with
the following summary:
246s The following tests FAILED:
246s 82 - featuremaptest (Not Run)
246s 83 - grlist (Not Run)
246s 84 - jsontest (Not Run)
246s 85 - jsontestOutput (Failed)
246s 86 - nametabletest (Not Run)
246s 87 - sparsetest (Not Run)
246s 88 - utftest (Not Run)
246s 89 - vm-test-call-threading (Not Run)
246s 90 - vm-test-direct-threading (Not Run)
See full logs: https://autopkgtest.ubuntu.com/results/autopkgtest-
questing/questing/amd64/g/graphite2/20250818_080559_20996@/log.gz#S8
This is likely a fallout from the gcc-15 transition.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/graphite2/+bug/2120856/+subscriptions
References