-
-
Notifications
You must be signed in to change notification settings - Fork 349
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
AppImages for v2.3.0 are broken #692
Comments
I began the investigation on this. After Here's the entire
If someone else wants to maybe take a look at the build logs, or just test the produced AppImages, you can find them on my GitHub fork. More investigation is obviously needed, but I suspect this to be a red herring, because I remember testing the produced AppImages in PR #666 (and I'm sure @zjeffer did that, too). So we also need to consider the possibility of breakage in some third-party tool (e.g. linuxdeploy or linuxdeploy-plugin-qt). |
Side note: The current Docker container set up we use in the CI for Linux is causing a chicken and egg problem. I want to test some changes I made to the aqtinstall Qt 6 Dockerfile, but our current GitHub Actions set up makes it impossible to easily do so, because the build container is always pulled from @zjeffer's Docker page. We need to think of a better strategy to test changes to Dockerfiles on the spot, because right now I have to:
|
Is this problem occurs only on Arch? |
Nope, I've also tested both AppImages on Ubuntu 22.04 and they fail to launch with the same error. :( The Qt 6 AppImage I managed to fix after some substantial changes. Here's how to test these changes locally: # build the image
docker build -t notes:ubuntu_aqtinstall_6 -f Dockerfiles/ubuntu-aqtinstall-6 .
# build Notes and create the AppImage
docker run -v $(pwd):/src -it --rm notes:ubuntu_aqtinstall_6 The resulting AppImage will be in the I'm not really sure how to proceed from here, however. Because our CI is currently pulling the container image from zjeffer's page, merging my changes wouldn't fix the Qt 6 AppImage right away. In contrast, if we merged my changes, we'd also require some extra changes to the build steps of our CI, which I haven't done yet. I need to think more about this, I guess, but I'd like to hear other's opinions too, especially @zjeffer's. |
I think you could use https://github.com/nektos/act to run github actions locally, which would fix the need for manually copy-pasting commands from the github action workflow. But I'm not sure it's compatible with every type of container. When I implemented #666 I think I always tested my changes using GitHub actions, by basically watching what the action does on GitHub every time I push my changes. I'm not sure there are better ways to do this. I feel like GitHub really needs to develop a way to easily test github actions locally.
Can't you change this so it doesn't pull it from my page, and instead uses your own image? |
I suppose I could, but IMO that'd be only moving the problem elsewhere instead of solving the underlying issue, which is: We can't immediately test changes made to Dockerfiles using the current CI set up. For example, if someone sends a PR modifying any of the Dockerfiles, I'd love for our CI set up to generate build artifacts using those modified Dockerfile images. So my idea goes more in that direction, I'm just not sure what's the best way to approach it just yet. |
As of release 2.3.0, both AppImages (Qt 5 and Qt 6) don't run anymore here on Arch Linux:
Qt 6:
Qt 5:
Need to investigate why...
The text was updated successfully, but these errors were encountered: