Problem during compilation of unofficial build

Hi all, i’m trying to compile /e/ os with docker for the htc one m8 device.

Problem in 86 %

/mnt/my_data/srv/e/logs/m8/eelo-0.7-20191202-UNOFFICIAL-m8.log

[ 86% 60166/69549] //external/conscrypt:conscrypt install conscrypt.jar [linux_glibc common]
[ 86% 60167/69549] //external/jarjar:jarjar javac [linux_glibc common]
[ 86% 60168/69549] //external/jarjar:jarjar for javac [linux_glibc common]
[ 86% 60169/69549] Copy: /srv/src/PIE/out/host/common/obj/JAVA_LIBRARIES/jarjar_intermediates/classes.jar
[ 86% 60170/69549] Copy: /srv/src/PIE/out/host/common/obj/JAVA_LIBRARIES/jarjar_intermediates/javalib.jar
[ 86% 60171/69549] Install: /srv/src/PIE/out/host/linux-x86/framework/jarjar.jar
[ 86% 60172/69549] //external/jarjar:jarjar install jarjar.jar [linux_glibc common]
[ 86% 60173/69549] //external/bouncycastle:bouncycastle-unbundled javac [linux_glibc common]
FAILED: /srv/src/PIE/out/soong/.intermediates/external/bouncycastle/bouncycastle-unbundled/linux_glibc_common/javac/bouncycastle-unbundled.jar
rm -rf "/srv/src/PIE/out/soong/.intermediates/external/bouncycastle/bouncycastle-unbundled/linux_glibc_common/javac/classes" "/srv/src/PIE/out/soong/.intermediates/external/bouncycastle/bouncycastle-unbundled/$
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGILL (0x4) at pc=0x00007f3aa68a4de6, pid=25348, tid=25366
#
# JRE version: OpenJDK Runtime Environment (9.0+181) (build 9+181-android4627429)
# Java VM: OpenJDK 64-Bit Server VM (9+181-android4627429, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0x744de6]  Node_Backward_Iterator::next()+0x56
#
# Core dump will be written. Default location: /srv/src/PIE/core
#
# An error report file with more information is saved as:
# /srv/src/PIE/hs_err_pid25348.log
#
# Compiler replay data is saved as:
# /srv/src/PIE/replay_pid25348.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
[ 86% 60174/69549] //external/jsr305:jsr305 javac
[ 86% 60175/69549] //external/oj-libjdwp:jdwpgen javac [linux_glibc common]
[ 86% 60176/69549] //external/jsr305:jsr305 javac [linux_glibc common]
[ 86% 60177/69549] //external/bouncycastle:bouncycastle-unbundled javac
[ 86% 60178/69549] //bionic/libc:common_libc versioner preprocess include [linux_glibc]
warning: attempted to generate guard with empty availability: obsoleted = 21
warning: attempted to generate guard with empty availability: obsoleted = 23
ninja: build stopped: subcommand failed.
13:39:01 ninja failed with: exit status 1

#### failed to build some targets (02:00:19 (hh:mm:ss)) ####

>> [Mon Dec  2 13:39:06 UTC 2019] Failed build for m8
>> [Mon Dec  2 13:39:06 UTC 2019] Finishing build for m8
>> [Mon Dec  2 13:39:06 UTC 2019] Cleaning source dir for device m8
13:40:12 Entire build directory removed.

#### build completed successfully (01:06 (mm:ss)) ####

The java reported bug,

root@homeserv:~# cat /mnt/my_data/srv/e/src/PIE/hs_err_pid25348.log
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGILL (0x4) at pc=0x00007f3aa68a4de6, pid=25348, tid=25366
#
# JRE version: OpenJDK Runtime Environment (9.0+181) (build 9+181-android4627429)
# Java VM: OpenJDK 64-Bit Server VM (9+181-android4627429, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0x744de6]  Node_Backward_Iterator::next()+0x56
#
# Core dump will be written. Default location: /srv/src/PIE/core
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

---------------  S U M M A R Y ------------

Command Line: -Dapplication.home=/srv/src/PIE/prebuilts/jdk/jdk9/linux-x86 --add-modules=ALL-DEFAULT -Xms8m -Xmx2048M -Djdk.module.main=jdk.compiler jdk.compiler/com.sun.tools.javac.Main -Xmaxerrs 9999999 -encoding UTF-8 -sourcepath  -g -XDskipDuplicateBridges=true -XDstringConcat=inline -g:source,lines -bootclasspath prebuilts/jdk/jdk8/linux-x86/jre/lib/jce.jar:prebuilts/jdk/jdk8/linux-x86/jre/lib/rt.jar -classpath prebuilts/sdk/9/android.jar -source 1.7 -target 1.7 -d /srv/src/PIE/out/soong/.intermediates/external/bouncycastle/bouncycastle-unbundled/linux_glibc_common/javac/classes -s /srv/src/PIE/out/soong/.intermediates/external/bouncycastle/bouncycastle-unbundled/linux_glibc_common/javac/anno @/srv/src/PIE/out/soong/.intermediates/external/bouncycastle/bouncycastle-unbundled/linux_glibc_common/javac/bouncycastle-unbundled.jar.rsp @/srv/src/PIE/out/soong/.intermediates/external/bouncycastle/bouncycastle-unbundled/linux_glibc_common/javac/srcjars/list

Host: AMD Ryzen 3 1200 Quad-Core Processor, 4 cores, 7G, Debian GNU/Linux 9 (stretch)
Time: Mon Dec  2 13:38:53 2019 UTC elapsed time: 19 seconds (0d 0h 0m 19s)

---------------  T H R E A D  ---------------

Current thread (0x00007f3aa0101000):  JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=25366, stack(0x00007f3a5c482000,0x00007f3a5c583000)]


Current CompileTask:
C2:  19661 4248       4       com.sun.tools.javac.comp.Check::checkMethod (568 bytes)

Stack: [0x00007f3a5c482000,0x00007f3a5c583000],  sp=0x00007f3a5c57e540,  free space=1009k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x744de6]  Node_Backward_Iterator::next()+0x56
V  [libjvm.so+0x7486d9]  PhaseCFG::schedule_late(VectorSet&, Node_Stack&)+0x79
V  [libjvm.so+0x749772]  PhaseCFG::global_code_motion()+0xc52
V  [libjvm.so+0x74a06d]  PhaseCFG::do_global_code_motion()+0x4d
V  [libjvm.so+0x5eef06]  Compile::Code_Gen()+0x186
V  [libjvm.so+0x5f57b7]  Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0x1237
V  [libjvm.so+0x52fe46]  C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0xe6
V  [libjvm.so+0x5fca94]  CompileBroker::invoke_compiler_on_method(CompileTask*)+0x444
V  [libjvm.so+0x5fdab8]  CompileBroker::compiler_thread_loop()+0x428
V  [libjvm.so+0xc05498]  JavaThread::thread_main_inner()+0xd8
V  [libjvm.so+0xaa1d42]  thread_native_entry(Thread*)+0xf2
C  [libpthread.so.0+0x74a4]  start_thread+0xc4


siginfo: si_signo: 4 (SIGILL), si_code: 2 (ILL_ILLOPN), si_addr: 0x00007f3aa68a4de6

Register to memory mapping:

RAX=0x00007f3a3c3ccd68 is an unknown value
RBX=0x0000000000000000 is an unknown value
RCX=0x00007f3a3c3ccca0 is an unknown value
RDX=0x00007f3a3c21e170 is an unknown value
RSP=0x00007f3a5c57e540 is pointing into the stack for thread: 0x00007f3aa0101000
RBP=0x00007f3a5c57e580 is pointing into the stack for thread: 0x00007f3aa0101000
RSI=0x0000000001000000 is an unknown value
RDI=0x0000000000000000 is an unknown value
R8 =0x0000000000000001 is an unknown value
R9 =0x0000000000000000 is an unknown value
R10=0x00007f3a5c5815b0 is pointing into the stack for thread: 0x00007f3aa0101000
R11=0x00007f3a384992e8 is an unknown value
R12=0x00007f3a3c3ccca0 is an unknown value
R13=0x00007f3a3c3ccce0 is an unknown value
R14=0x0000000000000002 is an unknown value
R15=0x00007f3a5c57e5b0 is pointing into the stack for thread: 0x00007f3aa0101000


Registers:
RAX=0x00007f3a3c3ccd68, RBX=0x0000000000000000, RCX=0x00007f3a3c3ccca0, RDX=0x00007f3a3c21e170
RSP=0x00007f3a5c57e540, RBP=0x00007f3a5c57e580, RSI=0x0000000001000000, RDI=0x0000000000000000
R8 =0x0000000000000001, R9 =0x0000000000000000, R10=0x00007f3a5c5815b0, R11=0x00007f3a384992e8
R12=0x00007f3a3c3ccca0, R13=0x00007f3a3c3ccce0, R14=0x0000000000000002, R15=0x00007f3a5c57e5b0
RIP=0x00007f3aa68a4de6, EFLAGS=0x0000000000010246, CSGSFS=0x002b000000000033, ERR=0x0000000000000000
  TRAPNO=0x0000000000000006

Top of Stack: (sp=0x00007f3a5c57e540)
0x00007f3a5c57e540:   000000263c887ae0 00007f3a3cb6d900
0x00007f3a5c57e550:   00007f3a5c57e570 00007f3a3c886680
0x00007f3a5c57e560:   00007f3a3c3cd890 00007f3a3c21e1d0
0x00007f3a5c57e570:   0000000000000000 00007f3a5c57ea60

Instructions: (pc=0x00007f3aa68a4de6)
0x00007f3aa68a4dc6:   89 f5 44 89 f0 49 83 e5 fe 83 e0 01 41 39 5d 20
0x00007f3aa68a4dd6:   88 45 c8 41 0f 46 5d 20 48 83 ea 10 48 89 11 0f
0x00007f3aa68a4de6:   1f 00 41 8b 75 28 49 8b 3f 89 f0 c1 e8 05 3b 47
0x00007f3aa68a4df6:   10 0f 83 73 01 00 00 48 8b 57 18 83 e6 1f bf 01

................

---------------  S Y S T E M  ---------------

OS:PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
VERSION_CODENAME=stretch
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
uname:Linux 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) x86_64
libc:glibc 2.24 NPTL 2.24
rlimit: STACK 8192k, CORE infinity, NPROC infinity, NOFILE 1048576, AS infinity
load average:12.97 8.93 7.41

/proc/meminfo:
MemTotal:        8165656 kB
MemFree:          274880 kB
MemAvailable:    5691028 kB
Buffers:          132888 kB
Cached:          5242496 kB
SwapCached:        12728 kB
Active:          3871684 kB
Inactive:        3412272 kB
Active(anon):    1276048 kB
Inactive(anon):   647272 kB
Active(file):    2595636 kB
Inactive(file):  2765000 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:       3891196 kB
SwapFree:        3269116 kB
Dirty:             17320 kB
Writeback:             0 kB
AnonPages:       1906040 kB
Mapped:           103428 kB
Shmem:             14876 kB
Slab:             483540 kB
SReclaimable:     358468 kB
SUnreclaim:       125072 kB
KernelStack:        9828 kB
PageTables:        18732 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     7974024 kB
Committed_AS:    7251464 kB
VmallocTotal:   34359738367 kB
VmallocUsed:           0 kB
VmallocChunk:          0 kB
Percpu:            12288 kB
HardwareCorrupted:     0 kB
AnonHugePages:    458752 kB
ShmemHugePages:        0 kB
ShmemPmdMapped:        0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
Hugetlb:               0 kB
DirectMap4k:      351656 kB
DirectMap2M:     5871616 kB
DirectMap1G:     3145728 kB


CPU:total 4 (initial active 4) (4 cores per cpu, 1 threads per core) family 23 model 1 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, mmxext, 3dnowpref, lzcnt, sse4a, tsc, tscinvbit, tscinv, bmi1
CPU Model and flags from /proc/cpuinfo:
model name      : AMD Ryzen 3 1200 Quad-Core Processor
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb hw_pstate sme ssbd sev ibpb vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf xsaveerptr arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif overflow_recov succor smca

Memory: 4k page, physical 8165656k(274880k free), swap 3891196k(3269116k free)

vm_info: OpenJDK 64-Bit Server VM (9+181-android4627429) for linux-amd64 JRE (9+181-android4627429), built on Feb 28 2018 23:36:47 by "androidbuild" with gcc 4.8

END.

I’m on debian buster not in stretch version as above. Strange !

have you checked this ?

And what OS are you using ??

Here is the log : https://dpaste.de/zNiU

I’m using debian buster on amd64.

The log has a lot java errors. It seems that your environment isn’t setup right. Or better your java isn’t configured right.

I would remove openJDK on your system and reinstall it like here described https://docs.datastax.com/en/cassandra/3.0/cassandra/install/installOpenJdkDeb.html

I hope this will solve the ‘libjvm.so’ error and all the others

openjdk-8-jdk not exist for debian buster.

root@homeserv:~# sudo add-apt-repository ppa:openjdk-r/ppa

 More info: https://launchpad.net/~openjdk-r/+archive/ubuntu/ppa
Press [ENTER] to continue or ctrl-c to cancel adding it
^CTraceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 143, in <module>
    sys.stdin.readline()
KeyboardInterrupt

Have a look https://installvirtual.com/install-java-8-on-debian-10-buster/

Okey, i have installed openjdk-8 of the stretch repo for the first time. I will see

Good luck :+1::+1::+1:

Okey, so i will take the new package

i have obtain this best output, but an error,

[ 99% 69520/69549] Copy: /srv/src/PIE/out/target/product/m8/system/framework/oat/arm/org.lineageos.platform.vdex
[ 99% 69521/69549] Copy: /srv/src/PIE/out/target/product/m8/system/framework/oat/arm/org.lineageos.platform.odex
[ 99% 69522/69549] build /srv/src/PIE/out/target/common/obj/APPS/SystemUI_intermediates/classes-combined.jar
[ 99% 69523/69549] Copy: /srv/src/PIE/out/target/common/obj/APPS/SystemUI_intermediates/classes.jar
[ 99% 69524/69549] //frameworks/base/services:services d8
[ 99% 69525/69549] Copy: /srv/src/PIE/out/target/common/obj/JAVA_LIBRARIES/services_intermediates/javalib.jar
[ 99% 69526/69549] Copy: /srv/src/PIE/out/target/product/m8/obj/JAVA_LIBRARIES/services_intermediates/javalib.jar
[ 99% 69527/69549] Install: /srv/src/PIE/out/target/product/m8/system/framework/services.jar
[ 99% 69528/69549] build /srv/src/PIE/out/target/product/m8/obj/JAVA_LIBRARIES/services_intermediates/profile.prof
[ 99% 69529/69549] Copy: /srv/src/PIE/out/target/product/m8/system/framework/services.jar.prof
[ 99% 69530/69549] Proguard: /srv/src/PIE/out/target/common/obj/APPS/SystemUI_intermediates/classes-proguard.jar
ProGuard, version 5.1
Reading system jar [/srv/src/PIE/out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/classes-header.jar]
Reading system jar [/srv/src/PIE/out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/classes-header.jar]
Reading system jar [/srv/src/PIE/out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes-header.jar]
Reading system jar [/srv/src/PIE/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes-header.jar]
Reading system jar [/srv/src/PIE/out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/classes-header.jar]
Reading system jar [/srv/src/PIE/out/target/common/obj/JAVA_LIBRARIES/core-lambda-stubs_intermediates/classes-header.jar]
Reading system jar [/srv/src/PIE/out/target/common/obj/JAVA_LIBRARIES/android.car_intermediates/classes-header.jar]
Reading system jar [/srv/src/PIE/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes-header.jar]
Reading program jar [/srv/src/PIE/out/target/common/obj/APPS/SystemUI_intermediates/classes.jar]
Preparing output jar [/srv/src/PIE/out/target/common/obj/APPS/SystemUI_intermediates/classes-proguard.jar]
  Copying resources from program jar [/srv/src/PIE/out/target/common/obj/APPS/SystemUI_intermediates/classes.jar]
[ 99% 69531/69549] Dexpreopt Jar: services (/srv/src/PIE/out/target/product/m8/obj/JAVA_LIBRARIES/services_intermediates/oat/arm/javalib.odex)
[ 99% 69532/69549] Copy: /srv/src/PIE/out/target/product/m8/system/framework/oat/arm/services.odex
[ 99% 69533/69549] Copy: /srv/src/PIE/out/target/product/m8/system/framework/oat/arm/services.vdex
[ 99% 69534/69549] Copy: /srv/src/PIE/out/target/product/m8/system/framework/oat/arm/services.art
[ 99% 69535/69549] Copy: /srv/src/PIE/out/target/product/m8/system/etc/init/wifi-events.rc
[ 99% 69536/69549] Copy: /srv/src/PIE/out/target/product/m8/system/framework/oat/arm/wifi-service.odex
[ 99% 69537/69549] Copy: /srv/src/PIE/out/target/product/m8/system/framework/oat/arm/wifi-service.vdex
[ 99% 69538/69549] Install: /srv/src/PIE/out/target/product/m8/system/framework/wifi-service.jar
[ 99% 69539/69549] Copy: /srv/src/PIE/out/target/product/m8/system/framework/wifi-service.jar.prof
[ 99% 69540/69549] target Dex: SystemUI
[ 99% 69541/69549] Copying: /srv/src/PIE/out/target/common/obj/APPS/SystemUI_intermediates/classes.dex
[ 99% 69542/69549] target Package: SystemUI (/srv/src/PIE/out/target/product/m8/obj/APPS/SystemUI_intermediates/package.apk)
[ 99% 69543/69549] Install: /srv/src/PIE/out/target/product/m8/system/priv-app/SystemUI/SystemUI.apk
[ 99% 69544/69549] build /srv/src/PIE/out/target/product/m8/obj/NOTICE.html
[ 99% 69545/69549] build /srv/src/PIE/out/target/product/m8/obj/NOTICE.html.gz
[ 99% 69546/69549] build /srv/src/PIE/out/target/product/m8/system/etc/NOTICE.html.gz
[ 99% 69547/69549] Package target files: /srv/src/PIE/out/target/product/m8/obj/PACKAGING/target_files_intermediates/lineage_m8-target_files-eng.root.zip
FAILED: /srv/src/PIE/out/target/product/m8/obj/PACKAGING/target_files_intermediates/lineage_m8-target_files-eng.root.zip
/bin/bash -c "(rm -rf /srv/src/PIE/out/target/product/m8/obj/PACKAGING/target_files_intermediates/lineage_m8-target_files-eng.root.zip /srv/src/PIE/out/target/product/m8/obj/PACKAGING/target_files_intermediates$
Warning: could not read VENDOR/build.prop
building image from target_files RECOVERY...
building image from target_files BOOT...


++++ boot ++++


building image from target_files BOOT...
  running:  mkbootfs -f /srv/src/PIE/out/target/product/m8/obj/PACKAGING/target_files_intermediates/lineage_m8-target_files-eng.root/META/boot_filesystem_config.txt /srv/src/PIE/out/target/product/m8/obj/PACKAG$
  running:  minigzip
  running:  /srv/src/PIE/out/host/linux-x86/bin/mkbootimg --kernel /srv/src/PIE/out/target/product/m8/obj/PACKAGING/target_files_intermediates/lineage_m8-target_files-eng.root/BOOT/kernel --cmdline console=none$


++++ recovery ++++


building image from target_files RECOVERY...
  running:  mkbootfs -f /srv/src/PIE/out/target/product/m8/obj/PACKAGING/target_files_intermediates/lineage_m8-target_files-eng.root/META/recovery_filesystem_config.txt /srv/src/PIE/out/target/product/m8/obj/PA$
  running:  minigzip
  running:  /srv/src/PIE/out/host/linux-x86/bin/mkbootimg --kernel /srv/src/PIE/out/target/product/m8/obj/PACKAGING/target_files_intermediates/lineage_m8-target_files-eng.root/RECOVERY/kernel --cmdline console=$


++++ recovery (two-step image) ++++


building image from target_files RECOVERY...
  running:  mkbootfs -f /srv/src/PIE/out/target/product/m8/obj/PACKAGING/target_files_intermediates/lineage_m8-target_files-eng.root/META/recovery_filesystem_config.txt /srv/src/PIE/out/target/product/m8/obj/PA$
  running:  minigzip
  running:  /srv/src/PIE/out/host/linux-x86/bin/mkbootimg --kernel /srv/src/PIE/out/target/product/m8/obj/PACKAGING/target_files_intermediates/lineage_m8-target_files-eng.root/RECOVERY/kernel --cmdline console=$


++++ system ++++


creating system.img...
Running: mkuserimg_mke2fs.sh -s /srv/src/PIE/out/target/product/m8/obj/PACKAGING/target_files_intermediates/lineage_m8-target_files-eng.root/SYSTEM /srv/src/PIE/out/target/product/m8/obj/PACKAGING/target_files_$
MKE2FS_CONFIG=./system/extras/ext4_utils/mke2fs.conf E2FSPROGS_FAKE_TIME=1230768000 mke2fs -O ^has_journal -L system -m 0 -U 246398fd-6107-5860-8f64-08f5f62ae44f -E android_sparse,hash_seed=fc6f9431-8171-5bac-9$
mke2fs 1.43.3 (04-Sep-2016)



mke2fs 1.43.3 (04-Sep-2016)
Creating filesystem with 262144 4k blocks and 65536 inodes
Filesystem UUID: 246398fd-6107-5860-8f64-08f5f62ae44f
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376

Allocating group tables: 0/8^H^H^H   ^H^H^Hdone
Writing inode tables: 0/8^H^H^H   ^H^H^Hdone
Writing superblocks and filesystem accounting information: 0/8^H^H^H   ^H^H^Hdone

E2FSPROGS_FAKE_TIME=1230768000 e2fsdroid -T 1230768000 -C /srv/src/PIE/out/target/product/m8/obj/PACKAGING/target_files_intermediates/lineage_m8-target_files-eng.root/META/filesystem_config.txt -B /srv/src/PIE/$
__populate_fs: Could not allocate block in ext2 filesystem while writing file "Settings.apk"
e2fsdroid: Could not allocate block in ext2 filesystem while populating file system

Out of space? The tree size of /srv/src/PIE/out/target/product/m8/obj/PACKAGING/target_files_intermediates/lineage_m8-target_files-eng.root/SYSTEM is 1217589248 bytes (1161 MB), with reserved space of 0 bytes ($
The max image size for filsystem files is 1073741824 bytes (1024 MB), out of a total partition size of 1073741824 bytes (1024 MB).
Traceback (most recent call last):
  File "build/make/tools/releasetools/add_img_to_target_files", line 824, in <module>
    main(sys.argv[1:])
  File "build/make/tools/releasetools/add_img_to_target_files", line 818, in main
    AddImagesToTargetFiles(args[0])
  File "build/make/tools/releasetools/add_img_to_target_files", line 727, in AddImagesToTargetFiles
    output_zip, recovery_img=recovery_image, boot_img=boot_image)
  File "build/make/tools/releasetools/add_img_to_target_files", line 150, in AddSystem
    block_list=block_list)
  File "build/make/tools/releasetools/add_img_to_target_files", line 281, in CreateImage
    assert succ, "build " + what + ".img image failed"
AssertionError: build system.img image failed
ninja: build stopped: subcommand failed.
20:41:38 ninja failed with: exit status 1

#### failed to build some targets (01:14:57 (hh:mm:ss)) ####

>> [Mon Dec  2 20:41:45 UTC 2019] Failed build for m8
>> [Mon Dec  2 20:41:45 UTC 2019] Finishing build for m8
>> [Mon Dec  2 20:41:45 UTC 2019] Cleaning source dir for device m8
20:43:27 Entire build directory removed.

#### build completed successfully (01:41 (mm:ss)) #### 

On another computer,

[ 87% 60514/69549] //prebuilts/sdk/current/support:android-support-v7-cardview for turbine
[ 87% 60515/69549] //prebuilts/sdk/current/support:android-versionedparcelable for turbine
[ 87% 60516/69549] Copy: /srv/src/PIE/out/target/common/obj/JAVA_LIBRARIES/android-support-v7-cardview_intermediates/classes-header.jar
[ 87% 60517/69549] //frameworks/base/test-base:android.test.base turbine
[ 87% 60518/69549] //prebuilts/sdk/current/androidx:androidx.arch.core_core-runtime turbine
[ 87% 60519/69549] //prebuilts/sdk/current/extras/constraint-layout-x:androidx-constraintlayout_constraintlayout turbine
[ 87% 60520/69549] //frameworks/base/test-base:android.test.base for turbine
[ 87% 60521/69549] Copy: /srv/src/PIE/out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/classes-header.jar
[ 87% 60522/69549] Hidden API: /srv/src/PIE/out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/javalib.jar
FAILED: /srv/src/PIE/out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/javalib.jar 
/bin/bash -c "(rm -f /srv/src/PIE/out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/javalib.jar ) && (cp \"/srv/src/PIE/out/soong/.intermediates/frameworks/base/test-base/android.test.base/android_common/dex/android.test.base.jar\" \"/srv/src/PIE/out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/javalib.jar\" ) && (rm -rf /srv/src/PIE/out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi ) && (mkdir -p /srv/src/PIE/out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi ) && (unzip -q /srv/src/PIE/out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/javalib.jar 'classes*.dex' -d /srv/src/PIE/out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi ) && (find /srv/src/PIE/out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi -name \"classes*.dex\" | sort | sed 's/^/--dex=/' | xargs /srv/src/PIE/out/host/linux-x86/bin/hiddenapi --light-greylist=/srv/src/PIE/out/target/common/obj/PACKAGING/hiddenapi-light-greylist.txt --dark-greylist=/srv/src/PIE/out/target/common/obj/PACKAGING/hiddenapi-dark-greylist.txt --blacklist=/srv/src/PIE/out/target/common/obj/PACKAGING/hiddenapi-blacklist.txt ) && (/srv/src/PIE/out/soong/host/linux-x86/bin/soong_zip -o /srv/src/PIE/out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi/classes.dex.jar -C /srv/src/PIE/out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi -D /srv/src/PIE/out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi ) && (/srv/src/PIE/out/soong/host/linux-x86/bin/merge_zips -D -zipToNotStrip /srv/src/PIE/out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi/classes.dex.jar -stripFile \"classes*.dex\" /srv/src/PIE/out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/javalib.jar /srv/src/PIE/out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi/classes.dex.jar /srv/src/PIE/out/soong/.intermediates/frameworks/base/test-base/android.test.base/android_common/dex/android.test.base.jar )"
xargs: /srv/src/PIE/out/host/linux-x86/bin/hiddenapi: terminated by signal 4
[ 87% 60523/69549] //prebuilts/sdk/current/support:android-support-compat turbine
[ 87% 60524/69549] //prebuilts/sdk/current/extras/material-design:android-support-design-circularreveal-cardview turbine
[ 87% 60525/69549] //prebuilts/sdk/current/support:android-support-compat javac
[ 87% 60526/69549] //prebuilts/sdk/current/extras/material-design:android-support-design-circularreveal-cardview javac
[ 87% 60527/69549] //bionic/libc:common_libc versioner preprocess include [linux_glibc]
warning: attempted to generate guard with empty availability: obsoleted = 21
warning: attempted to generate guard with empty availability: obsoleted = 23
ninja: build stopped: subcommand failed.
04:47:17 ninja failed with: exit status 1

#### failed to build some targets (02:39:49 (hh:mm:ss)) ####

>> [Tue Dec  3 04:47:18 UTC 2019] Failed build for m8
>> [Tue Dec  3 04:47:18 UTC 2019] Finishing build for m8
>> [Tue Dec  3 04:47:18 UTC 2019] Cleaning source dir for device m8
04:48:23 Entire build directory removed.

#### build completed successfully (01:05 (mm:ss)) #### 

This two compilation are notice “build completed successfully” ! Strange 99% and 87%

That’s normal. I think I have had this 99% fail around 500 times :frowning:

It seems that your device system partition has not enough space for all prebuild apk. I would try removing some prepuild apk from the docker command and try it again.

Okey, but about the log of 86 %, i want use this computer.

How can i fix the problem ? To arrived at 99%

don’t know. Could you pls save the complete log at http://del.dog and here the link.

Are both computer with debian buster ?

Yes, debian buster for the two computer.

I’m waiting the end of the compilation.

How use del dog to write an url ?

I remove my folder, and restart all compilation.

Have you had a look on the deldog site ?? I think it’s self explained, or not :thinking::thinking::thinking:

Paste your log insite
Save it via the disk sign on right upper site
Share the link from your Browser address line,

https://del.dog/nanuhamaiw

This is my log, not full log, too big, 73000 lines.

https://debian-facile.org/paste-E786962590

same error as here [Building problem] : 96 %
FAILED: /srv/src/PIE/out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/javalib.jar

You can try searching the web for that error:
https://www.qwant.com/?q=FAILED:%20base_intermediates%2Fjavalib.jar&t=web