Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Impossible to build on AOSP-11 #300

Open
bchanot opened this issue Feb 11, 2022 · 3 comments
Open

Impossible to build on AOSP-11 #300

bchanot opened this issue Feb 11, 2022 · 3 comments

Comments

@bchanot
Copy link

bchanot commented Feb 11, 2022

Hi, Im facing a issue since some mounth :

I cannot add OpenGapps on an AOSP 11 build. (tag Android-11.0.0_r43 or Android-11.0.0_r46 or Android-11.0.0_r34 ....)

I'm adding theses 3 lines on build/make/target/board/generic_x86_64/device.mk

GAPPS_VARIANT := pico
GAPPS_PRODUCT_PACKAGES += PlayGames
$(call inherit-product, vendor/opengapps/build/opengapps-packages.mk)

Doing there 3 commands :

repo forall -c git lfs pull
repo forall -c git lfs fetch
repo forall -c git lfs install

Then deleting some of file that wont compile (like vendor/opengapps/build/modules/VideosPano)

i run a Make, and it wont compile with next logs :

bchanot@bchanot-Desktop:~/Documents/AOSP-11-Gapps$ make -j 30
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=11
TARGET_PRODUCT=aosp_x86_64
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=x86_64
TARGET_ARCH_VARIANT=x86_64
TARGET_2ND_ARCH=x86
TARGET_2ND_ARCH_VARIANT=x86_64
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.4.0-99-generic-x86_64-Ubuntu-18.04.6-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=RQ3A.210905.001
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=device/generic/goldfish device/generic/goldfish-opengl hardware/google/camera hardware/google/camera/devices/EmulatedCamera device/generic/goldfish device/generic/goldfish-opengl
============================================
15:31:51 Disallowed PATH tool "locale" used: []string{"locale", "-a"}
15:31:51 See https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools for more information.
15:31:53 Disallowed PATH tool "locale" used: []string{"locale", "-a"}
15:31:53 See https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools for more information.
[ 99% 310/311] finishing build rules ...
FAILED:
build/make/core/main.mk:1204: warning:  build/make/target/product/aosp_x86_64.mk produces files inside build/make/target/product/mainline_system.mks artifact path requirement.
Offending entries:
system/app/GoogleCalendarSyncAdapter/GoogleCalendarSyncAdapter.apk
system/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk
system/app/GoogleTTS/GoogleTTS.apk
system/app/PlayGames/PlayGames.apk
system/etc/default-permissions/default-permissions.xml
system/etc/default-permissions/opengapps-permissions-q.xml
system/etc/permissions/com.google.android.camera2.xml
system/etc/permissions/com.google.android.dialer.support.xml
system/etc/permissions/com.google.android.maps.xml
system/etc/permissions/com.google.android.media.effects.xml
system/etc/permissions/com.google.vr.platform.xml
system/etc/permissions/com.google.widevine.software.drm.xml
system/etc/permissions/privapp-permissions-google.xml
system/etc/permissions/split-permissions-google.xml
system/etc/preferred-apps/google.xml
system/etc/sysconfig/google-hiddenapi-package-whitelist.xml
system/etc/sysconfig/google.xml
system/etc/sysconfig/google_exclusives_enable.xml
system/etc/sysconfig/google_vr_build.xml
system/framework/com.google.android.camera.experimental2019.jar
system/framework/com.google.android.camera2.jar
system/framework/com.google.android.dialer.support.jar
system/framework/com.google.android.maps.jar
system/framework/com.google.android.media.effects.jar
system/framework/com.google.vr.platform.jar
system/framework/com.google.widevine.software.drm.jar
system/priv-app/AndroidMigratePrebuilt/AndroidMigratePrebuilt.apk
system/priv-app/GmsCoreSetupPrebuilt/GmsCoreSetupPrebuilt.apk
system/priv-app/GoogleBackupTransport/GoogleBackupTransport.apk
system/priv-app/GoogleFeedback/GoogleFeedback.apk
system/priv-app/GoogleLoginService/GoogleLoginService.apk
system/priv-app/GoogleOneTimeInitializer/GoogleOneTimeInitializer.apk
system/priv-app/GooglePackageInstaller/GooglePackageInstaller.apk
system/priv-app/GooglePartnerSetup/GooglePartnerSetup.apk
system/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk
system/priv-app/Phonesky/Phonesky.apk
system/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk
system/priv-app/SetupWizard/SetupWizard.apk
system/priv-app/Turbo/Turbo.apk
system/usr/srec/en-US/APP_NAME.fst
system/usr/srec/en-US/APP_NAME.syms
system/usr/srec/en-US/CLG.prewalk.fst
system/usr/srec/en-US/CONTACT_NAME.fst
system/usr/srec/en-US/CONTACT_NAME.syms
system/usr/srec/en-US/SONG_NAME.fst
system/usr/srec/en-US/SONG_NAME.syms
system/usr/srec/en-US/am_phonemes.syms
system/usr/srec/en-US/app_bias.fst
system/usr/srec/en-US/c_fst
system/usr/srec/en-US/commands.abnf
system/usr/srec/en-US/compile_grammar.config
system/usr/srec/en-US/config.pumpkin
system/usr/srec/en-US/confirmation_bias.fst
system/usr/srec/en-US/contacts.abnf
system/usr/srec/en-US/contacts_bias.fst
system/usr/srec/en-US/contacts_disambig.fst
system/usr/srec/en-US/dict
system/usr/srec/en-US/dictation.config
system/usr/srec/en-US/dnn
system/usr/srec/en-US/embedded_class_denorm.mfar
system/usr/srec/en-US/embedded_normalizer.mfar
system/usr/srec/en-US/endpointer_dictation.config
system/usr/srec/en-US/endpointer_model
system/usr/srec/en-US/endpointer_model.mmap
system/usr/srec/en-US/endpointer_voicesearch.config
system/usr/srec/en-US/ep_portable_mean_stddev
system/usr/srec/en-US/ep_portable_model.uint8.mmap
system/usr/srec/en-US/g2p.data
system/usr/srec/en-US/g2p_fst
system/usr/srec/en-US/g2p_graphemes.syms
system/usr/srec/en-US/g2p_phonemes.syms
system/usr/srec/en-US/grammar.config
system/usr/srec/en-US/hmm_symbols
system/usr/srec/en-US/hmmlist
system/usr/srec/en-US/input_mean_std_dev
system/usr/srec/en-US/lexicon.U.fst
system/usr/srec/en-US/lstm_model.uint8.data
system/usr/srec/en-US/magic_mic.config
system/usr/srec/en-US/media_bias.fst
system/usr/srec/en-US/metadata
system/usr/srec/en-US/monastery_config.pumpkin
system/usr/srec/en-US/norm_fst
system/usr/srec/en-US/offensive_word_normalizer.mfar
system/usr/srec/en-US/offline_action_data.pb
system/usr/srec/en-US/phonelist
system/usr/srec/en-US/portable_lstm
system/usr/srec/en-US/portable_meanstddev
system/usr/srec/en-US/pumpkin.mmap
system/usr/srec/en-US/read_items_bias.fst
system/usr/srec/en-US/rescoring.fst.compact
system/usr/srec/en-US/semantics.pumpkin
system/usr/srec/en-US/skip_items_bias.fst
system/usr/srec/en-US/time_bias.fst
system/usr/srec/en-US/transform.mfar
system/usr/srec/en-US/voice_actions.config
system/usr/srec/en-US/voice_actions_compiler.config
system/usr/srec/en-US/word_confidence_classifier
system/usr/srec/en-US/wordlist.syms
build/make/core/main.mk:1204: error: Build failed.
15:32:13 ckati failed with: exit status 1

#### failed to build some targets (23 seconds) ####

Any of you got a solution ?
Is the modop different than other version of android, or simply not work with Android 11 ?

Thanks for your help !

Regards, Bastien.

@dream0407
Copy link

Hello, is your problem solved? I cannot pull the OPENGAPPS source code on Android 11, I don't know whether it supports Android 11

@hmtheboy154
Copy link

Android-x86 ?

@liukeqqs
Copy link

liukeqqs commented Aug 9, 2024

你解决了吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants