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

[Bug]: qemu didn't run #8230

Closed
mosayeb2543 opened this issue Dec 13, 2021 · 13 comments
Closed

[Bug]: qemu didn't run #8230

mosayeb2543 opened this issue Dec 13, 2021 · 13 comments
Labels
bug report Something is not working properly.

Comments

@mosayeb2543
Copy link

Problem description

~ $ qemu-system-i386
CANNOT LINK EXECUTABLE "qemu-system-i386": cannot locate symbol "__udivti3" referenced by "/data/data/com.termux/files/usr/bin/qemu-system-i386"...

What steps will reproduce the bug?

Qemu-system-x86_64 and qemu-system-i386

What is the expected behavior?

No response

System information

termux-info:


Application version:
0.117
Packages CPU architecture:
aarch64
Subscribed repositories:

sources.list

deb https://packages.termux.org/apt/termux-main/ stable main

game-repo (sources.list.d/game.list)

deb https://packages.termux.org/apt/termux-games games stable

science-repo (sources.list.d/science.list)

deb https://packages.termux.org/apt/termux-science science stable

x11-repo (sources.list.d/x11.list)

deb https://packages.termux.org/apt/termux-x11 x11 main
Updatable packages:
All packages up to date
Android version:
11
Kernel build information:
Linux localhost 4.14.113-22755563 #1 SMP PREEMPT Fri Oct 22 21:19:33 KST 2021 aarch64 Android
Device manufacturer:
samsung
Device model:
SM-A515F

@mosayeb2543 mosayeb2543 added the bug report Something is not working properly. label Dec 13, 2021
@xtkoba
Copy link
Contributor

xtkoba commented Dec 13, 2021

#8029

@mosayeb2543
Copy link
Author

I didn't understand what should i do

@mosayeb2543
Copy link
Author

#8029

It wasn't about qemu

@xtkoba
Copy link
Contributor

xtkoba commented Dec 13, 2021

We understand what the problem is. Will be fixed soon. Thank you for reporting!

@mosayeb2543
Copy link
Author

We understand what the problem is. Will be fixed soon. Thank you for reporting!

Thanks i waiting

@Grimler91
Copy link
Member

Looks more like an issue with dependencies:

$ qemu-system-i386 
gtk initialization failed
$ apt install libcairo
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be upgraded:
  libcairo
1 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
Need to get 0 B/437 kB of archives.
After this operation, 119 kB of additional disk space will be used.
(Reading database ... 157975 files and directories currently installed.)
Preparing to unpack .../libcairo_1.16.0-8_aarch64.deb ...
Unpacking libcairo (1.16.0-8) over (1.16.0-7) ...
Setting up libcairo (1.16.0-8) ...
$ qemu-system-i386 
CANNOT LINK EXECUTABLE "qemu-system-i386": cannot locate symbol "__udivti3" referenced by "/data/data/com.termux/files/usr/bin/qemu-system-i386"...

so probably qemu just needs to be rebuilt

@mosayeb2543
Copy link
Author

Looks more like an issue with dependencies:

$ qemu-system-i386 
gtk initialization failed
$ apt install libcairo
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be upgraded:
  libcairo
1 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
Need to get 0 B/437 kB of archives.
After this operation, 119 kB of additional disk space will be used.
(Reading database ... 157975 files and directories currently installed.)
Preparing to unpack .../libcairo_1.16.0-8_aarch64.deb ...
Unpacking libcairo (1.16.0-8) over (1.16.0-7) ...
Setting up libcairo (1.16.0-8) ...
$ qemu-system-i386 
CANNOT LINK EXECUTABLE "qemu-system-i386": cannot locate symbol "__udivti3" referenced by "/data/data/com.termux/files/usr/bin/qemu-system-i386"...

so probably qemu just needs to be rebuilt

I dont khow but i reinstall app and again install qemu but it not work i think some file of termux is deleted or missing

@Grimler91
Copy link
Member

I guess qemu just needs to be rebuilt, but maybe some of the other packages are suffering from #8029. We'll see when CI build finishes

@Grimler91 Grimler91 reopened this Dec 13, 2021
@Grimler91
Copy link
Member

Clearly I should have read librsvg commit history before trying to bump it >.<, needs some more work

@Grimler91
Copy link
Member

Btw @xtkoba, check your email, you should have a github invitation there

@xtkoba
Copy link
Contributor

xtkoba commented Dec 14, 2021

I cannot reproduce this in my environment (Android 8.1.0 aarch64), with a fresh and minimal installation of qemu, including

  • glib 2.70.2
  • gstreamer 1.19.3-1
  • libspice-server 0.15.0-1
  • qemu-common 1:6.1.0-8
  • qemu-system-i386-headless 1:6.1.0-8
  • qemu-system-x86-64-headless 1:6.1.0-8

And I cannot find any undefined reference to __udivti3 in any shared objects installed.

@Grimler91
Copy link
Member

Grimler91 commented Dec 14, 2021

Great, should mean that it works after the rebuild :)

@mosayeb2543
Copy link
Author

Great, should mean that it works after the rebuild :)

Man it is work so thanks 👌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Something is not working properly.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants