Closed riqueenz closed 1 year ago
Is it possible to make it agnostic of the version, or will this have to be done every time? Also, when is this expected to reflect on the snaps?
Not sure. And also I'm not certain that would be wise because there may be an interest to role-back to a version that is stable if necessary.
Also, when is this expected to reflect on the snaps?
I guess each time a new snap is built. I can retrigger the Daily right now and see if it gets built.
Edit: Ok... Daily is being rebuilt now. Lets see if it succeeds
Now I am getting error because "kde-frameworks-5-99-qt-5-15-7-core20" is not available.
Ubuntu 23.04 here.
# snap refresh freecad --channel=beta
2023-05-29T17:58:31-03:00 INFO cannot update "cups", will not have required
content "foo": snap has no updates available
error: cannot perform the following tasks:
- Ensure prerequisites for "freecad" are available (cannot install prerequisite "kde-frameworks-5-99-qt-5-15-7-core20": no snap revision available as specified)
@riqueenz do you mind showing me where to get a valid kde-frameworks version ?
Last time I got the kde-frameworks version by searching available snaps.
snap search "KDE Frameworks"
However, this time only snaps using the core22 base are on the list.
kf5-5-105-qt-5-15-9-core22
kf5-5-105-qt-5-15-9-core22-sdk
I took a quick look at the GitLab repository used by the KDE project to build snaps. Looks like they are moving everything to the core22 base. https://invent.kde.org/packaging/snapcraft-kde-applications
@riqueenz want to make a PR to update this ?
I ran some tests yesterday trying to upgrade to core22, but the build failed.
I'm still checking what's going on, maybe it's something related to the freecad-deps-core20
snap.
If I manage to solve the problem I'll do a PR
Any progress ?
The snap build action is failing as the kde-frameworks-5-96-qt-5-15-5-core20 snap is no longer available. The problem can be solved using the kde-frameworks-5-99-qt-5-15-7-core20 snap. In my test FreeCAD compiled and FreeCAD*.snap ran perfectly.