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

Create QuickEvent #1799

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Create QuickEvent #1799

wants to merge 5 commits into from

Conversation

fvacek
Copy link

@fvacek fvacek commented Oct 6, 2019

No description provided.

@probonopd
Copy link
Member

probonopd commented Oct 6, 2019

Hi @fvacek, welcome to AppImageHub.

The test is running into:

/bin/bash: /run/firejail/appimage/.appimage-9213/AppRun: Permission denied

How was this AppImage produced?
Please see netblue30/firejail#2690.

@fvacek
Copy link
Author

fvacek commented Oct 6, 2019

This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. QuickEvent requires X

@probonopd
Copy link
Member

How did you produce the AppImage? Using linuxdeployqt?

@fvacek
Copy link
Author

fvacek commented Oct 20, 2019

look at https://github.com/fvacek/quickbox/blob/master/quickevent/make-dist.sh
using `appimagetool-x86_64.AppImage

I'm not using linuxdeployqt but I have confirmed that QuickEvent.AppImage is working by users. Do you think that some part of Qt is missing?
`

@probonopd
Copy link
Member

Please test it on a distribution that does not come with Qt, e.g., a Xubuntu Live ISO. I think it only worked for some of your users because they happened to have a matching version of Qt already on their machine.

appimagetool is not suitable for this job (without doing a lot of manual work which is easy to get wrong), linuxdeployqt is.

Please see https://github.com/probonopd/linuxdeployqt#using-linuxdeployqt-with-travis-ci for a concrete example.

@fvacek
Copy link
Author

fvacek commented Nov 3, 2019

QT is bundled in QuickEvent.AppImage with all the platform plugins included.

image

All the available platform plugins are tested and listed on Travis log. Which plugin is needed to be used with Xvfb? I thing that xcb one.

linuxdeployqt seems to search for QT in system paths only, so it does not work for me.

[~/proj/linuxdeployqt]$ ./bin/linuxdeployqt ~/t/_distro/quickevent-2.2.8-linux64/bin/quickevent                                                            *[master] 
./bin/linuxdeployqt: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.13' not found (required by ./bin/linuxdeployqt)
[~/proj/linuxdeployqt]$ ldd ~/t/_distro/quickevent-2.2.8-linux64/bin/quickevent                                                                            *[master] 
        linux-vdso.so.1 (0x00007ffd0e545000)
        libqfcore.so.1 => /home/fanda/t/_distro/quickevent-2.2.8-linux64/bin/../lib/libqfcore.so.1 (0x00007f5dc315f000)
        libqfqmlwidgets.so.1 => /home/fanda/t/_distro/quickevent-2.2.8-linux64/bin/../lib/libqfqmlwidgets.so.1 (0x00007f5dc2fae000)
        libsiut.so.1 => /home/fanda/t/_distro/quickevent-2.2.8-linux64/bin/../lib/libsiut.so.1 (0x00007f5dc2f7f000)
        libquickeventcore.so.1 => /home/fanda/t/_distro/quickevent-2.2.8-linux64/bin/../lib/libquickeventcore.so.1 (0x00007f5dc2f47000)
        libquickeventgui.so.1 => /home/fanda/t/_distro/quickevent-2.2.8-linux64/bin/../lib/libquickeventgui.so.1 (0x00007f5dc2f1c000)
        libQt5Widgets.so.5 => /home/fanda/t/_distro/quickevent-2.2.8-linux64/bin/../lib/libQt5Widgets.so.5 (0x00007f5dc26c7000)
        libQt5Gui.so.5 => /home/fanda/t/_distro/quickevent-2.2.8-linux64/bin/../lib/libQt5Gui.so.5 (0x00007f5dc1e7a000)
        libQt5Qml.so.5 => /home/fanda/t/_distro/quickevent-2.2.8-linux64/bin/../lib/libQt5Qml.so.5 (0x00007f5dc17de000)
        libQt5Network.so.5 => /home/fanda/t/_distro/quickevent-2.2.8-linux64/bin/../lib/libQt5Network.so.5 (0x00007f5dc142e000)
        libQt5SerialPort.so.5 => /home/fanda/t/_distro/quickevent-2.2.8-linux64/bin/../lib/libQt5SerialPort.so.5 (0x00007f5dc1215000)
        libQt5Core.so.5 => /home/fanda/t/_distro/quickevent-2.2.8-linux64/bin/../lib/libQt5Core.so.5 (0x00007f5dc0a68000)
        libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007f5dc09a0000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f5dc097f000)
        libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f5dc07fb000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f5dc0678000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f5dc065e000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f5dc049d000)
        libQt5Xml.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Xml.so.5 (0x00007f5dc045c000)
        libQt5Sql.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Sql.so.5 (0x00007f5dc0411000)
        libQt5PrintSupport.so.5 => /usr/lib/x86_64-linux-gnu/libQt5PrintSupport.so.5 (0x00007f5dc039a000)
        libQt5Svg.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Svg.so.5 (0x00007f5dc0344000)
        libQt5Multimedia.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Multimedia.so.5 (0x00007f5dc0228000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f5dc0008000)
        librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f5dbfffe000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f5dbfff9000)
        libicui18n.so.56 => /home/fanda/t/_distro/quickevent-2.2.8-linux64/bin/../lib/libicui18n.so.56 (0x00007f5dbfb60000)
        libicuuc.so.56 => /home/fanda/t/_distro/quickevent-2.2.8-linux64/bin/../lib/libicuuc.so.56 (0x00007f5dbf7a8000)
        libicudata.so.56 => /home/fanda/t/_distro/quickevent-2.2.8-linux64/bin/../lib/libicudata.so.56 (0x00007f5dbddc3000)
        libgthread-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0 (0x00007f5dbddbe000)
        libglib-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f5dbdc9f000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f5dc328d000)
        libGLX.so.0 => /usr/lib/x86_64-linux-gnu/libGLX.so.0 (0x00007f5dbdc6b000)
        libGLdispatch.so.0 => /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007f5dbdbae000)
        libpulse.so.0 => /usr/lib/x86_64-linux-gnu/libpulse.so.0 (0x00007f5dbdb58000)
        libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f5dbdae4000)
        libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f5dbd9a3000)
        libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f5dbd791000)
        libpulsecommon-12.2.so => /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-12.2.so (0x00007f5dbd70b000)
        libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f5dbd6b6000)
        libcap.so.2 => /lib/x86_64-linux-gnu/libcap.so.2 (0x00007f5dbd6ae000)
        libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f5dbd684000)
        libX11-xcb.so.1 => /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007f5dbd67f000)
        libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007f5dbd462000)
        libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007f5dbd457000)
        libXtst.so.6 => /usr/lib/x86_64-linux-gnu/libXtst.so.6 (0x00007f5dbd24f000)
        libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f5dbd1ae000)
        libwrap.so.0 => /lib/x86_64-linux-gnu/libwrap.so.0 (0x00007f5dbd1a2000)
        libsndfile.so.1 => /usr/lib/x86_64-linux-gnu/libsndfile.so.1 (0x00007f5dbd126000)
        libasyncns.so.0 => /usr/lib/x86_64-linux-gnu/libasyncns.so.0 (0x00007f5dbcf20000)
        libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f5dbcd1c000)
        libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f5dbcb14000)
        libbsd.so.0 => /usr/lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f5dbcafa000)
        libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f5dbcaf1000)
        libXi.so.6 => /usr/lib/x86_64-linux-gnu/libXi.so.6 (0x00007f5dbc8e1000)
        liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f5dbc8b9000)
        liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f5dbc89a000)
        libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f5dbc77a000)
        libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 (0x00007f5dbc761000)
        libFLAC.so.8 => /usr/lib/x86_64-linux-gnu/libFLAC.so.8 (0x00007f5dbc4e9000)
        libogg.so.0 => /usr/lib/x86_64-linux-gnu/libogg.so.0 (0x00007f5dbc2e0000)
        libvorbis.so.0 => /usr/lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007f5dbc2b2000)
        libvorbisenc.so.2 => /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2 (0x00007f5dbc207000)
        libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f5dbc1eb000)
        libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f5dbc1c8000)

@fvacek
Copy link
Author

fvacek commented Nov 3, 2019

What about unset QTDIR; unset QT_PLUGIN_PATH in AppRun?

@probonopd
Copy link
Member

probonopd commented Nov 3, 2019

what does ldd ./usr/plugins/platformplugins/xcb.so say? (Written from memory, actual file might be named slightly differently)

@fvacek
Copy link
Author

fvacek commented Nov 4, 2019

[~/proj/freeopcua]$ ldd /home/fanda/t/_distro/quickevent-2.2.8-linux64/bin/platforms/libqxcb.so                             *[master] 
        linux-vdso.so.1 (0x00007fff2d176000)
        libQt5XcbQpa.so.5 => /home/fanda/t/_distro/quickevent-2.2.8-linux64/bin/platforms/../../lib/libQt5XcbQpa.so.5 (0x00007f3053cd3000)
        libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f3053c5b000)
        libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f3053b9f000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f3053981000)
        libQt5Gui.so.5 => /home/fanda/t/_distro/quickevent-2.2.8-linux64/bin/platforms/../../lib/libQt5Gui.so.5 (0x00007f3053134000)
        libQt5DBus.so.5 => /home/fanda/t/_distro/quickevent-2.2.8-linux64/bin/platforms/../../lib/libQt5DBus.so.5 (0x00007f3052ea8000)
        libQt5Core.so.5 => /home/fanda/t/_distro/quickevent-2.2.8-linux64/bin/platforms/../../lib/libQt5Core.so.5 (0x00007f30526f9000)
        libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007f3052665000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f3052644000)
        libX11-xcb.so.1 => /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007f305263f000)
        libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f3052615000)
        libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f305240b000)
        libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f30521f7000)
        libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f30520b6000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f3051f33000)
        libxkbcommon-x11.so.0 => /usr/lib/x86_64-linux-gnu/libxkbcommon-x11.so.0 (0x00007f3051f28000)
        libxkbcommon.so.0 => /usr/lib/x86_64-linux-gnu/libxkbcommon.so.0 (0x00007f3051ee6000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f3051ee1000)
        libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f3051d5b000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f3051d41000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3051b80000)
        libgthread-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0 (0x00007f3051b7b000)
        libglib-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f3051a5c000)
        libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f3051a1f000)
        libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f3051a14000)
        libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f30519db000)
        libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f3051988000)
        libicui18n.so.56 => /home/fanda/t/_distro/quickevent-2.2.8-linux64/bin/platforms/../../lib/libicui18n.so.56 (0x00007f30514ef000)
        libicuuc.so.56 => /home/fanda/t/_distro/quickevent-2.2.8-linux64/bin/platforms/../../lib/libicuuc.so.56 (0x00007f3051137000)
        libicudata.so.56 => /home/fanda/t/_distro/quickevent-2.2.8-linux64/bin/platforms/../../lib/libicudata.so.56 (0x00007f304f752000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f3054279000)
        libGLX.so.0 => /usr/lib/x86_64-linux-gnu/libGLX.so.0 (0x00007f304f71e000)
        libGLdispatch.so.0 => /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007f304f661000)
        libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f304f45d000)
        libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f304f257000)
        libxcb-xkb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb-xkb.so.1 (0x00007f304f237000)
        libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f304f1c3000)
        libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f304f122000)
        libbsd.so.0 => /usr/lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f304f108000)
        librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f304f0fe000)
        liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f304f0d4000)
        liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f304f0b5000)
        libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f304ef97000)
        libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f304ef74000)

@probonopd
Copy link
Member

Hmm. Everything is found. Strange...

@fvacek
Copy link
Author

fvacek commented Nov 8, 2019

I will add ldd command to AppRun to see what is missing on Travis environment

@probonopd
Copy link
Member

Screenshot is empty - the bug is on my side (likely in worker.sh...)

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

Successfully merging this pull request may close these issues.

2 participants