Issues with creating/running an AppImage (original) (raw)
Trying to create an AppImage for mitmproxy fail using appimagetool, but works using AppImageAssistant and also works with generate_image script
I'm using ubuntu:14.04 docker image to generate the AppImage.
Creating with appimagetool on ubuntu:14.04 - FAIL
Desktop file: /root/build/appimage/Mitmproxy.AppDir/mitmproxy.desktop
Name: Mitmproxy
Icon: mitmproxy
Exec: mitmproxy.wrapper
Comment: An interactive TLS-capable intercepting HTTP proxy for penetration testers and software developers
Type: Application
Categories: Utility;Network
File used for determining architecture: /root/build/appimage/Mitmproxy.AppDir/usr/lib/libpython3.5m.so.1.0
Arch: 86_64
App name for filename: Mitmproxy
/root/build/appimage/Mitmproxy.AppDir should be packaged as /root/dist/Mitmproxy-2.0.2.glibc2.17-x86_64.AppImage
Deleting pre-existing .DirIcon
Creating .DirIcon symlink based on information from desktop file
Generating squashfs...
Size of the embedded runtime: 112472 bytes
Parallel mksquashfs: Using 1 processor
Creating 4.0 filesystem on /root/dist/Mitmproxy-2.0.2.glibc2.17-x86_64.AppImage, block size 131072.
FATAL ERROR:gzip uncompress failed with error code -3
Embedding ELF...
Not able to open the AppImage for writing, aborting
Creating/Running with generate_appimage and appimageassistant on ubuntu:14.04 - Works OK
LANG=en_US.UTF-8 ./Mitmproxy-2.0.2.glibc2.17-x86_64.AppImage --version
desktop-file-validate is missing. Skipping /tmp/.mount_igNtNk/usr/bin//mitmproxy.wrapper.
Mitmproxy version: 2.0.2 (release version)
Python version: 3.5.3
Platform: Linux-4.4.59-boot2docker-x86_64-with-debian-jessie-sid
SSL version: OpenSSL 1.0.1f 6 Jan 2014
Linux distro: debian jessie/sid
Running on cents:6.7 - FAIL
LANG=en_US.UTF-8 ./Mitmproxy-2.0.2.glibc2.17-x86_64.AppImage --version
/bin/bash: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /tmp/.mount_l7NTFP/usr/lib/x86_64-linux-gnu/libtinfo.so.5)
/bin/bash: /lib64/libc.so.6: version `GLIBC_2.15' not found (required by /tmp/.mount_l7NTFP/usr/lib/x86_64-linux-gnu/libtinfo.so.5)
My project to test this is located at mitmproxy-appimage