Source: android-platform-art Version: 11.0.0+r48-3 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20220813 ftbfs-bookworm
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > clang++ -c -o runtime/thread_linux.o runtime/thread_linux.cc -Wdate-time > -D_FORTIFY_SOURCE=2 -DNDEBUG -I/usr/include/android -UDEBUG > -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64 > -D_LARGEFILE_SOURCE=1 -DART_BASE_ADDRESS_MAX_DELTA=0x1000000 > -DART_BASE_ADDRESS_MIN_DELTA=-0x1000000 -DART_BASE_ADDRESS=0x60000000 > -DART_DEFAULT_COMPACT_DEX_LEVEL=fast -DART_DEFAULT_GC_TYPE_IS_CMS > -DART_ENABLE_ADDRESS_SANITIZER=1 -DART_ENABLE_CODEGEN_x86_64 > -DART_FRAME_SIZE_LIMIT=1736 -DART_READ_BARRIER_TYPE_IS_BAKER=1 > -DART_STACK_OVERFLOW_GAP_arm=8192 -DART_STACK_OVERFLOW_GAP_arm64=8192 > -DART_STACK_OVERFLOW_GAP_x86_64=8192 -DART_STACK_OVERFLOW_GAP_x86=8192 > -DART_USE_READ_BARRIER=1 -DBUILDING_LIBART=1 -DIMT_SIZE=43 -DUSE_D8_DESUGAR=1 > -I. -I/usr/include/android/nativehelper -Icmdline -Idebian/out -Ilibartbase > -Ilibartbase/arch -Ilibartpalette/include -Ilibdexfile > -Ilibdexfile/external/include -Ilibelffile -Ilibnativebridge/include > -Ilibnativeloader/include -Ilibprofile -Iruntime -Isigchainlib > -Itools/cpp-define-generator -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -fPIC -std=gnu++17 > -fno-omit-frame-pointer -fno-rtti -fstrict-aliasing -fvisibility=protected > -Wa,--noexecstack -Wno-invalid-offsetof -Wno-invalid-partial-specialization > clang++ -c -o runtime/interpreter/mterp/mterp.o > runtime/interpreter/mterp/mterp.cc -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG > -I/usr/include/android -UDEBUG -D__STDC_CONSTANT_MACROS > -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 > -DART_BASE_ADDRESS_MAX_DELTA=0x1000000 > -DART_BASE_ADDRESS_MIN_DELTA=-0x1000000 -DART_BASE_ADDRESS=0x60000000 > -DART_DEFAULT_COMPACT_DEX_LEVEL=fast -DART_DEFAULT_GC_TYPE_IS_CMS > -DART_ENABLE_ADDRESS_SANITIZER=1 -DART_ENABLE_CODEGEN_x86_64 > -DART_FRAME_SIZE_LIMIT=1736 -DART_READ_BARRIER_TYPE_IS_BAKER=1 > -DART_STACK_OVERFLOW_GAP_arm=8192 -DART_STACK_OVERFLOW_GAP_arm64=8192 > -DART_STACK_OVERFLOW_GAP_x86_64=8192 -DART_STACK_OVERFLOW_GAP_x86=8192 > -DART_USE_READ_BARRIER=1 -DBUILDING_LIBART=1 -DIMT_SIZE=43 -DUSE_D8_DESUGAR=1 > -I. -I/usr/include/android/nativehelper -Icmdline -Idebian/out -Ilibartbase > -Ilibartbase/arch -Ilibartpalette/include -Ilibdexfile > -Ilibdexfile/external/include -Ilibelffile -Ilibnativebridge/include > -Ilibnativeloader/include -Ilibprofile -Iruntime -Isigchainlib > -Itools/cpp-define-generator -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -fPIC -std=gnu++17 > -fno-omit-frame-pointer -fno-rtti -fstrict-aliasing -fvisibility=protected > -Wa,--noexecstack -Wno-invalid-offsetof -Wno-invalid-partial-specialization > runtime/thread_linux.cc:36:22: error: constexpr variable > 'kHostAltSigStackSize' must be initialized by a constant expression > static constexpr int kHostAltSigStackSize = > ^ > runtime/thread_linux.cc:37:15: note: non-constexpr function 'sysconf' cannot > be used in a constant expression > 32 * KB < MINSIGSTKSZ ? MINSIGSTKSZ : 32 * KB; > ^ > /usr/include/x86_64-linux-gnu/bits/sigstksz.h:32:22: note: expanded from > macro 'MINSIGSTKSZ' > # define MINSIGSTKSZ SIGSTKSZ > ^ > /usr/include/x86_64-linux-gnu/bits/sigstksz.h:28:19: note: expanded from > macro 'SIGSTKSZ' > # define SIGSTKSZ sysconf (_SC_SIGSTKSZ) > ^ > /usr/include/unistd.h:640:17: note: declared here > extern long int sysconf (int __name) __THROW; > ^ > In file included from runtime/entrypoints/quick/quick_throw_entrypoints.cc:17: > In file included from runtime/art_method-inl.h:24: > In file included from runtime/class_linker-inl.h:23: > In file included from runtime/art_field-inl.h:28: > In file included from runtime/gc_root-inl.h:25: > In file included from runtime/read_barrier-inl.h:23: > In file included from runtime/gc/collector/concurrent_copying-inl.h:25: > In file included from runtime/gc/space/region_space-inl.h:23: > In file included from runtime/mirror/object-inl.h:26: > In file included from runtime/mirror/class-inl.h:24: > In file included from libartbase/base/array_slice.h:23: > In file included from libartbase/base/length_prefixed_array.h:26: > libartbase/base/stride_iterator.h:27:36: warning: > 'iterator<std::random_access_iterator_tag, art::ArtField>' is deprecated > [-Wdeprecated-declarations] > class StrideIterator : public std::iterator<std::random_access_iterator_tag, > T> { > ^ > /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_iterator_base_types.h:162:27: > note: in instantiation of template class > 'art::StrideIterator<art::ArtField>' requested here > __void_t<typename _Iterator::iterator_category, > ^ > /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_iterator_base_types.h:178:14: > note: during template argument deduction for class template partial > specialization '__iterator_traits<_Iterator>' [with _Iterator = > art::StrideIterator<art::ArtField>] > : public __iterator_traits<_Iterator> { }; > ^ > /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_iterator_base_types.h:178:14: > note: in instantiation of template class > 'std::__iterator_traits<art::StrideIterator<art::ArtField>>' requested here > libartbase/base/iteration_range.h:30:25: note: in instantiation of template > class 'std::iterator_traits<art::StrideIterator<art::ArtField>>' requested > here > typedef typename std::iterator_traits<Iter>::difference_type > difference_type; > ^ > runtime/mirror/class-inl.h:1004:56: note: in instantiation of template class > 'art::IterationRange<art::StrideIterator<art::ArtField>>' requested here > inline IterationRange<StrideIterator<ArtField>> Class::GetIFields() { > ^ > /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_iterator_base_types.h:127:12: > note: 'iterator<std::random_access_iterator_tag, art::ArtField>' has been > explicitly marked deprecated here > struct _GLIBCXX17_DEPRECATED iterator > ^ > /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/x86_64-linux-gnu/c++/12/bits/c++config.h:119:34: > note: expanded from macro '_GLIBCXX17_DEPRECATED' > # define _GLIBCXX17_DEPRECATED [[__deprecated__]] > ^ > In file included from runtime/entrypoints/quick/quick_throw_entrypoints.cc:17: > In file included from runtime/art_method-inl.h:24: > In file included from runtime/class_linker-inl.h:23: > In file included from runtime/art_field-inl.h:28: > In file included from runtime/gc_root-inl.h:25: > In file included from runtime/read_barrier-inl.h:23: > In file included from runtime/gc/collector/concurrent_copying-inl.h:25: > In file included from runtime/gc/space/region_space-inl.h:23: > In file included from runtime/mirror/object-inl.h:26: > In file included from runtime/mirror/class-inl.h:24: > In file included from libartbase/base/array_slice.h:23: > In file included from libartbase/base/length_prefixed_array.h:26: > libartbase/base/stride_iterator.h:30:21: warning: > 'iterator<std::random_access_iterator_tag, art::ArtField>' is deprecated > [-Wdeprecated-declarations] > typename std::iterator<std::random_access_iterator_tag, > T>::difference_type; > ^ > /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_iterator_base_types.h:127:12: > note: 'iterator<std::random_access_iterator_tag, art::ArtField>' has been > explicitly marked deprecated here > struct _GLIBCXX17_DEPRECATED iterator > ^ > /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/x86_64-linux-gnu/c++/12/bits/c++config.h:119:34: > note: expanded from macro '_GLIBCXX17_DEPRECATED' > # define _GLIBCXX17_DEPRECATED [[__deprecated__]] > ^ > 1 error generated. > make[2]: *** [debian/libart.mk:487: runtime/thread_linux.o] Error 1 The full build log is available from: http://qa-logs.debian.net/2022/08/13/android-platform-art_11.0.0+r48-3_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220813;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220813&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please marking it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.