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

fix appimage for systems with old Qt #202

Closed
milianw opened this issue Aug 21, 2019 · 5 comments
Closed

fix appimage for systems with old Qt #202

milianw opened this issue Aug 21, 2019 · 5 comments
Assignees
Labels

Comments

@milianw
Copy link
Member

milianw commented Aug 21, 2019

Describe the bug
apparently the appimage breaks on systems that don't ship with Qt 5.10 or higher?

To Reproduce
try to run the appimage on an older ubuntu lts to check

Expected behavior
it should work

@milianw milianw added the bug label Aug 21, 2019
@milianw milianw self-assigned this Aug 21, 2019
@milianw
Copy link
Member Author

milianw commented Aug 26, 2019

 » ./hotspot-v1.2.0-x86_64.AppImage
/tmp/.mount_hotspo6QWdJO/opt/lib/x86_64-linux-gnu/libexec/hotspot-perfparser: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.10' not found (required by /tmp/.mount_hotspo6QWdJO/opt/lib/x86_64-linux-gnu/libexec/hotspot-perfparser)
"The hotspot-perfparser binary exited with code 1 (TCP socket error)."

but I failed to reproduce that issue on a ubuntu 16.04 system

@0x6e
Copy link
Member

0x6e commented Sep 2, 2019

Note that I only get the message after I attempt to open a perf.data file. The AppImage runs, but fails to parse the data file.

 » ./hotspot-v1.2.0-x86_64.AppImage
// Open a perf.data file
/tmp/.mount_hotspoQ9HXY2/opt/lib/x86_64-linux-gnu/libexec/hotspot-perfparser: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.10' not found (required by /tmp/.mount_hotspoQ9HXY2/opt/lib/x86_64-linux-gnu/libexec/hotspot-perfparser)
"The hotspot-perfparser binary exited with code 1 (TCP socket error)."
^C

 » dpkg -S /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
libqt5core5a:amd64: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5

 » apt show libqt5core5a
Package: libqt5core5a
Version: 5.9.5+dfsg-0ubuntu2.1

 » lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.3 LTS
Release:	18.04
Codename:	bionic

@milianw
Copy link
Member Author

milianw commented Sep 2, 2019

LD_PRELOAD and QT_PLUGIN_PATH are apparently both not set

@0x6e
Copy link
Member

0x6e commented Sep 2, 2019

 » set | grep "LD_*"
OLDPWD=/home/0x6e
signals=( EXIT HUP INT QUIT ILL TRAP ABRT BUS FPE KILL USR1 SEGV USR2 PIPE ALRM TERM 16 CHLD CONT STOP TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH POLL 30 SYS ZERR DEBUG )

 » set | grep "QT_*"
QT4_IM_MODULE=xim
QT_ACCESSIBILITY=1
QT_IM_MODULE=ibus```

@milianw
Copy link
Member Author

milianw commented Sep 2, 2019

the 1.2 appimage is broken, continuous build works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants