appimage-builder: Error on the "Test" & "Building" step of the tutorial
Hi! after installing the qt dependencies of the simple qt app i am able to generate the AppImageBuilder.yml file:
.../qt-appimage-template 794ms master [?]
> cat AppImageBuilder.yml
# appimage-builder recipe see https://appimage-builder.readthedocs.io for details
version: 1
AppDir:
path: ./AppDir
app_info:
id: QtQuickControls2Application
name: SimpleQtApp
icon: QtQuickControls2Application
version: latest
exec: usr/bin/qt-appimage-template
exec_args: $@
runtime:
env:
APPDIR_LIBRARY_PATH: $APPDIR/usr/lib:$APPDIR/usr/lib/../lib
files:
include:
- /usr/lib/libQt5Widgets.so.5
- /usr/lib/libQt5Qml.so.5
- /usr/lib/libz.so.1
- /usr/lib/libQt5Gui.so.5
- /usr/lib/libQt5Network.so.5
- /usr/lib/libQt5Core.so.5
- /usr/lib/libstdc++.so.6
- /usr/lib/libm.so.6
- /usr/lib/libgcc_s.so.1
- /usr/lib/libc.so.6
- /usr/lib/libpthread.so.0
- /usr/lib/libGL.so.1
- /usr/lib/libpng16.so.16
- /usr/lib/libharfbuzz.so.0
- /usr/lib/libmd4c.so.0
- /usr/lib/libdl.so.2
- /usr/lib/libgssapi_krb5.so.2
- /usr/lib/libssl.so.1.1
- /usr/lib/libcrypto.so.1.1
- /usr/lib/libsystemd.so.0
- /usr/lib/libdouble-conversion.so.3
- /usr/lib/libicui18n.so.68
- /usr/lib/libicuuc.so.68
- /usr/lib/libpcre2-16.so.0
- /usr/lib/libzstd.so.1
- /usr/lib/libglib-2.0.so.0
- /usr/lib/libGLdispatch.so.0
- /usr/lib/libGLX.so.0
- /usr/lib/libfreetype.so.6
- /usr/lib/libgraphite2.so.3
- /usr/lib/libkrb5.so.3
- /usr/lib/libk5crypto.so.3
- /usr/lib/libcom_err.so.2
- /usr/lib/libkrb5support.so.0
- /usr/lib/libkeyutils.so.1
- /usr/lib/libresolv.so.2
- /usr/lib/librt.so.1
- /usr/lib/liblzma.so.5
- /usr/lib/liblz4.so.1
- /usr/lib/libcap.so.2
- /usr/lib/libgcrypt.so.20
- /usr/lib/libicudata.so.68
- /usr/lib/libpcre.so.1
- /usr/lib/libX11.so.6
- /usr/lib/libbz2.so.1.0
- /usr/lib/libgpg-error.so.0
- /usr/lib/libxcb.so.1
- /usr/lib/libXau.so.6
- /usr/lib/libXdmcp.so.6
- /usr/lib/qt/plugins/platforms/libqeglfs.so
- /usr/lib/qt/plugins/platforms/libqlinuxfb.so
- /usr/lib/qt/plugins/platforms/libqminimal.so
- /usr/lib/qt/plugins/platforms/libqminimalegl.so
- /usr/lib/qt/plugins/platforms/libqoffscreen.so
- /usr/lib/qt/plugins/platforms/libqvnc.so
- /usr/lib/qt/plugins/platforms/libqwayland-egl.so
- /usr/lib/qt/plugins/platforms/libqwayland-generic.so
- /usr/lib/qt/plugins/platforms/libqwayland-xcomposite-egl.so
- /usr/lib/qt/plugins/platforms/libqwayland-xcomposite-glx.so
- /usr/lib/qt/plugins/platforms/libqxcb.so
- /usr/lib/qt/plugins/platforms/libqxcb.so
- /usr/lib/libQt5XcbQpa.so.5
- /usr/lib/libfontconfig.so.1
- /usr/lib/libQt5DBus.so.5
- /usr/lib/libX11-xcb.so.1
- /usr/lib/libxcb-icccm.so.4
- /usr/lib/libxcb-image.so.0
- /usr/lib/libxcb-shm.so.0
- /usr/lib/libxcb-keysyms.so.1
- /usr/lib/libxcb-randr.so.0
- /usr/lib/libxcb-render-util.so.0
- /usr/lib/libxcb-render.so.0
- /usr/lib/libxcb-shape.so.0
- /usr/lib/libxcb-sync.so.1
- /usr/lib/libxcb-xfixes.so.0
- /usr/lib/libxcb-xinerama.so.0
- /usr/lib/libxcb-xkb.so.1
- /usr/lib/libxcb-xinput.so.0
- /usr/lib/libSM.so.6
- /usr/lib/libICE.so.6
- /usr/lib/libxkbcommon-x11.so.0
- /usr/lib/libxkbcommon.so.0
- /usr/lib/libexpat.so.1
- /usr/lib/libdbus-1.so.3
- /usr/lib/libxcb-util.so.1
- /usr/lib/libuuid.so.1
- /usr/share/hwdata/pnp.ids
- /usr/lib/libXcursor.so.1
- /usr/lib/libXrender.so.1
- /usr/lib/libXfixes.so.3
- /usr/share/X11/locale/locale.dir
- /usr/share/X11/locale/en_US.UTF-8/XLC_LOCALE
- /usr/lib/qt/plugins/platformthemes/libqgtk3.so
- /usr/lib/qt/plugins/platformthemes/libqxdgdesktopportal.so
- /usr/lib/qt/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so
- /usr/lib/qt/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so
- /usr/lib/qt/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so
- /etc/localtime
- /usr/share/zoneinfo/Europe/Rome
- /etc/os-release
- /usr/lib/qt/qml/QtQuick.2/qmldir
- /usr/lib/qt/qml/QtQuick.2/libqtquick2plugin.so
- /usr/lib/qt/qml/QtQuick.2/libqtquick2plugin.so
- /usr/lib/libQt5Quick.so.5
- /usr/lib/libQt5QmlModels.so.5
- /usr/lib/libQt5QmlWorkerScript.so.5
- /usr/lib/qt/qml/QtQuick/Controls.2/qmldir
- /usr/lib/qt/qml/QtQuick/Controls.2/libqtquickcontrols2plugin.so
- /usr/lib/qt/qml/QtQuick/Controls.2/libqtquickcontrols2plugin.so
- /usr/lib/libQt5QuickTemplates2.so.5
- /usr/lib/libQt5QuickControls2.so.5
- /etc/os-release
- /etc/os-release
- /usr/lib/qt/qml/QtQuick/Layouts/qmldir
- /usr/lib/qt/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
- /usr/lib/qt/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
- /usr/lib/qt/qml/QtQuick/Templates.2/qmldir
- /usr/lib/qt/qml/QtQuick/Templates.2/libqtquicktemplates2plugin.so
- /usr/lib/qt/qml/QtQuick/Templates.2/libqtquicktemplates2plugin.so
- /usr/lib/qt/qml/QtQuick/Window.2/qmldir
- /usr/lib/qt/qml/QtQuick/Window.2/libwindowplugin.so
- /usr/lib/qt/qml/QtQuick/Window.2/libwindowplugin.so
- /usr/lib/qt/plugins/xcbglintegrations/libqxcb-egl-integration.so
- /usr/lib/qt/plugins/xcbglintegrations/libqxcb-glx-integration.so
- /usr/lib/qt/plugins/xcbglintegrations/libqxcb-glx-integration.so
- /usr/lib/libxcb-glx.so.0
- /usr/lib/libGLX_mesa.so.0
- /usr/lib/libglapi.so.0
- /usr/lib/libdrm.so.2
- /usr/lib/libxcb-dri2.so.0
- /usr/lib/libXext.so.6
- /usr/lib/libXxf86vm.so.1
- /usr/lib/libxcb-dri3.so.0
- /usr/lib/libxcb-present.so.0
- /usr/lib/libxshmfence.so.1
- /usr/share/drirc.d/00-mesa-defaults.conf
- /usr/lib/gconv/gconv-modules
- /usr/share/locale/it/LC_MESSAGES/libc.mo
- /usr/share/drirc.d/00-mesa-defaults.conf
- /usr/lib/dri/radeonsi_dri.so
- /usr/lib/libLLVM-11.so
- /usr/lib/libsensors.so.5
- /usr/lib/libdrm_radeon.so.1
- /usr/lib/libelf.so.1
- /usr/lib/libdrm_amdgpu.so.1
- /usr/lib/libdrm_nouveau.so.2
- /usr/lib/libvulkan.so.1
- /usr/lib/../lib/libffi.so.7
- /usr/lib/../lib/libedit.so.0
- /usr/lib/../lib/libncursesw.so.6
- /usr/lib/../lib/libxml2.so.2
- /usr/share/drirc.d/00-mesa-defaults.conf
- /usr/share/drirc.d/00-mesa-defaults.conf
- /usr/share/drirc.d/00-mesa-defaults.conf
- /usr/share/libdrm/amdgpu.ids
- /usr/lib/libnss_files.so.2
- /etc/fonts/fonts.conf
- /usr/share/fontconfig/conf.default/10-hinting-slight.conf
- /usr/share/fontconfig/conf.default/10-powerline-symbols.conf
- /usr/share/fontconfig/conf.default/10-scale-bitmap-fonts.conf
- /usr/share/fontconfig/conf.default/20-unhint-small-vera.conf
- /usr/share/fontconfig/conf.default/30-metric-aliases.conf
- /usr/share/fontconfig/conf.default/40-nonlatin.conf
- /usr/share/fontconfig/conf.default/45-generic.conf
- /usr/share/fontconfig/conf.default/45-latin.conf
- /usr/share/fontconfig/conf.default/49-sansserif.conf
- /usr/share/fontconfig/conf.default/50-user.conf
- /usr/share/fontconfig/conf.default/51-local.conf
- /usr/share/fontconfig/conf.default/60-generic.conf
- /usr/share/fontconfig/conf.default/60-latin.conf
- /usr/share/fontconfig/conf.default/65-fonts-persian.conf
- /usr/share/fontconfig/conf.default/65-nonlatin.conf
- /usr/share/fontconfig/conf.default/65-wqy-zenhei.conf
- /usr/share/fontconfig/conf.default/69-unifont.conf
- /usr/share/fontconfig/conf.default/69-urw-bookman.conf
- /usr/share/fontconfig/conf.default/69-urw-c059.conf
- /usr/share/fontconfig/conf.default/69-urw-d050000l.conf
- /usr/share/fontconfig/conf.default/69-urw-fallback-backwards.conf
- /usr/share/fontconfig/conf.default/69-urw-fallback-generics.conf
- /usr/share/fontconfig/conf.default/69-urw-fallback-specifics.conf
- /usr/share/fontconfig/conf.default/69-urw-gothic.conf
- /usr/share/fontconfig/conf.default/69-urw-nimbus-mono-ps.conf
- /usr/share/fontconfig/conf.default/69-urw-nimbus-roman.conf
- /usr/share/fontconfig/conf.default/69-urw-nimbus-sans.conf
- /usr/share/fontconfig/conf.default/69-urw-p052.conf
- /usr/share/fontconfig/conf.default/69-urw-standard-symbols-ps.conf
- /usr/share/fontconfig/conf.default/69-urw-z003.conf
- /usr/share/fontconfig/conf.default/80-delicious.conf
- /usr/share/fontconfig/conf.default/81-ubuntu.conf
- /usr/share/fontconfig/conf.default/90-synthetic.conf
- /usr/share/fontconfig/conf.avail/05-reset-dirs-sample.conf
- /usr/share/fontconfig/conf.avail/09-autohint-if-no-hinting.conf
- /usr/share/fontconfig/conf.avail/09-texlive-fonts.conf
- /usr/share/fontconfig/conf.avail/10-autohint.conf
- /usr/share/fontconfig/conf.avail/10-hinting-full.conf
- /usr/share/fontconfig/conf.avail/10-hinting-medium.conf
- /usr/share/fontconfig/conf.avail/10-hinting-none.conf
- /usr/share/fontconfig/conf.avail/10-hinting-slight.conf
- /usr/share/fontconfig/conf.avail/10-no-sub-pixel.conf
- /usr/share/fontconfig/conf.avail/10-powerline-symbols.conf
- /usr/share/fontconfig/conf.avail/10-scale-bitmap-fonts.conf
- /usr/share/fontconfig/conf.avail/10-sub-pixel-bgr.conf
- /usr/share/fontconfig/conf.avail/10-sub-pixel-rgb.conf
- /usr/share/fontconfig/conf.avail/10-sub-pixel-vbgr.conf
- /usr/share/fontconfig/conf.avail/10-sub-pixel-vrgb.conf
- /usr/share/fontconfig/conf.avail/10-unhinted.conf
- /usr/share/fontconfig/conf.avail/11-lcdfilter-default.conf
- /usr/share/fontconfig/conf.avail/11-lcdfilter-legacy.conf
- /usr/share/fontconfig/conf.avail/11-lcdfilter-light.conf
- /usr/share/fontconfig/conf.avail/20-unhint-small-vera.conf
- /usr/share/fontconfig/conf.avail/25-unhint-nonlatin.conf
- /usr/share/fontconfig/conf.avail/30-metric-aliases.conf
- /usr/share/fontconfig/conf.avail/35-lang-normalize.conf
- /usr/share/fontconfig/conf.avail/40-nonlatin.conf
- /usr/share/fontconfig/conf.avail/43-wqy-zenhei-sharp.conf
- /usr/share/fontconfig/conf.avail/45-generic.conf
- /usr/share/fontconfig/conf.avail/45-latin.conf
- /usr/share/fontconfig/conf.avail/49-sansserif.conf
- /usr/share/fontconfig/conf.avail/50-user.conf
- /usr/share/fontconfig/conf.avail/51-local.conf
- /usr/share/fontconfig/conf.avail/60-generic.conf
- /usr/share/fontconfig/conf.avail/60-latin.conf
- /usr/share/fontconfig/conf.avail/65-fonts-persian.conf
- /usr/share/fontconfig/conf.avail/65-khmer.conf
- /usr/share/fontconfig/conf.avail/65-nonlatin.conf
- /usr/share/fontconfig/conf.avail/65-wqy-zenhei.conf
- /usr/share/fontconfig/conf.avail/69-unifont.conf
- /usr/share/fontconfig/conf.avail/69-urw-bookman.conf
- /usr/share/fontconfig/conf.avail/69-urw-c059.conf
- /usr/share/fontconfig/conf.avail/69-urw-d050000l.conf
- /usr/share/fontconfig/conf.avail/69-urw-fallback-backwards.conf
- /usr/share/fontconfig/conf.avail/69-urw-fallback-generics.conf
- /usr/share/fontconfig/conf.avail/69-urw-fallback-specifics.conf
- /usr/share/fontconfig/conf.avail/69-urw-gothic.conf
- /usr/share/fontconfig/conf.avail/69-urw-nimbus-mono-ps.conf
- /usr/share/fontconfig/conf.avail/69-urw-nimbus-roman.conf
- /usr/share/fontconfig/conf.avail/69-urw-nimbus-sans.conf
- /usr/share/fontconfig/conf.avail/69-urw-p052.conf
- /usr/share/fontconfig/conf.avail/69-urw-standard-symbols-ps.conf
- /usr/share/fontconfig/conf.avail/69-urw-z003.conf
- /usr/share/fontconfig/conf.avail/70-no-bitmaps.conf
- /usr/share/fontconfig/conf.avail/70-yes-bitmaps.conf
- /usr/share/fontconfig/conf.avail/80-delicious.conf
- /usr/share/fontconfig/conf.avail/81-ubuntu.conf
- /usr/share/fontconfig/conf.avail/90-synthetic.conf
- /usr/share/icons/default/index.theme
- /usr/share/icons/Bibata-Modern-Classic/cursors/left_ptr
- /usr/share/icons/default/index.theme
- /usr/share/icons/Bibata-Modern-Classic/cursors/ibeam
- /usr/share/X11/locale/compose.dir
- /usr/share/X11/locale/en_US.UTF-8/Compose
exclude:
- usr/share/man
- usr/share/doc/*/README.*
- usr/share/doc/*/changelog.*
- usr/share/doc/*/NEWS.*
- usr/share/doc/*/TODO.*
test:
fedora:
image: appimagecrafters/tests-env:fedora-30
command: ./AppRun
use_host_x: true
debian:
image: appimagecrafters/tests-env:debian-stable
command: ./AppRun
use_host_x: true
arch:
image: appimagecrafters/tests-env:archlinux-latest
command: ./AppRun
use_host_x: true
centos:
image: appimagecrafters/tests-env:centos-7
command: ./AppRun
use_host_x: true
ubuntu:
image: appimagecrafters/tests-env:ubuntu-xenial
command: ./AppRun
use_host_x: true
AppImage:
arch: x86_64
update-information: guess
But now i recive an error in the Test and Build step. Test step:
.../qt-appimage-template 5ms master [?]
> appimage-builder --skip-build --skip-appimage
INFO:root:======
INFO:root:Script
INFO:root:======
INFO:root:============
INFO:root:AppDir tests
INFO:root:============
Traceback (most recent call last):
File "/home/diamant/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "/home/diamant/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 394, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/usr/lib/python3.9/http/client.py", line 1255, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1301, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1250, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1010, in _send_output
self.send(msg)
File "/usr/lib/python3.9/http/client.py", line 950, in send
self.connect()
File "/usr/lib/python3.9/site-packages/docker/transport/unixconn.py", line 43, in connect
sock.connect(self.unix_socket)
FileNotFoundError: [Errno 2] No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/home/diamant/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 755, in urlopen
retries = retries.increment(
File "/home/diamant/.local/lib/python3.9/site-packages/urllib3/util/retry.py", line 532, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/home/diamant/.local/lib/python3.9/site-packages/urllib3/packages/six.py", line 734, in reraise
raise value.with_traceback(tb)
File "/home/diamant/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "/home/diamant/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 394, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/usr/lib/python3.9/http/client.py", line 1255, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1301, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1250, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1010, in _send_output
self.send(msg)
File "/usr/lib/python3.9/http/client.py", line 950, in send
self.connect()
File "/usr/lib/python3.9/site-packages/docker/transport/unixconn.py", line 43, in connect
sock.connect(self.unix_socket)
urllib3.exceptions.ProtocolError: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/docker/api/client.py", line 214, in _retrieve_server_version
return self.version(api_version=False)["ApiVersion"]
File "/usr/lib/python3.9/site-packages/docker/api/daemon.py", line 181, in version
return self._result(self._get(url), json=True)
File "/usr/lib/python3.9/site-packages/docker/utils/decorators.py", line 46, in inner
return f(self, *args, **kwargs)
File "/usr/lib/python3.9/site-packages/docker/api/client.py", line 237, in _get
return self.get(url, **self._set_request_timeout(kwargs))
File "/usr/lib/python3.9/site-packages/requests/sessions.py", line 555, in get
return self.request('GET', url, **kwargs)
File "/usr/lib/python3.9/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3.9/site-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3.9/site-packages/requests/adapters.py", line 498, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/appimage-builder", line 8, in <module>
sys.exit(__main__())
File "/usr/lib/python3.9/site-packages/appimagebuilder/__main__.py", line 102, in __main__
test_cases = _load_tests(recipe_data)
File "/usr/lib/python3.9/site-packages/appimagebuilder/__main__.py", line 133, in _load_tests
test = ExecutionTest(
File "/usr/lib/python3.9/site-packages/appimagebuilder/tester/execution_test.py", line 37, in __init__
self.client = docker.from_env()
File "/usr/lib/python3.9/site-packages/docker/client.py", line 96, in from_env
return cls(
File "/usr/lib/python3.9/site-packages/docker/client.py", line 45, in __init__
self.api = APIClient(*args, **kwargs)
File "/usr/lib/python3.9/site-packages/docker/api/client.py", line 197, in __init__
self._version = self._retrieve_server_version()
File "/usr/lib/python3.9/site-packages/docker/api/client.py", line 221, in _retrieve_server_version
raise DockerException(
docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
Build step:
.../qt-appimage-template 4s428ms master [?]
> appimage-builder --skip-build --skip-test
INFO:root:======
INFO:root:Script
INFO:root:======
INFO:root:Generating AppImage from ./AppDir
INFO:appimagetool:appimagetool --runtime-file appimage-builder-cache/runtime-x86_64 --guess ./AppDir /home/diamant/Progetti/OpenProgrammer/testAppImage/qt-appimage-template/SimpleQtApp-latest-x86_64.AppImage
WARNING:appimagetool:appimagetool, continuous build (commit effcebc), build 2084 built on 2019-05-01 21:02:41 UTC
WARNING:appimagetool:NOTE: Using the output of 'git rev-parse --short HEAD' as the version:
WARNING:appimagetool:80dde56
WARNING:appimagetool:Please set the $VERSION environment variable if this is not intended
WARNING:appimagetool:Desktop file not found, aborting
ERROR:root:AppImage generation failed
Anyone can help on these error? Thanks in advance!
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 21 (14 by maintainers)
Commits related to this issue
- fix: ld-linux not being included in runtime analyzer results ref #119 — committed to AppImageCrafters/appimage-builder by azubieta 3 years ago
- fix: ld-linux not being included in runtime analyzer results ref #119 — committed to AppImageCrafters/appimage-builder by azubieta 3 years ago
I confirm that there are no more errors regarding ld-linux, I also got errors on the missing qml modules. I can now close this issue. Thanks to everyone!
You can try the continuous build which contains the latest code. Download it from https://github.com/AppImageCrafters/appimage-builder/releases/tag/Continuous .
I just fixed the ld-linux issue but I found another issue regarding qml modules, which are not being properly included. I’ll open a new issue for this.