-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Description
It builds fine without the GMS env variable. This is not with docker, this is under Ubuntu 22.04.
(.lineage_venv) administrator@Android-VM:~/android/lineage$ m -j8 bacon
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=lineage_lilac
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a73
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a73
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-6.5.0-28-generic-x86_64-with-Ubuntu-22.04-jammy
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM7.181205.001
OUT_DIR=/home/administrator/android/lineage/out
WITH_GMS=true
============================================
ninja: no work to do.
ninja: no work to do.
No need to regenerate ninja file
[ 0% 0/802] Install: /default-permissions/default-permissions-com.google.android.gms.xmlninja: error: mkdir(/default-permissions): Permission denied
ninja: build stopped: .
15:50:17 ninja failed with: exit status 1
#### failed to build some targets (10 seconds) ####
It also appears to happen under sudo su, although maybe source .lineage_venv breaks sudo su idk.
Edit: I am a dumbass. I switched back to the wrong terminal. I tried building under sudo su, and it wanted to do a full rebuild and near instantly failed setting up the jack server.
Edit 2: sudo su fucked everything up. Good thing I have snapshots.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels