IRC logs for #buildstream for Monday, 2017-06-19

*** tristan has quit IRC05:35
*** tristan has joined #buildstream05:52
*** ChanServ sets mode: +o tristan05:52
*** jonathanmaw has joined #buildstream08:22
*** ssam2 has joined #buildstream08:52
*** tlater has joined #buildstream09:02
gitlab-br-botpush on buildstream@master (by Tristan Van Berkom): 2 commits (last: _yaml.py: Strengthen node_get() to handle TypeError in type conversions.) https://gitlab.com/BuildStream/buildstream/commit/2c79d0aa52e582a6553a2230407d1fde9f11ae4d09:04
jonathanmawhmm, looking at what debian builds give me, artifact splitting would best be served by generating the list of files to add by listing the files inside the per-package subdir09:21
jonathanmawwhich means calculating them after the build09:21
jonathanmawwhich is pretty unfortunate, given that's usually included in the cache key09:26
jonathanmawthe alternative would be to install the packages within their subdir (i.e. /bsdgames/usr/bin), but that's not a usable artifact09:27
*** persia has joined #buildstream10:27
*** tristan has quit IRC12:06
*** jonathanmaw has quit IRC12:24
*** jonathanmaw has joined #buildstream12:42
*** tristan has joined #buildstream12:47
*** ChanServ sets mode: +o tristan12:48
tlaterHow could I modify the dependencies returned by _pipeline.dependencies()? I currently have a function which removes dependencies from a list after that function, but that doesn't show up in app.print_heading()14:14
tristantlater, better to also do it for `bst show` btw14:17
tristantlater, so print_heading() takes a list of dependencies (elements)14:18
tristanthat is what will be printed14:18
tlaterThat list is usually taken from deps_elements, which in turn takes dependencies from _pipeline.dependencies()14:19
tlaterI could modify the dependencies returned by that after it's done, but I feel like this should stay in pipeline.14:21
tristantlater, yeah I see what you mean... it's a bit icky14:23
tristantlater, I guess the best is the move the main.c app.deps_elements() logic to _pipeline() too14:24
tristanideally14:24
tristanmain.py14:24
tristanheh14:24
tlaterYeah, that could work14:25
tlaterJust basically move that function to _pipeline.py?14:25
jonathanmawtristan: I think your changes to sandboxing might have broken bst checkout. It seems to be creating a complete rootfs, instead of just extracting the target.14:35
tlaterOh. Well that explains why that keeps happening.14:37
jonathanmawtristan: hmm, I'll have to confirm that, checking out the base-system-image didn't seem to have everything in it, might have to check some stuff first.14:57
tristanjonathanmaw, I did that intentionally after the sandboxing changes14:59
tristanas a separate patch, does it break anything ?14:59
tristanjonathanmaw, my rationale was, originally it only "checks out an artifact", which was interesting for things like, checking out a built system image15:00
jonathanmawtristan: I was using `bst checkout` to check what the artifact contained15:00
tristanjonathanmaw, but as it can also be useful for say, checking out a gnu-toolchain and having something to chroot into...15:00
tristanmy rationale was that staging and integrating Scope.RUN had the same effect anyway for a system image15:00
tristanI see15:00
tristanjonathanmaw, I suppose we could add the synonymous --deps (and --except args we're adding to other commands), to get that done too, but then integrating would have to be optional too15:01
tristanok coffee shop closing time... I'm out !15:02
*** tristan has quit IRC15:05
ssam2i agree about `bst checkout`, at least there's a use case for seeing what files an artifact contains15:14
*** tristan has joined #buildstream15:14
tlaterI've been using the sandbox as a semi-temporary directory for the source-bundle command as well.15:15
tristanssam2, nod, agree15:18
tristanjonathanmaw, ok so in that case... while I'm away... you could either do that, or wait until tlater submits that MR he was talking about with the --except stuff as it will probably avoid a conflict15:19
tristanit should be a piece of cake to implement anyway15:19
tlaterI'm merging after I run the tests one last time15:19
jonathanmawtristan: it's fine, I just wasn't sure what was going on.15:19
tristanbut in the meantime you can always look at the ostree repo or extract directories :)15:20
tristanan invocation to `bst shell --scope run <target>` will provoke an extract directory to exist15:20
ssam2i seem to have cross compiled a powerpc64le sysroot with buildstream :-)15:21
* tristan heads out for a midnight gym15:21
tristanssam2, nice ! \o/15:21
tristanbetter try chrooting it on a powerpc64le system :)15:21
ssam2yep15:22
ssam2i think we have one!15:22
ssam2need to disable integration commands for cross built stuff though so `bst checkout` stops trying to execute the powerpc64le `ldconfig` :-)15:22
tristanahhh interesting, indeed15:23
tristanfor bst checkout15:23
tristanssam2, another reason why integration must be optional at checkout time !15:23
tristanssam2, in the context of the build of gnu-toolchain though, I think we dont have to care; i.e. the ldconfig we run must be the one of the host runnable cross toolchain15:24
ssam2i think it's actually the shell that's causing issues15:24
tristanI guess in terms of building, the gnu-toolchain.bst stack element should provide the ldconfig integration command right there15:25
tristanso building gnu-toolchain.bst will never execute it15:25
tristanonly running it will15:25
tlaterMy merge request is up15:27
*** jonathanmaw has quit IRC16:19
ssam2urgh, the powerpc64le sysroot contains /lib64/ld-linux-x86-64.so.216:19
ssam2and no other ld.so16:20
ssam2this most probably explains why the compiler produces binaries that don't work16:20
ssam2ah, just another place where I need to s/%{bst-arch}/%{bst-target-arch}/16:21
*** tlater has quit IRC16:54
*** ssam2 has quit IRC16:59
*** ssam2 has joined #buildstream17:01
*** ChanServ sets mode: +o tristan17:42
*** ssam2 has quit IRC18:08
*** tristan has quit IRC18:12
*** albfan[m] has quit IRC18:12
*** waltervargas[m] has quit IRC18:12
*** mattiasb has quit IRC18:12
*** tristan has joined #buildstream18:24
*** albfan[m] has joined #buildstream19:07
*** mattiasb has joined #buildstream19:10
gitlab-br-botbuildstream: merge request (except->master: Add a --except flag to show, fetch and track) #26 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/2619:31
*** waltervargas[m] has joined #buildstream20:33
*** tristan has quit IRC21:01

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!