*** nanonyme has quit IRC | 03:03 | |
*** dftxbs3e has joined #buildstream | 03:07 | |
*** nanonyme has joined #buildstream | 03:12 | |
*** nanonyme has quit IRC | 03:22 | |
*** nanonyme has joined #buildstream | 03:29 | |
*** tristan has joined #buildstream | 05:34 | |
*** ChanServ sets mode: +o tristan | 05:34 | |
*** tristan has quit IRC | 06:53 | |
*** lantw44 has quit IRC | 07:14 | |
*** lantw44 has joined #buildstream | 07:16 | |
tomaz | juergbi, valentind: here is the result of the issue I'm having with QtX11Extras, I tried to make as small as possible: https://pastebin.com/6GSmsGue | 07:45 |
---|---|---|
tomaz | building the folder locally produces the libraries that I want, using bst build, that creates a empty folder for the artifact. | 07:46 |
tomaz | this is a working qt5 element: https://gitlab.com/tcanabrava/kde-build-meta/-/blob/master/elements/qt5/qtwayland.bst | 07:46 |
tomaz | this is the one that's not working: https://gitlab.com/tcanabrava/kde-build-meta/-/blob/master/elements/qt5/qtx11extras.bst | 07:46 |
juergbi | tomaz: can you also upload the build log from the (not working) buildstream job? | 07:47 |
tomaz | yes. | 07:47 |
tomaz | https://termbin.com/112b6 | 07:48 |
tomaz | I don't see errors there, but maybe something internal that I"m not used to. | 07:48 |
tomaz | and `bst checkout qt5wayland.bst --deps=none` successfully retrieves the correct artifacts. | 07:50 |
benschubert | In your build log the 'build' action took 0 seconds? That might be a clue. Could you open a shell and try running the same commands in sequence to see what happens? | 08:00 |
benschubert | it says both times "nothing to do for 'first'" then 'nothing to do for 'install'" | 08:01 |
tomaz | benschubert: when I open a shell for that element, the folder that opens has zero files. | 08:10 |
benschubert | tomaz: `shell -b` sorry (build shell) | 08:10 |
tomaz | ah, thanks. | 08:11 |
tomaz | hm... | 08:20 |
tomaz | benschubert: any way I can *nuke* the buildshell and start from scratch? | 08:21 |
benschubert | tomaz: getting out of it and in again is probably the easiest to have a clean state | 08:22 |
tomaz | so nothing I do there is saved, ok. | 08:23 |
benschubert | correct, should have mantionned that before :/ | 08:24 |
tomaz | ok, just to be sure that I *really* have a problem with that element, I downgraded from qtwayland 5.15.1 to 5.15.0, and I have the same error: a successfull compilation where nothing is build. | 08:27 |
tomaz | the log is the same. | 08:27 |
tomaz | strange thing is qmake runs, and a make is issued, locally (on my local machine), that produces the libraries I want. | 08:28 |
tomaz | on the build shell the source is... hm, weird? if I generate a makefile using qmake on a specific folder, things are build, but not with the root qmake file. | 08:28 |
coldtom | one thing that has caused stuff like this for me in the past is buildsystems not respecting INSTALL_ROOT/DESTDIR for `make install` | 08:30 |
tomaz | just for comparisson: a manual run of the buildtools & make, on the bst build shell for that element: https://pastebin.com/fTR6XcFn | 08:32 |
tomaz | and here, the same files freshly extracted from the tarball, but running locally, same commands, different outputs: https://pastebin.com/hWnrBu1i | 08:33 |
tomaz | and also making sure that qtwayland works without issues with the same commands, ugh. | 08:42 |
*** santi has joined #buildstream | 08:46 | |
tomaz | ok, I got something, but I don`t know how to solve this on buildstream. from the build shell if I run `mkdir build; cd build; qmake ..` things does not work. | 08:49 |
tomaz | if I run `qmake` in the root folder, things does not work either. | 08:49 |
tomaz | but if I go two levels up (cd src/x11extras), run qmake there, and make, things work and I get a compiled output | 08:49 |
tomaz | aparently - for some reason - out of source build does not work *within* buildstream, but works for me on my local machine | 08:50 |
tomaz | hmmmm. *maybe* I found something. | 08:52 |
tomaz | qtConfig(xcb) { | 08:53 |
tomaz | SUBDIRS += x11extras | 08:53 |
tomaz | } | 08:53 |
tomaz | makes sense. now I need to force qt to be build with xcb. | 08:53 |
juergbi | ah, yes, makes sense. although I would have expected a message from qmake about a missing dependency | 08:57 |
juergbi | I guess it's still more tailored towards a monolithic build | 08:58 |
tomaz | it's not a missing dependency when it's a optional dep on buildtime =[ | 08:59 |
tomaz | what I missed is a way for qmake to be verbose. | 08:59 |
tomaz | I'm rebuilding qt with -xcb | 08:59 |
tomaz | thankfully qt 6 is being ported to cmake instead of qmake | 09:00 |
*** tristan has joined #buildstream | 09:05 | |
*** ChanServ sets mode: +o tristan | 09:05 | |
juergbi | tomaz: for qtx11extras it's not really optional, though. it's just optional when looking at qt as a whole. so the behavior makes sense when building qt in a monolithic way but not for the x11extras module on its own, imo | 09:07 |
juergbi | good to hear that they're moving away from qmake | 09:07 |
tomaz | juergbi: yeah, I agree with you. | 09:10 |
tomaz | they invested in qmake for too long, and it was hard to admit it was a broken tool. | 09:14 |
*** tristan has quit IRC | 09:22 | |
*** tristan has joined #buildstream | 09:22 | |
*** ChanServ sets mode: +o tristan | 09:22 | |
*** tristan has quit IRC | 09:23 | |
tomaz | juergbi: compilling qt with -xcb (and adding the proper dependencies) fixed. | 09:40 |
tomaz | thanks, I was quite crazy here. :) | 09:40 |
juergbi | :) | 09:41 |
tomaz | now I just need to rebuild every qt library besidex x11extras :P | 09:42 |
tomaz | and now... boost. | 11:35 |
tomaz | any plans for a "vscode plugin" that can introspect and auto-complete things like `components: blah/<autocomplete-here>` or `variables: <autocomplete>` | 11:49 |
*** tpreston has joined #buildstream | 13:04 | |
tpreston | is buildstream-external (installed with pip) compatible with both bst 1.4 and bst master (1.93.5.dev0)? | 13:05 |
tpreston | I see this error: project.conf [line 15 column 4]: Pip package buildstream-external does not contain a plugin named 'git_tag' | 13:05 |
coldtom | tpreston, nope, you'll need bst-plugins-experimental for master | 13:08 |
tpreston | ok that seems to work, now I get. freedesktop-sdk.bst [line 6 column 14]: Unexpected key: track_tags | 13:11 |
tpreston | Will crack on with that another time though, working on this outside of work | 13:11 |
tpreston | thanks coldtom | 13:11 |
gitlab-br-bot | marge-bot123 merged MR !2077 (juerg/push->master: Pull missing artifacts in `bst artifact push`) on buildstream https://gitlab.com/BuildStream/buildstream/-/merge_requests/2077 | 15:08 |
*** douglaswinship has quit IRC | 17:39 | |
*** douglaswinship has joined #buildstream | 17:39 | |
*** robjh has quit IRC | 17:48 | |
*** robjh has joined #buildstream | 17:48 | |
*** santi has quit IRC | 17:49 | |
*** douglaswinship has quit IRC | 17:53 | |
*** douglaswinship has joined #buildstream | 19:30 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!