/srv/irclogs.ubuntu.com/2023/06/23/#ubuntu-desktop.txt

=== pieq_ is now known as pieq
lissyxseb128, do i have a way to copy local source into the snapcraft build?08:01
lissyxseb128, to replace the "hg clone" step08:01
seb128lissyx, you put whatever commands you want in the pull step, so yes as long as what you want to copy is available in the snapcraft environment08:28
lissyx"is available in the snapcraft environment" is probably what I'm unable to understand the requirements for :)08:28
lissyxthe tl;dr is that i'd like to avoid "hg pull" since we have a local checkout of the sources un the docker08:29
seb128lissyx, I'm not a snapcraft expert but I would expect that if you use destructive-mode you should be able to copy anything available on the machine08:33
seb128but otherwise just include your local checkout in the srcdir that includes the snapcraft.yaml and use a relative reference?08:33
lissyx"local checkout in the srcdir" ?08:35
lissyxwe have a hg clone in /builds/worker/checkouts/gecko/08:35
lissyxso I'd git clone firefox-snap into /builds/worker/checkouts/ ?08:36
lissyxthis way relative to snapcraft.yaml it's gecko/ ?08:36
seb128I would expect so yes08:45
seb128well you need to clone the content of firefox-snap directly into checkouts/ and not as checkouts/firefox-snap08:46
seb128or otherwise your job could be; git clone ...; ln -s (if that works, otherwise cp -r); snapcraft08:47
seb128like clone firefox-snap and make the content available under firefox-snap/ by ln or cp before starting snapcraft08:47
lissyxseb128, a symlink would be enough?10:29
seb128lissyx, I don't know, I haven't tried but I would start by doing that see how it works10:37
lissyxperfect, let's hope I got this right this time10:50
lissyxseb128, the fix for ffmpeg should make it soon14:00
lissyxwtf https://github.com/canonical/firefox-snap/pull/13/files14:04
-ubottu:#ubuntu-desktop- Pull 13 in canonical/firefox-snap "Bug 1729750 - Support speech-dispatcher in Snap (core22)" [Open]14:04
lissyxseb128, and finally the main reason I was pushing for this, https://treeherder.mozilla.org/jobs?repo=try&revision=cf33cfb76116d82e7c29f8a3aff58c80c555aa0014:11
lissyxseb128, being able to have a try run with your packaging14:11
seb128thanks14:11
seb128lissyx, why wtf for that speech dispatcher mr?14:12
lissyxseb128, the patch was ... in a weird state14:12
lissyxi'm wondering if there has not been a force-push done to core2214:13
lissyxbecause my local checkout was showing the right changes14:13
lissyxanyway I repushed it so we are fine14:13
seb128ack14:16
lissyxseb128, finally green: https://treeherder.mozilla.org/jobs?repo=try&revision=cf33cfb76116d82e7c29f8a3aff58c80c555aa00&selectedTaskRun=CSsXZ5muTAW-Bkv3x_I6pQ.014:41
lissyxseb128, this is using the try tree and sourcing the pre-existing checkout made (efficiently) by our infra14:41
lissyxseb128, the tl;dr is that to test a change, one can just push to try and  collect the (opt or debug) snap directly14:41
seb128great14:46
bandalihey lissyx, seb128, i sadly haven't been able to get a passing armhf build with debug symbols. arm64 seems to be fine though16:54
bandalii think after some more experimenting i'll push a commit to enable it for arm6416:55
bandali(and just for reference i think the armhf failures might be due to shortage of memory, per a comment in snapcraft.yaml)16:55
=== sarnold_ is now known as sarnold
lissyxbandali, apply the patch to reduce rust debuginfo?19:59
bandalilissyx, already tried but still failed:23:50
bandalihttps://git.launchpad.net/~bandali/+git/firefox-snap/commit/?h=core22-preview&id=e9bf2bdbb8d044917c0efcc3ca8828078cd0f24d23:50
-ubottu:#ubuntu-desktop- Commit e9bf2bd in ~bandali/+git/firefox-snap "Apply mozilla-reduce-rust-debuginfo.patch on armhf as well core22-preview"23:50
bandaliwithout it, it would fail when building 'style': https://launchpadlibrarian.net/673429549/buildlog_snap_ubuntu_jammy_armhf_firefox-snap-core22-preview_BUILDING.txt.gz23:51
bandaliwith it, it progressed further, but still failed, when building 'gkrust': https://launchpadlibrarian.net/673615665/buildlog_snap_ubuntu_jammy_armhf_firefox-snap-core22-preview_BUILDING.txt.gz23:51

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