FreeCAD / FreeCAD-snap

The official Snap package of the FreeCAD project
https://snapcraft.io/freecad
8 stars 9 forks source link

Update KDE Frameworks snap version #80

Closed riqueenz closed 1 year ago

riqueenz commented 1 year ago

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.

AjinkyaDahale commented 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?

luzpaz commented 1 year ago

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.

luzpaz commented 1 year ago

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

mbello commented 1 year ago

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)
luzpaz commented 1 year ago

@riqueenz do you mind showing me where to get a valid kde-frameworks version ?

riqueenz commented 1 year ago

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

luzpaz commented 1 year ago

@riqueenz want to make a PR to update this ?

riqueenz commented 1 year ago

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

luzpaz commented 1 year ago

Any progress ?