hhannine / superpaper

A cross-platform multi monitor wallpaper manager.
MIT License
1.12k stars 46 forks source link

AppImage does not run on Ubuntu xenial #29

Closed probonopd closed 4 years ago

probonopd commented 4 years ago

Thanks for making an AppImage.

However, it fails to run on Ubuntu xenial:

[6] Error loading Python lib '/tmp/_MEIuTLFXW/libpython3.7m.so.1.0': dlopen: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /tmp/_MEIuTLFXW/libpython3.7m.so.1.0)

Please build on a system no newer than the oldest still-supported Ubuntu LTS release, which is xenial at this time. Thanks.

Reference: https://github.com/AppImage/appimage.github.io/pull/1882

hhannine commented 4 years ago

Thanks for bringing this up. I'm planning to fix this for the next release.

hhannine commented 4 years ago

Whilst trying to setup a 16.04 LTS build environment in a virtual machine I found out that wxPython 4.0 is not available prior to bionic 18.04 LTS. I guess I'm forced to build the appimages on bionic.

probonopd commented 4 years ago

No, you can also build wxPython on xenial.

hhannine commented 4 years ago

Indeed, thanks for the reminder. I packaged an AppImage in the VM with linuxdeploy but I get an error "Cannot open self ... or archive ..." when I try to run the AppImage either in the VM or on my other machines. Would you have any idea what could cause this?

I tested that the xenial built binary won't run on my RHEL 7 machine at work. Would the RHEL machine be a good build base?

hhannine commented 4 years ago

Quickly tested building the AppImage on the RHEL machine as well and I get the same issue, the resulting AppImage fails to run with the above error. I'm using linuxdeploy to build the appimage.

Edit just to be clear: I first package the Python bits with PyInstaller and this intermediate binary does function correctly. I then package this binary into an AppImage which fails to run.

hhannine commented 4 years ago

I was able to fix that error by downgrading some pip packages. I'll document working build setup for myself here:

-python 3.6 -pyinstaller 3.5 -setuptools 44.0.0 -dbus-python from pip

It remains unclear if the newest build of linuxdeploy had some part in this, I got this working with a copy of an older build from my notebook.

The new AppImage would seem to run ok on xenial but I still need to update the packaging script to include new resources.

probonopd commented 4 years ago

Thanks for looking into this @hhannine, please ping me once you think the AppImage is ready for another test at https://github.com/AppImage/appimage.github.io/pull/1882.

hhannine commented 4 years ago

I built a new test Appimage of the upcoming release on a Xenial VM but unfortunately the UI is stylistically broken although usable on my Manjaro machine and nigh on completely broken on my Kubuntu 19.10 machine. I'm a bit at a loss on how to fix it.

hhannine commented 4 years ago

I've got 2 testing AppImages; since they're large I shared them from Google Drive

  1. Built on Xenial, runs on Xenial VM and somewhat usably on Manjaro KDE: xenial-testing
  2. Built on RHEL7, runs on RHEL, Ubuntu 18.04 VM, Kubuntu 19.10, Manjaro KDE: rhel-testing

@probonopd, if you, or anyone else for that matter, test these I'd like to hear how it goes.

probonopd commented 4 years ago

Thank you, the Xenial one passed the test successfully on first try. Didn't check the other one. Will you upload it to GitHub Releases? Then I will re-run the automated test again. Thanks.

https://github.com/AppImage/appimage.github.io/pull/1882

hhannine commented 4 years ago

Thank you. I'm hoping to fix some small things and make a stable release in a few days; I'll ping you once they're up on releases.

hhannine commented 4 years ago

@probonopd , the new appimage is now up at releases.

probonopd commented 4 years ago

Thank you very much :+1: