mr_cal
July 15, 2024, 1:52pm
1
The next edition of the Starcraft Clinics is 2024-07-19T14:00:00Z ! Come chat and get support for Snapcraft, Charmcraft, Rockcraft, or the Craft libraries in general.
You can join via Google Meet .
If you want to discuss any topics other than starcraft applications themselves, reply here in advance so we can invite the correct parties. For example, if you have snapd/runtime questions, we can invite someone from the snapd team.
6 Likes
I would like to talk about core-graphics and KDE
3 Likes
Nevermind, I wonât make this one, I have to have surgery on my broken arm Friday. Next one.
2 Likes
popey
July 17, 2024, 1:21pm
4
Is it okay to bring snaps that are failing to build, to get help?
I have a couple, one of which spits out unfathomable logs.
1 Like
mr_cal
July 17, 2024, 2:46pm
5
Sorry to hear, feel better and see you in a future clinic!
2 Likes
mr_cal
July 17, 2024, 2:47pm
6
Absolutely. @cmatsuoka and @sergiusens wonât be attending but @lengau and I will be there and will do our best to help.
3 Likes
Can we discuss about launchpad api?
1 Like
While 7am is pretty early for me, I will try to attend. I would like to discuss issues with core24 and getting Ruby CLI apps working with it. I ran into a weird error , and this seems to be part of a larger issue of how Snapcraftâs ruby plugin is still stuck on core18, which forces snapcrafters to resort to all sorts of manual workarounds.
3 Likes
mr_cal
July 19, 2024, 11:49am
9
@soumyaDghosh - yes we can.
@postmodern - we can discuss ruby as well, which is overdue for an update.
2 Likes
mr_cal
July 19, 2024, 3:18pm
10
Thanks to everybody who joined, this was a busy meeting!
Meeting notes:
Using the Launchpad API
@soumyaDghosh wants to leverage Launchpadâs API for managing releasing 100+ KDE snaps in sync
craft-parts issues
@dilyn brought up some issues in craft-parts:
The dump plugin fails if it re-runs because it refuses to overwrite files.
Unpacking debs with symlinks is still broken
@lengau found an issue where using snapcraftctl
in core24 gives an unhelpful error about not locating snapcraft_legacy
remote build
@popey brought some problems with the remote builder:
The prompt to cancel a build ignores the user and always cancels the build
Launchpad is failing to pull 1 of 3 near-identical snaps
Weâre not sure what the problem because craft-parts doesnât capture stderr from git
calls, which limits troubleshooting
@popey will file a bug
node snaps are failing to build in Launchpad because it canât find npm
This discussion will probably need to continue in the forums or matrix
If one of the builders is tied up, it delays fetching artefacts for all other builds
For example, arm64
had a 12 hour backlog recently, so you have to wait 12 hours to download the amd64
snap that built in 5 minutes
This may tie into the feature for âparallelâ support of remote-builds (multi-line progress, retrieving artefacts as each job completes)
2 Likes
popey
July 19, 2024, 4:03pm
11
Thanks for the discussion. Hereâs the bugs (and one of them triggered a bonus bug!).
2 Likes
Missed the Clinic again. Is there some place where we could discuss issues related to packaging up Ruby software (particularly CLI utils). The developer experience with core22 and without the ruby plugin has not been optimal.
1 Like
popey
July 19, 2024, 9:32pm
13
@postmodern Sorry you werenât able to make it.
Thereâs a matrix channel. #snapcraft:ubuntu.com
But I suspect the timezone separation may become frustrating for ârealtimeâ chat.
Perhaps @mr_cal or someone else on the team could schedule one thatâs more usable for you.
3 Likes
@mr_cal we should consider a twice a week Clinic and offset one to our afternoon to accommodate availabiltiy
2 Likes
I logged this one a while back
opened 01:12AM - 12 Jul 24 UTC
bug
### Bug Description
Calling `craftctl default` raises a `ModuleNotFoundError` f⊠or `snapcraft_legacy`
### To Reproduce
Run Snapcraft 8.3.1 with ansel from https://github.com/sergiusens/ansel/tree/core24
### Environment
Ubuntu 22.04, Snapcraft 8.3.1 using the LXD provider
### snapcraft.yaml
```shell
.
```
### Relevant log output
```shell
2024-07-11 22:05:54.669 :: + snapcraftctl build
2024-07-11 22:05:54.686 :: Traceback (most recent call last):
2024-07-11 22:05:54.686 :: File "<string>", line 2, in <module>
2024-07-11 22:05:54.686 :: ModuleNotFoundError: No module named 'snapcraft_legacy'
2024-07-11 22:05:54.861 'override-build' in part 'ansel' failed with code 1.
2024-07-11 22:05:54.864 Traceback (most recent call last):
2024-07-11 22:05:54.864 File "/snap/snapcraft/12136/lib/python3.10/site-packages/craft_application/services/lifecycle.py", line 261, in run
2024-07-11 22:05:54.864 aex.execute(action, stdout=stream, stderr=stream)
2024-07-11 22:05:54.864 File "/snap/snapcraft/12136/lib/python3.10/site-packages/craft_parts/executor/executor.py", line 327, in execute
2024-07-11 22:05:54.864 self._executor.execute(actions, stdout=stdout, stderr=stderr)
2024-07-11 22:05:54.864 File "/snap/snapcraft/12136/lib/python3.10/site-packages/craft_parts/executor/executor.py", line 137, in execute
2024-07-11 22:05:54.864 self._run_action(act, stdout=stdout, stderr=stderr)
2024-07-11 22:05:54.864 File "/snap/snapcraft/12136/lib/python3.10/site-packages/craft_parts/executor/executor.py", line 214, in _run_action
2024-07-11 22:05:54.864 handler.run_action(action, stdout=stdout, stderr=stderr)
2024-07-11 22:05:54.864 File "/snap/snapcraft/12136/lib/python3.10/site-packages/craft_parts/executor/part_handler.py", line 170, in run_action
2024-07-11 22:05:54.864 state = handler(step_info, stdout=stdout, stderr=stderr)
2024-07-11 22:05:54.864 File "/snap/snapcraft/12136/lib/python3.10/site-packages/craft_parts/executor/part_handler.py", line 309, in _run_build
2024-07-11 22:05:54.865 self._run_step(
2024-07-11 22:05:54.865 File "/snap/snapcraft/12136/lib/python3.10/site-packages/craft_parts/executor/part_handler.py", line 483, in _run_step
2024-07-11 22:05:54.865 step_handler.run_scriptlet(
2024-07-11 22:05:54.865 File "/snap/snapcraft/12136/lib/python3.10/site-packages/craft_parts/executor/step_handler.py", line 330, in run_scriptlet
2024-07-11 22:05:54.865 raise errors.ScriptletRunError(
2024-07-11 22:05:54.865 craft_parts.errors.ScriptletRunError: 'override-build' in part 'ansel' failed with code 1.
2024-07-11 22:05:54.865 Review the scriptlet and make sure it's correct.
2024-07-11 22:05:54.865 Recommended resolution: Review the scriptlet and make sure it's correct.
```
### Additional context
_No response_
1 Like
I would love this, Fridays are near impossible for me and I have so many thingsâŠ