Bug#1143647: clang-extract: FTBFS: /usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_iterator.h:1337:19: error: member access into incomplete type 'const __normal_iterator<const char *, basic_string<char>>'
Santiago Vila <[email protected]> Wed, 05 Aug 2026 11:23:28 +0000
| Newsgroups | gmane.linux.debian.devel.bugs.rc |
|---|---|
| Message-ID | <E1wrZia-00GxZA-2U__28494.8787697189$1785929158$gmane$org@paradis.debian.org> |
Package: src:clang-extract
Version: 0.0~git20260224.ac30d66-1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202608/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:clang-extract, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 meson setup .. --wrap-mode=nodownload --buildtype=plain --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=lib/x86_64-linux-gnu -Dpython.bytecompile=-1
The Meson build system
Version: 1.11.1
Source dir: /<<PKGBUILDDIR>>
Build dir: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
Build type: native build
Project name: clang-extract
[... snipped ...]
323 | __res.insert(__res.begin(), '-');
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_iterator.h:1026:11: note: definition of '__gnu_cxx::__normal_iterator<char *, std::basic_string<char>>' is not complete until the closing '}'
1026 | class __normal_iterator
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_iterator.h:1337:19: error: member access into incomplete type 'const __normal_iterator<char *, __iter_tag>'
1337 | -> decltype(__lhs.base() - __rhs.base())
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/format:3296:39: note: in instantiation of template class '__gnu_cxx::__normal_iterator<char *, std::span<char>::__iter_tag>' requested here
3296 | typename span<_CharT>::iterator _M_next;
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/format:3447:30: note: in instantiation of template class 'std::__format::_Sink<char>' requested here
3447 | class _Buf_sink : public _Sink<_CharT>
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/format:3464:30: note: in instantiation of template class 'std::__format::_Buf_sink<char>' requested here
3464 | class _Seq_sink : public _Buf_sink<typename _Seq::value_type>
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/format:5447:31: note: in instantiation of template class 'std::__format::_Seq_sink<std::basic_string<char>>' requested here
5447 | __format::_Str_sink<char> __buf;
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_iterator.h:1026:11: note: definition of '__gnu_cxx::__normal_iterator<char *, std::span<char>::__iter_tag>' is not complete until the closing '}'
1026 | class __normal_iterator
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_iterator.h:1337:19: error: member access into incomplete type 'const __normal_iterator<wchar_t *, __iter_tag>'
1337 | -> decltype(__lhs.base() - __rhs.base())
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/format:3296:39: note: in instantiation of template class '__gnu_cxx::__normal_iterator<wchar_t *, std::span<wchar_t>::__iter_tag>' requested here
3296 | typename span<_CharT>::iterator _M_next;
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/format:3447:30: note: in instantiation of template class 'std::__format::_Sink<wchar_t>' requested here
3447 | class _Buf_sink : public _Sink<_CharT>
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/format:3464:30: note: in instantiation of template class 'std::__format::_Buf_sink<wchar_t>' requested here
3464 | class _Seq_sink : public _Buf_sink<typename _Seq::value_type>
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/format:5457:34: note: in instantiation of template class 'std::__format::_Seq_sink<std::basic_string<wchar_t>>' requested here
5457 | __format::_Str_sink<wchar_t> __buf;
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_iterator.h:1026:11: note: definition of '__gnu_cxx::__normal_iterator<wchar_t *, std::span<wchar_t>::__iter_tag>' is not complete until the closing '}'
1026 | class __normal_iterator
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_iterator.h:1337:19: error: member access into incomplete type 'const __normal_iterator<const unique_ptr<ErrorInfoBase> *, vector<unique_ptr<ErrorInfoBase>>>'
1337 | -> decltype(__lhs.base() - __rhs.base())
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_vector.h:998:7: note: in instantiation of template class '__gnu_cxx::__normal_iterator<const std::unique_ptr<llvm::ErrorInfoBase> *, std::vector<std::unique_ptr<llvm::ErrorInfoBase>>>' requested here
998 | begin() const _GLIBCXX_NOEXCEPT
| ^
/usr/lib/llvm-18/include/llvm/Support/Error.h:379:33: note: in instantiation of member function 'std::vector<std::unique_ptr<llvm::ErrorInfoBase>>::begin' requested here
379 | for (const auto &ErrPayload : Payloads) {
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_iterator.h:1026:11: note: definition of '__gnu_cxx::__normal_iterator<const std::unique_ptr<llvm::ErrorInfoBase> *, std::vector<std::unique_ptr<llvm::ErrorInfoBase>>>' is not complete until the closing '}'
1026 | class __normal_iterator
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_iterator.h:1337:19: error: member access into incomplete type 'const __normal_iterator<unique_ptr<ErrorInfoBase> *, vector<unique_ptr<ErrorInfoBase>>>'
1337 | -> decltype(__lhs.base() - __rhs.base())
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_vector.h:1008:7: note: in instantiation of template class '__gnu_cxx::__normal_iterator<std::unique_ptr<llvm::ErrorInfoBase> *, std::vector<std::unique_ptr<llvm::ErrorInfoBase>>>' requested here
1008 | end() _GLIBCXX_NOEXCEPT
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_vector.h:1361:11: note: in instantiation of member function 'std::vector<std::unique_ptr<llvm::ErrorInfoBase>>::end' requested here
1361 | return *(end() - 1);
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/vector.tcc:129:9: note: in instantiation of member function 'std::vector<std::unique_ptr<llvm::ErrorInfoBase>>::back' requested here
129 | return back();
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_vector.h:1424:9: note: in instantiation of function template specialization 'std::vector<std::unique_ptr<llvm::ErrorInfoBase>>::emplace_back<std::unique_ptr<llvm::ErrorInfoBase>>' requested here
1424 | { emplace_back(std::move(__x)); }
| ^
/usr/lib/llvm-18/include/llvm/Support/Error.h:395:14: note: in instantiation of member function 'std::vector<std::unique_ptr<llvm::ErrorInfoBase>>::push_back' requested here
395 | Payloads.push_back(std::move(Payload1));
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_iterator.h:1026:11: note: definition of '__gnu_cxx::__normal_iterator<std::unique_ptr<llvm::ErrorInfoBase> *, std::vector<std::unique_ptr<llvm::ErrorInfoBase>>>' is not complete until the closing '}'
1026 | class __normal_iterator
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_iterator.h:1337:19: error: member access into incomplete type 'const __normal_iterator<const basic_string<char> *, vector<basic_string<char>>>'
1337 | -> decltype(__lhs.base() - __rhs.base())
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_vector.h:998:7: note: in instantiation of template class '__gnu_cxx::__normal_iterator<const std::basic_string<char> *, std::vector<std::basic_string<char>>>' requested here
998 | begin() const _GLIBCXX_NOEXCEPT
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/vector.tcc:242:57: note: in instantiation of member function 'std::vector<std::basic_string<char>>::begin' requested here
242 | pointer __tmp = _M_allocate_and_copy(__xlen, __x.begin(),
| ^
/usr/lib/llvm-18/include/llvm/Support/SourceMgr.h:107:24: note: in instantiation of member function 'std::vector<std::basic_string<char>>::operator=' requested here
107 | IncludeDirectories = Dirs;
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_iterator.h:1026:11: note: definition of '__gnu_cxx::__normal_iterator<const std::basic_string<char> *, std::vector<std::basic_string<char>>>' is not complete until the closing '}'
1026 | class __normal_iterator
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_iterator.h:1337:19: error: member access into incomplete type 'const __normal_iterator<basic_string<char> *, vector<basic_string<char>>>'
1337 | -> decltype(__lhs.base() - __rhs.base())
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_vector.h:988:7: note: in instantiation of template class '__gnu_cxx::__normal_iterator<std::basic_string<char> *, std::vector<std::basic_string<char>>>' requested here
988 | begin() _GLIBCXX_NOEXCEPT
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/vector.tcc:254:56: note: in instantiation of member function 'std::vector<std::basic_string<char>>::begin' requested here
254 | std::_Destroy(std::copy(__x.begin(), __x.end(), begin()),
| ^
/usr/lib/llvm-18/include/llvm/Support/SourceMgr.h:107:24: note: in instantiation of member function 'std::vector<std::basic_string<char>>::operator=' requested here
107 | IncludeDirectories = Dirs;
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_iterator.h:1026:11: note: definition of '__gnu_cxx::__normal_iterator<std::basic_string<char> *, std::vector<std::basic_string<char>>>' is not complete until the closing '}'
1026 | class __normal_iterator
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_iterator.h:1337:19: error: member access into incomplete type 'const __normal_iterator<const SrcBuffer *, vector<SrcBuffer>>'
1337 | -> decltype(__lhs.base() - __rhs.base())
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_vector.h:998:7: note: in instantiation of template class '__gnu_cxx::__normal_iterator<const llvm::SourceMgr::SrcBuffer *, std::vector<llvm::SourceMgr::SrcBuffer>>' requested here
998 | begin() const _GLIBCXX_NOEXCEPT
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_vector.h:1214:16: note: in instantiation of member function 'std::vector<llvm::SourceMgr::SrcBuffer>::begin' requested here
1214 | { return begin() == end(); }
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_vector.h:1360:2: note: in instantiation of member function 'std::vector<llvm::SourceMgr::SrcBuffer>::empty' requested here
1360 | __glibcxx_requires_nonempty();
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/debug/assertions.h:42:27: note: expanded from macro '__glibcxx_requires_nonempty'
42 | __glibcxx_assert(!this->empty())
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/vector.tcc:129:9: note: in instantiation of member function 'std::vector<llvm::SourceMgr::SrcBuffer>::back' requested here
129 | return back();
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_vector.h:1424:9: note: in instantiation of function template specialization 'std::vector<llvm::SourceMgr::SrcBuffer>::emplace_back<llvm::SourceMgr::SrcBuffer>' requested here
1424 | { emplace_back(std::move(__x)); }
| ^
/usr/lib/llvm-18/include/llvm/Support/SourceMgr.h:149:13: note: in instantiation of member function 'std::vector<llvm::SourceMgr::SrcBuffer>::push_back' requested here
149 | Buffers.push_back(std::move(NB));
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_iterator.h:1026:11: note: definition of '__gnu_cxx::__normal_iterator<const llvm::SourceMgr::SrcBuffer *, std::vector<llvm::SourceMgr::SrcBuffer>>' is not complete until the closing '}'
1026 | class __normal_iterator
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_iterator.h:1337:19: error: member access into incomplete type 'const __normal_iterator<SrcBuffer *, vector<SrcBuffer>>'
1337 | -> decltype(__lhs.base() - __rhs.base())
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_vector.h:1008:7: note: in instantiation of template class '__gnu_cxx::__normal_iterator<llvm::SourceMgr::SrcBuffer *, std::vector<llvm::SourceMgr::SrcBuffer>>' requested here
1008 | end() _GLIBCXX_NOEXCEPT
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_vector.h:1361:11: note: in instantiation of member function 'std::vector<llvm::SourceMgr::SrcBuffer>::end' requested here
1361 | return *(end() - 1);
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/vector.tcc:129:9: note: in instantiation of member function 'std::vector<llvm::SourceMgr::SrcBuffer>::back' requested here
129 | return back();
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_vector.h:1424:9: note: in instantiation of function template specialization 'std::vector<llvm::SourceMgr::SrcBuffer>::emplace_back<llvm::SourceMgr::SrcBuffer>' requested here
1424 | { emplace_back(std::move(__x)); }
| ^
/usr/lib/llvm-18/include/llvm/Support/SourceMgr.h:149:13: note: in instantiation of member function 'std::vector<llvm::SourceMgr::SrcBuffer>::push_back' requested here
149 | Buffers.push_back(std::move(NB));
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_iterator.h:1026:11: note: definition of '__gnu_cxx::__normal_iterator<llvm::SourceMgr::SrcBuffer *, std::vector<llvm::SourceMgr::SrcBuffer>>' is not complete until the closing '}'
1026 | class __normal_iterator
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_iterator.h:1337:19: error: member access into incomplete type 'const __normal_iterator<const unique_ptr<Entry> *, vector<unique_ptr<Entry>>>'
1337 | -> decltype(__lhs.base() - __rhs.base())
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_vector.h:998:7: note: in instantiation of template class '__gnu_cxx::__normal_iterator<const std::unique_ptr<llvm::vfs::RedirectingFileSystem::Entry> *, std::vector<std::unique_ptr<llvm::vfs::RedirectingFileSystem::Entry>>>' requested here
998 | begin() const _GLIBCXX_NOEXCEPT
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_vector.h:1214:16: note: in instantiation of member function 'std::vector<std::unique_ptr<llvm::vfs::RedirectingFileSystem::Entry>>::begin' requested here
1214 | { return begin() == end(); }
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_vector.h:1360:2: note: in instantiation of member function 'std::vector<std::unique_ptr<llvm::vfs::RedirectingFileSystem::Entry>>::empty' requested here
1360 | __glibcxx_requires_nonempty();
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/debug/assertions.h:42:27: note: expanded from macro '__glibcxx_requires_nonempty'
42 | __glibcxx_assert(!this->empty())
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/vector.tcc:129:9: note: in instantiation of member function 'std::vector<std::unique_ptr<llvm::vfs::RedirectingFileSystem::Entry>>::back' requested here
129 | return back();
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_vector.h:1424:9: note: in instantiation of function template specialization 'std::vector<std::unique_ptr<llvm::vfs::RedirectingFileSystem::Entry>>::emplace_back<std::unique_ptr<llvm::vfs::RedirectingFileSystem::Entry>>' requested here
1424 | { emplace_back(std::move(__x)); }
| ^
/usr/lib/llvm-18/include/llvm/Support/VirtualFileSystem.h:802:16: note: in instantiation of member function 'std::vector<std::unique_ptr<llvm::vfs::RedirectingFileSystem::Entry>>::push_back' requested here
802 | Contents.push_back(std::move(Content));
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_iterator.h:1026:11: note: definition of '__gnu_cxx::__normal_iterator<const std::unique_ptr<llvm::vfs::RedirectingFileSystem::Entry> *, std::vector<std::unique_ptr<llvm::vfs::RedirectingFileSystem::Entry>>>' is not complete until the closing '}'
1026 | class __normal_iterator
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_iterator.h:1337:19: error: member access into incomplete type 'const __normal_iterator<unique_ptr<Entry> *, vector<unique_ptr<Entry>>>'
1337 | -> decltype(__lhs.base() - __rhs.base())
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_vector.h:1008:7: note: in instantiation of template class '__gnu_cxx::__normal_iterator<std::unique_ptr<llvm::vfs::RedirectingFileSystem::Entry> *, std::vector<std::unique_ptr<llvm::vfs::RedirectingFileSystem::Entry>>>' requested here
1008 | end() _GLIBCXX_NOEXCEPT
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_vector.h:1361:11: note: in instantiation of member function 'std::vector<std::unique_ptr<llvm::vfs::RedirectingFileSystem::Entry>>::end' requested here
1361 | return *(end() - 1);
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/vector.tcc:129:9: note: in instantiation of member function 'std::vector<std::unique_ptr<llvm::vfs::RedirectingFileSystem::Entry>>::back' requested here
129 | return back();
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_vector.h:1424:9: note: in instantiation of function template specialization 'std::vector<std::unique_ptr<llvm::vfs::RedirectingFileSystem::Entry>>::emplace_back<std::unique_ptr<llvm::vfs::RedirectingFileSystem::Entry>>' requested here
1424 | { emplace_back(std::move(__x)); }
| ^
/usr/lib/llvm-18/include/llvm/Support/VirtualFileSystem.h:802:16: note: in instantiation of member function 'std::vector<std::unique_ptr<llvm::vfs::RedirectingFileSystem::Entry>>::push_back' requested here
802 | Contents.push_back(std::move(Content));
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_iterator.h:1026:11: note: definition of '__gnu_cxx::__normal_iterator<std::unique_ptr<llvm::vfs::RedirectingFileSystem::Entry> *, std::vector<std::unique_ptr<llvm::vfs::RedirectingFileSystem::Entry>>>' is not complete until the closing '}'
1026 | class __normal_iterator
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_iterator.h:1337:19: error: member access into incomplete type 'const __normal_iterator<const CharSourceRange *, vector<CharSourceRange>>'
1337 | -> decltype(__lhs.base() - __rhs.base())
| ^
/usr/lib/llvm-18/include/clang/Basic/Diagnostic.h:1725:18: note: in instantiation of template class '__gnu_cxx::__normal_iterator<const clang::CharSourceRange *, std::vector<clang::CharSourceRange>>' requested here
1725 | range_iterator range_begin() const { return Ranges.begin(); }
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_iterator.h:1026:11: note: definition of '__gnu_cxx::__normal_iterator<const clang::CharSourceRange *, std::vector<clang::CharSourceRange>>' is not complete until the closing '}'
1026 | class __normal_iterator
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_iterator.h:1337:19: error: member access into incomplete type 'const __normal_iterator<const FixItHint *, vector<FixItHint>>'
1337 | -> decltype(__lhs.base() - __rhs.base())
| ^
/usr/lib/llvm-18/include/clang/Basic/Diagnostic.h:1733:18: note: in instantiation of template class '__gnu_cxx::__normal_iterator<const clang::FixItHint *, std::vector<clang::FixItHint>>' requested here
1733 | fixit_iterator fixit_begin() const { return FixIts.begin(); }
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_iterator.h:1026:11: note: definition of '__gnu_cxx::__normal_iterator<const clang::FixItHint *, std::vector<clang::FixItHint>>' is not complete until the closing '}'
1026 | class __normal_iterator
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_iterator.h:1337:19: error: member access into incomplete type 'const __normal_iterator<Decl *const *, vector<Decl *>>'
1337 | -> decltype(__lhs.base() - __rhs.base())
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_vector.h:998:7: note: in instantiation of template class '__gnu_cxx::__normal_iterator<clang::Decl *const *, std::vector<clang::Decl *>>' requested here
998 | begin() const _GLIBCXX_NOEXCEPT
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_vector.h:626:36: note: in instantiation of member function 'std::vector<clang::Decl *>::begin' requested here
626 | std::__uninitialized_copy_a(__x.begin(), __x.end(),
| ^
/usr/lib/llvm-18/include/clang/AST/ASTContext.h:682:58: note: in instantiation of member function 'std::vector<clang::Decl *>::vector' requested here
682 | std::vector<Decl *> getTraversalScope() const { return TraversalScope; }
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_iterator.h:1026:11: note: definition of '__gnu_cxx::__normal_iterator<clang::Decl *const *, std::vector<clang::Decl *>>' is not complete until the closing '}'
1026 | class __normal_iterator
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_iterator.h:1337:19: error: member access into incomplete type 'const __normal_iterator<Decl **, vector<Decl *>>'
1337 | -> decltype(__lhs.base() - __rhs.base())
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_vector.h:1008:7: note: in instantiation of template class '__gnu_cxx::__normal_iterator<clang::Decl **, std::vector<clang::Decl *>>' requested here
1008 | end() _GLIBCXX_NOEXCEPT
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_vector.h:1361:11: note: in instantiation of member function 'std::vector<clang::Decl *>::end' requested here
1361 | return *(end() - 1);
| ^
/usr/lib/llvm-18/include/clang/AST/ASTContext.h:1071:50: note: in instantiation of member function 'std::vector<clang::Decl *>::back' requested here
1071 | if (TraversalScope.empty() || TraversalScope.back() == TUDecl)
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_iterator.h:1026:11: note: definition of '__gnu_cxx::__normal_iterator<clang::Decl **, std::vector<clang::Decl *>>' is not complete until the closing '}'
1026 | class __normal_iterator
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_iterator.h:1337:19: error: member access into incomplete type 'const __normal_iterator<const Entry *, vector<Entry>>'
1337 | -> decltype(__lhs.base() - __rhs.base())
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_vector.h:998:7: note: in instantiation of template class '__gnu_cxx::__normal_iterator<const clang::HeaderSearchOptions::Entry *, std::vector<clang::HeaderSearchOptions::Entry>>' requested here
998 | begin() const _GLIBCXX_NOEXCEPT
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_vector.h:1214:16: note: in instantiation of member function 'std::vector<clang::HeaderSearchOptions::Entry>::begin' requested here
1214 | { return begin() == end(); }
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_vector.h:1360:2: note: in instantiation of member function 'std::vector<clang::HeaderSearchOptions::Entry>::empty' requested here
1360 | __glibcxx_requires_nonempty();
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/debug/assertions.h:42:27: note: expanded from macro '__glibcxx_requires_nonempty'
42 | __glibcxx_assert(!this->empty())
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/vector.tcc:129:9: note: in instantiation of member function 'std::vector<clang::HeaderSearchOptions::Entry>::back' requested here
129 | return back();
| ^
/usr/lib/llvm-18/include/clang/Lex/HeaderSearchOptions.h:285:17: note: in instantiation of function template specialization 'std::vector<clang::HeaderSearchOptions::Entry>::emplace_back<llvm::StringRef &, clang::frontend::IncludeDirGroup &, bool &, bool &>' requested here
285 | UserEntries.emplace_back(Path, Group, IsFramework, IgnoreSysRoot);
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_iterator.h:1026:11: note: definition of '__gnu_cxx::__normal_iterator<const clang::HeaderSearchOptions::Entry *, std::vector<clang::HeaderSearchOptions::Entry>>' is not complete until the closing '}'
1026 | class __normal_iterator
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j2 -v returned exit code 1
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------