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.
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?
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
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…
good luck with the setup and build
…brunch gts4lv
…FAILED !… 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
Agreed, in the error.log
I see a very nice display of the error:
FAILED: target Prebuilt: AccountManage
FAILED: target Prebuilt: Apps
FAILED: target Prebuilt: BlissIconPack
This is exactly to sort of string of failures of prebuilts/prebuiltapks
I got when repo forall -c ‘git lfs pull’ fails to pull.
A clue might be that when you run the command correctly the first time you should notice the extra load on the machine, as said by @ronnz98 for a time. Do you use copy and paste to fill the command to the terminal ? (middle mouse button).
A note, I believe you should always return “to the top” of the build process with source build/envsetup.sh
after any changes to your sources. Sorry for my nproc
typo !
Really a note to others reading along. I have recommended above and before to add the dockerfile package list when changing from a environment populated by a package list printed on a Lineage build page because in my experience the dockerfile package list potentially might add
bsdmainutils cgpt clang cron kmod jq lsof libtinfo5 maven procps python python3 software-properties-common wget xdelta3 yasm
I do not suggest others rely on this “addendum” list, but use of the dockerfile list is “a good idea” imho.
Thanks. I tried and get notification he python package is outdated. phython2 is the successor.
Is there an up-to date how-to for non supported devices for docker builds?
as to packageinstalls: Sony open-source has a generally sane and complete list for apt / debian listed per Android version: https://developer.sony.com/open-source/aosp-on-xperia-open-devices/guides/aosp-build-instructions
the package installs in the docker image are for the tooling inside the build.sh script - if you use the build system directly, no jq needed etc - clang and stuff is provided as prebuilt from aosp, cron, procps etc is all part of base install files in the distributions