Skip to content

Instantly share code, notes, and snippets.

@ma34s
Created February 21, 2018 14:08
Show Gist options
  • Save ma34s/6c5a51c51926a152856d2f673219491b to your computer and use it in GitHub Desktop.
Save ma34s/6c5a51c51926a152856d2f673219491b to your computer and use it in GitHub Desktop.
error on building lineage-15.1
FAILED: /home/ma34s/android/aojp/lineage-15.1/out/target/product/kltedcm/obj/APPS/MobileFeliCaClient_intermediates/oat/arm/package.odex
/bin/bash -c "(rm -f /home/ma34s/android/aojp/lineage-15.1/out/target/product/kltedcm/obj/APPS/MobileFeliCaClient_intermediates/oat/arm/package.odex ) && (mkdir -p /home/ma34s/android/aojp/lineage-15.1/out/target/product/kltedcm/obj/APPS/MobileFeliCaClient_intermediates/oat/arm/ ) && (ANDROID_LOG_TAGS=\"*:e\" /home/ma34s/android/aojp/lineage-15.1/out/host/linux-x86/bin/dex2oatd --runtime-arg -Xms64m --runtime-arg -Xmx512m --class-loader-context=\"&\" --boot-image=/home/ma34s/android/aojp/lineage-15.1/out/target/product/kltedcm/dex_bootjars/system/framework/boot.art --dex-file=vendor/samsung/kltedcm/proprietary/felica/app/MobileFeliCaClient.apk --dex-location=/system/app/MobileFeliCaClient/MobileFeliCaClient.apk --oat-file=/home/ma34s/android/aojp/lineage-15.1/out/target/product/kltedcm/obj/APPS/MobileFeliCaClient_intermediates/oat/arm/package.odex --android-root=/home/ma34s/android/aojp/lineage-15.1/out/target/product/kltedcm/system --instruction-set=arm --instruction-set-variant=krait --instruction-set-features=default --runtime-arg -Xnorelocate --compile-pic --no-generate-debug-info --generate-build-id --abort-on-hard-verifier-error --force-determinism --no-inline-from=core-oj.jar --compiler-filter=quicken )"
dex2oatd F 02-21 23:04:24 47162 47162 method_verifier.cc:466] Verification error in com.felicanetworks.felica.util.ByteBuffer com.felicanetworks.falp.packet.HandshakeReqPacket.makeTransmitCommand()
dex2oatd F 02-21 23:04:24 47162 47162 method_verifier.cc:466] com.felicanetworks.felica.util.ByteBuffer com.felicanetworks.falp.packet.HandshakeReqPacket.makeTransmitCommand() failed to verify: com.felicanetworks.felica.util.ByteBuffer com.felicanetworks.falp.packet.HandshakeReqPacket.makeTransmitCommand(): [0x18] copyRes1 v1<- result0 type=Undefined
dex2oatd F 02-21 23:04:24 47162 47162 method_verifier.cc:466]
dex2oatd F 02-21 23:04:24 47162 47162 compiler_driver.cc:926] Had a hard failure verifying all classes, and was asked to abort in such situations. Please check the log.
Runtime aborting...
Dumping all threads without appropriate locks held: thread list lock mutator lock
All threads:
DALVIK THREADS (12):
"main" prio=5 tid=1 Runnable (still starting up)
| group="" sCount=0 dsCount=0 flags=0 obj=(nil) self=0x55c0b10a4580
| sysTid=47162 nice=0 cgrp=default sched=0/0 handle=0x7fc3ce37c740
| state=R schedstat=( 503400993 35169432 130 ) utm=48 stm=1 core=4 HZ=100
| stack=0x7ffe0750e000-0x7ffe07510000 stackSize=7MB
| held mutexes= "abort lock" "mutator lock"(shared held)
native: #00 pc 00000000004f7179 /home/ma34s/android/aojp/lineage-15.1/out/host/linux-x86/lib64/libartd.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, int, BacktraceMap*, char const*, art::ArtMethod*, void*)+217)
native: art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, BacktraceMap*, char const*, art::ArtMethod*, void*)
native: art/runtime/native_stack_dump.cc:300
native: #01 pc 00000000005ddba4 /home/ma34s/android/aojp/lineage-15.1/out/host/linux-x86/lib64/libartd.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, bool, BacktraceMap*, bool) const+340)
native: art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, bool, BacktraceMap*, bool) const
native: art/runtime/thread.cc:1945
native: #02 pc 00000000005f83bd /home/ma34s/android/aojp/lineage-15.1/out/host/linux-x86/lib64/libartd.so (art::DumpCheckpoint::Run(art::Thread*)+589)
native: art::DumpCheckpoint::Run(art::Thread*)
native: art/runtime/thread_list.cc:217
native: #03 pc 00000000005efa3d /home/ma34s/android/aojp/lineage-15.1/out/host/linux-x86/lib64/libartd.so (art::ThreadList::RunCheckpoint(art::Closure*, art::Closure*)+909)
native: art::ThreadList::RunCheckpoint(art::Closure*, art::Closure*)
native: art/runtime/thread_list.cc:350
native: #04 pc 00000000005ef43f /home/ma34s/android/aojp/lineage-15.1/out/host/linux-x86/lib64/libartd.so (art::ThreadList::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, bool)+383)
native: art::ThreadList::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, bool)
native: art/runtime/thread_list.cc:261
native: #05 pc 00000000005c5d38 /home/ma34s/android/aojp/lineage-15.1/out/host/linux-x86/lib64/libartd.so (art::AbortState::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char>>&) const+168)
native: art::AbortState::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const
native: art/runtime/runtime.cc:428
native: #06 pc 00000000005b6cf4 /home/ma34s/android/aojp/lineage-15.1/out/host/linux-x86/lib64/libartd.so (art::Runtime::Abort(char const*)+100)
native: art::Dumpable<art::AbortState>::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const
native: art/runtime/base/dumpable.h:39
native: std::__1::basic_ostream<char, std::__1::char_traits<char> >& art::operator<< <art::AbortState>(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, art::Dumpable<art::AbortState> const&)
native: art/runtime/base/dumpable.h:50
native: art::Runtime::Abort(char const*)
native: art/runtime/runtime.cc:525
native: #07 pc 00000000000095ba /home/ma34s/android/aojp/lineage-15.1/out/host/linux-x86/lib64/libbase.so (android::base::LogMessage::~LogMessage()+858)
native: std::__1::function<void (char const*)>::operator()(char const*) co
@baohaojun
Copy link

Hi, I am looking at the same error, can you kindly share with me, have you solved this build error? If yes, how did you solve it? Many thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment