/srv/irclogs.ubuntu.com/2022/06/08/#ubuntu-desktop.txt

=== mwhudson_ is now known as mwhudson
=== cpaelzer_ is now known as cpaelzer
seb128goood morning desktopers!06:27
oSoMoNgood morning desktoppers06:28
dufluHi seb128 and oSoMoN 06:28
dufluAnd yes Launchpad is down06:29
seb128lut oSoMoN, hey duflu, how are you?06:29
dufluseb128, doing OK. How are you?06:29
seb128a bit tired but alright otherwise!06:29
ricotzgood morning06:31
seb128ricotz, hey, how are you?06:31
dufluHi ricotz 06:34
ricotzseb128, seems I still need some time to get operational :)06:34
seb128ricotz, coffee!06:34
ricotzhehe, I am not a coffee person ;P06:35
seb128tea!? ;)06:38
oSoMoNhey duflu, salut seb128, morning ricotz 06:40
seb128jamesh, hey, is https://github.com/flatpak/xdg-desktop-portal/pull/705#issuecomment-1123392120 still on your backlog?06:57
ubottuPull 705 in flatpak/xdg-desktop-portal "webextensions: add a portal for managing WebExtensions native messaging servers" [Open]06:57
seb128launchpad is back for those who were waiting on it btw07:15
didrocksgood morning07:17
seb128didrocks, lut didrocks, en forme aujourd'hui?07:23
didrocksseb128: ça va, et toi ?07:23
seb128ca va ! :)07:23
lunamorning07:28
didrockshey luna 07:31
dufluHi didrocks and luna 07:32
didrockshey duflu 07:33
oSoMoNsalut didrocks, good morning luna 07:46
ricotzoSoMoN, schopin, hi :), what is the state of the cargo updates?07:49
schopinincoming shortly07:51
oSoMoNschopin, do you know why the rustc/impish/riscv64 build failed?07:51
didrockssalut oSoMoN 07:53
schopinoSoMoN: yes, it's because it failed more than a dozen releases ago and apparently nobody bothered to fix it.08:01
oSoMoNschopin, https://launchpad.net/ubuntu/+source/rustc/1.57.0+dfsg1+llvm-0ubuntu1~21.10.1 was successful08:03
oSoMoNdo you mean it's an upstream bug?08:03
lissyxI know we're on ubuntu channel, but have you experience in running snapd/snapcraft on debian (sid) ?08:06
lissyxI'm trying and it seems broken08:07
ricotzschopin, great08:09
schopinoSoMoN: oh right, it's only on focal that we have the bootstrapping problem.08:09
schopinno logs, I retried the build.08:09
oSoMoNthanks08:10
lissyxnevermind, it looks like it is working08:11
oSoMoNlissyx, I don't, personally, but afaik Debian is among the distributions that are used to test snapd and snapcraft in CI, so the expectation is that it should work08:11
lissyxhopefully should be able to rebuild the firefox snap directly08:11
lissyxoSoMoN, somehow it was not started by default and then the systemd unit deactivates itself for socket activation08:12
lissyxhence non 0 exit code and me worrying08:12
lissyxand 'snap run snapcraft build' will do it08:14
lissyx:)08:14
lissyxhm snap run snapcraft build fails at hg clone with some 137 exit code :/11:12
lissyxoSoMoN, I do find on some snapcraft forum it's because the default allocation is 2GB of RAM, and one needs to override with SNAPCRAFT_BUILD_ENVIRONMENT_MEMORY=11:22
lissyxobviously 2GB for building firefox is not enough, but there's nothing defined in the snapcraft.yml for that?11:23
oSoMoNlissyx, no, snapcraft doesn't allow to specify build requirements like this11:26
lissyxyou mean snapcraft.yml11:27
lissyxdo you happen to have some doc somewhere if there are other specifics to follow ?11:34
lissyx(looks like download of dependencies is super slow, right now gnome-3-38-2004 at 150kB/s)11:35
ogranote that "snapcraft build" is almost always the wrong thing to do ... you only want "snap run snapcraft" ... 11:39
ogra"build" is just one interim step you are explicitly calling (but will not produce a snap)11:40
lissyxgood to know11:40
lissyxlet's hope I can now pull those deps a bit faster ...11:41
lissyxstill the same11:43
seb128lissyx, do you need a specific revision? we could publish one to another channel11:49
lissyxseb128, specific rev of ?11:50
seb128lissyx, we also discussed with oSoMoN about stored old snaps on a public space11:50
lissyxI'm trying to rebuild firefox-snap11:50
lissyxand right now being super limited by the network11:50
lissyxI see many reports, but mostly for mainland china11:50
lissyxI'm in France, and my network is more than decent (Orange, 2Gb FTTH, 10GbE LAN)11:50
seb128lissyx, revision of the firefox-snap, it sounded like you were trying to downgrade to a previous version yesterday11:50
lissyxseb128, for that, maybe, but oSoMoN tested directly and he could not repro11:51
lissyxso we assume it was fixed by something else11:51
seb128ack11:51
lissyxI've been trying to ping the reporter but ...11:51
lissyxanyway, I still need to be able to repro the build11:51
seb128lissyx, about snapd on debian, https://snapcraft.io/docs/installing-snap-on-debian11:52
oSoMoNthere are intermittent outages which might explain your slow downloads from the store: https://status.snapcraft.io/11:54
lissyxat least it's not just the build11:58
lissyxmy VM where I want to  test the about:restartrequired bug I experienced the other day, also shows slow rates :)11:58
lissyxoSoMoN, so, installed a stable, let it run and "snap refresh firefox --beta" refuses to do anything because it is running already12:11
seb128close firefox12:12
lissyxseb128, that's the point12:12
lissyxseb128, trying to repro https://bugzilla.mozilla.org/show_bug.cgi?id=177221912:12
seb128?12:12
ubottuMozilla bug 1772219 in Core "Firefox Snap on Ubuntu 22.04 showing about:restartrequired" [--, New]12:12
seb128lissyx, snapd recently landed that feature to delay updates if the software is active, so I'm unsure you can easily trigger that situation again12:14
lissyxseb128, recently like how?12:15
oSoMoNin snapd 2.5512:15
seb12810 days ago12:15
lissyxhm12:15
lissyxI hit the bug 7 days ago12:15
ubottuBug 7 in Launchpad itself "Need help for novice translators" [High, Fix Released] https://launchpad.net/bugs/712:15
seb128you maybe didn't have the new snapd yet12:16
lissyxyes maybe12:16
lissyxlet me check12:16
seb128https://forum.snapcraft.io/t/wip-refresh-app-awareness12:16
oSoMoNmaybe the feature can be disabled to try and reproduce the bug, but there's not much point now that it is the default (finally!)12:16
lissyxyeah12:16
lissyxexcept confirming it was the root cause and it's now not possible to hit that12:17
lissyxso according to dpkg.log, 2.55.3 installed on 2022-05-0612:17
lissyxis this may 6th or june 5th12:18
lissyxlooks to be may 6th12:19
seb128that version didn't have refresh awareness yet, it landed in .512:19
seb128but snapd autorefresh itself without needing to update the deb12:19
lissyxok12:19
lissyxI see a snapd mentionned in snap changes12:20
lissyxon june 0112:20
seb128right12:20
seb128that's more likely12:20
lissyxso it would be 2.55.512:20
seb128yes12:20
lissyxand now the 1000$ question12:20
lissyxdid it refreshed the firefox snap before the snapd snap?12:20
lissyxso when doing the firefox snap refresh, it would still run the non-fixed snapd12:21
seb128if it allowed it to refresh then it was either not the new snapd yet or a bug12:22
lissyxI'd assume "not the new snapd yet" because, alphabetic ordering?12:23
seb128I don't know if refreshes go to alphabetic order, but snaps changes should give timestamps?12:24
lissyxhow to get exact ones?12:24
lissyxah  --abs-time12:24
lissyxso snapd refreshed at 07:48:1012:25
lissyxand firefox refreshed at 07:48:3112:25
seb128I doubt snapd restarted itself in the middle of a transaction12:27
lissyxdo I need to restart snapd for "snap set core experimental.refresh-app-awareness=false" ?12:27
seb128so you probably had the old snapd active when the firefox refresh started12:27
seb128lissyx, I don't think so, I'm asking on our snapd channel though, I'm unsure if that flag is still working or the feature is non-experimental now and ignoring it12:28
lissyxah12:28
lissyxwell12:29
lissyxI can maybe revert to older snapd?12:29
seb128that's not going to be easy unless you didn't have a revision update since12:29
seb128$ snap list --all | grep snapd12:30
seb128if it lists 2.55.3 then you can snap revert snapd12:30
lissyx2.54.412:30
seb128lissyx, snapd people say you can use  --ignore-running 12:30
seb128to force a refresh12:30
lissyxok, let me try that12:30
lissyxand it would mean the flag is not used anymore I guess12:31
oSoMoNand launchpad is timing out again… :/12:59
oSoMoNlissyx, yes, I just saw your comment on the bug. It should be fixed with https://hg.mozilla.org/mozilla-central/rev/51947744ce12247f378a1db2379ffaad3fcd18c3, which landed 4 hours ago, so I'm guessing the next nightly should be good13:42
lissyxok13:43
lissyxI've cherry-picked your fix in the meantime13:43
lissyxoSoMoN, so unfortunately, it seems neither stable/beta has older builds available :/13:49
lissyxI cant find the launchpad url for edge channel :)13:50
lissyxhttps://launchpad.net/~mozilla-snaps/firefox/+snap/firefox-snap-edge this does not work13:50
oSoMoNlissyx, no, nightly builds are done differently, on github: https://github.com/canonical/firefox-snap/actions/workflows/nightly-build.yml13:51
lissyxah I might be more lucky there then13:52
lissyxand I dont see the artifacts13:53
lissyx(as much as I remember we had the same behavior on deepspeech, non collaborators to the repo dont have artifacts13:53
lissyxoSoMoN, do you think you could get me nightly snap from before revision 1437 which is the current nightly ?13:54
lissyxhaha snapcraft also limits to two CPUs13:58
lissyxoSoMoN, ok maybe it'll be faster for me to just rebuild snaps now :)13:58
oSoMoNlissyx, sure, I can get you older revisions on demand13:59
lissyx(I prefer if I can be more autonomous so I dont bother you constantly)14:01
lissyxlet's hope snap network improved, since I need to snapcraft clean to change memory/cpu14:01
oSoMoNlissyx, yes, I'd also like to make it easier for everyone to bisect. I'll start working on some tooling for this, I'll keep you posted14:02
lissyxoSoMoN, do you think it could be feasible to archive the builds somewhere?14:02
lissyxthen you could just patch mozregression to support snap?14:03
oSoMoNlissyx, I need to think about it, but yes, that'd be ideal14:03
lissyx(or even better in my fancy dreams, having a tc + mach task that builds the snap your way)14:03
diddledani@kenvandine I'ma ping you in all the places ;-) https://forum.snapcraft.io/t/qt-6-apps-are-problematic-flagging-risk-to-cmake-snap-being-pulled-in-the-future/3038214:16
lissyxok it's faster now14:20
lissyx64 cpus, 64 GB ram14:20
oSoMoN:)14:31
lissyxhow is the snap revision populated in the package?14:34
oSoMoNthe revision is assigned store-side, at upload time14:37
lissyxok14:40
lissyxmanually installed my snap14:40
lissyxI hope "snap refresh firefox" will pull from store after14:40
lissyxit's not :(14:42
lissyxoSoMoN, https://bugzilla.mozilla.org/show_bug.cgi?id=1772902 could it even be, once again, because of old snapd? revisions 1194 (which version of firefox is that?) and 1406 (101.0-2) could hint in that direction15:11
ubottuMozilla bug 1772902 in Core "[Snap] Firefox crashes when trying to download" [--, Unconfirmed]15:11
lissyxoSoMoN, what is the way to disable snap's sandbox?16:30
lissyxI tried uninstalling and reinstalling with --devmode16:30
lissyxhttps://bugzilla.mozilla.org/show_bug.cgi?id=177046216:30
ubottuMozilla bug 1770462 in Core "Firefox snap can't open html files outside of /home" [--, Unconfirmed]16:30
lissyxoSoMoN, ok, did another time it worked16:39
lissyxoSoMoN, sorry by advance for the spam of needinfo :(16:48
seb128lissyx, ideally those sort of usecases would be handled by having firefox go through portals to open the files when called with an argument probably?17:22
lissyxI know nothing about those, so I'm open to how to fix17:23
oSoMoNlissyx, about refreshing a manually installed snap, you'll need to specify the channel, and pass --amend, e.g. `snap refresh firefox --stable --amend`17:49

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!