Yep, I've reproduced this on minimal installs of both ArchLinux and Ubuntu. `apt install fontconfig` fixes it on Ubuntu. On Arch, I had to install fontconfig and a font (I tried ttf-droid) before it started working.
- Dan On Sat, Nov 23, 2019 at 7:41 PM Daniel Fullmer <[email protected]> wrote: > I believe I've encountered this error in the past. I was able to work around > this by installing freetype / fontconfig (can't recall if one or both are > necessary). > > On Saturday, November 23, 2019 at 9:15:36 PM UTC-5, Brian Moore wrote: >> >> >> I've been building AOSP for my pixel devices for a few versions now, but >> I'm running into an issue in the release of Android 10. >> >> I'm working with 10.0.0 r10, building for Pixel 3 (blueline). >> I have the Google and QCom vendor binaries in the vendor/ tree, just as >> I've always done. >> I do a normal build process as shown in the attached file, and it always >> fails at the same point. >> >> I broke down the cluster of commands that it was failing on, and found it >> was this specific statement throwing the error: >> >> java -jar out/host/linux-x86/framework/RecoveryImageGenerator.jar >> --image_width >> $((1080 - 10)) --text_name recovery_installing --font_dir out/target/ >> product/blueline/obj/PACKAGING/recovery_font_files_intermediates >> --resource_dir >> bootable/recovery/tools/recovery_l10n/res/ --output_file out/target/ >> product/blueline/obj/PACKAGING/recovery_text_res_intermediates//installing_text.png >> --center_alignment >> >> I found that if I ran this part of the build with Java 8 instead of Java >> 9 (by modifying my default PATH), it worked. >> But using Java 8 for the entire build causes other errors, and from what >> I have read, Android 10 is supposed to be built with Java 9 only. >> >> The only thing that I'm doing differently than with builds of previous >> versions of Android is that I am building without the vendor/opengapps >> tree, because OpenGapps hasn't created a repository for Android 10. >> However, I'm pretty sure that Google apps are not required just for a stock >> AOSP build. >> >> Any idea what the problem could be? I'm thinking I must have some >> configuration wrong on my end, because I'm basically building the >> unmodified source directly from Google. >> > -- > -- > You received this message because you are subscribed to the "Android > Building" mailing list. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-building?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "Android Building" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/android-building/308ada71-a2f5-4f66-8e29-8fa76abce1ea%40googlegroups.com > <https://groups.google.com/d/msgid/android-building/308ada71-a2f5-4f66-8e29-8fa76abce1ea%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/CALQgHd%3DdHB2kh8Q7b9jBuxBjdvzbWS-dcyHqEUHYWx1%2BN5MdSA%40mail.gmail.com.
