question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Debian 10.5 COMPLETE HANG on appimage-builder --generate after Runtime lib found: /lib/x86_64-linux-gnu/libnss_files.so.2

See original GitHub issue

For full terminal log from brand new debian 10.5 clean install visit: https://asciinema.org/a/osouoZiMMNmvJqcX4JFwucD7S ISSUE: the command appimage-builder --log DEBUG --generate hangs indefinitely when it reaches return result DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libnss_files.so.2

Operating systems the issue pertains to:

  • ubuntu 16.04
  • debian 9
  • debian 10.5

BELOW IS VERBATIM FROM MY TERMINAL AFTER FOLLOWING INSTRUCTIONS IN TUTORIAL FOR APPIMAGEBUILDER -------------------------VERBATIM BEGIN---------------------------- appimage-builder --generate --log DEBUG INFO:Generator:Searching AppDir INFO:Generator:Searching desktop entries INFO:Generator:Reading desktop entry: AppDir/usr/share/applications/QtQuickControls2Application.desktop Basic Information : DEBUG:asyncio:Using selector: EpollSelector ? ID [Eg: com.example.app] : com.QtQuickControls2Application.app ? Application Name : SimpleQtApp ? Icon : QtQuickControls2Application ? Version : latest ? Executable path relative to AppDir [usr/bin/app] : usr/bin/qt-appimage-template ? Arguments [Default: $@] : $@ ? Architecture : amd64 INFO:Generator:Analysing application runtime dependencies DEBUG:AppRuntimeAnalyser:Running: /home/foouser/qt-appimage-template/AppDir/usr/bin/qt-appimage-template $@ DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libpthread.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libc.so.6 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/librt.so.1 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libbsd.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libXdmcp.so.6 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libXau.so.6 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libxcb.so.1 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libdl.so.2 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libX11.so.6 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libXext.so.6 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libpcre.so.3 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libicudata.so.63 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libgraphite2.so.3 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libz.so.1 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libm.so.6 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libpng16.so.16 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libfreetype.so.6 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libGLdispatch.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libGLX.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libglib-2.0.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libgcc_s.so.1 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libstdc++.so.6 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libdouble-conversion.so.1 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libpcre2-16.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libicuuc.so.63 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libicui18n.so.63 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libharfbuzz.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libGL.so.1 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libQt5Core.so.5 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libQt5Network.so.5 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libQt5Gui.so.5 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libQt5Qml.so.5 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libQt5Widgets.so.5 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libgpg-error.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libgcrypt.so.20 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/liblz4.so.1 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/liblzma.so.5 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libsystemd.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libxcb-util.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libdbus-1.so.3 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libuuid.so.1 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libexpat.so.1 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libxkbcommon.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libxcb-xkb.so.1 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libxkbcommon-x11.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libxcb-shape.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libxcb-icccm.so.4 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libxcb-keysyms.so.1 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libxcb-shm.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libxcb-image.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libxcb-randr.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libxcb-xinerama.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libxcb-xfixes.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libxcb-sync.so.1 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libxcb-render.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libxcb-render-util.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libXrender.so.1 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libICE.so.6 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libSM.so.6 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libXi.so.6 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libX11-xcb.so.1 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libQt5DBus.so.5 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libfontconfig.so.1 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 DEBUG:AppRuntimeAnalyser:Runtime lib found: /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libXfixes.so.3 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libXcursor.so.1 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libxcb-glx.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /usr/lib/x86_64-linux-gnu/qt5/plugins/xcbglintegrations/libqxcb-glx-integration.so DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libblkid.so.1 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libdatrie.so.1 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libresolv.so.2 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libselinux.so.1 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libmount.so.1 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libffi.so.6 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libgobject-2.0.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libatspi.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libpixman-1.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libfribidi.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libthai.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libXrandr.so.2 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libXinerama.so.1 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libpango-1.0.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libpangoft2-1.0.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libgmodule-2.0.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libgio-2.0.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libepoxy.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libwayland-client.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libwayland-egl.so.1 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libwayland-cursor.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libatk-1.0.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libatk-bridge-2.0.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libcairo.so.2 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libcairo-gobject.so.2 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libXdamage.so.1 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libXcomposite.so.1 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libpangocairo-1.0.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libgdk-3.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libgtk-3.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /usr/lib/x86_64-linux-gnu/qt5/plugins/platformthemes/libqgtk3.so DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libproxy.so.1 DEBUG:AppRuntimeAnalyser:Runtime lib found: /usr/lib/x86_64-linux-gnu/gio/modules/libgiolibproxy.so DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libgmp.so.10 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libnettle.so.6 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libhogweed.so.4 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libtasn1.so.6 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libunistring.so.2 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libidn2.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libp11-kit.so.0 DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libgnutls.so.30 DEBUG:AppRuntimeAnalyser:Runtime lib found: /usr/lib/x86_64-linux-gnu/gio/modules/libgiognutls.so DEBUG:AppRuntimeAnalyser:Runtime lib found: /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so DEBUG:AppRuntimeAnalyser:Runtime lib found: /usr/lib/x86_64-linux-gnu/gio/modules/libgioremote-volume-monitor.so DEBUG:AppRuntimeAnalyser:Runtime lib found: /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so DEBUG:AppRuntimeAnalyser:Runtime lib found: /usr/lib/x86_64-linux-gnu/gio/modules/libgiognomeproxy.so DEBUG:AppRuntimeAnalyser:Runtime lib found: /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so DEBUG:AppRuntimeAnalyser:Runtime lib found: /usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so DEBUG:AppRuntimeAnalyser:Runtime lib found: /lib/x86_64-linux-gnu/libnss_files.so.2

-------------------------VERBATIM PAUSE---------------------------- NOTE TO DEVELOPERS: THIS IS WHERE APPIMAGE-BULDER HANGS FOR HOURS. MUST USE CTRL-C TO EXIT. -------------------------VERBATIM UNPAUSE---------------------------- ^CTraceback (most recent call last): File “/usr/local/bin/appimage-builder”, line 18, in <module> main(); File “/usr/local/lib/python3.7/dist-packages/AppImageBuilder/main.py”, line 51, in main generator = RecipeGenerator() File “/usr/local/lib/python3.7/dist-packages/AppImageBuilder/generator/generator.py”, line 53, in init runtime_analyser.run_app_analysis() File “/usr/local/lib/python3.7/dist-packages/AppImageBuilder/generator/app_runtime_analyser.py”, line 46, in run_app_analysis stderr_line = process.stderr.readline() KeyboardInterrupt -------------------------VERBATIM END----------------------------

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Danrancancommented, Sep 1, 2020

Im a complete noob to python code, but in my free time I may try to dabble in the code a bit! Thanks for encouragment!

1reaction
azubietacommented, Aug 24, 2020

@Danrancan appimage-builder --generate runs is running LD_DEBUG=libs AppDir/usr/bin/qt-appimage-template. If you run this manually you will find that the Qt application complains about some missing QML modules. Sadly the application doesn’t crash in those cases that’s why the whole process seems to be stop.

Please install qml-module-qtquick-controls2, qml-module-qtquick-layouts and try again. If the problem persist try running the app manually from the AppDir to spot any other run issue.

Fell free to keep asking 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting — appimage-builder 1.0.0 documentation
The first thing to check when Appimage is created is the .bundle.yml file. It's located in the AppDir root. This file contain a...
Read more >
Chapter 5. Issues to be aware of for bullseye - Debian
Sometimes, changes introduced in a new release have side-effects we cannot reasonably avoid, or they expose bugs somewhere else.
Read more >
8. Shared libraries — Debian Policy Manual v4.6.2.0
Shared libraries¶. Packages containing shared libraries must be constructed with a little care to make sure that the shared library is always available....
Read more >
5.4. Troubleshooting the Installation Process - Debian
There are two very simple things that you should try first. If the disc does not boot, check that it was inserted correctly...
Read more >
Chapter 9. Keeping your Debian system up-to-date
I have several machines; how can I download the updates only one time? One of Debian's goals is to provide a consistent upgrade...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found