IRC logs for #buildstream for Monday, 2020-04-27

*** tristan has quit IRC05:51
*** tristan has joined #buildstream06:28
*** ChanServ sets mode: +o tristan06:29
gitlab-br-botjuergbi opened issue #1293 (Review `Sandbox.run()` API with regards to batching) on buildstream https://gitlab.com/BuildStream/buildstream/-/issues/129306:34
gitlab-br-botjuergbi opened issue #1294 (Review public `Directory` API) on buildstream https://gitlab.com/BuildStream/buildstream/-/issues/129406:58
juergbiany objections to merging !1878? it's a blocker for merging the ported bst-plugins-experimental plugins07:01
gitlab-br-botMR !1878: storage: Improve Directory API https://gitlab.com/BuildStream/buildstream/-/merge_requests/187807:01
*** benschubert has joined #buildstream07:24
*** seanborg has joined #buildstream07:48
*** jude has joined #buildstream07:56
*** seanborg has quit IRC07:59
*** seanborg has joined #buildstream07:59
*** seanborg_ has joined #buildstream08:06
*** seanborg has quit IRC08:06
*** seanborg_ has quit IRC08:21
tristanjuergbi, Overall it looks like general future proofing and minimal API improvements, I've made one comment, not sure what direction we want to go with using data types defined outside of BuildStream08:24
juergbitristan: good point. we could consider a custom, extensible data type instead. are you happy with me adding this to the list in #1294 and merging !1878 as is?08:26
*** seanborg has joined #buildstream08:26
tristanjuergbi, Sure :)08:26
juergbita08:26
*** phildawson has joined #buildstream08:33
*** lachlan has joined #buildstream08:38
*** santi has joined #buildstream08:41
*** phildawson_ has joined #buildstream08:45
*** phildawson has quit IRC08:46
*** rdale has joined #buildstream08:48
*** lachlan has quit IRC09:02
*** lachlan has joined #buildstream09:17
gitlab-br-botmarge-bot123 merged MR !1878 (juerg/vdirectory->master: storage: Improve Directory API) on buildstream https://gitlab.com/BuildStream/buildstream/-/merge_requests/187809:28
*** lachlan has quit IRC09:29
*** narispo has quit IRC09:30
gitlab-br-botjuergbi opened MR !1886 (juerg/1.93.2->master: Prepare 1.93.2 development snapshot) on buildstream https://gitlab.com/BuildStream/buildstream/-/merge_requests/188609:32
juergbitristan, benschubert: any objections to tagging 1.93.2 now (with !1886)? need this for bst-plugins-experimental09:34
benschubertjuergbi: None, it will bring a few patches I need :D09:35
traveltissues+109:36
tristanGo ahead yeah09:38
tristanWhat's the merge strategy when you make a plugin-breaking change ?09:39
tristanI.e. if I make a change which causes me to have to modify everything in bst-plugins-experimental, what steps do I take ?09:40
benschuberttristan: the way I did it in the past is force the change in bst-plugins-experimental, then update buildstream then fix bst-plugins-experimental09:40
tristanCreate a branch in bst-plugins-experimental, make my changes there, and have my buildstream MR depend on that branch (modifying tox.ini), and then do the plugin side, and then another update to buildstream master ?09:41
benschubertWe can also change so that09:41
benschubertI usually did the reverse09:41
benschubertlike create the branch in buildstream, and have the changes in the plugins09:41
tristanI see09:41
benschubertbut either are fine :)09:41
benschubertsince the plugins will get exploded in other repos, I prefered wreaking havoc there :)09:42
tristanI suppose if you don't force anything on either side, you will need to have a superfluous commit in order to use a tag in CI rather than a git sha09:42
*** lachlan has joined #buildstream09:42
benschubertcorrect09:43
tristanDo we have tests in BuildStream which mockup a pip package ?09:45
tristanFor testing `pip` origin stuff ?09:45
juergbitests/integration/pip_source.py09:47
juergbiah, no09:47
tristanWe appear to have tests/testutils/python_repo.py09:48
juergbiexamples/flatpak-autotools appears to be the only test of "origin: pip". it uses bst-plugins-experimental09:48
tristanwhich might be useful for that, I think it's not used for that case though09:48
tristanYeah09:48
tristanOk so I'll start with python_repo.py, I would like to have a test which spits out different versions of the pip package which provides some dummy plugins, and test version constraints with that09:49
*** lachlan has quit IRC10:04
*** phoenix has joined #buildstream10:05
*** phoenix has quit IRC10:14
*** lachlan has joined #buildstream10:25
*** narispo has joined #buildstream10:26
*** lachlan has quit IRC10:34
gitlab-br-botmarge-bot123 merged MR !1886 (juerg/1.93.2->master: Prepare 1.93.2 development snapshot) on buildstream https://gitlab.com/BuildStream/buildstream/-/merge_requests/188610:38
*** tristan has quit IRC10:45
traveltissuesthere doesn't seem to be a `BST_REQUIRED_VERSION_PATCH`, should there be one for api changes which are tagged as patch versions?11:01
*** lachlan has joined #buildstream11:04
*** lachlan has quit IRC11:13
juergbitraveltissues: well, we probably shouldn't do this outside of development snapshots11:20
juergbialso see https://gitlab.com/BuildStream/buildstream/-/merge_requests/188511:20
traveltissuesright11:21
gitlab-br-botjuergbi opened MR !1887 (juerg/vdirectory->master: Require virtual directory support for element plugins) on buildstream https://gitlab.com/BuildStream/buildstream/-/merge_requests/188711:35
*** lachlan has joined #buildstream11:45
*** lachlan has quit IRC11:51
*** lachlan has joined #buildstream11:56
*** lachlan has quit IRC12:02
juergbibenbrown: can you give the WSL runner a kick?12:06
devcurmudgeonwhat's the best way for a new user to provide feedback on experiences with docs etc?12:24
juergbidevcurmudgeon: for specific issues I'd say gitlab. for a larger discussion the mailing list. for a small discussion maybe simply here on IRC12:34
devcurmudgeonjuergbi: ok thanks :)12:36
*** phildawson_ has quit IRC12:37
*** phildawson has joined #buildstream12:53
*** lachlan has joined #buildstream13:10
benbrownjuergbi: I did give it a kick, it seems to be fetching from gitlab now. Give me another poke if it misbehaves again.13:17
*** paulsherwood has left #buildstream13:18
*** lachlan has quit IRC13:28
*** lachlan has joined #buildstream13:43
*** lachlan has quit IRC13:52
*** tristan has joined #buildstream13:54
devcurmudgeonis buildstream.build the live website for the project?14:14
devcurmudgeonand is the project logo the blue waterwheel?14:16
devcurmudgeonand has the beaver been deprecated?14:17
devcurmudgeonif the answer to all three is yes then i'd propose to remove the ##branding section from the community page14:18
abderrahim[m]devcurmudgeon: yes, yes and no14:19
abderrahim[m]the beaver is the project mascot14:19
devcurmudgeonabderrahim[m]: ack, in which case i'll just propose a fix for the text14:20
*** lachlan has joined #buildstream14:40
*** lachlan has quit IRC14:52
*** lachlan has joined #buildstream15:10
juergbibenbrown: I see jobs succeeding, thanks15:11
*** lachlan has quit IRC15:17
*** phildawson has quit IRC15:48
*** lachlan has joined #buildstream15:49
*** phildawson has joined #buildstream15:51
*** phildawson has quit IRC15:54
*** lachlan has quit IRC16:02
*** tpreston has joined #buildstream16:05
tprestonHi, I'm trying to build gnome-build-meta using bst in a container. The official docs suggest using bst-here, which uses docker but I've modified it slightly to use podman (because I'm running Fedora) https://paste.gnome.org/p1m0cesog16:15
tprestonI've installed bst-external and set off a build, but I get an error from bwrap https://paste.gnome.org/pbkzwms6t16:15
tprestonWhen trying to build sdk/at-spi2-core.bst16:16
*** lachlan has joined #buildstream16:16
tprestonI'm new to bst, how would I go about debugging this? As you can see, I can't drop into a shell and re-run the command with strcae16:17
tpreston*strace16:17
tprestonI think it might be something to do with bst-here expecting the `docker --privileged` to give bubblewrap root permissions?16:18
tprestonBut podman runs as user, so it can't do that - hence permission denied16:18
*** narispo has quit IRC16:21
*** narispo has joined #buildstream16:21
*** lachlan has quit IRC16:33
jjardontpreston: what version of buildstream are you using? gnome-build-meta only builds with latest stable (1.4.x)16:39
tpreston1.4.216:40
tprestonbst-here pulls the "latest" container I think https://gitlab.com/BuildStream/buildstream/-/blob/master/contrib/bst-here16:40
jjardontpreston: if that is not the issue, I'd try to use buildstream from the fedora repos; I have never used bst-here myself (I'm actually surprised the official docs recommend to use that)16:40
jjardontpreston: I can confirm you need a privileged container to run bst, not sure how that can be solved with podman16:41
jjardontpreston: do you mind open an issue about this?16:41
tprestonyeah no problem :)16:41
tprestonthanks16:41
*** lachlan has joined #buildstream16:47
abderrahim[m]tpreston: do you run podman with --privileged?16:52
*** lachlan has quit IRC16:53
abderrahim[m]I'd recommend toolbox if you're on fedora16:53
juergbibenschubert: I've opened a few MRs on bst-plugins-experimental to port the remaining plugins to the Directory API. If you use any of these plugins, can you please review/test the changes?17:00
benschubertlet me have a look17:01
juergbita17:01
benschubertmmh I use none of the ones that you updated x)17:01
benschubertcan still review but not sure I'll be super useful there17:02
juergbibenschubert: ok. and you also don't know anyone who does, e.g., the dpkg plugins?17:02
juergbivalentind: The oci MR is now up at https://gitlab.com/BuildStream/bst-plugins-experimental/-/merge_requests/98 You've already reviewed and tested this, so I assume you're happy for me to merge it or are you planning any further testing or reviewing?17:02
valentindjuergbi, All good17:03
juergbivalentind: Great, will merge. Can you please also take a look at https://gitlab.com/BuildStream/bst-plugins-experimental/-/merge_requests/96 if you haven't already?17:03
juergbi(flatpak_image)17:03
juergbiI've tested bst build of that as well with freedesktop-sdk, but haven't tested the result17:04
juergbiSame for collect_{integration,manifest}.py https://gitlab.com/BuildStream/bst-plugins-experimental/-/merge_requests/9717:04
juergbiAlthough these at least have some tests in CI, iirc17:04
*** lachlan has joined #buildstream17:07
tprestonabderrahim[m]: yeah I use --privileged - since I made the change to bst-here it uses the same args17:07
tprestonhttps://paste.gnome.org/p1m0cesog17:07
tprestonabderrahim[m]: I've actually been meaning to look into toolbox - since I use containers to isolate most of my dev. The problem is that it seems interactive like a chroot. Which I *don't* want. I like having the env explicitly specified17:08
tprestonUnless I've misunderstood what toolbox is17:08
abderrahim[m]tpreston: you can specify the image to use if that's what you mean17:09
abderrahim[m](although images may need to be modified)17:10
tprestonabderrahim[m]: can you modify the images locally? Like "FROM buildstream RUN dnf install my-dep"; toolbox run my-local-image17:11
* tpreston will read the docs... :p17:11
abderrahim[m]it should work17:11
abderrahim[m]yes17:11
valentindjuergbi, I think .split(os.path.sep) probably has the issue to create some empty strings. Does vdir.descend ignores empty names?17:12
valentindFor example a//b becomes 'a', '', 'b'17:12
juergbivalentind: yes, empty path segments are ignored17:13
juergbiI've also opened #1294 for potential API improvements17:13
gitlab-br-botIssue #1294: Review public `Directory` API https://gitlab.com/BuildStream/buildstream/-/issues/129417:13
valentindjuergbi, The patch looks fine.17:14
valentindIt is a simple plugin, so if that does not work, we will figure it out.17:14
juergbiwhich one do you mean? maybe best to comment directly on the MR(s)17:14
valentindSo I am not going to test it now. Let's merge it.17:14
tprestonabderrahim[m]: sorry, how do I use toolbox to specify custom images? ie. https://hub.docker.com/r/buildstream/buildstream ?17:24
abderrahim[m]tpreston: the --image flag to podman create17:25
tprestonabderrahim[m]: I don't understand how to use `toolbox create -i ${my_local_buildstream_image}`17:25
abderrahim[m]how is your image named17:26
abderrahim[m]Sam Thursfield: look for enable-developer-repository17:27
tprestongnome-build-meta$ podman images17:27
tprestonREPOSITORY                                      TAG      IMAGE ID       CREATED        SIZE17:27
tprestondocker.io/buildstream/buildstream               latest   cf26903c154a   13 hours ago   536 MB17:27
abderrahim[m]you should be able to use the full name17:27
abderrahim[m]look for utils/run-local-repo.sh or something17:28
abderrahim[m]although I prefer a real httpd (webfsd) as the python one can be unstable17:29
tprestonahh, this command hung before17:29
tprestontoolbox enter --container buildstream-latest17:29
tprestonSeems to be working after I created a normal fedora toolbox17:29
abderrahim[m]Sam Thursfield: utils/update-repo.sh runs a build+checkout and utils/run-local-repo.sh starts the webserver17:30
abderrahim[m]Sam Thursfield: there is this page https://gitlab.gnome.org/GNOME/gnome-build-meta/-/wikis/Bootable-images-in-virtual-machines17:31
abderrahim[m]Sam Thursfield: btw, there is #_gimpnet_#gnome-os:gnome.org17:32
tprestonabderrahim[m]: laptop is spinning up again, looks successful. jjardon: maybe instead of creating an issue, I can add to the docs about fedora toolbox?17:32
tprestonI can't remember why I didn't just use the distro provided one now17:33
jjardontpreston: that is even better, of course17:33
jjardon(providing a patch I mean) :)17:33
*** santi has quit IRC17:35
*** lachlan has quit IRC18:04
tprestonthanks abderrahim[m], I see an error running gtk3-demo, but I think that's unrelated to my container18:06
tpreston<dk/gtk+-3.bst:/buildstream/gnome/sdk/gtk+-3.bst]$ gtk3-demo18:06
tpreston(gtk3-demo:11): Pango-CRITICAL **: 17:38:24.967: pango_font_get_hb_font: assertion 'PANGO_IS_FONT (font)' failed18:06
tprestonSegmentation fault (core dumped)18:06
tprestonjjardon: I've updated the docs https://gitlab.com/BuildStream/website/-/merge_requests/13818:17
*** tpreston has quit IRC18:22
*** toscalix has joined #buildstream18:23
*** rdale has quit IRC18:33
*** mohan43u has quit IRC18:47
*** mohan43u has joined #buildstream18:50
*** jude has quit IRC19:29
*** benschubert has quit IRC19:32
*** toscalix has quit IRC19:46
gitlab-br-botcs-shadow approved MR !1887 (juerg/vdirectory->master: Require virtual directory support for element plugins) on buildstream https://gitlab.com/BuildStream/buildstream/-/merge_requests/188720:12
devcurmudgeonit seems very surprising that master insists on "min-version" set to "2.0", while its own version is 1.9.x21:00
devcurmudgeonand also surprising that master doesn't seem to handle 1.x bst files nicely in general...21:01
devcurmudgeonis there a conversion script?21:02
gitlab-br-botcs-shadow merged MR !1866 (willsalmon/more_as_str->master: Adding as_str too Mapping nodes) on buildstream https://gitlab.com/BuildStream/buildstream/-/merge_requests/186621:22
*** mohan43u has quit IRC21:36
*** seanborg has quit IRC23:37

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