(help) compiling issues for aosp gingerbread plz help - Android

Guys Im Compiling AOSP GB for Lg optimus me p350 but guys im having error im posting all the logs here so you devs can try to make my build succesfful
First Guys I was Having This Error :
Code:
[email protected]:~/gb/aosp$ . build/envsetup.sh
including device/htc/passion/vendorsetup.sh
including device/lge/pecan/vendorsetup.sh
including device/samsung/crespo4g/vendorsetup.sh
including device/samsung/crespo/vendorsetup.sh
[email protected]:~/gb/aosp$ lunch
You're building on Linux
Lunch menu... pick a combo:
1. generic-eng
2. simulator
3. full_passion-userdebug
4. lge_pecan-eng
5. full_crespo4g-userdebug
6. full_crespo-userdebug
Which would you like? [generic-eng] 4
build/core/combo/TARGET_linux-arm.mk:39: *** Unknown ARM architecture version: armv6-vfp. Stop.
** Don't have a product spec for: 'lge_pecan'
** Do you have the right repo manifest?
This is The error I got But After that I researched And Found armv6 Files are Not There So i added armv6-vfp.mk File And This error Was No more There after that I got new error Im posting it Here Plz Devs Try To help me In making build succesfull
Code:
[email protected]:~/gb/aosp$ . build/envsetup.sh
including device/htc/passion/vendorsetup.sh
including device/lge/pecan/vendorsetup.sh
including device/samsung/crespo4g/vendorsetup.sh
including device/samsung/crespo/vendorsetup.sh
[email protected]:~/gb/aosp$ lunch
You're building on Linux
Lunch menu... pick a combo:
1. generic-eng
2. simulator
3. full_passion-userdebug
4. lge_pecan-eng
5. full_crespo4g-userdebug
6. full_crespo-userdebug
Which would you like? [generic-eng] 4
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.7
TARGET_PRODUCT=lge_pecan
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=GWK74
============================================
[email protected]:~/gb/aosp$ make lge_pecan-eng
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.7
TARGET_PRODUCT=lge_pecan
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=GWK74
============================================
build/core/base_rules.mk:78: *** Module name: copybit.msm7k
build/core/base_rules.mk:79: *** Makefile location: hardware/msm7k/libcopybit
build/core/base_rules.mk:80: *
build/core/base_rules.mk:81: * Each module must use a LOCAL_MODULE_TAGS in its
build/core/base_rules.mk:82: * Android.mk. Possible tags declared by a module:
build/core/base_rules.mk:83: *
build/core/base_rules.mk:84: * optional, debug, eng, tests, samples
build/core/base_rules.mk:85: *
build/core/base_rules.mk:86: * If the module is expected to be in all builds
build/core/base_rules.mk:87: * of a product, then it should use the
build/core/base_rules.mk:88: * "optional" tag:
build/core/base_rules.mk:89: *
build/core/base_rules.mk:90: * Add "LOCAL_MODULE_TAGS := optional" in the
build/core/base_rules.mk:91: * Android.mk for the affected module, and add
build/core/base_rules.mk:92: * the LOCAL_MODULE value for that component
build/core/base_rules.mk:93: * into the PRODUCT_PACKAGES section of product
build/core/base_rules.mk:94: * makefile(s) where it's necessary, if
build/core/base_rules.mk:95: * appropriate.
build/core/base_rules.mk:96: *
build/core/base_rules.mk:97: * If the component should be in EVERY build of ALL
build/core/base_rules.mk:98: * products, then add its LOCAL_MODULE value to the
build/core/base_rules.mk:99: * PRODUCT_PACKAGES section of
build/core/base_rules.mk:100: * build/target/product/core.mk
build/core/base_rules.mk:101: *
build/core/base_rules.mk:102: *** user tag detected on new module - user tags are only supported on legacy modules. Stop.
[email protected]:~/gb/aosp$
Devs Plz Try To help Me In Fixing It Plz Plz plz plz plz help me

Guys 111 Views But No Reply
111 views no reply plz help devs

Keyur i compiled aosp gb using my edited device folder

devs 12 hours passed but no reply im begging u devs plz help me out im ready with sources and Team viewer plz help me

if thishelps any one
rom2maru said:
devs 12 hours passed but no reply im begging u devs plz help me out im ready with sources and Team viewer plz help me
Click to expand...
Click to collapse
add the following lines to the affected libraries>>
LOCAL_MODULE_TAGS := optional
eg:- for >> build/core/base_rules.mk:78: *** Module name: copybit.msm7k
build/core/base_rules.mk:79: *** Makefile location: hardware/msm7k/libcopybit
add "LOCAL_MODULE_TAGS := optional" in hardware/msm7k/libcopybit/Android.mk
do that for corresponding errors shown on each make (libgralloc,liblights,/etc)
# Ryu hayabusa >> source modaco.com/topic/348898-dev-aosp-dev-for-zte-blade

Related

Trying to Build CM10 full-eng

I've successfully built cm10 from source for maguro. (Everything works nicely except the Google Talk app which keeps crashing, but I'll try to find out why later).
I'm building on OS X 10.8 (Mountain Lion), which required some changes in make files.
When trying to brunch full-eng, though, I'm getting the following:
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.1
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=darwin
HOST_OS_EXTRA=Darwin-12.0.0-x86_64-i386-64bit
HOST_BUILD_TYPE=release
BUILD_ID=JRO03C
OUT_DIR=out
============================================
grep: build/target/board/generic/recovery.fstab: No such file or directory
find: `src': No such file or directory
build/core/tasks/kernel.mk:65: **********************************************************
build/core/tasks/kernel.mk:66: * Kernel source found, but no configuration was defined *
build/core/tasks/kernel.mk:67: * Please add the TARGET_KERNEL_CONFIG variable to your *
build/core/tasks/kernel.mk:68: * BoardConfig.mk file *
build/core/tasks/kernel.mk:69: **********************************************************
make: *** No rule to make target `bacon'. Stop.
I would appreciate an insight on that.
Also - I'm trying to find a guide on the forums that will allow me to learn how to port CM10 to unsupported devices.
Thank you.
Code:
. build/envsetup.sh
lunch full-eng
mka
^Works fine.
brunch won't work on full-eng, it's intended to be used for cm_* only
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums & Read the Forum Rules
Thanks ✟
Moving to Q&A
cdesai said:
brunch won't work on full-eng, it's intended to be used for cm_* only
Click to expand...
Click to collapse
Great. Thank you for the quick response.

Need help for "make bacon"

Hi everyone
I have build succefully cm9 for a MTK based device (wiko s8073), but i change my hdd, so i reinstall clean sources, but now i CAN'T build anything,
I have always make: *** No rule to make target `bacon'. Stop.
Code:
[email protected]:~/cyanogenmod9$ . build/envsetup.sh
including device/ti/panda/vendorsetup.sh
including device/wiko/s8073/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
[email protected]:~/cyanogenmod9$ brunch s8073
including vendor/cm/vendorsetup.sh
Trying dependencies-only mode on a non-existing device tree?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.4
TARGET_PRODUCT=cm_s8073
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=IMM76L
============================================
make: *** No rule to make target `bacon'. Stop.
I also try make otapackage and make bacon alone
Code:
make: *** No rule to make target `otapackage'. Stop.
Code:
make: *** No rule to make target `bacon'. Stop.
Thanks for help
new build command
try this... . build/envsetup.sh && brunch <your device name here> leave a space between "." and build

AOSP 4.4 make error [*** target pattern contains no `%'.]

HI,
I've downloaded AOSP the 4.4 r1 branch. This is the first time I'm trying to build android.
I'm trying to make a device tree for GT-S7500 (samsung ace plus)
When I try to make, I receive the following error:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4
TARGET_PRODUCT=aosp_trebon
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=generic
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.8.0-29-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=KRT16O
OUT_DIR=out
============================================
including ./abi/cpp/Android.mk ...
including ./art/Android.mk ...
including ./bionic/Android.mk ...
including ./bootable/diskinstaller/Android.mk ...
including ./bootable/recovery/Android.mk ...
including ./build/libs/host/Android.mk ...
including ./build/target/board/Android.mk ...
including ./build/tools/Android.mk ...
including ./cts/Android.mk ...
build/core/package.mk:381: *** target pattern contains no "%". Stop.
if I look deeper in package.mk:
Line 381: $(LOCAL_BUILT_MODULE): $(private_key) $(certificate) $(SIGNAPK_JAR)
Line 382: $(LOCAL_BUILT_MODULE): PRIVATE_PRIVATE_KEY := $(private_key)
Line 383: $(LOCAL_BUILT_MODULE): PRIVATE_CERTIFICATE := $(certificate)
If I try to echo the vars involved I receive:
$(private_key):
 @inherit:device/samsung/trebon/msm7x27a-common/BoardConfigCommon.mk.pk8
$(certificate):
 @inherit:device/samsung/trebon/msm7x27a-common/BoardConfigCommon.mk.x509.pem
$(SIGNAPK_JAR):
out/host/linux-x86/framework/signapk.jar
Any information will be appreciated
Thanks in advance
Marco
AOSP 4.4 KitKat for GT-S7500 experimental building with @TheWhisp Kernel
I've managed the last error. Going a step further....
Does anyone what does this error mean? Something related bluetooth.
I do not know if the device tree I've built is correct.
Maybe only @TheWhisp could help me!
More or less the repositories I've used are (with little modifications):
device/samsung/msm7x27a from https://github.com/TheWhisp/android_device_samsung_msm7x27a-common.git
device/samsung/trebon from https://github.com/TheWhisp/android_device_samsung_s7500.git
kernel/samsung/msm7x27a from https://github.com/TheWhisp/android_kernel_samsung_msm7x27a.git
vendor/samsung from https://github.com/TheWhisp/proprietary_vendor_samsung_msm7x27a.git
Import includes file: out/target/product/trebon/obj/SHARED_LIBRARIES/libpower_intermediates/import_includes
Export includes file: external/bluetooth/bluedroid/audio_a2dp_hw/Android.mk -- out/target/product/trebon/obj/SHARED_LIBRARIES/audio.a2dp.default_intermediates/export_includes
make: *** Nessuna regola per generare l'obiettivo "out/target/product/trebon/obj/KERNEL_OBJ/usr", necessario per "out/target/product/trebon/obj/SHARED_LIBRARIES/audio.primary.msm7x27a_intermediates/AudioHardware.o". Arresto.
make: *** Attesa per i processi non terminati....
Notice file: hardware/libhardware_legacy/NOTICE -- out/target/product/trebon/obj/NOTICE_FILES/src//system/lib/libpower.so.txt
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
marco.roello said:
I've managed the last error. Going a step further....
Does anyone what does this error mean? Something related bluetooth.
I do not know if the device tree I've built is correct.
Maybe only @TheWhisp could help me!
More or less the repositories I've used are (with little modifications):
device/samsung/msm7x27a from https://github.com/TheWhisp/android_device_samsung_msm7x27a-common.git
device/samsung/trebon from https://github.com/TheWhisp/android_device_samsung_s7500.git
kernel/samsung/msm7x27a from https://github.com/TheWhisp/android_kernel_samsung_msm7x27a.git
vendor/samsung from https://github.com/TheWhisp/proprietary_vendor_samsung_msm7x27a.git
Import includes file: out/target/product/trebon/obj/SHARED_LIBRARIES/libpower_intermediates/import_includes
Export includes file: external/bluetooth/bluedroid/audio_a2dp_hw/Android.mk -- out/target/product/trebon/obj/SHARED_LIBRARIES/audio.a2dp.default_intermediates/export_includes
make: *** Nessuna regola per generare l'obiettivo "out/target/product/trebon/obj/KERNEL_OBJ/usr", necessario per "out/target/product/trebon/obj/SHARED_LIBRARIES/audio.primary.msm7x27a_intermediates/AudioHardware.o". Arresto.
make: *** Attesa per i processi non terminati....
Notice file: hardware/libhardware_legacy/NOTICE -- out/target/product/trebon/obj/NOTICE_FILES/src//system/lib/libpower.so.txt
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Click to expand...
Click to collapse
How did you manage to get rid of the error

Importing cm apps to intellij

Hi guys don't know if this is the right thread to post my issue
"I want to import apps of the cm source code to edit them in the intillij (Android Studio)"
After successfully compiling the cm source code i decided to edit some apps
but when i tried this command "make idegen && development/tools/idegen/idegen.sh" from the cm_wiki on how to import apps to intillij it fails
the followed instruction :
croot
make idegen && development/tools/idegen/idegen.sh
Open Intellij
Click Open an existing Project
Navigate to ~/android/system
Choose android.ipr
Finish
Note: Should you be developing multiple branches of CyanogenMod, consider an alternative naming scheme for the .ipr & ipl files. this should be done before #2 above.
Rename .ipr: mv android.ipr CM12.ipr
Link .ipl: mv android.ipl CM12.ipl && ln -s CM12.ipl android.ipl
here is my output :
Code:
[email protected]:~/android/system$ make idegen && development/tools/idegen/idegen.sh
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=6.0.1
CM_VERSION=
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.2.0-35-generic-x86_64-with-Ubuntu-15.10-wily
HOST_BUILD_TYPE=release
BUILD_ID=MHC19Q
OUT_DIR=/home/owner/android/system/out
============================================
"ebtables is disabled on this build"
find: `dummy': No such file or directory
find: `dummy': No such file or directory
find: `dummy': No such file or directory
find: `dummy': No such file or directory
find: `dummy': No such file or directory
find: `dummy': No such file or directory
find: `dummy': No such file or directory
build/core/tasks/kernel.mk:186: **********************************************************
build/core/tasks/kernel.mk:187: * Kernel source found, but no configuration was defined *
build/core/tasks/kernel.mk:188: * Please add the TARGET_KERNEL_CONFIG variable to your *
build/core/tasks/kernel.mk:189: * BoardConfig.mk file *
build/core/tasks/kernel.mk:190: **********************************************************
make: Nothing to be done for 'idegen'.
#### make completed successfully (01:49 (mm:ss)) ####
Couldn't find host out directory. Make sure ANDROID_HOST_OUT is in your environment.
i couldn't find android.ipr is the root of the tree
please guys need help for this issue what causes this and how to solve it and thank you in advance
Please guys need help ! Posted 5 days ago without any reply.
What seems to work for me
cd <root of CM>
source build/envsetup.sh
croot
export PATH=<java1.7+>/bin:${PATH}
make idegen
export ANDROID_HOST_OUT=out/host/
development/tools/idegen/idegen.sh

[Android12] build error libartservice/Android.bp:36:1

Does anyone experienced the same issue with android 12 source and knows how to fix it? So please, let me know
Code:
build/make/core/soong_config.mk:193: warning: BOARD_PLAT_PUBLIC_SEPOLICY_DIR has
been deprecated. Use SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS instead..
build/make/core/soong_config.mk:194: warning: BOARD_PLAT_PRIVATE_SEPOLICY_DIR ha
s been deprecated. Use SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead..
============================================
PLATFORM_VERSION_CODENAME=S
PLATFORM_VERSION=S
TARGET_PRODUCT=aosp_arm64
TARGET_BUILD_VARIANT=eng
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.8.0-43-generic-x86_64-Ubuntu-20.04.1-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=AOSP.MASTER
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=device/generic/goldfish device/generic/goldfish-opengl
hardware/google/camera hardware/google/camera/devices/EmulatedCamera
============================================
[100% 1/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
FAILED: out/soong/build.ninja
out/soong/.bootstrap/bin/soong_build -t -l out/.module_paths/Android.bp.list -b
out/soong -n out -d out/soong/build.ninja.d -globFile out/soong/.bootstrap/build
-globs.ninja -o out/soong/build.ninja Android.bp
error: art/libartservice/Android.bp:36:1: module "artservice" variant "android_c
ommon": depends on //libcore:art.module.api.annotations.for.system.modules which
is not visible to this module
You may need to add "//art/libartservice" to its visibility
19:15:11 soong bootstrap failed with: exit status 1
#### failed to build some targets (16 seconds) ####
Flominator said:
Does anyone experienced the same issue with android 12 source and knows how to fix it? So please, let me know
Code:
build/make/core/soong_config.mk:193: warning: BOARD_PLAT_PUBLIC_SEPOLICY_DIR has
been deprecated. Use SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS instead..
build/make/core/soong_config.mk:194: warning: BOARD_PLAT_PRIVATE_SEPOLICY_DIR ha
s been deprecated. Use SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead..
============================================
PLATFORM_VERSION_CODENAME=S
PLATFORM_VERSION=S
TARGET_PRODUCT=aosp_arm64
TARGET_BUILD_VARIANT=eng
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.8.0-43-generic-x86_64-Ubuntu-20.04.1-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=AOSP.MASTER
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=device/generic/goldfish device/generic/goldfish-opengl
hardware/google/camera hardware/google/camera/devices/EmulatedCamera
============================================
[100% 1/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
FAILED: out/soong/build.ninja
out/soong/.bootstrap/bin/soong_build -t -l out/.module_paths/Android.bp.list -b
out/soong -n out -d out/soong/build.ninja.d -globFile out/soong/.bootstrap/build
-globs.ninja -o out/soong/build.ninja Android.bp
error: art/libartservice/Android.bp:36:1: module "artservice" variant "android_c
ommon": depends on //libcore:art.module.api.annotations.for.system.modules which
is not visible to this module
You may need to add "//art/libartservice" to its visibility
19:15:11 soong bootstrap failed with: exit status 1
#### failed to build some targets (16 seconds) ####
Click to expand...
Click to collapse
Commenting for visibility. I ran into the same problem.
Make this change and see what happens:
https://android-review.googlesource.com/c/platform/libcore/+/1596234/1/JavaLibrary.bp
Having the same issue here. I am sync'ed to android-s-preview-1. Trying to build sdk_phone_x86_64.
I tried jherwig's patch, and hitting newer issues near the end of the build:
******************************
You have tried to change the API from what has been previously approved.
To make these errors go away, you have two choices:
1. You can add '@hide' javadoc comments (and remove @SystemApi/@TestApi/etc)
to the new methods, etc. shown in the above diff.
2. You can update current.txt and/or removed.txt by executing the following command:
m legacy.art.module.platform.api.stubs.source-update-current-api
To submit the revised current.txt to the main Android repository,
you will need approval.
******************************
Click to expand...
Click to collapse
Did the suggested update to current.txt, hitting more errors:
Code:
libcore/ojluni/src/main/java/java/time/zone/IcuZoneRulesProvider.java:24: error: cannot find symbol
import android.icu.util.AnnualTimeZoneRule;
^
symbol: class AnnualTimeZoneRule
location: package android.icu.util
libcore/ojluni/src/main/java/java/time/zone/IcuZoneRulesProvider.java:25: error: cannot find symbol
import android.icu.util.BasicTimeZone;
^
symbol: class BasicTimeZone
location: package android.icu.util
[...]
This is my first time building Android, I have very little idea what I am doing... Any help appreciated!
I seem to have unblocked myself by applying the following patches to libcore:
73100c6f663e668ab2e5e64b7d771e876d1c67fa <-- jherwig's patch
c5bf3e517d498b151f5dc4ebfc5b56463f747021 <-- for those missing Java time packages
273504366eb453fde7f1e593e45a33af67ef4203 <-- fix ioctlInt signature as expected by libs in frameworks
Code:
$ cd libcore
libcore$ git diff 73100c6f663e668ab2e5e64b7d771e876d1c67fa\^ 73100c6f663e668ab2e5e64b7d771e876d1c67fa |patch -p1
libcore$ git diff c5bf3e517d498b151f5dc4ebfc5b56463f747021\^ c5bf3e517d498b151f5dc4ebfc5b56463f747021 |patch -p1
libcore$ git diff 273504366eb453fde7f1e593e45a33af67ef4203\^ 273504366eb453fde7f1e593e45a33af67ef4203 |patch -p1
I still hit the issue where I am asked to run:
Code:
m legacy.art.module.platform.api.stubs.source-update-current-api
But, the build eventually completed. On to testing it now.
I really thought building from a release tag would go flawless, wth!? Did I not sync the repo properly?
jherwig said:
Make this change and see what happens:
https://android-review.googlesource.com/c/platform/libcore/+/1596234/1/JavaLibrary.bp
Click to expand...
Click to collapse
Thanks jherwig
Just apply this patch to platform/libcore
diff --git a/JavaLibrary.bp b/JavaLibrary.bp
index 92bbc6692e..ff82248452 100644
--- a/JavaLibrary.bp
+++ b/JavaLibrary.bp
@@ -1019,6 +1019,9 @@ java_system_modules {
// avoid introducing compile time cycles.
java_library {
name: "art.module.api.annotations.for.system.modules",
+ visibility: [
+ "//art/libartservice",
+ ],
srcs: [
":api_surface_annotation_files",
],
mbucchia said:
I seem to have unblocked myself by applying the following patches to libcore:
73100c6f663e668ab2e5e64b7d771e876d1c67fa <-- jherwig's patch
c5bf3e517d498b151f5dc4ebfc5b56463f747021 <-- for those missing Java time packages
273504366eb453fde7f1e593e45a33af67ef4203 <-- fix ioctlInt signature as expected by libs in frameworks
Code:
$ cd libcore
libcore$ git diff 73100c6f663e668ab2e5e64b7d771e876d1c67fa\^ 73100c6f663e668ab2e5e64b7d771e876d1c67fa |patch -p1
libcore$ git diff c5bf3e517d498b151f5dc4ebfc5b56463f747021\^ c5bf3e517d498b151f5dc4ebfc5b56463f747021 |patch -p1
libcore$ git diff 273504366eb453fde7f1e593e45a33af67ef4203\^ 273504366eb453fde7f1e593e45a33af67ef4203 |patch -p1
I still hit the issue where I am asked to run:
Code:
m legacy.art.module.platform.api.stubs.source-update-current-api
But, the build eventually completed. On to testing it now.
I really thought building from a release tag would go flawless, wth!? Did I not sync the repo properly?
Click to expand...
Click to collapse
I saw the same exact problem building the aosp_trout_x86-userdebug build target, and those git commits fixed it. Thanks.

Categories

Resources