#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>>'

#1143647#5
Date:
2026-08-05 11:23:28 UTC
From:
To:
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
--------------------------------------------------------------------------------

#1143647#10
Date:
2026-10-21 17:05:06 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
clang-extract, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1143647@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jeremy Bícha <jbicha@ubuntu.com> (supplier of updated clang-extract package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 21 Oct 2026 18:39:29 +0200
Source: clang-extract
Built-For-Profiles: derivative.ubuntu noudeb
Architecture: source
Version: 0.0~git20260224.ac30d66-1.1
Distribution: unstable
Urgency: medium
Maintainer: Emmanuel Arias <eamanu@debian.org>
Changed-By: Jeremy Bícha <jbicha@ubuntu.com>
Closes: 1140380 1143647
Changes:
 clang-extract (0.0~git20260224.ac30d66-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload
   * Build for llvm 21 (Closes: #1140380, #1143647)
Checksums-Sha1:
 3a57b5a908c07fafeef7d44d5f3458cb4998a07d 2303 clang-extract_0.0~git20260224.ac30d66-1.1.dsc
 66e45682c2e5170ce451df3fb05da77e937a0787 5464 clang-extract_0.0~git20260224.ac30d66-1.1.debian.tar.xz
 3bf6dac6a1c06dde1f616024fdc60aa23385c226 9346 clang-extract_0.0~git20260224.ac30d66-1.1_source.buildinfo
Checksums-Sha256:
 91421bd3e92e24ae60c6560fa9eec69aceb33d295612bf21c7e40ea46c69c301 2303 clang-extract_0.0~git20260224.ac30d66-1.1.dsc
 c21949d9ebc068c56bad77e7f8d5cae04a83998d3a91b0a986fb6cc4e7fa20f4 5464 clang-extract_0.0~git20260224.ac30d66-1.1.debian.tar.xz
 8f3cb104d605307621d434c8b182a393bc43c4c6535570c7f4ece63c3236594b 9346 clang-extract_0.0~git20260224.ac30d66-1.1_source.buildinfo
Files:
 1e15c47bb9f2cd9281958626267dd9f8 2303 kernel optional clang-extract_0.0~git20260224.ac30d66-1.1.dsc
 e15020b7081e46e800d44f18fc32bacd 5464 kernel optional clang-extract_0.0~git20260224.ac30d66-1.1.debian.tar.xz
 93de07a3c15ae81411c7356a362d58fe 9346 kernel optional clang-extract_0.0~git20260224.ac30d66-1.1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEETQvhLw5HdtiqzpaW5mx3Wuv+bH0FAmrY6t8ACgkQ5mx3Wuv+
bH3CNQ//alnZuyRPXdRKHVyBrgiOd05wx4rx7KCa1L4C7Yo/lTRrcY7Ii/RUdSmI
h8y+PXSivz8IJOscLw+josV9ni66Tzf1TsJhnJE0RdaEgJmQOlRGSlrs1Hb2O+Sn
oAkY4m6G3d+ZERs6VfGRfa69n7lGRuO/XUSRstiR9R8atHBjhwdeU0DN+/E3jjSo
SVWc0QlQ6GVusLHfge5M///jfX/DxvUSNP9EtDBne4Sby/WpkEncIHnaSkHc0yUA
DWtJro4JpVdgJrLlZ5GNrZg9kJgydGkmxzOsiKiGjvwhBZGNvZ8n5b3+hA+LQ2ZA
whIw4U2fSoSwZNgdatTEw17ntM+p17jqYVW/lJHfivRlSLqKgNst/U1J5Tuy2ZqJ
jC7W3sEXJzP27wb96fPDD4heI2VpV9xm+nBf0IWY8piIYjWNwM5HhvniJuIh33Cj
xEfMGoDaHIsiyVV3X5+cj6069eBBZvf5m9KJQbKFDvAlr43+XMD5BqT58NgzcFvm
QrZrsn1SEjSmJfWXxjWMlkPh9b4LBLXIStgs//p2cUxYSaLsz0D4R3UJEp6VyeEs
A7UZQC2YY9x9GRpr4SYuHS+A8pOfjQhzTvBFHh/wTQAok0UxRrYWyihaX76MopM6
xs8+TIfNIQxRG5skLSESnPO5cK/fUSI1n07BnQPh89LoaJaQvms=
=oNYg
-----END PGP SIGNATURE-----