Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not install the package : qemu-user-aarch64 #73

Open
Ashes-Snow opened this issue Jan 19, 2025 · 5 comments
Open

not install the package : qemu-user-aarch64 #73

Ashes-Snow opened this issue Jan 19, 2025 · 5 comments
Labels
bug Something isn't working

Comments

@Ashes-Snow
Copy link

Ashes-Snow commented Jan 19, 2025

I can't get into the codefa 1.5.0
Let me show you screenshots

Screenshot_2025-01-18-19-07-57-392_com.nightmare.code.jpg

And ,when i try to install this package ,there is no apt tools and dpkg tools ,so i download the code of dpkg,but the question comes. Because some tools and components like gcc... are missing , i can't complete the compilation and installation of the dpkg source code.

Screenshot_2025-01-19-13-04-30-441_com.nightmare.code.jpg

By the way,
android os : android 13,
device:xiaomi pad 5 pro 5g
I just update the Android webview on google play,i am sure it is absolutely no bussiness with android webview.
and i try to use browser to open ,is failed to link to ubuntu,here is screenshot
Screenshot_2025-01-19-12-50-47-971_com.android.chrome.jpg

and when i try to debug at termux i was find that codefa will be software crashes when my Bluetooth keyboard connected or disconnected ,this issue can be reproduced stably regardlessc of my uninstall and reinstall.

@Ashes-Snow Ashes-Snow added the bug Something isn't working label Jan 19, 2025
@Ashes-Snow
Copy link
Author

If you need a log of the software crash, please let me know and I will send it to you in the qq group

@brian200508
Copy link
Contributor

brian200508 commented Jan 24, 2025

It seems so that proot-distro will detect 'arm' instead of 'aarch64' - however.

Image

With this workaround (enforcing DEVICE_CPU_ARCH aarch64) I could fix the issue and my build https://github.com/brian200508/code_lfa/releases/tag/v1.5.0%2B20-build-56 starts code server again.

You have to patch two artifacts:
(see commit 00de28a in my fork https://github.com/brian200508/code_lfa)

Best Regards
Brian

@mengyanshou
Copy link
Contributor

It seems so that proot-distro will detect 'arm' instead of 'aarch64' - however.

Image

With this workaround (enforcing DEVICE_CPU_ARCH aarch64) I could fix the issue and my build https://github.com/brian200508/code_lfa/releases/tag/v1.5.0%2B20-build-56 starts code server again.

You have to patch two artifacts: (see commit 00de28a in my fork https://github.com/brian200508/code_lfa)

Best Regards Brian

But strangely enough, his device, uname-m, returns aarch64

@brian200508
Copy link
Contributor

brian200508 commented Jan 24, 2025

Yes You're right. When I execute the command in plain termux from https://github.com/termux/termux-app/releases/tag/v0.118.1 the uname -m command also returns aarch64 on my device (Samsung Galaxy Z Fold 3, Android 14 One UI 6.1.1, Security-Patch Level Jan., 1st 2025).

With commit e022901 on my repo I have temporarliy add some debug output:

Image

After clean install of the modified App I had these outputs which I still do not understand right now:
DEVICE_CPU_ARCH: 'arm'.
target_arch: 'aarch64'.

Maybe someone has an idea...

@siilm
Copy link

siilm commented Jan 27, 2025

I have this problem same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants