Looking for some BUILDERS to teach / guide me

…oh !!!

because the list is discontinued on several lines, i hadn’t…!!!

now really buildding …

depmod: WARNING: could not open modules.order at /home/antec/android/lineage/out/target/product/gts4lv/obj/PACKAGING/depmod_vendor_intermediates/lib/modules/0.0: No 
such file or directory
depmod: WARNING: could not open modules.builtin at /home/antec/android/lineage/out/target/product/gts4lv/obj/PACKAGING/depmod_vendor_intermediates/lib/modules/0.0: N
o such file or directory
2023-09-11 06:33:09 - add_img_to_target_files.py - INFO    : done.
[ 99% 60789/60790] Package OTA: out/target/product/gts4lv/lineage_gts4lv-ota-eng.antec.zip
2023-09-11 06:34:05 - common.py - WARNING : Failed to read SYSTEM/etc/build.prop
2023-09-11 06:34:05 - common.py - WARNING : Failed to read VENDOR/etc/build.prop
2023-09-11 06:34:05 - common.py - WARNING : Failed to read PRODUCT/etc/build.prop
2023-09-11 06:34:05 - common.py - WARNING : Failed to read PRODUCT/build.prop
2023-09-11 06:34:05 - common.py - WARNING : Failed to read SYSTEM_EXT/etc/build.prop
2023-09-11 06:34:05 - common.py - WARNING : Failed to read SYSTEM_EXT/build.prop
2023-09-11 06:34:05 - common.py - WARNING : Failed to read ODM/etc/build.prop
2023-09-11 06:34:05 - common.py - WARNING : Failed to read ODM/build.prop
2023-09-11 06:34:05 - ota_from_target_files.py - INFO    : --- target info ---

[100% 60790/60790] build bacon
Package Complete: out/target/product/gts4lv/lineage-18.1-20230910-UNOFFICIAL-gts4lv.zip

build completed successfully (05:26:23 (hh:mm:ss))

.

where is the log ?

exploring /out folder :
build_error is empty
there is no recent error.log

Can you type this into your terminal please:

sudo apt-get install bc bison build-essential ccache curl flex gcc-multilib gcc-multilib git git-lfs gnupg gperf imagemagick lib32ncurses-dev lib32readline-dev lib32z1-dev libelf-dev liblz4-tool libncurses5 libncurses5-dev libsdl1.2-dev libssl-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev

antec@antec-p6-2038fr:~/android/lineage$ sudo apt-get install bc bison build-essential ccache curl flex gcc-multilib gcc-multilib git git-lfs gnupg gperf imagemagick lib32ncurses-dev lib32readline-dev lib32z1-dev libelf-dev liblz4-tool libncurses5 libncurses5-dev libsdl1.2-dev libssl-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev
[sudo] Mot de passe de antec : 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
bc est déjà la version la plus récente (1.07.1-2build1).
bison est déjà la version la plus récente (2:3.5.1+dfsg-1).
ccache est déjà la version la plus récente (3.7.7-1).
flex est déjà la version la plus récente (2.6.4-6.2).
gcc-multilib est déjà la version la plus récente (4:9.3.0-1ubuntu2).
lib32readline-dev est déjà la version la plus récente (8.0-4).
zip est déjà la version la plus récente (3.0-11build1).
gperf est déjà la version la plus récente (3.1-1build1).
libsdl1.2-dev est déjà la version la plus récente (1.2.15+dfsg2-5).
lzop est déjà la version la plus récente (1.04-1).
pngcrush est déjà la version la plus récente (1.8.13-0.1).
schedtool est déjà la version la plus récente (1.3.0-3).
build-essential est déjà la version la plus récente (12.8ubuntu1.1).
curl est déjà la version la plus récente (7.68.0-1ubuntu2.19).
git est déjà la version la plus récente (1:2.25.1-1ubuntu3.11).
gnupg est déjà la version la plus récente (2.2.19-3ubuntu2.2).
lib32ncurses-dev est déjà la version la plus récente (6.2-0ubuntu2.1).
lib32z1-dev est déjà la version la plus récente (1:1.2.11.dfsg-2ubuntu1.5).
libelf-dev est déjà la version la plus récente (0.176-1.1ubuntu0.1).
libncurses5-dev est déjà la version la plus récente (6.2-0ubuntu2.1).
libssl-dev est déjà la version la plus récente (1.1.1f-1ubuntu2.19).
libxml2 est déjà la version la plus récente (2.9.10+dfsg-5ubuntu0.20.04.6).
libxml2-utils est déjà la version la plus récente (2.9.10+dfsg-5ubuntu0.20.04.6).
rsync est déjà la version la plus récente (3.1.3-8ubuntu0.5).
squashfs-tools est déjà la version la plus récente (1:4.4-1ubuntu0.3).
xsltproc est déjà la version la plus récente (1.1.34-4ubuntu0.20.04.1).
zlib1g-dev est déjà la version la plus récente (1:1.2.11.dfsg-2ubuntu1.5).
imagemagick est déjà la version la plus récente (8:6.9.10.23+dfsg-2.1ubuntu11.9).
liblz4-tool est déjà la version la plus récente (1.9.2-2ubuntu0.20.04.1).
libncurses5 est déjà la version la plus récente (6.2-0ubuntu2.1).
git-lfs est déjà la version la plus récente (3.4.0).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 1 non mis à jour.
antec@antec-p6-2038fr:~/android/lineage$ 

.


.
[100% 60790/60790] build bacon
Package Complete: out/target/product/gts4lv/lineage-18.1-20230910-UNOFFICIAL-gts4lv.zip

build completed successfully (05:26:23 (hh:mm:ss))

where is the log ?

exploring /out folder :
build_error is empty
there is no recent error.log
where is the recovery ? i see one, but not named lineage-recovery-gts4lv
.

have a go now with building /e/ for the same device…

do i need to clean something ?

Congratulations :slight_smile:

Regard /e/OS build you can create a new folder with the /e/OS source and follow the instructions I posted. It is very similar

i did nothing, only apt install, and run breakfast and brunch…

so i will delete the /lineageos folder because it take 237Gb and let me only 213Gb free on my ~500Gb dedicated Hard Drive,
thanks.

Starting at “you might clean your environment with …”

Argh… newbe i am !.. i deleted the previous /lineage folder

however, i already did
repo init -u https://gitlab.e.foundation/e/os/android.git -b v1-r
and
repo sync is running

You did

1 Like

Is not critical, you will pull in all the /e/ sources … then when a manifest is added you will pull in the device sources.

A braver man than me would just do it on the fly! but probably not much advantage.

so i have closed the running terminal, created the
.repo/local_manifests/gts4lv.xml, filled it (including the muppet line),

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <project path="device/samsung/gts4lv" remote="github" name="LineageOS/android_device_samsung_gts4lv" />
  <project path="device/samsung/gts4lv-common" remote="github" name="LineageOS/android_device_samsung_gts4lv-common" />
  <project path="device/samsung/qcom-common" remote="github" name="LineageOS/android_device_samsung_qcom-common" />
  <project path="kernel/samsung/sdm670" remote="github" name="LineageOS/android_kernel_samsung_sdm670" />
  <project path="hardware/samsung" remote="github" name="LineageOS/android_hardware_samsung" />
  <project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung" remote="github" depth="1" />
</manifest>

and openned a new terminal,
skip the repo init -u https://gitlab.e.foundation/e/os/android.git -b v1-r step
and run repo sync ( without the -j8 proposed by steadfasterfx)

Checking out: 100% (865/865), done in 30m23.102s
repo sync has finished successfully.

repo forall -c ‘git lfs pull’
source build/envsetup.sh > envsetup_01.txt
breakfast gts4lv :

antec@antec-p6-2038fr:~/android/e/gts4lv$ breakfast gts4lv
In file included from build/make/core/config.mk:291:
In file included from build/make/core/envsetup.mk:266:
build/make/core/product_config.mk:155: error: Can not locate config makefile for product "lineage_gts4lv".
16:48:05 dumpvars failed with: exit status 1
Device gts4lv not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS).
Found repository: android_device_samsung_gts4lv
Default revision: lineage-18.1
Checking branch info
Checking if device/samsung/gts4lv is fetched from android_device_samsung_gts4lv
Adding dependency: LineageOS/android_device_samsung_gts4lv -> device/samsung/gts4lv
Using default branch for android_device_samsung_gts4lv
Syncing repository to retrieve project.
Fetching: 100% (1/1), done in 0.992s
warning: Partial syncs are not supported. For the best experience, sync the entire tree.
repo sync has finished successfully.
Repository synced!
Looking for dependencies in device/samsung/gts4lv
Adding dependencies to manifest
Checking if device/samsung/gts4lv-common is fetched from android_device_samsung_gts4lv-common
Adding dependency: LineageOS/android_device_samsung_gts4lv-common -> device/samsung/gts4lv-common
Using default branch for android_device_samsung_gts4lv-common
Syncing dependencies
Fetching: 100% (2/2), done in 1.634s
warning: Partial syncs are not supported. For the best experience, sync the entire tree.
repo sync has finished successfully.
Looking for dependencies in device/samsung/gts4lv-common
Adding dependencies to manifest
Checking if device/samsung/qcom-common is fetched from android_device_samsung_qcom-common
Adding dependency: LineageOS/android_device_samsung_qcom-common -> device/samsung/qcom-common
Using default branch for android_device_samsung_qcom-common
Checking if kernel/samsung/sdm670 is fetched from android_kernel_samsung_sdm670
Adding dependency: LineageOS/android_kernel_samsung_sdm670 -> kernel/samsung/sdm670
Using default branch for android_kernel_samsung_sdm670
Syncing dependencies
Fetching: 100% (4/4), done in 5m56.505s
Mise à jour des fichiers: 100% (65355/65355), fait.
Checking out: 100% (4/4), done in 6.408s
warning: Partial syncs are not supported. For the best experience, sync the entire tree.
repo sync has finished successfully.
Looking for dependencies in device/samsung/qcom-common
Adding dependencies to manifest
Checking if hardware/samsung is fetched from android_hardware_samsung
Adding dependency: LineageOS/android_hardware_samsung -> hardware/samsung
Using default branch for android_hardware_samsung
Syncing dependencies
Fetching: 100% (2/2), done in 1.400s
warning: Partial syncs are not supported. For the best experience, sync the entire tree.
repo sync has finished successfully.
Looking for dependencies in hardware/samsung
hardware/samsung has no additional dependencies.
Looking for dependencies in kernel/samsung/sdm670
kernel/samsung/sdm670 has no additional dependencies.
Done
In file included from build/make/core/config.mk:291:
In file included from build/make/core/envsetup.mk:266:
build/make/target/product/updatable_apex.mk:24: error: _nic.PRODUCTS.[[device/samsung/gts4lv/lineage_gts4lv.mk]]: "vendor/samsung/gts4lv-common/gts4lv-common-vendor.mk" does not exist.
16:54:17 dumpvars failed with: exit status 1
In file included from build/make/core/config.mk:291:
In file included from build/make/core/envsetup.mk:266:
build/make/target/product/updatable_apex.mk:24: error: _nic.PRODUCTS.[[device/samsung/gts4lv/lineage_gts4lv.mk]]: "vendor/samsung/gts4lv-common/gts4lv-common-vendor.mk" does not exist.
16:54:18 dumpvars failed with: exit status 1

** Don't have a product spec for: 'lineage_gts4lv'
** Do you have the right repo manifest?


error

should i try with vendor/e/ instead of TheMuppets/proprietary in the .repo/local_manifests/gts4lv.xml ?
found only .repo/local_manifests/roomservice.xml
look like .repo/local_manifests/gts4lv.xml was erased by the process ?

1 Like

The log is of breakfast gts4lv ?

So I see 4:

warning: Partial syncs are not supported. For the best experience, sync the entire tree.

I think the subject here is “please don’t interrupt during repo sync” !

I think return your .repo/local_manifests/gts4lv.xml and then repo sync “from the top”.

You might just do another “package install” pass, this time of the list in dockerfile

apt-get install -y bc bison bsdmainutils build-essential ccache cgpt clang cron \
      curl flex g++-multilib gcc-multilib git git-lfs gnupg gperf imagemagick kmod jq \
      lib32ncurses5-dev libncurses5 lib32readline-dev lib32z1-dev libtinfo5 liblz4-tool \
      libncurses5-dev libsdl1.2-dev libssl-dev libxml2 \
      libxml2-utils lsof lzop maven pngcrush \
      procps python python3 rsync schedtool squashfs-tools software-properties-common wget xdelta3 xsltproc yasm \
      zip zlib1g-dev

just in case microG has a need for anything else.

If you want to set a -j option, run

$ nrpoc

If the answer is n, run repo -j(n-1) sync

1 Like

@ronnz98 could you add this to your guide ?

i think i will one more time restarting from scratch because repo sync look stuck since i came back to diner

i cannot :

antec@antec-p6-2038fr:~$ nrpoc

La commande « nrpoc » n'a pas été trouvée, voulez-vous dire :

  commande « nproc » du deb coreutils (8.30-3ubuntu2)
  commande « nrnoc » du deb neuron (7.6.3-1build4)

Essayez : sudo apt install <nom du deb>

antec@antec-p6-2038fr:~$ sudo apt-get install coreutils
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
coreutils est déjà la version la plus récente (8.30-3ubuntu2).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 1 non mis à jour.
antec@antec-p6-2038fr:~$ nrpoc

La commande « nrpoc » n'a pas été trouvée, voulez-vous dire :

  commande « nrnoc » du deb neuron (7.6.3-1build4)
  commande « nproc » du deb coreutils (8.30-3ubuntu2)

Essayez : sudo apt install <nom du deb>

antec@antec-p6-2038fr:~$ sudo apt-get install nrpoc
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
E: Impossible de trouver le paquet nrpoc



you wrote “nrpoc
but if you mean nproc, output is 4, so the default repo sync command is good for me

This is already outlined in
https://wiki.lineageos.org/devices/gts4lv/build
Possibly its good to know to add
sudo apt-get install prior to all listed build packages… ie

excuse me , i was thinking the e-docker-list was longer than the LOS one , but not.

repo sync done in 32m24.944s.
repo forall -c ‘git lfs pull’ done.
source build/envsetup.sh > envsetup_01.txt done.
breakfast gts4lv done.
brunch gts4lv running…

yesterday,it toke (05:26:23 (hh:mm:ss) to my computer to build LineageOS for the same device,
also gute Nacht für alle…

:+1: good luck with the setup and build

brunch gts4lvFAILED !… at 79%

[ 79% 89731/112241] target Prebuilt: BlissIconPack (out/target/product/gts4lv/obj/APPS/BlissIconPack_intermediates/package.apk)
FAILED: out/target/product/gts4lv/obj/APPS/BlissIconPack_intermediates/package.apk
/bin/bash -c "(rm -f out/target/product/gts4lv/obj/APPS/BlissIconPack_intermediates/package.apk ) && (cp \"prebuilts/prebuiltapks/BlissIconPack/app-release-unsi
gned.apk\" \"out/target/product/gts4lv/obj/APPS/BlissIconPack_intermediates/package.apk\" ) && (if (zipinfo out/target/product/gts4lv/obj/APPS/BlissIconPack_int
ermediates/package.apk 'lib/*.so' 2>/dev/null | grep -v ' stor ' >/dev/null) ; then out/soong/host/linux-x86/bin/zip2zip -i out/target/product/gts4lv/obj/APPS/B
lissIconPack_intermediates/package.apk -o out/target/product/gts4lv/obj/APPS/BlissIconPack_intermediates/package.apk.tmp -0 'lib/**/*.so'  && mv -f out/target/p
roduct/gts4lv/obj/APPS/BlissIconPack_intermediates/package.apk.tmp out/target/product/gts4lv/obj/APPS/BlissIconPack_intermediates/package.apk ; fi ) && (if (zip
info out/target/product/gts4lv/obj/APPS/BlissIconPack_intermediates/package.apk '*.dex' 2>/dev/null | grep -v ' stor ' >/dev/null) ; then out/soong/host/linux-x
86/bin/zip2zip -i out/target/product/gts4lv/obj/APPS/BlissIconPack_intermediates/package.apk -o out/target/product/gts4lv/obj/APPS/BlissIconPack_intermediates/p
ackage.apk.tmp -0 \"classes*.dex\" && mv -f out/target/product/gts4lv/obj/APPS/BlissIconPack_intermediates/package.apk.tmp out/target/product/gts4lv/obj/APPS/Bl
issIconPack_intermediates/package.apk ; fi ) && (build/make/tools/chromium_trichrome_patcher.py out/target/product/gts4lv/obj/APPS/BlissIconPack_intermediates/p
ackage.apk build/make/target/product/security/platform.x509.pem ) && (mv out/target/product/gts4lv/obj/APPS/BlissIconPack_intermediates/package.apk out/target/p
roduct/gts4lv/obj/APPS/BlissIconPack_intermediates/package.apk.unsigned ) && (prebuilts/jdk/jdk11/linux-x86/bin/java -XX:OnError=\"cat hs_err_pid%p.log\" -XX:CI
CompilerCount=6 -XX:+UseDynamicNumberOfGCThreads -Djava.library.path=\$(dirname out/soong/host/linux-x86/lib64/libconscrypt_openjdk_jni.so) -jar out/soong/host/
linux-x86/framework/signapk.jar  build/make/target/product/security/platform.x509.pem build/make/target/product/security/platform.pk8  out/target/product/gts4lv
/obj/APPS/BlissIconPack_intermediates/package.apk.unsigned out/target/product/gts4lv/obj/APPS/BlissIconPack_intermediates/package.apk.signed ) && (mv out/target
/product/gts4lv/obj/APPS/BlissIconPack_intermediates/package.apk.signed out/target/product/gts4lv/obj/APPS/BlissIconPack_intermediates/package.apk )"
java.util.zip.ZipException: zip END header not found
	at java.base/java.util.zip.ZipFile$Source.zerror(ZipFile.java:1535)
	at java.base/java.util.zip.ZipFile$Source.findEND(ZipFile.java:1436)
	at java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1443)
	at java.base/java.util.zip.ZipFile$Source.<init>(ZipFile.java:1274)
	at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1237)
	at java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:727)
	at java.base/java.util.zip.ZipFile$CleanableResource.get(ZipFile.java:844)
	at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:247)
	at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:177)
	at java.base/java.util.jar.JarFile.<init>(JarFile.java:346)
	at java.base/java.util.jar.JarFile.<init>(JarFile.java:317)
	at java.base/java.util.jar.JarFile.<init>(JarFile.java:297)
	at com.android.signapk.SignApk.main(SignApk.java:1146)
05:20:40 ninja failed with: exit status 1

#### failed to build some targets (05:51:28 (hh:mm:ss)) ####

link to my latest /out files… i go back to sleep a few more … ( already sleeped 4 hours, but it is not enought) …

I think I had this one.
Be careful while using this command

repo forall -c ‘git lfs pull’

ie you have to use the correct apostophes! Then the comannd will take a while until all prebuild apps are downloaded

rerun bruch gts4lv again