As you mentioned, as I didn’t find e/os/android_device_lineage_sepolicy on gitlb.e.fodundation but I found it on LineageOS/android_device_lineage_sepolicy, I launched a find and grep on my local working directory to find that string, and I found a match on src/PIE/.repo/manifests/snippets, so I replace the affected line in the following way:
in my previous post the ‘diff’ output was cut. It is the following: I replaced the line:
project path=“device/lineage/sepolicy” name=“e/os/android_device_lineage_sepolicy” remote=“e”
with:
project path=“device/lineage/sepolicy” name=“LineageOS/android_device_lineage_sepolicy”
The problem is fixed, the e/os/android_device_lineage_sepolicy repo on gitlab was set to internal, so it was not accessible. Sorry for the inconvenience.
I’m trying to build Pie for the mipad 4 (Clover). I’ve hit some errors, feels like i’m missing a key step somewhere.
Do I need to actually for lineage too?
[Tue Dec 3 23:18:49 UTC 2019] Starting build for clover, v1-pie branch
including vendor/lineage/vendorsetup.sh
build/make/core/product_config.mk:234: error: Can not locate config makefile for product “lineage_clover”.
23:18:54 dumpvars failed with: exit status 1
Device clover not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/Li$
Repository for clover not found in the LineageOS Github repository list. If this is in error, you may need to$
build/make/core/product_config.mk:234: error: Can not locate config makefile for product “lineage_clover”.
23:18:55 dumpvars failed with: exit status 1
build/make/core/product_config.mk:234: error: Can not locate config makefile for product “lineage_clover”.
23:18:55 dumpvars failed with: exit status 1
** Don’t have a product spec for: ‘lineage_clover’
** Do you have the right repo manifest?
No such item in brunch menu. Try ‘breakfast’
[Tue Dec 3 23:18:55 UTC 2019] Failed build for clover
[Tue Dec 3 23:18:55 UTC 2019] Finishing build for clover
[Tue Dec 3 23:18:55 UTC 2019] Cleaning source dir for device clover
23:18:55 Entire build directory removed.
You need on one hand the lineage android sources. On the other hand you need device tree, vendor tree kernel and for some devices kernel-common sources (vendor and device) and on the third hand (am I and Alien with 3 hands ) you need the e sources.
Lineage and e sources are available and you have to find all from the second hand, fork it for your own, incl. it via manifest.xml.
But if your own sources are not for LOS builds, you have to edit a lot of files that they fit the lineage rules.
Have you ever build a e rom ? If not, I would prefer first building for an supported device to ensure, your building environment is OK.
Than you can check if your device/vendor sources are have the same names as the official ones. for example. you need to have a lineage-clover.mk. Also inside the make files there are a lot name specific rules which your sources must have.
I’m getting this error - which is about being out of memory. I have a VM on Vultr with 32GB of RAM & 640GB of HDD.
Edit - also tried on Google Cloud with similar specs but using s2 & v1-oreo as branch/build name - same issue
[Wed Dec 4 12:09:10 UTC 2019] Starting build for dipper, v1-pie branch
ANDROID_JACK_VM_ARGS=-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4G
[Wed Dec 4 12:14:23 UTC 2019] Failed build for dipper
# Provide a default JACK configuration in order to avoid out-of-memory issues
export ANDROID_JACK_VM_ARGS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4G"