IRC logs for #buildstream for Tuesday, 2022-08-02

*** tristan <tristan!tristan@110.11.238.152> has joined #buildstream05:17
*** ChanServ sets mode: +o tristan05:17
*** tristan <tristan!tristan@110.11.238.152> has quit IRC10:32
*** lantw44 <lantw44!Ting-Wei_L@linux2.csie.ntu.edu.tw> has quit IRC13:21
SamThursfield[m]I've been claiming that docker is the best way to run bst 2.x, but now I try it i realize its all broken !13:23
SamThursfield[m]> buildbox-run13:23
SamThursfield[m]Segmentation fault (core dumped)13:23
*** lantw44 <lantw44!Ting-Wei_L@linux2.csie.ntu.edu.tw> has joined #buildstream13:23
SamThursfield[m]i guess nobody will be surprised to hear that the crash is in the protobuf library somewhere13:32
* SamThursfield[m] tries to build buildbox-run-bubblewrap locally and hits compile failures13:35
SamThursfield[m]ah, it looks like the compile failure is from CMake picking up a wrong version of buildbox-common from somewhere...13:47
nanonymeInteresting. We build it with BuildStream successfully for freedesktop-sdk project13:47
nanonymehttps://gitlab.com/freedesktop-sdk/infrastructure/freedesktop-sdk-docker-images/-/blob/master/elements/buildbox-run-bubblewrap.bst13:48
SamThursfield[m]i have an old version installed into $HOME/.local. so cmake is building against that13:50
SamThursfield[m]it's not the fault of buildbox at all, this is a general rant that README.rst has the install instructions of "cmake .. && [sudo] make [install]", which pretty much nobody should do13:51
SamThursfield[m]seems that my past self chose to replace that with `cmake -DCMAKE_INSTALL_PREFIX=$HOME` and my present self chose `cmake -DCMAKE_INSTALL_PREFIX=/home/sam/buildstream/prefix`13:52
SamThursfield[m]result: confusion13:52
SamThursfield[m]ok - i have a local build which doesn't segfault. and, this one in the Docker image that does segfault.13:53
*** tristan <tristan!tristan@223.62.22.233> has joined #buildstream14:03
*** ChanServ sets mode: +o tristan14:03
*** tristan <tristan!tristan@223.62.22.233> has quit IRC15:42
WSalmonSamThursfield[m]: which docker image are you using? i use the freedesktop one mostly for pulling but the odd build iirc16:00

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