Followup-For: Bug #1012890 Control: found -1 13~beta3-1~exp1 Hi,
I now see this failure while building android-platform-frameworks-base/experimental: clang++ -c -o libs/androidfw/LoadedArsc.o libs/androidfw/LoadedArsc.cpp -g -O2 -ffile-prefix-map=/build/android-platform-frameworks-base-13~beta3=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -std=gnu++17 -Wno-missing-field-initializers -Wunreachable-code -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -I/usr/include/android -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -DSTATIC_ANDROIDFW_FOR_TOOLS -Ilibs/androidfw/include In file included from libs/androidfw/LoadedArsc.cpp:19: In file included from libs/androidfw/include/androidfw/LoadedArsc.h:20: In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/map:60: In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_tree.h:63: In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_algobase.h:66: /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_iterator_base_funcs.h:192:2: error: cannot decrement value of type 'android::incfs::map_ptr<android::ResTable_sparseTypeEntry, false>::const_iterator' --__i; ^ ~~~ /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_iterator_base_funcs.h:222:12: note: in instantiation of function template specialization 'std::__advance<android::incfs::map_ptr<android::ResTable_sparseTypeEntry, false>::const_iterator, long>' requested here std::__advance(__i, __d, std::__iterator_category(__i)); ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_algobase.h:1462:9: note: in instantiation of function template specialization 'std::advance<android::incfs::map_ptr<android::ResTable_sparseTypeEntry, false>::const_iterator, long>' requested here std::advance(__middle, __half); ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_algo.h:2004:19: note: in instantiation of function template specialization 'std::__lower_bound<android::incfs::map_ptr<android::ResTable_sparseTypeEntry, false>::const_iterator, unsigned short, __gnu_cxx::__ops::_Iter_comp_val<(lambda at libs/androidfw/LoadedArsc.cpp:255:36)>>' requested here return std::__lower_bound(__first, __last, __val, ^ libs/androidfw/LoadedArsc.cpp:254:24: note: in instantiation of function template specialization 'std::lower_bound<android::incfs::map_ptr<android::ResTable_sparseTypeEntry, false>::const_iterator, unsigned short, (lambda at libs/androidfw/LoadedArsc.cpp:255:36)>' requested here auto result = std::lower_bound(sparse_indices, sparse_indices_end, entry_index, ^ 1 error generated. make[2]: *** [debian/libandroidfw.mk:57: libs/androidfw/LoadedArsc.o] Error 1 Andreas