Re: [android-building] Re: Java error building AOSP 10

2019-11-24 Thread Brian Moore

Thanks Dan & Daniel.  I am building on Arch Linux.  I checked and saw that 
I already had fontconfig installed.  I installed ttf-droid, and it looks 
like the build process has made it past the error point.
Not finished yet, but I think you've probably solved the mystery.

On Saturday, November 23, 2019 at 10:58:48 PM UTC-5, Dan Willemsen wrote:
>
> 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  > 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).
>>
>>
>>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
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 android-building+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/12ce9935-dbfe-4a50-85d9-4435e930fa51%40googlegroups.com.


[android-building] Java error building AOSP 10

2019-11-23 Thread Brian Moore

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 android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
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 android-building+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/e5f6f455-2fb9-4d26-bb8e-a0fecece260f%40googlegroups.com.
[brian@babby aosp_pixel-10]$ . build/envsetup.sh 
[brian@babby aosp_pixel-10]$ lunch

You're building on Linux

Lunch menu... pick a combo:
 1. aosp_arm-eng
 2. aosp_arm64-eng
 3. aosp_blueline-userdebug
 4. aosp_bonito-userdebug
 5. aosp_car_arm-userdebug
 6. aosp_car_arm64-userdebug
 7. aosp_car_x86-userdebug
 8. aosp_car_x86_64-userdebug
 9. aosp_cf_arm64_phone-userdebug
 10. aosp_cf_x86_64_phone-userdebug
 11. aosp_cf_x86_auto-userdebug
 12. aosp_cf_x86_phone-userdebug
 13. aosp_cf_x86_tv-userdebug
 14. aosp_crosshatch-userdebug
 15. aosp_marlin-userdebug
 16. aosp_sailfish-userdebug
 17. aosp_sargo-userdebug
 18. aosp_taimen-userdebug
 19. aosp_walleye-userdebug
 20. aosp_walleye_test-userdebug
 21. aosp_x86-eng
 22. aosp_x86_64-eng
 23. beagle_x15-userdebug
 24. fuchsia_arm64-eng
 25. fuchsia_x86_64-eng
 26. hikey-userdebug
 27. hikey64_only-userdebug
 28. hikey960-userdebug
 29. hikey960_tv-userdebug
 30. hikey_tv-userdebug
 31. m_e_arm-userdebug
 32. mini_emulator_arm64-userdebug
 33. mini_emulator_x86-userdebug
 34. mini_emulator_x86_64-userdebug
 35. poplar-eng
 36. poplar-user
 37. poplar-userdebug
 38. qemu_trusty_arm64-userdebug
 39. uml-userdebug

Which would you like? [aosp_arm-eng] 3


PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
TARGET_PRODUCT=aosp_blueline
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.3.8-arch1-1-x86_64-Arch-Linux
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QP1A.191105.003
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=device/google/crosshatch hardware/google/av 
hardware/google/interfaces hardware/google/pixel hardware/qcom/sdm845 
vendor/google/camera vendor/qcom/sdm845 vendor/google/interfaces

[brian@babby aosp_pixel-10]$ make -j1

PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
TARGET_PRODUCT=aosp_blueline
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_ARCH=x86_64

Re: [android-building] Clean Android 9 AOSP builds not finding Phone Sim on Pixel

2018-10-29 Thread Brian Moore
Sure. How and where do I file?
(I'm not really much of a developer, I just like to build my own AOSP for my 
phone) 

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
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 android-building+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-building] Re: Encountering error while building

2018-10-29 Thread Brian Moore
I've never built from the master branch. I always build with the latest branch 
for my device.

Since you're building for Pixel (sailfish), try repo init with the 9.0.0_r10 
branch, which is the most recent according to this link: 
https://source.android.com/setup/start/build-numbers
This branch will also match with the version on binaries that you already 
downloaded. 

Note: Even if you successfully build, there seems to be a bug with the current 
binaries supplied by Google for AOSP 9.0 for Sailfish. Some files are missing 
and the SIM is not found. There is another thread in this group right now that 
addresses this issue and a workaround. 

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
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 android-building+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-building] Clean Android 9 AOSP builds not finding Phone Sim on Pixel

2018-10-27 Thread Brian Moore
Update:
Take a look at the project below. It's essentially a set of scripts that will 
download an android image and extract a working /vendor/google_devices tree to 
include with your AOSP build. Using this I was able to easily build a working 
AOSP 9.0 image that found the SIM card. Apparently the vendor tree provided by 
Google is not complete. 

https://github.com/anestisb/android-prepare-vendor

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
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 android-building+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-building] Clean Android 9 AOSP builds not finding Phone Sim on Pixel

2018-10-26 Thread Brian Moore
I'm having the same issue: Android 8 AOSP worked fine, but 9 cannot find the 
SIM.

I did a logcat of the radio buffer, and it's complaining about a missing file: 
/system/lib64/vendor.qti.qcril...@1.0.so.
Seeing as this is a vendor file, I'm not sure why it's not provided in the 
vendor file downloads.

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
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 android-building+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.