ok now trying using the repo way with :
-
16Gb of RAM the maximum for my p6 motherboard i5 4x3.3Ghz,
(i also have a Mac Pro bought espcecially to build /e/ that can have more memory, but its CPU tray is HS) -
a dedicated 500Gb HD mounted to /home/user/lineage
first attempt : build LOS for gts4lv
hi, my first error is comming soon :
following LOS config instructions
git lfs install
give me
Error: Failed to call git rev-parse --git-dir: exit status 128
Git LFS initialized.
and
repo init -u https://github.com/LineageOS/android.git -b lineage-18.1 --git-lfs
give
Usage: repo init -u url [options]
repo: error: no such option: --git-lfs
Edit :
this morning, when booting, the system found package updates and now git lfs install
and repo init -u https://github.com/LineageOS/android.git -b lineage-18.1 --git-lfs
works
next steps now… repo sync
done in 26m21.477s
repo sync has finished successfully.
final step : brunch gts4lv
is running… … … …
Ouch !
brunch 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
============================================
14:22:45 ************************************************************
14:22:45 You are building on a machine with 15.6GB of RAM
14:22:45
14:22:45 The minimum required amount of free memory is around 16GB,
14:22:45 and even with that, some configurations may not work.
14:22:45
14:22:45 If you run into segfaults or other errors, try reducing your
14:22:45 -j value.
14:22:45 ************************************************************
============================================
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 devi
ce/samsung/gts4lv-common hardware/qcom-caf/sdm845 vendor/qcom/opensource/commons
ys-intf/display vendor/qcom/opensource/data-ipa-cfg-mgr vendor/qcom/opensource/d
ataservices packages/apps/Bluetooth
============================================
[100% 444/444] writing build rules ...
build/make/core/Makefile:49: warning: overriding commands for target `out/target
/product/gts4lv/vendor/lib64/librilutils.so'
build/make/core/base_rules.mk:513: warning: ignoring old commands for target `ou
t/target/product/gts4lv/vendor/lib64/librilutils.so'
build/make/core/Makefile:49: warning: overriding commands for target `out/target
/product/gts4lv/vendor/etc/init/android.hardware.gatekeeper@1.0-service.rc'
build/make/core/base_rules.mk:528: warning: ignoring old commands for target `ou
t/target/product/gts4lv/vendor/etc/init/android.hardware.gatekeeper@1.0-service.
rc'
build/make/core/Makefile:49: warning: overriding commands for target `out/target
/product/gts4lv/vendor/lib/camera.device@1.0-impl.so'
build/make/core/base_rules.mk:513: warning: ignoring old commands for target `ou
t/target/product/gts4lv/vendor/lib/camera.device@1.0-impl.so'
build/make/core/Makefile:49: warning: overriding commands for target `out/target
/product/gts4lv/vendor/lib/camera.device@3.2-impl.so'
build/make/core/base_rules.mk:513: warning: ignoring old commands for target `ou
t/target/product/gts4lv/vendor/lib/camera.device@3.2-impl.so'
build/make/core/Makefile:49: warning: overriding commands for target `out/target
/product/gts4lv/vendor/lib/camera.device@3.3-impl.so'
build/make/core/base_rules.mk:513: warning: ignoring old commands for target `ou
t/target/product/gts4lv/vendor/lib/camera.device@3.3-impl.so'
build/make/core/Makefile:49: warning: overriding commands for target `out/target
/product/gts4lv/vendor/lib/camera.device@3.4-impl.so'
build/make/core/base_rules.mk:513: warning: ignoring old commands for target `ou
t/target/product/gts4lv/vendor/lib/camera.device@3.4-impl.so'
build/make/core/Makefile:49: warning: overriding commands for target `out/target
/product/gts4lv/vendor/lib/libsensorndkbridge.so'
build/make/core/base_rules.mk:513: warning: ignoring old commands for target `ou
t/target/product/gts4lv/vendor/lib/libsensorndkbridge.so'
build/make/core/Makefile:49: warning: overriding commands for target `out/target
/product/gts4lv/vendor/lib64/libsensorndkbridge.so'
build/make/core/base_rules.mk:513: warning: ignoring old commands for target `ou
t/target/product/gts4lv/vendor/lib64/libsensorndkbridge.so'
[ 1% 1893/114592] build out/target/common/obj/all-event-log-tags.txt
frameworks/base/services/core/java/com/android/server/wm/EventLogTags.logtags:39
: warning: tag "wm_on_paused_called" (30021) duplicated in frameworks/base/core/
java/android/app/EventLogTags.logtags:9
frameworks/base/services/core/java/com/android/server/wm/EventLogTags.logtags:41
: warning: tag "wm_on_resume_called" (30022) duplicated in frameworks/base/core/
java/android/app/EventLogTags.logtags:11
frameworks/base/services/core/java/com/android/server/wm/EventLogTags.logtags:50
: warning: tag "wm_stop_activity" (30048) duplicated in frameworks/base/core/jav
a/android/app/EventLogTags.logtags:14
frameworks/base/services/core/java/com/android/server/wm/EventLogTags.logtags:56
: warning: tag "wm_add_to_stopping" (30066) duplicated in frameworks/base/core/j
ava/android/app/EventLogTags.logtags:35
packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeropt
ions/EventLogTags.logtags:6: warning: tag "lock_screen_type" (90200) duplicated
in packages/apps/Settings/src/com/android/settings/EventLogTags.logtags:6
packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeropt
ions/EventLogTags.logtags:9: warning: tag "exp_det_device_admin_activated_by_use
r" (90201) duplicated in packages/apps/Settings/src/com/android/settings/EventLo
gTags.logtags:9
packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeropt
ions/EventLogTags.logtags:12: warning: tag "exp_det_device_admin_declined_by_use
r" (90202) duplicated in packages/apps/Settings/src/com/android/settings/EventLo
gTags.logtags:12
packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeropt
ions/EventLogTags.logtags:15: warning: tag "exp_det_device_admin_uninstalled_by_
user" (90203) duplicated in packages/apps/Settings/src/com/android/settings/Even
tLogTags.logtags:15
packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeropt
ions/EventLogTags.logtags:18: warning: tag "settings_latency" (90204) duplicated
in packages/apps/Settings/src/com/android/settings/EventLogTags.logtags:18
vendor/qcom/opensource/commonsys/system/bt/EventLogTags.logtags:36: warning: tag
"bt_hci_timeout" (1010000) duplicated in system/bt/EventLogTags.logtags:36
vendor/qcom/opensource/commonsys/system/bt/EventLogTags.logtags:37: warning: tag
"bt_config_source" (1010001) duplicated in system/bt/EventLogTags.logtags:37
vendor/qcom/opensource/commonsys/system/bt/EventLogTags.logtags:38: warning: tag
"bt_hci_unknown_type" (1010002) duplicated in system/bt/EventLogTags.logtags:38
[ 1% 2228/114592] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_cl.c
FAILED: out/target/product/gts4lv/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermed
iates/rs_cl.bc
/bin/bash -c "PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-3289846/bi
n/clang -Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD -DRS
_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target renderscript64-linux
-android -fsigned-char -Wno-deprecated -Werror -Werror -Wall -Wextra -Iframewo
rks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS -DARCH_ARM64_HAVE_NEON -x renderscript
frameworks/rs/driver/runtime/rs_cl.c -o out/target/product/gts4lv/obj/RENDERSCR
IPT_BITCODE/libclcore.bc_intermediates/rs_cl.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while loading
shared libraries: libncurses.so.5: cannot open shared object file: No such file
or directory
[ 1% 2229/114592] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_element.c
FAILED: out/target/product/gts4lv/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermed
iates/rs_element.bc
/bin/bash -c "PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-3289846/bi
n/clang -Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD -DRS
_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target renderscript64-linux
-android -fsigned-char -Wno-deprecated -Werror -Werror -Wall -Wextra -Iframewo
rks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS -DARCH_ARM64_HAVE_NEON -x renderscript
frameworks/rs/driver/runtime/rs_element.c -o out/target/product/gts4lv/obj/REND
ERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_element.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while loading
shared libraries: libncurses.so.5: cannot open shared object file: No such file
or directory
[ 1% 2230/114592] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_allocatio
FAILED: out/target/product/gts4lv/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermed
iates/rs_allocation.bc
/bin/bash -c "PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-3289846/bi
n/clang -Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD -DRS
_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target renderscript64-linux
-android -fsigned-char -Wno-deprecated -Werror -Werror -Wall -Wextra -Iframewo
rks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS -DARCH_ARM64_HAVE_NEON -x renderscript
frameworks/rs/driver/runtime/rs_allocation.c -o out/target/product/gts4lv/obj/R
ENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_allocation.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while loading
shared libraries: libncurses.so.5: cannot open shared object file: No such file
or directory
[ 1% 2231/114592] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_core.c
FAILED: out/target/product/gts4lv/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermed
iates/rs_core.bc
/bin/bash -c "PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-3289846/bi
n/clang -Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD -DRS
_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target renderscript64-linux
-android -fsigned-char -Wno-deprecated -Werror -Werror -Wall -Wextra -Iframewo
rks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS -DARCH_ARM64_HAVE_NEON -x renderscript
frameworks/rs/driver/runtime/rs_core.c -o out/target/product/gts4lv/obj/RENDERS
CRIPT_BITCODE/libclcore.bc_intermediates/rs_core.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while loading
shared libraries: libncurses.so.5: cannot open shared object file: No such file
or directory
[ 1% 2232/114592] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_f16_math.
FAILED: out/target/product/gts4lv/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermed
iates/rs_f16_math.bc
/bin/bash -c "PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-3289846/bi
n/clang -Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD -DRS
_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target renderscript64-linux
-android -fsigned-char -Wno-deprecated -Werror -Werror -Wall -Wextra -Iframewo
rks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS -DARCH_ARM64_HAVE_NEON -x renderscript
frameworks/rs/driver/runtime/rs_f16_math.c -o out/target/product/gts4lv/obj/REN
DERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_f16_math.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while loading
shared libraries: libncurses.so.5: cannot open shared object file: No such file
or directory
14:29:21 ninja failed with: exit status 1
#### failed to build some targets (06:36 (mm:ss)) ####
i will retry after running something like
export ANDROID_JACK_VM_ARGS=“-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx15G”
give : identifiant non valable
export "ANDROID_JACK_VM_ARGS=-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx15G”
stay in suspend…