[Android-tools-devel] Bug#975760: android-platform-system-core: FTBFS: ScopedUtfChars.h:21:10: fatal error: nativehelper/scoped_utf_chars.h: No such file or directory

Lucas Nussbaum lucas at debian.org
Wed Nov 25 19:57:58 GMT 2020


Source: android-platform-system-core
Version: 1:8.1.0+r23-8
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201125 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> g++ libnativeloader/native_loader.cpp -o libnativeloader.so.0 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -I/usr/include/android -I/usr/include/android/nativehelper -Iinclude -Ibase/include -Ilibnativebridge/include -Ilibnativeloader/include -Wl,-z,relro -Wl,-z,now -fPIC -shared -Wl,-soname,libnativeloader.so.0 -ldl -Wl,-rpath=/usr/lib/x86_64-linux-gnu/android -L. -lnativebridge
> In file included from libnativeloader/native_loader.cpp:18:
> /usr/include/android/nativehelper/ScopedUtfChars.h:21:10: fatal error: nativehelper/scoped_utf_chars.h: No such file or directory
>    21 | #include <nativehelper/scoped_utf_chars.h>
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> compilation terminated.
> make[2]: *** [debian/libnativeloader.mk:18: build] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/11/25/android-platform-system-core_8.1.0+r23-8_unstable.log

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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Android-tools-devel mailing list