/srv/irclogs.ubuntu.com/2023/09/21/#ubuntu-desktop.txt

=== RAOF_ is now known as RAOF
lissyxbandali, I see glean-sdk failure but it does not look to be really problematic05:00
lissyxbandali, but the SIGABRT leading to 05:01
lissyx:: 15:43.99 terminate called after throwing an instance of 'std::bad_alloc'05:01
lissyx:: 15:43.99   what():  std::bad_alloc05:01
lissyx:: 15:44.38 error: could not compile `style`05:01
lissyxthis does sound like OOM condition05:01
lissyxbandali, btw current aarch64 works via our sysroot, I'm asking myself whether that's a good idea or not05:23
lissyx(I dont think it is)05:23
lissyxnteodosio, I need your opinion: when cross compiling shouldn't dependant snap be installed with the correct arch? right now I see gnome-42-2204-sdk with x86_64 libs ;(07:18
nteodosiolissyx, yeah I'd say so... Worth poking on the forum about the problem?07:20
nteodosioI don't think one can otherwise override that in snapcraft.yaml.07:21
lissyxI'd first love to find some issue / document about the ongoing work around cross-compilation07:21
lissyxI'm a bit skeptical about the current status now ..07:21
lissyx(and most of the cross-compilation thread on the forum ends up with mostly no activity)07:22
nteodosioI see. I myself have never tried it.07:22
seb128goood morning desktopers07:23
seb128nteodosio, hey, how are you doing?07:23
nteodosioGood morning, hey Seb! I'm doing fine, thanks, and you?07:24
lissyxhttps://forum.snapcraft.io/t/armhf-snap-on-arm64-system/27609/2 "mark the arm64 snap as compatible with armhf" :(07:24
nteodosiolissyx, is that article related to your issue?07:29
lissyxsomehow07:30
lissyxsince it suggests one cannot install arm64 snap on amd64 system07:30
nteodosioThat's probably https://forum.snapcraft.io/t/architectures?07:30
lissyxprobably07:31
lissyxbut even "snap download" does not allow to select arch ...07:32
lissyxI could use our sysroot of course, but given I want to add testing to avoid isues like the one we had with arm64 116 release, it's probably the kind of changes that would make us miss the issue07:34
seb128lissyx, ls07:49
seb128ups07:49
seb128lissyx, snap download takes a revision07:49
seb128builds on different architectures have different revision07:49
lissyxeven using the API: curl -H 'X-Ubuntu-Series: 16' "https://api.snapcraft.io/api/v1/snaps/details/gnome-42-2204-sdk?channel=stable"07:50
lissyxit returns amd64 arch on my arm64 system :)07:50
seb128so there isn't an arch argument but you can download e.F firefox 3137 which is the current arm64 build07:50
seb128$ snap download --revision=3137 firefox07:50
lissyxindeed07:51
lissyxAPI returns revision 185 for the gnome-sdk, but the download gets revision 18707:51
lissyxexcept it looks like the API does not allow me to search for that?07:51
seb128you can't download non published revision unless you are contributor to the snap07:52
lissyxit's a published revision07:52
seb128I don't understand your problem then07:52
lissyxthe problem is simple07:52
lissyxtrying to cross-compile with snapcraft, the gnome-sdk snap installed is x86-64 version and not aarch6407:53
ricotzgood morning desktopers07:53
seb128that part I understand, it's the download not working which I don't07:53
seb128ricotz, hey, how are you?07:53
ricotzseb128, hi, please upload https://people.ubuntu.com/~ricotz/thunderbird/07:53
seb128ricotz, ack07:54
ricotzseb128, this 115.2.3 build2 includes the 115.3.0 security fixes - https://hg.mozilla.org/releases/comm-esr11507:54
lissyxseb128, if I want to download manually, I need to get the revision, and the API does not allows me it looks07:54
seb128which did they do another build instead of rolling out 115.3.0?07:54
seb128lissyx, 07:55
seb128$ snap download --revision=185 gnome-42-2204-sdk07:55
seb128Récupération du paquet Snap "gnome-42-2204-sdk"07:55
seb128Récupération des assertions pour "gnome-42-2204-sdk"07:55
seb128Installer le paquet Snap avec :07:55
seb128   snap ack gnome-42-2204-sdk_185.assert07:55
lissyxyes07:55
seb128   snap install gnome-42-2204-sdk_185.snap07:55
ricotzseb128, I am good, thanks, hoping you are too!07:55
seb128that seems to download the revision specified?07:55
seb128ricotz, I am, thanks!07:55
lissyxseb128, but I need to find the revision07:55
lissyxand i dont know it for arm64 for example07:55
ricotzseb128, don't ask me, they done it like that for whatever reason :\07:55
seb128ricotz, ack07:55
ricotzseb128, of course bumping the thunderbird version to 115.3.0 would be more fitting07:55
ricotzbuilds are running at https://launchpad.net/~mozillateam/+archive/ubuntu/ppa/+packages?field.name_filter=thunderbird&field.status_filter=published&field.series_filter=07:57
seb128lissyx, $ curl -s -H 'Content-Type: application/json' -H 'Snap-Device-Series: 16' -H 'Snap-Device-Architecture: arm64' 'http://api.snapcraft.io/v2/snaps/info/gnome-42-2204-sdk'  | jq .07:57
seb128lissyx, seems to work for me?07:57
lissyxok so v1/snaps/details  does not07:57
lissyxand I was looking at v2/snaps docs but failed to see arch mentionned07:58
seb128k, I'm not familar enough with snaps to know about that07:58
seb128I mean I've that cmd in my historical notes and I know it works so copy paste when needed :p07:58
seb128I wish we had more active snap people around :/07:59
seb128it's hard to get replies or information on their channel or forum07:59
lissyx:)07:59
lissyxseb128, do you know if it's the right doc? https://dashboard.snapcraft.io/docs/reference/v2/en/snaps.html08:07
seb128lissyx, not sure, https://api.snapcraft.io/docs/info.html seems better?08:09
lissyxI can't get ?channel=stable to work on the endpoint you shared08:10
seb128lissyx, the documentation doesn't suggest it's a parameter? 08:42
lissyxnope08:42
seb128it seems you can only specify the arch and the information to include in the response08:42
lissyxI filter on JQ08:42
lissyx(it's mostly working)08:43
seb128I guess you just need to iterate over the result to pick 08:43
seb128ack08:43
seb128ricotz, uploaded (but blocked in the queue due to beta freeze), you can push to the vcs08:43
ricotzseb128, thanks and pushed08:45
seb128ricotz, thanks08:46
lissyxseb128, curl -s -H 'Content-Type: application/json' -H 'Snap-Device-Series: 16' 'http://api.snapcraft.io/v2/snaps/info/gnome-42-2204-sdk' | jq --arg arch arm64 -r '."channel-map" | . [] | select(.channel.name == "stable") | select (.channel.architecture == $arch)'09:09
lissyxnice hack, once I put unsquashfs into the loop.09:10
lissyxnasty but hey.09:10
seb128;-)09:14
nteodosioHideous!, but absolutely saving that for the future.09:15
lissyx:(10:18
lissyxpkg-config hardcodes current in its .pc files10:18
juliankfwiw, geoclue starts but connections just time out for me and I now force deleted my modem devices and stuff10:30
juliankafter disabling apparmor10:32
juliankit's all funny10:32
=== guiverc2 is now known as guiverc
lissyxmaybe prefix= should target actual revision in .pc files?10:52
seb128lissyx, what's the issue with the .pc using 'current'? Also the revision is a store concept so we don't have that information available at the time of the build11:45
lissyxseb128, well current is pointing to the x86-64 snap12:04
lissyxso you end up having the wrong definitions12:04
lissyxso I end up doing a bit of sed then12:07
lissyx(and we do need the x86-64 one for running e.g., pkg-config or gmake)12:07
lissyxexample of error:12:10
lissyx::  0:17.54 In file included from /root/parts/firefox/build/obj-aarch64-unknown-linux-gnu/dist/system_wrappers/dbus/dbus.h:3:12:10
lissyx::  0:17.54 /snap/gnome-42-2204-sdk/current/usr/include/dbus-1.0/dbus/dbus.h:29:10: fatal error: 'dbus/dbus-arch-deps.h' file not found12:10
lissyx::  0:17.54 #include <dbus/dbus-arch-deps.h>12:10
lissyx::  0:17.54          ^~~~~~~~~~~~~~~~~~~~~~~12:10
lissyxnice12:34
lissyxa new sdk was published12:34
lissyxmy build took it :p12:35
seb128:)12:35
lissyxok it's not super super perfect12:36
lissyxbut.12:36
lissyxI should be out of the woods for aarch64 now and thus armhf as well12:36
lissyxseb128, bandali, and this WIP: https://treeherder.mozilla.org/logviewer?job_id=429918524&repo=try&lineNumber=291-29212:37
lissyxtaskcluster-built snap (like we do since a few weeks now) *12:37
lissyxbut then, installing, running and testing about:support12:37
KGB-0gdm tags 587679b Simon McVittie upstream/45.0.1 * Upstream version 45.0.1 * https://deb.li/3UYHy12:41
KGB-0gdm upstream/latest 28362e8 Simon McVittie * pushed 10 commits (first 5 follow) * https://deb.li/3SJil12:41
KGB-0gdm upstream/latest 903b68f Gwan-gyeong Mun po/ko.po * Update Korean translation * https://deb.li/3JrM12:41
KGB-0gdm upstream/latest 429d732 Bruce Cowan po/en_GB.po * Update British English translation * https://deb.li/3Ou0j12:41
KGB-0gdm upstream/latest 8f5ce2b Anders Jonsson po/sv.po * Update Swedish translation * https://deb.li/z8e412:42
KGB-0gdm upstream/latest d20ca3f Ray Strode daemon/gdm-session.c * session: Unexport worker interface if session is disposed early * https://deb.li/38x2D12:42
KGB-0gdm upstream/latest ee157cd Ray Strode daemon/gdm-session.c * Merge branch 'fix-early-session-disposal' into 'main' * https://deb.li/HxIg12:42
=== ahasenack_ is now known as ahasenack
lissyxseb128, do we expect that e.g. libasound2-dev is provided by the host and not by a snap ?13:37
seb128lissyx, nothing is provided by the host in snaps13:52
seb128at least not in confined snaps13:52
seb128libasound is part of the sdk though13:52
lissyxis it?13:52
seb128I mean the runtime sorry13:53
lissyxok but there's not the header/pkg-config13:53
seb128there should13:53
lissyxuser@user-rpi4:~/tmp$ find squashfs-root/ |grep "alsa\.pc"13:54
lissyxuser@user-rpi4:~/tmp$13:54
lissyxseb128, I've failed to find some doc regarding the expected status of cross-compilation13:56
lissyxespecially to know if some of the issues I hit should be filed as bugs or not13:56
lissyx(and missing "alsa.pc" would be one imho)13:56
seb128lissyx, I would post about it on forum.snapcraft.io13:56
seb128so at least I can nag people from Canonical to go and give a reply13:56
seb128IRC is harder to tz difference, no persistent backlog, etc13:57
seb128I've asked Ken about the alsa.pc13:57
lissyxyeah but posting in the blue while not knowing what I should expect to be working is not the best solution13:57
lissyxI'd prefer posting on the forum when I know more instead of nagging people that would end up as "yeah well it's not supported [...]"13:57
seb128well I think the forum is an ok place to ask those questions and try to figure out the status of things13:57
seb128if you get a reply saying it's not supported at least the next person who wonders the same thing can find a reply13:58
lissyxof course13:58
lissyxfor what it is worth, mozilla's sysroot includes libasound and its pkg-config, so I would suspect a bug14:01
lissyx(I need to go and I wont be back online tonight)14:28
KGB-2gnome-shell signed tags 86139db Jeremy Bicha ubuntu/44.3-0ubuntu2 * gnome-shell Debian release 44.3-0ubuntu2 * https://deb.li/Addj17:47
KGB-0gnome-shell signed tags 1f59516 Jeremy Bicha ubuntu/44.3-0ubuntu1.1 * gnome-shell Debian release 44.3-0ubuntu1.1 * https://deb.li/30TgR17:50
KGB-0gnome-shell ubuntu/lunar 59012e9 Jeremy Bícha debian/changelog * releasing package gnome-shell version 44.3-0ubuntu1.1 * https://deb.li/dTFx17:50

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