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

Can't install on Manjaro Linux - No such file or directory #1

Open
vlandemart opened this issue Nov 6, 2022 · 11 comments
Open

Can't install on Manjaro Linux - No such file or directory #1

vlandemart opened this issue Nov 6, 2022 · 11 comments

Comments

@vlandemart
Copy link

image

Installation script is getting error at step 15

@ahrbe1
Copy link
Owner

ahrbe1 commented Nov 6, 2022

Hrm looks like the AppImage failed to build for some reason prior to step 15. I'll do a build and see if I can replicate it.

@ahrbe1
Copy link
Owner

ahrbe1 commented Nov 6, 2022

So it looks like this may be an issue with fuse, which is required by pkg2appimage. I can replicate the issue, trying to find a fix for it.

ahrbe1 added a commit that referenced this issue Nov 8, 2022
@ahrbe1
Copy link
Owner

ahrbe1 commented Nov 8, 2022

Ok, I think I've resolve this.

You'll need to make sure you have fuse v2 installed on the host system in addition to docker.

Fuse is required under-the-hood by pkg2appimage, but we didn't explicitly check for that before. It looks like docker/apparmor became more strict on newer distros, which prevented pkg2appimage from being able to use fuse inside the docker container.

I've updated the readme file and also added some code-checks to check for docker and fuse. Also, I made the script more strict, and it should now fail properly if a command it calls fails.

Try out the bugfix-01 branch and see if that works for you.

LMK if you bump into other issues with that patch. I tested this on Ubuntu 22.04, but I can install Manjaro in a VM to troubleshoot additional distro-specific issues if necessary.

@vlandemart
Copy link
Author

With fuse v2 installed I was able to go past all 20 steps in installation, but no files were generated to /out, and no log file is present in directory
So still no luck with installing it

@ahrbe1
Copy link
Owner

ahrbe1 commented Nov 8, 2022

Ok. Thanks for the update. If you have a chance to post what's written to stdout, I'd appreciate it. What version of Manjaro are you on? I'll do a clean install in a VM tonight and see how far I get.

@vlandemart
Copy link
Author

Here is full stdout - log.txt
My Manjaro version is 22.0, KDE edition

@ahrbe1
Copy link
Owner

ahrbe1 commented Nov 8, 2022

Ok. Status update. I got Manjaro KDE edition installed in a VM, and fixed the issues that prevented installation. It looks like the PlasticSCM guys renamed some files which broke some of the commands used to build the AppImage. So that part works now. However, when I run it, I'm getting an error about "failed to initialize GTK" on Manjaro. So I'm looking into that next.

@ahrbe1
Copy link
Owner

ahrbe1 commented Nov 10, 2022

So I pushed some more commits to that bugfix-01 branch. The script now clearly reports success or failure status. I also added some scripts for analyzing the resulting AppImage. The AppImage should build correctly now on Manjaro. The GUI boots up, and I can log in, but then the app reports that GTK error. I tested this on Ubuntu 22.04 also, and I'm seeing the same GTK issue there. So tomorrow I'll go back and test on 20.04 and 18.04 and see if it still occurs there. It used to work on those platforms, anyways. The log files under ~/.plastic4/logs report some kind of threading error in Gtk/Glib, which makes me think the official Linux build might actually be broken at the moment. I'll let you know what I find.

@ahrbe1
Copy link
Owner

ahrbe1 commented Nov 11, 2022

Ok. Getting closer. Turns out the PlasticSCM folks have done a pretty major overhaul. They renamed some packages, removed some commands, and removed their mono and gtk dependencies. This script should now be more robust to such changes. It appears to work now for me on Ubuntu 22.04 and Manjaro.

@ahrbe1
Copy link
Owner

ahrbe1 commented Nov 11, 2022

Pushed up all the changes I have to the bugfix-01 branch. LMK if you still have issues with it.

@EnricoMonese
Copy link

EnricoMonese commented Dec 12, 2022

I tried this on Arch. I think it builds fine, but it had trouble linking the files. I ran it again with --build and linked manually to make it work.

Running with --uninstall used the wrong path however rm -f /root/.local/bin/plasticgui. Maybe it's because I ran the script with sudo? (If that's the problem then adding my user to the docker group, like the readme says, should fix this)

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

No branches or pull requests

3 participants