Hello,
I don't know if I'm in the right place to ask my question, if not I apologize.
I'm trying to build a grapheneos for a Pixel 8a. I followed the tutorial (https://grapheneos.org/build) and everything is ok until the building stage (https://grapheneos.org/build#building).
When i run m vendorbootimage vendorkernelbootimage target-files-package
i get a couple of errors, i tryed to search for solutions online but didnt find...
here is what i get
`
root@droid52:/grapheneos-2024123000# export OFFICIAL_BUILD=false
root@droid52MACBOOK:/grapheneos-2024123000# m vendorbootimage vendorkernelbootimage target-files-package
[W][2025-01-08T20:22:21+0100][105557] logParams():267 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
[W][2025-01-08T20:22:21+0100][105557] logParams():277 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files
[W][2025-01-08T20:22:22+0100][105670] logParams():267 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
[W][2025-01-08T20:22:22+0100][105670] logParams():277 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=15
TARGET_PRODUCT=akita
TARGET_BUILD_VARIANT=user
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv9-a
TARGET_CPU_VARIANT=cortex-a76
HOST_OS=linux
HOST_OS_EXTRA=Linux-6.8.0-51-generic-x86_64-Ubuntu-24.04.1-LTS
HOST_CROSS_OS=windows
BUILD_ID=AP4A.241205.013
PLATFORM_SECURITY_PATCH=2024-12-05
OUT_DIR=out
[W][2025-01-08T20:22:22+0100][105824] logParams():267 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
[W][2025-01-08T20:22:22+0100][105824] logParams():277 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files
[100% 131/131] analyzing Android.bp files and generating ninja file at out/soong/build.akita.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'
[W][2025-01-08T20:23:42+0100][107726] logParams():267 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
[W][2025-01-08T20:23:42+0100][107726] logParams():277 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files
[W][2025-01-08T20:23:43+0100][107801] logParams():267 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
[W][2025-01-08T20:23:43+0100][107801] logParams():277 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files
[W][2025-01-08T20:25:47+0100][107929] logParams():267 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
[W][2025-01-08T20:25:47+0100][107929] logParams():277 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files
[W][2025-01-08T20:25:47+0100][107941] logParams():267 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
[W][2025-01-08T20:25:47+0100][107941] logParams():277 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files
[ 0% 726/144606] //external/guava:guava-android-annotation-stubs javac [linux_glibc common] (priority: 172)
warning: [options] system modules path not set in conjunction with -source 11
1 warning
[ 0% 729/144606] //external/jsr305:jsr305 javac [linux_glibc common] (priority: 172)
warning: [options] system modules path not set in conjunction with -source 11
1 warning
[ 0% 741/144606] //external/guava:guava-both javac [linux_glibc common] (priority: 170)
warning: [options] source value 8 is obsolete and will be removed in a future release
warning: [options] target value 8 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
3 warnings
[ 0% 874/144606] //external/guava:guava-jre javac [linux_glibc common] (priority: 167)
FAILED: out/soong/.intermediates/external/guava/guava-jre/linux_glibc_common/javac/guava-jre.jar out/soong/.intermediates/external/guava/guava-jre/linux_glibc_common/javac/anno.srcjar
rm -rf "out/soong/.intermediates/external/guava/guava-jre/linux_glibc_common/javac/classes" "out/soong/.intermediates/external/guava/guava-jre/linux_glibc_common/javac/anno" "out/soong/
.intermediates/external/guava/guava-jre/linux_glibc_common/javac/anno.srcjar.tmp" "out/soong/.intermediates/external/guava/guava-jre/linux_glibc_common/javac/srcjars" "out/soong/.interm
ediates/external/guava/guava-jre/linux_glibc_common/javac/guava-jre.jar.tmp" && mkdir -p "out/soong/.intermediates/external/guava/guava-jre/linux_glibc_common/javac/classes" "out/soong/
.intermediates/external/guava/guava-jre/linux_glibc_common/javac/anno" "out/soong/.intermediates/external/guava/guava-jre/linux_glibc_common/javac/srcjars" && out/host/linux-x86/bin/zip
sync -d out/soong/.intermediates/external/guava/guava-jre/linux_glibc_common/javac/srcjars -l out/soong/.intermediates/external/guava/guava-jre/linux_glibc_common/javac/srcjars/list -f
"*.java" && (if [ -s out/soong/.intermediates/external/guava/guava-jre/linux_glibc_common/javac/srcjars/list ] || [ -s out/soong/.intermediates/external/guava/guava-jre/linux_glibc_com
mon/javac/guava-jre.jar.rsp ] ; then out/host/linux-x86/bin/soong_javac_wrapper prebuilts/jdk/jdk21/linux-x86/bin/javac -J-Xmx4096M -J-XX:OnError="cat hs_err_pid%p.log" -J-XX:CICompiler
Count=6 -J-XX:+UseDynamicNumberOfGCThreads -J-XX:+TieredCompilation -J-XX:TieredStopAtLevel=1 -Xmaxerrs 9999999 -encoding UTF-8 -sourcepath "" -g -XDskipDuplicateBridges=true -XDstringC
oncat=inline -proc:none -Xlint:-dep-ann -bootclasspath prebuilts/jdk/jdk8/linux-x86/jre/lib/jce.jar:prebuilts/jdk/jdk8/linux-x86/jre/lib/rt.jar -classpath out/soong/.intermediates/exte
rnal/guava/guava-android-annotation-stubs/linux_glibc_common/javac-header/guava-android-annotation-stubs.jar:out/soong/.intermediates/external/error_prone/error_prone_annotations/linux_
glibc_common/combined/error_prone_annotations.jar:out/soong/.intermediates/external/guava/guava-both/linux_glibc_common/javac-header/guava-both.jar -source 1.8 -target 1.8 -d out/soong/
.intermediates/external/guava/guava-jre/linux_glibc_common/javac/classes -s out/soong/.intermediates/external/guava/guava-jre/linux_glibc_common/javac/anno @out/soong/.intermediates/ext
ernal/guava/guava-jre/linux_glibc_common/javac/guava-jre.jar.rsp @out/soong/.intermediates/external/guava/guava-jre/linux_glibc_common/javac/srcjars/list ; fi ) && out/host/linux-x86/bi
n/soong_zip -jar -o out/soong/.intermediates/external/guava/guava-jre/linux_glibc_common/javac/anno.srcjar.tmp -C out/soong/.intermediates/external/guava/guava-jre/linux_glibc_common/ja
vac/anno -D out/soong/.intermediates/external/guava/guava-jre/linux_glibc_common/javac/anno && out/host/linux-x86/bin/soong_zip -jar -o out/soong/.intermediates/external/guava/guava-jre
/linux_glibc_common/javac/guava-jre.jar.tmp -C out/soong/.intermediates/external/guava/guava-jre/linux_glibc_common/javac/classes -D out/soong/.intermediates/external/guava/guava-jre/li
nux_glibc_common/javac/classes && if ! cmp -s "out/soong/.intermediates/external/guava/guava-jre/linux_glibc_common/javac/guava-jre.jar.tmp" "out/soong/.intermediates/external/guava/gua
va-jre/linux_glibc_common/javac/guava-jre.jar"; then mv "out/soong/.intermediates/external/guava/guava-jre/linux_glibc_common/javac/guava-jre.jar.tmp" "out/soong/.intermediates/external
/guava/guava-jre/linux_glibc_common/javac/guava-jre.jar"; fi && if ! cmp -s "out/soong/.intermediates/external/guava/guava-jre/linux_glibc_common/javac/anno.srcjar.tmp" "out/soong/.inte
rmediates/external/guava/guava-jre/linux_glibc_common/javac/anno.srcjar"; then mv "out/soong/.intermediates/external/guava/guava-jre/linux_glibc_common/javac/anno.srcjar.tmp" "out/soong
/.intermediates/external/guava/guava-jre/linux_glibc_common/javac/anno.srcjar"; fi && rm -rf "out/soong/.intermediates/external/guava/guava-jre/linux_glibc_common/javac/srcjars" "out/so
ong/.intermediates/external/guava/guava-jre/linux_glibc_common/javac/classes"
warning: [options] source value 8 is obsolete and will be removed in a future release
warning: [options] target value 8 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
3 warnings
rm: collect: Directory not empty
20:26:52 ninja failed with: exit status 1
failed to build some targets (04:32 (mm:ss)) ####`
Thanks a lot for your help.