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.
For a pastebin https://paste.tchncs.de/ works nicely.
Youāre right, I missed this one!
https://doc.e.foundation/support-topics/build-e#how-to-build-the-rom
Currently running a v1.14-r test build for jactivelte, will post full logs if successful.
This one has created a YT series on getting started, with building ROMs.
Iām by no means close to building and itās been a while that I watched the videos on NewPipe, but found his contend helpful and easy to follow.
Maybe judge for yourself:
https://forum.xda-developers.com/t/guide-video-tutorial-how-to-build-custom-roms-and-kernels-10-p-o-n-m-l.3814251/
Newpipe, LibreTubeā¦search for: alaskalinuxuser
Maybe others have recommendations, on content to follow.
I got a device ā partly broken digitiser ā but I happily test your build on it!
Build successful!
Sorry, VM had 20GB RAM, I failed to tune it down to 16GB
Also, forgot to remove the Xmx option.
But this may confirm the lack of RAM in your machine, @piero ā¦
Build command:
docker pull registry.gitlab.e.foundation/e/os/docker-lineage-cicd:community
docker run \
-v "/srv/src:/srv/src" \
-v "/srv/zips:/srv/zips" \
-v "/srv/logs:/srv/logs" \
-v "/srv/ccache:/srv/ccache" \
-e "BRANCH_NAME=v1.14-r" \
-e "DEVICE_LIST=jactivelte" \
-e "REPO=https://gitlab.e.foundation/e/os/releases.git" \
-e "ANDROID_JACK_VM_ARGS=-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx16G" \
registry.gitlab.e.foundation:5000/e/os/docker-lineage-cicd:community
All files including logs: https://www.androidfilehost.com/?w=files&flid=339301
Please note: these files are only intended to help @piero in his attempt for building, not for any other testing!
thanks for responding
here are my logs : https://murena.io/s/QEKkmJiXtHoC6KX repo sync seems to be ok.
the yesterday attempt did not generate a log
Can you please retry with BRANCH_NAME=v1.14-r
?
This doc: https://doc.e.foundation/support-topics/build-e#6-start-build instruct to use tags.
@smu44 Sorryā¦ had to try
@piero You rememberā¦ this is my battery charger
Only need to find my OTG adapter and keyboard
Not super easy, just with a keyboard ā hover and focus states in the UI lack clear contrasting colors, but yes got it installed
Well, Iām still happy if it works!
But I wonāt provide any support for this build.
@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.
Iām on my own with this, not expecting otherwise
Tank you, anyway
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.
sorry, i donāt understand
please try in frenchā¦
less and tail are display file commands. Assuming a mylog.log file:
- āless mylog.logā then use [End] key on keyboard to refresh the end of file
- ātail -f mylog.logā will display the end, then follow (display) new lines
htop and nmon are monitoring tools, use "apt install " to get them.
For all of these, man pages are available (āman htopā for example).
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)
hoping the memory issue is Docker dependant, i want to try the āandroid_vendor_eā method from @steadfasterX
.
i should be idiot !
even the first step lead me to an error :
repo init -u https://gitlab.e.foundation/e/os/releases.git -b refs/tags/v1.14-r
give me
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
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="fdroid" fetch="https://gitlab.com/fdroid/" />
<remote name="sfX" fetch="https://github.com/sfX-Android/" />
<!-- KERNEL
#####################################################-->
<project name="LineageOS/android_kernel_samsung_msm8930-common" path="kernel/samsung/msm8930-common" remote="github" revision="lineage18.1" />
<!-- DEVICE TREES
#####################################################-->
<project name="LineageOS/android_device_samsung_msm8930-common" path="device/samsung/msm8930-common" remote="github" revision="lineage18.1" />
<project name="LineageOS/android_device_samsung_serrano-common" path="device/samsung/serrano-common" remote="github" revision="lineage18.1" />
<project name="LineageOS/android_device_samsung_serranoltexx" path="device/samsung/serranoltexx" remote="github" revision="lineage18.1" />
<project name="arco/android_device_samsung_serranoltespr" path="device/samsung/serranoltespr" remote="github" revision="lineage17.1" />
<project name="arco/android_device_samsung_serranolteusc" path="device/samsung/serranolteusc" remote="github" revision="lineage17.1" />
<!-- /e/ vendor repo
#####################################################-->
<project name="steadfasterX/android_vendor_e" path="vendor/e" remote="e" revision="1.14-r" />
<!-- /e/ vendor repo mods (OPTIONAL)
#####################################################-->
<!-- project name="android_vendor_e-mod" path="vendor/e-mod" remote="sfX" revision="REPLACE" /> -->
<!-- F-Droid (OPTIONAL - see topic "F-Droid")
#####################################################-->
<!-- project name="android_vendor_fdroid" path="vendor/fdroid" remote="sfX" revision="main" /> -->
<!-- project path="packages/apps/F-DroidPrivilegedExtension" name="privileged-extension.git" remote="fdroid" revision="master" /> -->
<manifest>
Edit for clarity: Line 32, column 0 follows <manifest>
failing to close with </manifest>
Note the use of the words
reusing existing repo client checkout
This refers to the content that has been checked out
of .repo
into the environment you created for docker. (I think / assume)
fatal: manifest ādefault.xmlā not available
I would associate with switching ātwo methods in 1 environmentā or not cleaning the first environment before starting a new method.
I would experiment with running
repo init -u https://gitlab.e.foundation/e/os/releases.git -b refs/tags/v1.14-r
into a new directory. For example ~/e-build/SfX/
You can save doing a whole new download of sources by moving (or copy) the
.repo
directory only into the new environment.
Take the advice of your last log
try reducing your -j value.
by using
repo -j1 sync
Try to avoid the
The minimum required amount of free memory is around 16GB,
by building Q.
Good luck
Trying to avoid āThe minimum required amount of free memory is around 16GBā
a Docker build is running since 03h (UTC) including a special setting inspired by smu44 shared command : with 7G at the end.
-e "ANDROID_JACK_VM_ARGS=-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx7G" \
.
my ā/system + /homeā volume is full off by multiple repo sync without cleaning,
i will reorganise my computer by adding a dedicated 500 Gb hard drive for workspace (this will also optimize disk access time)
i was planning to setup a 16Gb swap partition along the /system one, but your suggestion about 16Gb USB2 stick is amazingā¦
i cannot buy (25ā¬) 2x8Gb RAM PC3 10600U (1333Mhz) or 12800U (compatible) for the moment, i donāt know if 2x16Gb exist for those generation.
Edit : i have ordered 2x8Gb (maximum admissible by my p6 motherboard) will see next weekā¦