Open hexdump0815 opened 3 years ago
Hi,
the problem seems to be in GmsCore, are you sure that this repo is nougat compatible?
I’ve seen that you’re also copying kernel/samsung/smdk4412, you can remove this line in your manifest.
I would check these two functions:
androidx.appcompat.widget.DropDownListView.lookForSelectablePosition(int, boolean) and int androidx.appcompat.widget.MenuPopupWindow$MenuDropDownListView.lookForSelectablePosition(int, boolean)
There vtable is identical, this means that maybe one of them is not needed, but I don’t know.
I would search for them and check why there a re 2 functions with a similar or equal class.
Best regards,
Peter
Von: hexdump0815 @.> Gesendet: Freitag, 20. August 2021 20:27 An: html6405/android_device_samsung_n8010 @.> Cc: Subscribed @.***> Betreff: [html6405/android_device_samsung_n8010] build problems for 14.1 lineageos microg with your trees (#1)
hello,
first a big thank you for your effort to still support this hardware.
i'm trying to build a lineageos + microg (https://lineage.microg.org/) image using your trees and i get quite far, but fail at some point and have no real idea what the problem is - maybe you can help me.
first some info about my build process (which is working well for me for a few devices so far): it is based on this docker image to simplify the build process - https://github.com/lineageos4microg/docker-lineage-cicd and here is a short explaination of it as i use it: https://github.com/hexdump0815/roll-your-own-lineageos-microg-for-unsupported-devices
to build an image for the n8010 i have created this manifest file, which describes where to take the sources from: https://github.com/hexdump0815/roll-your-own-lineageos-microg-for-unsupported-devices/blob/master/manifests/n8010.xml - and when i run the build i get to about 89% when i get this error:
...
[ 89% 29117/32664] Building with Jack: /srv/src/CM_14_1/out/target/common/obj/APPS/Dialer_intermediates/with-local/classes.dex
[ 89% 29118/32664] Copying: /srv/src/CM_14_1/out/target/common/obj/APPS/Dialer_intermediates/classes.dex
[ 89% 29119/32664] Building with Jack: /srv/src/CM_14_1/out/target/common/obj/APPS/InputDevices_intermediates/with-local/classes.dex
[ 89% 29120/32664] build /srv/src/CM_14_1/out/target/product/n8010/obj/APPS/GmsCore_intermediates/oat/arm/package.odex
FAILED: /bin/bash -c "(rm -f /srv/src/CM_14_1/out/target/product/n8010/obj/APPS/GmsCore_intermediates/oat/arm/package.odex ) && (mkdir -p /srv/src/CM_14_1/out/target/product/n8010/obj/APPS/GmsCore_intermediates/oat/arm/ ) && (ANDROID_LOG_TAGS=\":e\" /srv/src/CM_14_1/out/host/linux-x86/bin/dex2oatd --runtime-arg -Xms64m --runtime-arg -Xmx512m --runtime-arg -classpath --runtime-arg \"&\" --boot-image=/srv/src/CM_14_1/out/target/product/n8010/dex_bootjars/system/framework/boot.art --dex-file=prebuilts/prebuiltapks/GmsCore/com.google.android.gms-211515038.apk --dex-location=/system/priv-app/GmsCore/GmsCore.apk --oat-file=/srv/src/CM_14_1/out/target/product/n8010/obj/APPS/GmsCore_intermediates/oat/arm/package.odex --android-root=/srv/src/CM_14_1/out/target/product/n8010/system --instruction-set=arm --instruction-set-variant=cortex-a9 --instruction-set-features=default --include-patch-information --runtime-arg -Xnorelocate --no-generate-debug-info --abort-on-hard-verifier-error --no-inline-from=core-oj.jar )"
dex2oatd F 249969 249992 art/runtime/class_linker.cc:6620] Check failed: vtable_entry != other_entry && !name_comparator.HasSameNameAndSignature( other_entry->GetInterfaceMethodIfProxy(pointer_size)) vtable entries 1047 and 1052 are identical for java.lang.Class<androidx.appcompat.widget.MenuPopupWindow$MenuDropDownListView> in method int androidx.appcompat.widget.DropDownListView.lookForSelectablePosition(int, boolean) and int androidx.appcompat.widget.MenuPopupWindow$MenuDropDownListView.lookForSelectablePosition(int, boolean)
dex2oatd F 249969 249992 art/runtime/runtime.cc:422]Runtime aborting...
Aborting thread:
"Compiler driver thread pool worker thread 2" prio=5 tid=3 Runnable (still starting up)
| group="" sCount=0 dsCount=0 obj=(nil) self=0x7f0124000b60
| sysTid=249992 nice=10 cgrp=docker/b5f05da44b2dca8b27dbc9983d70c5f2a9088ef33671cad1962cc8492bc6daf4 sched=3/0 handle=0x7f01331de700
| state=R schedstat=( 861229213 1270572150 378 ) utm=86 stm=0 core=0 HZ=100
| stack=0x7f01330de000-0x7f01330e0000 stackSize=1028KB
| held mutexes= "abort lock" "mutator lock"(shared held)
native: #00 pc 000000000051cf5d /srv/src/CM_14_1/out/host/linux-x86/lib64/libartd.so (_ZN3art15DumpNativeStackERNSt3113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+253)
native: art::DumpNativeStack(std::1::basic_ostream<char, std::__1::char_traits
searching for this "vtable entries x and y are identical for" seem to suggest that some parts were built with a different environment or so, but i have no real idea what really is the problem here. do you maybe have an idea what might cause this problem?
a lot of thanks in advance and best wishes - hexdump
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/html6405/android_device_samsung_n8010/issues/1 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AJCQA2XJW6GNHTZEKKRQKATT52M7XANCNFSM5CQZ5TJQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email . https://github.com/notifications/beacon/AJCQA2TK6T6LLTUR3BQLPW3T52M7XA5CNFSM5CQZ5TJ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ORJ7ROQ.gif
thanks a lot for the quick response. the lineageos ressources i am using are working well for other 14.1/7.1 builds, so i assume that they should be ok. will have to look deeper then i guess :)
hello,
first a big thank you for your effort to still support this hardware.
i'm trying to build a lineageos 14.1 + microg (https://lineage.microg.org/) image using your trees and i get quite far, but fail at some point and have no real idea what the problem is - maybe you can help me.
first some info about my build process (which is working well for me for a few devices so far): it is based on this docker image to simplify the build process - https://github.com/lineageos4microg/docker-lineage-cicd and here is a short explaination of it as i use it: https://github.com/hexdump0815/roll-your-own-lineageos-microg-for-unsupported-devices
to build an image for the n8010 i have created this manifest file, which describes where to take the sources from: https://github.com/hexdump0815/roll-your-own-lineageos-microg-for-unsupported-devices/blob/master/manifests/n8010.xml - and when i run the build i get to about 89% when i get this error:
searching for this "vtable entries x and y are identical for" seem to suggest that some parts were built with a different environment or so, but i have no real idea what really is the problem here. do you maybe have an idea what might cause this problem?
a lot of thanks in advance and best wishes - hexdump