Bug#1114187: llvm-toolchain-18: FTBFS: /<<PKGBUILDDIR>>/llvm/include/llvm/ADT/SmallVector.h:119:62: error: 'uint64_t' was not declared in this scope
Santiago Vila
sanvila at debian.org
Fri Sep 5 19:19:50 BST 2025
Package: src:llvm-toolchain-18
Version: 1:18.1.8-18
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build.
Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202509/
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 could not 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:llvm-toolchain-18, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --with ocaml
debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -rf build-llvm llvm/docs/_build/ clang/docs/_build tools/clang/docs/_html/
rm -rf cov-int/ reports/
rm -f `ls debian/*.in|grep -v control.in|sed -e "s|.in$||g"`
find utils -name '*.pyc' | xargs -r rm -f
# Use -I because a test has a space in its name
find lldb/test -iname '*.pyc' | xargs -I{} -r rm -f {}
rm -f /<<PKGBUILDDIR>>/utils/vim/llvm-18.vim /<<PKGBUILDDIR>>/utils/vim/tablegen-18.vim
rm -f /<<PKGBUILDDIR>>/clang/tools/clang-format/clang-format-diff-18
rm -f /<<PKGBUILDDIR>>/clang/tools/clang-format/clang-format-18.py
rm -rf libclc/build
[... snipped ...]
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/Allocator.h:363:29: required from here
363 | for (auto &PtrAndSize : CustomSizedSlabs) {
| ^~~~~~~~~~~~~~~~
/usr/include/c++/15/bits/range_access.h:55:24: error: âclass llvm::SmallVector<std::pair<void*, long unsigned int>, 0>â has no member named âbeginâ
55 | -> decltype(__cont.begin())
| ~~~~~~~^~~~~
/usr/include/c++/15/bits/range_access.h:66:5: note: candidate 3: âtemplate<class _Container> constexpr decltype (__cont.begin()) std::begin(const _Container&)â
66 | begin(const _Container& __cont) noexcept(noexcept(__cont.begin()))
| ^~~~~
/usr/include/c++/15/bits/range_access.h:66:5: note: template argument deduction/substitution failed:
/usr/include/c++/15/bits/range_access.h: In substitution of âtemplate<class _Container> constexpr decltype (__cont.begin()) std::begin(const _Container&) [with _Container = llvm::SmallVector<std::pair<void*, long unsigned int>, 0>]â:
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/Allocator.h:363:29: required from here
363 | for (auto &PtrAndSize : CustomSizedSlabs) {
| ^~~~~~~~~~~~~~~~
/usr/include/c++/15/bits/range_access.h:67:24: error: âconst class llvm::SmallVector<std::pair<void*, long unsigned int>, 0>â has no member named âbeginâ
67 | -> decltype(__cont.begin())
| ~~~~~~~^~~~~
/usr/include/c++/15/bits/range_access.h:101:5: note: candidate 4: âtemplate<class _Tp, long unsigned int _Nm> constexpr _Tp* std::begin(_Tp (&)[_Nm])â
101 | begin(_Tp (&__arr)[_Nm]) noexcept
| ^~~~~
/usr/include/c++/15/bits/range_access.h:101:5: note: template argument deduction/substitution failed:
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/Allocator.h:363:29: note: mismatched types â_Tp [_Nm]â and âllvm::SmallVector<std::pair<void*, long unsigned int>, 0>â
363 | for (auto &PtrAndSize : CustomSizedSlabs) {
| ^~~~~~~~~~~~~~~~
/usr/include/c++/15/bits/range_access.h:119:31: note: candidate 5: âtemplate<class _Tp> _Tp* std::begin(valarray<_Tp>&)â
119 | template<typename _Tp> _Tp* begin(valarray<_Tp>&) noexcept;
| ^~~~~
/usr/include/c++/15/bits/range_access.h:119:31: note: template argument deduction/substitution failed:
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/Allocator.h:363:29: note: âllvm::SmallVector<std::pair<void*, long unsigned int>, 0>â is not derived from âstd::valarray<_Tp>â
363 | for (auto &PtrAndSize : CustomSizedSlabs) {
| ^~~~~~~~~~~~~~~~
/usr/include/c++/15/bits/range_access.h:120:37: note: candidate 6: âtemplate<class _Tp> const _Tp* std::begin(const valarray<_Tp>&)â
120 | template<typename _Tp> const _Tp* begin(const valarray<_Tp>&) noexcept;
| ^~~~~
/usr/include/c++/15/bits/range_access.h:120:37: note: template argument deduction/substitution failed:
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/Allocator.h:363:29: note: âllvm::SmallVector<std::pair<void*, long unsigned int>, 0>â is not derived from âconst std::valarray<_Tp>â
363 | for (auto &PtrAndSize : CustomSizedSlabs) {
| ^~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/Allocator.h:363:29: error: no matching function for call to âend(llvm::SmallVector<std::pair<void*, long unsigned int>, 0>&)â [-Wtemplate-body]
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/Allocator.h:363:29: note: there are 6 candidates
/usr/include/c++/15/initializer_list:101:5: note: candidate 1: âtemplate<class _Tp> constexpr const _Tp* std::end(initializer_list<_Tp>)â
101 | end(initializer_list<_Tp> __ils) noexcept
| ^~~
/usr/include/c++/15/initializer_list:101:5: note: template argument deduction/substitution failed:
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/Allocator.h:363:29: note: âllvm::SmallVector<std::pair<void*, long unsigned int>, 0>â is not derived from âstd::initializer_list<_Tp>â
363 | for (auto &PtrAndSize : CustomSizedSlabs) {
| ^~~~~~~~~~~~~~~~
/usr/include/c++/15/bits/range_access.h:78:5: note: candidate 2: âtemplate<class _Container> constexpr decltype (__cont.end()) std::end(_Container&)â
78 | end(_Container& __cont) noexcept(noexcept(__cont.end()))
| ^~~
/usr/include/c++/15/bits/range_access.h:78:5: note: template argument deduction/substitution failed:
/usr/include/c++/15/bits/range_access.h: In substitution of âtemplate<class _Container> constexpr decltype (__cont.end()) std::end(_Container&) [with _Container = llvm::SmallVector<std::pair<void*, long unsigned int>, 0>]â:
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/Allocator.h:363:29: required from here
363 | for (auto &PtrAndSize : CustomSizedSlabs) {
| ^~~~~~~~~~~~~~~~
/usr/include/c++/15/bits/range_access.h:79:24: error: âclass llvm::SmallVector<std::pair<void*, long unsigned int>, 0>â has no member named âendâ
79 | -> decltype(__cont.end())
| ~~~~~~~^~~
/usr/include/c++/15/bits/range_access.h:90:5: note: candidate 3: âtemplate<class _Container> constexpr decltype (__cont.end()) std::end(const _Container&)â
90 | end(const _Container& __cont) noexcept(noexcept(__cont.end()))
| ^~~
/usr/include/c++/15/bits/range_access.h:90:5: note: template argument deduction/substitution failed:
/usr/include/c++/15/bits/range_access.h: In substitution of âtemplate<class _Container> constexpr decltype (__cont.end()) std::end(const _Container&) [with _Container = llvm::SmallVector<std::pair<void*, long unsigned int>, 0>]â:
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/Allocator.h:363:29: required from here
363 | for (auto &PtrAndSize : CustomSizedSlabs) {
| ^~~~~~~~~~~~~~~~
/usr/include/c++/15/bits/range_access.h:91:24: error: âconst class llvm::SmallVector<std::pair<void*, long unsigned int>, 0>â has no member named âendâ
91 | -> decltype(__cont.end())
| ~~~~~~~^~~
/usr/include/c++/15/bits/range_access.h:112:5: note: candidate 4: âtemplate<class _Tp, long unsigned int _Nm> constexpr _Tp* std::end(_Tp (&)[_Nm])â
112 | end(_Tp (&__arr)[_Nm]) noexcept
| ^~~
/usr/include/c++/15/bits/range_access.h:112:5: note: template argument deduction/substitution failed:
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/Allocator.h:363:29: note: mismatched types â_Tp [_Nm]â and âllvm::SmallVector<std::pair<void*, long unsigned int>, 0>â
363 | for (auto &PtrAndSize : CustomSizedSlabs) {
| ^~~~~~~~~~~~~~~~
/usr/include/c++/15/bits/range_access.h:121:31: note: candidate 5: âtemplate<class _Tp> _Tp* std::end(valarray<_Tp>&)â
121 | template<typename _Tp> _Tp* end(valarray<_Tp>&) noexcept;
| ^~~
/usr/include/c++/15/bits/range_access.h:121:31: note: template argument deduction/substitution failed:
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/Allocator.h:363:29: note: âllvm::SmallVector<std::pair<void*, long unsigned int>, 0>â is not derived from âstd::valarray<_Tp>â
363 | for (auto &PtrAndSize : CustomSizedSlabs) {
| ^~~~~~~~~~~~~~~~
/usr/include/c++/15/bits/range_access.h:122:37: note: candidate 6: âtemplate<class _Tp> const _Tp* std::end(const valarray<_Tp>&)â
122 | template<typename _Tp> const _Tp* end(const valarray<_Tp>&) noexcept;
| ^~~
/usr/include/c++/15/bits/range_access.h:122:37: note: template argument deduction/substitution failed:
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/Allocator.h:363:29: note: âllvm::SmallVector<std::pair<void*, long unsigned int>, 0>â is not derived from âconst std::valarray<_Tp>â
363 | for (auto &PtrAndSize : CustomSizedSlabs) {
| ^~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/Allocator.h: In member function âvoid llvm::SpecificBumpPtrAllocator<T>::DestroyAll()â:
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/Allocator.h:410:35: error: âclass llvm::SmallVector<void*, 4>â has no member named âbeginâ [-Wtemplate-body]
410 | for (auto I = Allocator.Slabs.begin(), E = Allocator.Slabs.end(); I != E;
| ^~~~~
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/Allocator.h:410:76: error: âEâ was not declared in this scope [-Wtemplate-body]
410 | for (auto I = Allocator.Slabs.begin(), E = Allocator.Slabs.end(); I != E;
| ^
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/Allocator.h:413:41: error: âclass llvm::SmallVector<void*, 4>â has no member named âbeginâ [-Wtemplate-body]
413 | std::distance(Allocator.Slabs.begin(), I));
| ^~~~~
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/Allocator.h:415:41: error: âclass llvm::SmallVector<void*, 4>â has no member named âbackâ [-Wtemplate-body]
415 | char *End = *I == Allocator.Slabs.back() ? Allocator.CurPtr
| ^~~~
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/Allocator.h:421:39: error: no matching function for call to âbegin(llvm::SmallVector<std::pair<void*, long unsigned int>, 0>&)â [-Wtemplate-body]
421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) {
| ^~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/Allocator.h:421:39: note: there are 6 candidates
/usr/include/c++/15/initializer_list:90:5: note: candidate 1: âtemplate<class _Tp> constexpr const _Tp* std::begin(initializer_list<_Tp>)â
90 | begin(initializer_list<_Tp> __ils) noexcept
| ^~~~~
/usr/include/c++/15/initializer_list:90:5: note: template argument deduction/substitution failed:
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/Allocator.h:421:39: note: âllvm::SmallVector<std::pair<void*, long unsigned int>, 0>â is not derived from âstd::initializer_list<_Tp>â
421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) {
| ^~~~~~~~~~~~~~~~
/usr/include/c++/15/bits/range_access.h:54:5: note: candidate 2: âtemplate<class _Container> constexpr decltype (__cont.begin()) std::begin(_Container&)â
54 | begin(_Container& __cont) noexcept(noexcept(__cont.begin()))
| ^~~~~
/usr/include/c++/15/bits/range_access.h:54:5: note: template argument deduction/substitution failed:
/usr/include/c++/15/bits/range_access.h: In substitution of âtemplate<class _Container> constexpr decltype (__cont.begin()) std::begin(_Container&) [with _Container = llvm::SmallVector<std::pair<void*, long unsigned int>, 0>]â:
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/Allocator.h:421:39: required from here
421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) {
| ^~~~~~~~~~~~~~~~
/usr/include/c++/15/bits/range_access.h:55:24: error: âclass llvm::SmallVector<std::pair<void*, long unsigned int>, 0>â has no member named âbeginâ
55 | -> decltype(__cont.begin())
| ~~~~~~~^~~~~
/usr/include/c++/15/bits/range_access.h:66:5: note: candidate 3: âtemplate<class _Container> constexpr decltype (__cont.begin()) std::begin(const _Container&)â
66 | begin(const _Container& __cont) noexcept(noexcept(__cont.begin()))
| ^~~~~
/usr/include/c++/15/bits/range_access.h:66:5: note: template argument deduction/substitution failed:
/usr/include/c++/15/bits/range_access.h: In substitution of âtemplate<class _Container> constexpr decltype (__cont.begin()) std::begin(const _Container&) [with _Container = llvm::SmallVector<std::pair<void*, long unsigned int>, 0>]â:
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/Allocator.h:421:39: required from here
421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) {
| ^~~~~~~~~~~~~~~~
/usr/include/c++/15/bits/range_access.h:67:24: error: âconst class llvm::SmallVector<std::pair<void*, long unsigned int>, 0>â has no member named âbeginâ
67 | -> decltype(__cont.begin())
| ~~~~~~~^~~~~
/usr/include/c++/15/bits/range_access.h:101:5: note: candidate 4: âtemplate<class _Tp, long unsigned int _Nm> constexpr _Tp* std::begin(_Tp (&)[_Nm])â
101 | begin(_Tp (&__arr)[_Nm]) noexcept
| ^~~~~
/usr/include/c++/15/bits/range_access.h:101:5: note: template argument deduction/substitution failed:
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/Allocator.h:421:39: note: mismatched types â_Tp [_Nm]â and âllvm::SmallVector<std::pair<void*, long unsigned int>, 0>â
421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) {
| ^~~~~~~~~~~~~~~~
/usr/include/c++/15/bits/range_access.h:119:31: note: candidate 5: âtemplate<class _Tp> _Tp* std::begin(valarray<_Tp>&)â
119 | template<typename _Tp> _Tp* begin(valarray<_Tp>&) noexcept;
| ^~~~~
/usr/include/c++/15/bits/range_access.h:119:31: note: template argument deduction/substitution failed:
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/Allocator.h:421:39: note: âllvm::SmallVector<std::pair<void*, long unsigned int>, 0>â is not derived from âstd::valarray<_Tp>â
421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) {
| ^~~~~~~~~~~~~~~~
/usr/include/c++/15/bits/range_access.h:120:37: note: candidate 6: âtemplate<class _Tp> const _Tp* std::begin(const valarray<_Tp>&)â
120 | template<typename _Tp> const _Tp* begin(const valarray<_Tp>&) noexcept;
| ^~~~~
/usr/include/c++/15/bits/range_access.h:120:37: note: template argument deduction/substitution failed:
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/Allocator.h:421:39: note: âllvm::SmallVector<std::pair<void*, long unsigned int>, 0>â is not derived from âconst std::valarray<_Tp>â
421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) {
| ^~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/Allocator.h:421:39: error: no matching function for call to âend(llvm::SmallVector<std::pair<void*, long unsigned int>, 0>&)â [-Wtemplate-body]
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/Allocator.h:421:39: note: there are 6 candidates
/usr/include/c++/15/initializer_list:101:5: note: candidate 1: âtemplate<class _Tp> constexpr const _Tp* std::end(initializer_list<_Tp>)â
101 | end(initializer_list<_Tp> __ils) noexcept
| ^~~
/usr/include/c++/15/initializer_list:101:5: note: template argument deduction/substitution failed:
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/Allocator.h:421:39: note: âllvm::SmallVector<std::pair<void*, long unsigned int>, 0>â is not derived from âstd::initializer_list<_Tp>â
421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) {
| ^~~~~~~~~~~~~~~~
/usr/include/c++/15/bits/range_access.h:78:5: note: candidate 2: âtemplate<class _Container> constexpr decltype (__cont.end()) std::end(_Container&)â
78 | end(_Container& __cont) noexcept(noexcept(__cont.end()))
| ^~~
/usr/include/c++/15/bits/range_access.h:78:5: note: template argument deduction/substitution failed:
/usr/include/c++/15/bits/range_access.h: In substitution of âtemplate<class _Container> constexpr decltype (__cont.end()) std::end(_Container&) [with _Container = llvm::SmallVector<std::pair<void*, long unsigned int>, 0>]â:
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/Allocator.h:421:39: required from here
421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) {
| ^~~~~~~~~~~~~~~~
/usr/include/c++/15/bits/range_access.h:79:24: error: âclass llvm::SmallVector<std::pair<void*, long unsigned int>, 0>â has no member named âendâ
79 | -> decltype(__cont.end())
| ~~~~~~~^~~
/usr/include/c++/15/bits/range_access.h:90:5: note: candidate 3: âtemplate<class _Container> constexpr decltype (__cont.end()) std::end(const _Container&)â
90 | end(const _Container& __cont) noexcept(noexcept(__cont.end()))
| ^~~
/usr/include/c++/15/bits/range_access.h:90:5: note: template argument deduction/substitution failed:
/usr/include/c++/15/bits/range_access.h: In substitution of âtemplate<class _Container> constexpr decltype (__cont.end()) std::end(const _Container&) [with _Container = llvm::SmallVector<std::pair<void*, long unsigned int>, 0>]â:
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/Allocator.h:421:39: required from here
421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) {
| ^~~~~~~~~~~~~~~~
/usr/include/c++/15/bits/range_access.h:91:24: error: âconst class llvm::SmallVector<std::pair<void*, long unsigned int>, 0>â has no member named âendâ
91 | -> decltype(__cont.end())
| ~~~~~~~^~~
/usr/include/c++/15/bits/range_access.h:112:5: note: candidate 4: âtemplate<class _Tp, long unsigned int _Nm> constexpr _Tp* std::end(_Tp (&)[_Nm])â
112 | end(_Tp (&__arr)[_Nm]) noexcept
| ^~~
/usr/include/c++/15/bits/range_access.h:112:5: note: template argument deduction/substitution failed:
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/Allocator.h:421:39: note: mismatched types â_Tp [_Nm]â and âllvm::SmallVector<std::pair<void*, long unsigned int>, 0>â
421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) {
| ^~~~~~~~~~~~~~~~
/usr/include/c++/15/bits/range_access.h:121:31: note: candidate 5: âtemplate<class _Tp> _Tp* std::end(valarray<_Tp>&)â
121 | template<typename _Tp> _Tp* end(valarray<_Tp>&) noexcept;
| ^~~
/usr/include/c++/15/bits/range_access.h:121:31: note: template argument deduction/substitution failed:
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/Allocator.h:421:39: note: âllvm::SmallVector<std::pair<void*, long unsigned int>, 0>â is not derived from âstd::valarray<_Tp>â
421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) {
| ^~~~~~~~~~~~~~~~
/usr/include/c++/15/bits/range_access.h:122:37: note: candidate 6: âtemplate<class _Tp> const _Tp* std::end(const valarray<_Tp>&)â
122 | template<typename _Tp> const _Tp* end(const valarray<_Tp>&) noexcept;
| ^~~
/usr/include/c++/15/bits/range_access.h:122:37: note: template argument deduction/substitution failed:
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/Allocator.h:421:39: note: âllvm::SmallVector<std::pair<void*, long unsigned int>, 0>â is not derived from âconst std::valarray<_Tp>â
421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) {
| ^~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/llvm/include/llvm/ADT/SmallVector.h: In instantiation of âclass llvm::SmallVectorTemplateBase<char, true>â:
/<<PKGBUILDDIR>>/llvm/include/llvm/ADT/SmallVector.h:586:7: required from âclass llvm::SmallVectorImpl<char>â
586 | class SmallVectorImpl : public SmallVectorTemplateBase<T> {
| ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/raw_ostream.h:244:28: required from here
244 | return this->operator<<(StringRef(Str));
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/llvm/include/llvm/ADT/SmallVector.h:488:7: error: invalid use of incomplete type âclass llvm::SmallVectorTemplateCommon<char, void>â
488 | class SmallVectorTemplateBase<T, true> : public SmallVectorTemplateCommon<T> {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/llvm/include/llvm/ADT/SmallVector.h:133:7: note: declaration of âclass llvm::SmallVectorTemplateCommon<char, void>â
133 | class SmallVectorTemplateCommon
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/llvm/include/llvm/ADT/SmallVector.h: In instantiation of âclass llvm::SmallVectorImpl<char>â:
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/raw_ostream.h:244:28: required from here
244 | return this->operator<<(StringRef(Str));
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/llvm/include/llvm/ADT/SmallVector.h:590:9: error: no type named âiteratorâ in âusing llvm::SmallVectorImpl<char>::SuperClass = class llvm::SmallVectorTemplateBase<char, true>â {aka âclass llvm::SmallVectorTemplateBase<char, true>â}
590 | using iterator = typename SuperClass::iterator;
| ^~~~~~~~
/<<PKGBUILDDIR>>/llvm/include/llvm/ADT/SmallVector.h:591:9: error: no type named âconst_iteratorâ in âusing llvm::SmallVectorImpl<char>::SuperClass = class llvm::SmallVectorTemplateBase<char, true>â {aka âclass llvm::SmallVectorTemplateBase<char, true>â}
591 | using const_iterator = typename SuperClass::const_iterator;
| ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/llvm/include/llvm/ADT/SmallVector.h:592:9: error: no type named âreferenceâ in âusing llvm::SmallVectorImpl<char>::SuperClass = class llvm::SmallVectorTemplateBase<char, true>â {aka âclass llvm::SmallVectorTemplateBase<char, true>â}
592 | using reference = typename SuperClass::reference;
| ^~~~~~~~~
/<<PKGBUILDDIR>>/llvm/include/llvm/ADT/SmallVector.h:593:9: error: no type named âsize_typeâ in âusing llvm::SmallVectorImpl<char>::SuperClass = class llvm::SmallVectorTemplateBase<char, true>â {aka âclass llvm::SmallVectorTemplateBase<char, true>â}
593 | using size_type = typename SuperClass::size_type;
| ^~~~~~~~~
/<<PKGBUILDDIR>>/llvm/include/llvm/ADT/SmallVector.h:630:21: error: âset_sizeâ has not been declared in âusing llvm::SmallVectorImpl<char>::SuperClass = class llvm::SmallVectorTemplateBase<char, true>â
630 | using SuperClass::set_size;
| ^~~~~~~~
In file included from /<<PKGBUILDDIR>>/llvm/lib/Support/Allocator.cpp:14:
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/raw_ostream.h: In member function âllvm::raw_ostream& llvm::raw_ostream::operator<<(const llvm::SmallVectorImpl<char>&)â:
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/raw_ostream.h:257:22: error: âconst class llvm::SmallVectorImpl<char>â has no member named âdataâ
257 | return write(Str.data(), Str.size());
| ^~~~
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/raw_ostream.h:257:34: error: âconst class llvm::SmallVectorImpl<char>â has no member named âsizeâ
257 | return write(Str.data(), Str.size());
| ^~~~
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/raw_ostream.h: In member function âllvm::StringRef llvm::raw_svector_ostream::str() constâ:
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/raw_ostream.h:699:47: error: âclass llvm::SmallVectorImpl<char>â has no member named âdataâ
699 | StringRef str() const { return StringRef(OS.data(), OS.size()); }
| ^~~~
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/raw_ostream.h:699:58: error: âclass llvm::SmallVectorImpl<char>â has no member named âsizeâ
699 | StringRef str() const { return StringRef(OS.data(), OS.size()); }
| ^~~~
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/raw_ostream.h: In member function âvirtual void llvm::raw_svector_ostream::reserveExtraSpace(uint64_t)â:
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/raw_ostream.h:702:8: error: âclass llvm::SmallVectorImpl<char>â has no member named âreserveâ
702 | OS.reserve(tell() + ExtraSize);
| ^~~~~~~
/<<PKGBUILDDIR>>/llvm/include/llvm/ADT/SmallVector.h: In instantiation of âllvm::SmallVector<T, N>::~SmallVector() [with T = char; unsigned int N = 0]â:
/<<PKGBUILDDIR>>/llvm/include/llvm/Support/raw_ostream.h:728:71: required from here
728 | buffer_ostream(raw_ostream &OS) : raw_svector_ostream(Buffer), OS(OS) {}
| ^
/<<PKGBUILDDIR>>/llvm/include/llvm/ADT/SmallVector.h:1215:31: error: âclass llvm::SmallVector<char, 0>â has no member named âbeginâ
1215 | this->destroy_range(this->begin(), this->end());
| ~~~~~~^~~~~
/<<PKGBUILDDIR>>/llvm/include/llvm/ADT/SmallVector.h:1215:46: error: âclass llvm::SmallVector<char, 0>â has no member named âendâ
1215 | this->destroy_range(this->begin(), this->end());
| ~~~~~~^~~
At global scope:
cc1plus: note: unrecognized command-line option â-Wno-unused-command-line-argumentâ may have been intended to silence earlier diagnostics
[17/3120] /usr/bin/g++ -D_GNU_SOURCE -D__STDC_CONSTANT_MACRO [too-long-redacted] /Support/ARMAttributeParser.cpp
ninja: build stopped: subcommand failed.
cat: build-llvm/tools/clang/stage2-bins/CMakeFiles/CMakeOutput.log: No such file or directory
make[1]: *** [debian/rules:891: stamps/debian-full-build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:601: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
More information about the Pkg-llvm-team
mailing list