Last active
April 9, 2025 00:15
-
-
Save dgleba/19dc0ac58a8c0c86f7ecfff02ae7ff32 to your computer and use it in GitHub Desktop.
building LineageOS 22.1 errors.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
################################################################# | |
#@ | |
#@ Build lineageOS 22.1 redfin with no changes. | |
#@ | |
#################################### 2025-04-06[Apr-Sun]10-34AM | |
------------ | |
plan.. | |
sync repo | |
add themuppets redfin | |
brunch redfin | |
------------ | |
Prep: | |
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo | |
chmod a+x ~/bin/repo | |
cd /ap/code/androidrom/ | |
cd /ap/code/androidrom/ | |
git clone https://github.com/TheMuppets/proprietary_vendor_google.git | |
sudo apt update | |
sudo apt install -y bc bison build-essential ccache curl flex g++-multilib gcc-multilib git gnupg gperf imagemagick lib32ncurses-dev lib32readline-dev lib32z1-dev liblz4-tool libncurses5-dev libsdl1.2-dev libssl-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev | |
sudo apt install bc bison build-essential ccache curl flex g++-multilib gcc-multilib git git-lfs gnupg gperf imagemagick lib32readline-dev lib32z1-dev libelf-dev liblz4-tool lz4 libsdl1.2-dev libssl-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev | |
sudo apt install -y git-lfs | |
git lfs install | |
sudo apt-get -y install android-sdk-platform-tools | |
# needed disk larger.. | |
# resize disk in proxmox gui.. | |
sudo apt install cloud-guest-utils # if growpart isn't installed | |
sudo growpart /dev/sda 3 | |
sudo resize2fs /dev/sda3 | |
# check swap and alter larger if needed. I needed 40 Gb of ram. I used 28 proxmox vm plus 16 swap. | |
swapon --show | |
sudo swapoff /swapfile | |
sudo rm /swapfile | |
sudo fallocate -l 16G /swapfile | |
#sudo dd if=/dev/zero of=/swapfile bs=1G count=16 | |
sudo chmod 600 /swapfile | |
sudo mkswap /swapfile | |
sudo swapon /swapfile | |
------------ | |
do.. | |
# albe@ubu736:/$ | |
mkdir -p /ap/code/androidrom/lineage406e/vendor/google/redfin | |
cd /ap/code/androidrom/lineage406e/vendor/google/redfin | |
git config --global trailer.changeid.key "dgleba408" | |
export USE_CCACHE=1 | |
export CCACHE_EXEC=/usr/bin/ccache | |
ccache -M 50G | |
ccache -o compression=true | |
cd /ap/code/androidrom/lineage406e | |
repo init -u https://github.com/LineageOS/android.git -b lineage-22.1 --git-lfs --no-clone-bundle | |
repo sync | |
#add themuppets.. | |
mkdir -p /ap/code/androidrom/lineage406e/vendor/google/redfin | |
cp -Rf /ap/code/androidrom/proprietary_vendor_google/redfin/* /ap/code/androidrom/lineage406e/vendor/google/redfin | |
------------ | |
# redfin or systemui - Make-clean and build... | |
swapon --show | |
export USE_CCACHE=1 | |
export CCACHE_EXEC=/usr/bin/ccache | |
ccache -M 52G | |
ccache -o compression=true | |
cd /ap/code/androidrom/lineage406e/ | |
source build/envsetup.sh | |
#make clean | |
source build/envsetup.sh | |
breakfast redfin | |
cd /ap/code/androidrom/lineage406e | |
croot | |
brunch redfin | |
# mka -j2 SystemUI | |
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
[08 18:30:47]albe@ubu736:/ap/code/androidrom/lineage406e$ | |
brunch redfin | |
Tue 08 Apr 2025 06:36:07 PM EDT | |
Looking for dependencies in device/google/redfin | |
Looking for dependencies in device/google/redbull | |
Looking for dependencies in device/google/gs-common | |
device/google/gs-common has no additional dependencies. | |
Looking for dependencies in kernel/google/redbull | |
kernel/google/redbull has no additional dependencies. | |
============================================ | |
PLATFORM_VERSION_CODENAME=REL | |
PLATFORM_VERSION=15 | |
LINEAGE_VERSION=22.1-20250408-UNOFFICIAL-redfin | |
TARGET_PRODUCT=lineage_redfin | |
TARGET_BUILD_VARIANT=userdebug | |
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_OS=linux | |
HOST_OS_EXTRA=Linux-6.8.0-57-generic-x86_64-Ubuntu-22.04.3-LTS | |
HOST_CROSS_OS=windows | |
BUILD_ID=AP4A.250205.002 | |
OUT_DIR=out | |
PRODUCT_SOONG_NAMESPACES=device/google/redbull hardware/google/interfaces hardware/google/pixel hardware/qcom/sm7250/display hardware/qcom/sm7250/gps system/chre/host/hal_generic vendor/qcom/opensource/data-ipa-cfg-mgr-legacy-um vendor/google/interfaces vendor/google/input/twoshay device/google/redfin hardware/qcom/wlan/legacy vendor/qcom/opensource/commonsys-intf/display vendor/qcom/opensource/display vendor/google/redfin | |
============================================ | |
============================================ | |
PLATFORM_VERSION_CODENAME=REL | |
PLATFORM_VERSION=15 | |
LINEAGE_VERSION=22.1-20250408-UNOFFICIAL-redfin | |
TARGET_PRODUCT=lineage_redfin | |
TARGET_BUILD_VARIANT=userdebug | |
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_OS=linux | |
HOST_OS_EXTRA=Linux-6.8.0-57-generic-x86_64-Ubuntu-22.04.3-LTS | |
HOST_CROSS_OS=windows | |
BUILD_ID=AP4A.250205.002 | |
OUT_DIR=out | |
PRODUCT_SOONG_NAMESPACES=device/google/redbull hardware/google/interfaces hardware/google/pixel hardware/qcom/sm7250/display hardware/qcom/sm7250/gps system/chre/host/hal_generic vendor/qcom/opensource/data-ipa-cfg-mgr-legacy-um vendor/google/interfaces vendor/google/input/twoshay device/google/redfin hardware/qcom/wlan/legacy vendor/qcom/opensource/commonsys-intf/display vendor/qcom/opensource/display vendor/google/redfin | |
============================================ | |
[100% 136/136] analyzing Android.bp files and generating ninja file at out/soong/build.lineage_redfin.ninja | |
Warning: Module 'androidx.wear_wear' depends on non-existing optional_uses_libs 'wear-sdk' | |
Warning: Module 'androidx.wear.compose_compose-foundation' depends on non-existing optional_uses_libs 'wear-sdk' | |
Adding CUSTOM_LOCALES [ast_ES gd_GB cy_GB fur_IT] to PRODUCT_LOCALES [en_US af_ZA am_ET ar_EG ar_XB as_IN az_AZ be_BY bg_BG bn_BD bs_BA ca_ES cs_CZ da_DK de_DE el_GR en_AU en_CA en_GB en_IN en_XA es_ES es_US et_EE eu_ES fa_IR fi_FI fr_CA fr_FR gl_ES gu_IN hi_IN hr_HR hu_HU hy_AM in_ID is_IS it_IT iw_IL ja_JP ka_GE kk_KZ km_KH kn_IN ko_KR ky_KG lo_LA lt_LT lv_LV mk_MK ml_IN mn_MN mr_IN ms_MY my_MM nb_NO ne_NP nl_NL or_IN pa_IN pl_PL pt_BR pt_PT ro_RO ru_RU si_LK sk_SK sl_SI sq_AL sr_Latn_RS sr_RS sv_SE sw_TZ ta_IN te_IN th_TH tl_PH tr_TR uk_UA ur_PK uz_UZ vi_VN zh_CN zh_HK zh_TW zu_ZA] | |
[100% 137/137] initializing legacy Make module parser ... | |
Adding CUSTOM_LOCALES [ast_ES gd_GB cy_GB fur_IT] to PRODUCT_LOCALES [en_US af_ZA am_ET ar_EG ar_XB as_IN az_AZ be_BY bg_BG bn_BD bs_BA ca_ES cs_CZ da_DK de_DE el_GR en_AU en_CA en_GB en_IN en_XA es_ES es_US et_EE eu_ES fa_IR fi_FI fr_CA fr_FR gl_ES gu_IN hi_IN hr_HR hu_HU hy_AM in_ID is_IS it_IT iw_IL ja_JP ka_GE kk_KZ km_KH kn_IN ko_KR ky_KG lo_LA lt_LT lv_LV mk_MK ml_IN mn_MN mr_IN ms_MY my_MM nb_NO ne_NP nl_NL or_IN pa_IN pl_PL pt_BR pt_PT ro_RO ru_RU si_LK sk_SK sl_SI sq_AL sr_Latn_RS sr_RS sv_SE sw_TZ ta_IN te_IN th_TH tl_PH tr_TR uk_UA ur_PK uz_UZ vi_VN zh_CN zh_HK zh_TW zu_ZA] | |
[ 99% 208/209] finishing legacy Make module parsing ... | |
FAILED: | |
build/make/core/main.mk:1101: warning: device/google/redfin/lineage_redfin.mk includes non-existent modules in PRODUCT_PACKAGES | |
Offending entries: | |
twoshay | |
vendor.google.wireless_charger-default | |
build/make/core/main.mk:1101: error: Build failed. | |
18:56:22 ckati failed with: exit status 1 | |
#### failed to build some targets (20:08 (mm:ss)) #### | |
Tue 08 Apr 2025 06:56:23 PM EDT | |
[08 18:56:23]albe@ubu736:/ap/code/androidrom/lineage406e$ | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment