Did you run breakfast ? Any clues in that output ?
first i copied the file in /home/antec/android/lineage/kernel/samsung/sdm670/scripts/
rerun brunch give similar error about âopenssl/bio.hâ file not found
#include <openssl/bio.h>
so i copied the entire /openssl/
folder in /home/antec/android/lineage/kernel/samsung/sdm670/scripts/
but it is not a solution :
make : on entre dans le répertoire « /home/antec/android/lineage/kernel/samsung/sdm670 »
make[1] : on entre dans le répertoire « /home/antec/android/lineage/out/target/product/gts4lv/obj
/KERNEL_OBJ »
GEN ./Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config/kernel.release
GEN ./Makefile
CHK include/generated/uapi/linux/version.h
CHK scripts/mod/devicetable-offsets.h
HOSTCC scripts/sign-file
HOSTCC scripts/extract-cert
/home/antec/android/lineage/kernel/samsung/sdm670/scripts/extract-cert.c:21:10: error: 'openssl/b
io.h' file not found with <angled> include; use "quotes" instead
#include <openssl/bio.h>
^~~~~~~~~~~~~~~
"openssl/bio.h"
In file included from /home/antec/android/lineage/kernel/samsung/sdm670/scripts/extract-cert.c:21
:
/home/antec/android/lineage/kernel/samsung/sdm670/scripts/openssl/bio.h:60:10: fatal error: 'open
ssl/base.h' file not found
#include <openssl/base.h>
^~~~~~~~~~~~~~~~
2 errors generated.
make[2]: *** [scripts/Makefile.host:101 : scripts/extract-cert] Erreur 1
make[2]: *** Attente des tùches non terminées....
/home/antec/android/lineage/kernel/samsung/sdm670/scripts/sign-file.c:25:10: error: 'openssl/open
sslv.h' file not found with <angled> include; use "quotes" instead
#include <openssl/opensslv.h>
^~~~~~~~~~~~~~~~~~~~
"openssl/opensslv.h"
In file included from /home/antec/android/lineage/kernel/samsung/sdm670/scripts/sign-file.c:25:
In file included from /home/antec/android/lineage/kernel/samsung/sdm670/scripts/openssl/opensslv.
h:18:
/home/antec/android/lineage/kernel/samsung/sdm670/scripts/openssl/crypto.h:18:10: fatal error: 'o
penssl/base.h' file not found
#include <openssl/base.h>
^~~~~~~~~~~~~~~~
2 errors generated.
make[2]: *** [scripts/Makefile.host:101 : scripts/sign-file] Erreur 1
make[1]: *** [/home/antec/android/lineage/kernel/samsung/sdm670/Makefile:611 : scripts] Erreur 2
make[1]: *** Attente des tùches non terminées....
make[1] : on quitte le répertoire « /home/antec/android/lineage/out/target/product/gts4lv/obj/KER
NEL_OBJ »
make: *** [Makefile:152 : sub-make] Erreur 2
make : on quitte le répertoire « /home/antec/android/lineage/kernel/samsung/sdm670 »
00:10:39 ninja failed with: exit status 1
#### failed to build some targets (08:13 (mm:ss)) ####
antec@antec-p6-2038fr:~/android/lineage$ breakfast gts4lv
Looking for dependencies in device/samsung/gts4lv
Looking for dependencies in device/samsung/gts4lv-common
Looking for dependencies in device/samsung/qcom-common
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.
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=11
LINEAGE_VERSION=18.1-20230910-UNOFFICIAL-gts4lv
TARGET_PRODUCT=lineage_gts4lv
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.15.0-83-generic-x86_64-Ubuntu-20.04.6-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=RQ3A.211001.001
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=vendor/samsung/gts4lv vendor/samsung/gts4lv-common device/samsung/gts4lv-common hardware/qcom-caf/sdm845 vendor/qcom/opensource/commonsys-intf/display vendor/qcom/opensource/data-ipa-cfg-mgr vendor/qcom/opensource/dataservices packages/apps/Bluetooth
============================================
antec@antec-p6-2038fr:~/android/lineage$
Is what I was checking for but nothing negative.
A search of âopenssl/opensslv.hâ file not found seems to put the blame on libssl-dev
you do have it installed ? If not perhaps run an install of the whole list again.
âŠ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
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
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 ?
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
@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âŠ