i recently aquired a 4x3.3Ghz PC with 8Gb now 16Gb of RAM and i have just received my modem, i am now connected to the internet through a fiber network,
so my main plan is to build /e/ for a dropped Samsung devices i own (s4mini)
for witch an old e-0.18-r-unofficial exist, (i use it for 2 years)
an historical about up to date lineageOS 18.1 unofficial exist,
and an up to date with OTA server lineageOS 18.1 with microG also exist. (edit : recently closed)
.
i know i have first to build with Docker for an officially /e/ supported device (my s4active) to check my build environnement.
.
here what i have in the terminal :
$ sudo docker run
-v â/srv/e/src:/srv/srcâ
-v â/srv/e/zips:/srv/zipsâ
-v â/srv/e/logs:/srv/logsâ
-v â/srv/e/ccache:/srv/ccacheâ
-e âBRANCH_NAME=v1-râ
-e âDEVICE_LIST=jactivelteâ
-e âREPO=https://gitlab.e.foundation/e/os/releases.gitâ
registry.gitlab.e.foundation:5000/e/os/docker-lineage-cicd:community
[sudo] Mot de passe de xxxxx :
Set cache size limit to 50.0 GB
[Sat Aug 26 21:10:55 UTC 2023] Branch: v1-r
[Sat Aug 26 21:10:55 UTC 2023] Devices: jactivelte,
[Sat Aug 26 21:11:02 UTC 2023] (Re)initializing branch repository
[Sat Aug 26 21:11:05 UTC 2023] Copying â/srv/local_manifests/*.xmlâ to â.repo/local_manifests/â
[Sat Aug 26 21:11:06 UTC 2023] Syncing branch repository
⌠A new version of repo (2.35) is available.
⌠You should upgrade soon:
cp /srv/src/R/.repo/repo/repo /usr/local/bin/repo
[Sat Aug 26 21:28:13 UTC 2023] Setting âUNOFFICIALâ as release type
[Sat Aug 26 21:28:13 UTC 2023] Adding OTA URL overlay (for custom URL )
[Sat Aug 26 21:28:13 UTC 2023] Preparing build environment
[Sat Aug 26 21:28:16 UTC 2023] Starting build for jactivelte, v1-r branch
[Sat Aug 26 21:28:16 UTC 2023] ANDROID_JACK_VM_ARGS=-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4G
[Sat Aug 26 21:28:16 UTC 2023] Switch to Python2
[Sat Aug 26 21:28:40 UTC 2023] Failed build for jactivelte
[Sat Aug 26 21:28:40 UTC 2023] Finishing build for jactivelte
[Sat Aug 26 21:28:40 UTC 2023] Cleaning source dir for device jactivelte
[Sat Aug 26 21:28:41 UTC 2023] Switch back to Python3
here what i have in /srv/e/logs/ :
[Sat Aug 26 21:11:02 UTC 2023] (Re)initializing branch repository
⌠A new version of repo (2.35) is available.
⌠You should upgrade soon:
cp /srv/src/R/.repo/repo/repo /usr/local/bin/repo
repo: reusing existing repo client checkout in /srv/src/R
repo has been initialized in /srv/src/R
[Sat Aug 26 21:11:06 UTC 2023] Syncing branch repository
⌠A new version of repo (2.35) is available.
⌠You should upgrade soon:
cp /srv/src/R/.repo/repo/repo /usr/local/bin/repo
kernel/samsung/jf: Deleting obsolete checkout.
hardware/samsung: Deleting obsolete checkout.
device/samsung/qcom-common: Deleting obsolete checkout.
device/samsung/jf-common: Deleting obsolete checkout.
device/samsung/jactivelte: Deleting obsolete checkout.
Encountered 1 file(s) that should have been pointers, but werenât:
AdvancedPrivacy/Advanced_Privacy-1.15.0-e-release.apk
repo sync has finished successfully.
Hi,
Donât you have another log file for the build? Please use Pastebin-like for whole file.
As your build didnât take long, my bet is on missing sources
I did quite a few builds of Q manually with 8 GB RAM, but I am pretty sure that docker always failed to repo sync correctly (but in a complex way that defied explanation).
As the need to build R came along, 8 GB was just not sufficient 16 GB is fine (edit, or minimum, perhaps ? I was lucky to get a deal on 32GB, previously used).
It is easy to just
cp /srv/src/R/.repo/repo/repo /usr/local/bin/repo
in order to use latest version of repo (2.35) ⌠I really doubt it will help.
@make-nz for sure it works, i am confident about smu44 docker build capacity for an officially supported device.
@smu44 i already have a process running the command you shared for 2 hours, network activity seems calm now, also CPU for the moment, all i can see is intensive disk activity.
comment : there is no live logs ? as when i build postmarketOS.
You may tail/less the log file in another session.
After download, sync may be busy for a while, use htop to check.
I also use nmon with c, d, n, m options.
excuse me please for the late reply, I am a bit frustrated.
my screen became black when i was looking elsewhere and refuse to came back even if i move the mouth or tap on the space bar, but the computer was still on so i plug another screen, to discover that the system has rebooted. (the screen still works)
the log say that
the build has failed after 4 hours :
FAILED : out/soong/build.ninja
1h30 after complaining that :
Build sandboxing disabled due to nsjail error
and
dumpvars failed with: exit status 1
and
warning about the lack of memory
i have added the new log here
note that it was not founded at the same place (/srv/logs/devicename/ when the olders were in /srv/e/logs/devicename)
i was running the command shared by @smu44 in post #7
(but without adding â/refs/tag/â as the process was already launched when the advice comes)
repo: reusing existing repo client checkout in /home/antec
fatal: manifest âdefault.xmlâ not available
fatal: error parsing manifest /home/antec/.repo/local_manifests/eos.xml: no element found: line 32, column 0
even if i accomplish the second step : (here for s4mini, not s4active)
/home/antec/.repo/local_manifests/eos.xml