LineageOS

Top Page

Reply to this message
Author: Marc BERLIOUX
Date:  
To: guilde
Subject: LineageOS
Salut tout le monde,

J'ai tenté de recompiler une ROM pour mon Galaxy S5 (klte), dans un
premier temps sans rien modifier au sources. J'ai suivi la procédure :

https://wiki.lineageos.org/devices/klte/build

Tout se passe à peu près sans problème jusqu'à la compilation proprement
dite à la section 'Start the build'-> brunch klte, où j'ai une erreur
que j'ai du mal à appréhender. J'ai relancé une deuxième fois la compil
et j'ai le résultat (en pièce jointe) avec l'erreur.

Une idée de ce qui déconne ?

J'ai pas bien envie de recommencer from scratch toute la procédure vu
qu'il m'a fallu 48h de téléchargement et 4h pour la première compil

Et bonne soirée !
--
Marc BERLIOUX
Le principe de la pénurie fonctionne à l'inverse de l'érotisme :
plus la queue s'allonge, moins la ménagère est contente.
marc@phenom9650:~/android/lineage$ brunch klte
including vendor/lineage/vendorsetup.sh
Looking for dependencies in device/samsung/klte
Looking for dependencies in device/samsung/klte-common
Looking for dependencies in device/samsung/msm8974-common
Looking for dependencies in device/samsung/qcom-common
Looking for dependencies in hardware/samsung
Looking for dependencies in packages/resources/devicesettings
packages/resources/devicesettings has no additional dependencies.
Looking for dependencies in packages/resources/devicesettings
packages/resources/devicesettings has no additional dependencies.
Looking for dependencies in kernel/samsung/msm8974
kernel/samsung/msm8974 has no additional dependencies.
Looking for dependencies in packages/apps/FlipFlap
Looking for dependencies in packages/resources/devicesettings
packages/resources/devicesettings has no additional dependencies.

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
LINEAGE_VERSION=16.0-20191125-UNOFFICIAL-klte
TARGET_PRODUCT=lineage_klte
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.15.0-70-generic-x86_64-Ubuntu-18.04.3-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PQ3A.190801.002
OUT_DIR=/home/marc/android/lineage/out
PRODUCT_SOONG_NAMESPACES= hardware/qcom/audio-caf/msm8974 hardware/qcom/display-caf/msm8974 hardware/qcom/media-caf/msm8974
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
LINEAGE_VERSION=16.0-20191125-UNOFFICIAL-klte
TARGET_PRODUCT=lineage_klte
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.15.0-70-generic-x86_64-Ubuntu-18.04.3-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PQ3A.190801.002
OUT_DIR=/home/marc/android/lineage/out
PRODUCT_SOONG_NAMESPACES= hardware/qcom/audio-caf/msm8974 hardware/qcom/display-caf/msm8974 hardware/qcom/media-caf/msm8974
============================================
ninja: no work to do.
ninja: no work to do.
wildcard(/home/marc/android/lineage/out/target/product/klte/clean_steps.mk) was changed, regenerating...
$(file </home/marc/android/lineage/out/.module_paths/Android.mk.list) was changed, regenerating...
[268/1042] including frameworks/av/camera/Android.mk ...
frameworks/av/camera/cameraserver/Android.mk:18: warning: Target has integrated cameraserver into mediaserver. This is weakening security measures introduced in 7.0
[627/1042] including system/sepolicy/Android.mk ...
system/sepolicy/Android.mk:88: warning: Be careful when using the SELINUX_IGNORE_NEVERALLOWS flag. It does not work in user builds and using it will not stop you from failing CTS.
[1042/1042] including vendor/samsung/msm8974-common/Android.mk ...
[ 13% 477/3573] Hidden API: /home/marc/android/lineage/out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/javalib.jar
FAILED: /home/marc/android/lineage/out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/javalib.jar 
/bin/bash -c "(rm -f /home/marc/android/lineage/out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/javalib.jar ) && (cp \"/home/marc/android/lineage/out/soong/.intermediates/frameworks/base/test-base/android.test.base/android_common/dex/android.test.base.jar\" \"/home/marc/android/lineage/out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/javalib.jar\" ) && (rm -rf /home/marc/android/lineage/out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi ) && (mkdir -p /home/marc/android/lineage/out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi ) && (unzip -q /home/marc/android/lineage/out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/javalib.jar 'classes*.dex' -d /home/marc/android/lineage/out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi ) && (find /home/marc/android/lineage/out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi -name \"classes*.dex\" | sort | sed 's/^/--dex=/' | xargs /home/marc/android/lineage/out/host/linux-x86/bin/hiddenapi --light-greylist=/home/marc/android/lineage/out/target/common/obj/PACKAGING/hiddenapi-light-greylist.txt --dark-greylist=/home/marc/android/lineage/out/target/common/obj/PACKAGING/hiddenapi-dark-greylist.txt --blacklist=/home/marc/android/lineage/out/target/common/obj/PACKAGING/hiddenapi-blacklist.txt ) && (/home/marc/android/lineage/out/soong/host/linux-x86/bin/soong_zip -o /home/marc/android/lineage/out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi/classes.dex.jar -C /home/marc/android/lineage/out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi -D /home/marc/android/lineage/out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi ) && (/home/marc/android/lineage/out/soong/host/linux-x86/bin/merge_zips -D -zipToNotStrip /home/marc/android/lineage/out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi/classes.dex.jar -stripFile \"classes*.dex\" /home/marc/android/lineage/out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/javalib.jar /home/marc/android/lineage/out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi/classes.dex.jar /home/marc/android/lineage/out/soong/.intermediates/frameworks/base/test-base/android.test.base/android_common/dex/android.test.base.jar )"
xargs: /home/marc/android/lineage/out/host/linux-x86/bin/hiddenapi : terminé par le signal 4
[ 13% 482/3573] Building Kernel Config
make : on entre dans le répertoire « /home/marc/android/lineage/kernel/samsung/msm8974 »
  GEN     /home/marc/android/lineage/out/target/product/klte/obj/KERNEL_OBJ/Makefile
sound/soc/codecs/audience/Kconfig:40:warning: type of 'SND_SOC_ES_SLIM' redefined from 'boolean' to 'tristate'
sound/soc/codecs/audience/Kconfig:43:warning: type of 'SND_SOC_ES_I2C' redefined from 'boolean' to 'tristate'
sound/soc/codecs/audience/Kconfig:44:warning: choice value used outside its choice group
sound/soc/codecs/audience/Kconfig:41:warning: choice value used outside its choice group
boolean symbol SND_SOC_MAX98506 tested for 'm'? test forced to 'n'
#
# configuration written to .config
#
make : on quitte le répertoire « /home/marc/android/lineage/kernel/samsung/msm8974 »
make : on entre dans le répertoire « /home/marc/android/lineage/kernel/samsung/msm8974 »
  GEN     /home/marc/android/lineage/out/target/product/klte/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --savedefconfig=defconfig Kconfig
sound/soc/codecs/audience/Kconfig:40:warning: type of 'SND_SOC_ES_SLIM' redefined from 'boolean' to 'tristate'
sound/soc/codecs/audience/Kconfig:43:warning: type of 'SND_SOC_ES_I2C' redefined from 'boolean' to 'tristate'
sound/soc/codecs/audience/Kconfig:44:warning: choice value used outside its choice group
sound/soc/codecs/audience/Kconfig:41:warning: choice value used outside its choice group
boolean symbol SND_SOC_MAX98506 tested for 'm'? test forced to 'n'
make : on quitte le répertoire « /home/marc/android/lineage/kernel/samsung/msm8974 »
ninja: build stopped: subcommand failed.
17:48:35 ninja failed with: exit status 1


#### failed to build some targets (04:15 (mm:ss)) ####