I’m trying to get v1-q compiled for a pixel3a (sargo). There is unofficial support for Lineage 17.1 so it shouldn’t be “too difficult”… Famous last words…
I’ve got all the dependencies sorted out but the build fails near the 50% mark with:
hardware/qcom/audio/default/post_proc/volume_listener.c:29:10: fatal error: 'platform_api.h' file no
t found
#include <platform_api.h>
^~~~~~~~~~~~~~~~
Does anyone have suggestions for where to start looking before I dive down the rabbit hole and try to understand where what code comes from and how it looks on another device that builds?
NB: I’m using the docker build method.
Update: looks like this may have to do with hardware/qcom/audio/default in /e/ vs. hardware/qcom/audio in lineageOS:
Are you wiling to post at least a bullet list for where you found them and how you fixed them?
I managed to get a build compiled after renaming the dir. Except that it failed at the end not being able to fit stuff into one of the partitions:
lpmake E 08-29 09:54:44 453592 453592 builder.cpp:568] [liblp]Partition product is part of group
google_dynamic_partitions which does not have enough space free (334921728 requested, 3741548544 used
out of 4068474880)
Not enough space on device for partition product with size 334921728
2020-08-29 09:54:44 - add_img_to_target_files - ERROR :
I guess now I need to figure out how to change the partition sizes???
Well, leaving MagicEarth and LibreOffice out of the build made exactly zero difference . They were in the system partition and I suspect the size of that is not dependent on the contents.
After some tweaking of BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE:
there is an issue since month for it in Gitlab. There are several people which have the same issue. For example, my bacon pie builds aren’t finishing since beginning of the yer because of this error. I have removed ALL system apps and the build still fails.