/srv/irclogs.ubuntu.com/2015/12/10/#ubuntu-unity.txt

* josharenson is all ears00:15
josharensonack00:19
=== nudtrobert1 is now known as nudtrobert
Saviqmoin09:01
Saviqtsdgeos, linker Q... given libraries A and B, B referencing a symbol in A, would you expect an "undefined reference to..." error to depend on what flags you build *B* with?09:03
tsdgeosSaviq: yep09:03
tsdgeosnot all linking makes the linker complain about missing symbols09:04
tsdgeossometimes it goes for "ok maybe we get that later"09:04
tsdgeosi think09:04
Saviqtsdgeos, case in point: Josh's greeter links to liblightdm-qt5-3, builds fine everywhere, except on xenial when CMAKE_BUILD_TYPE=Rel*09:05
Saviqwhen it fails to find QLightDM::SessionsModel::roleNames(), which, btw, is not implemented in there, but SessionsModel inherits QAbstractItemModel09:05
Saviqso that's what it relies on elsewhere09:06
tsdgeosweird09:06
Saviqseparate point is that it uses deprecated setRoleNames09:06
tsdgeosare we sure that's not a dirty builddir or something?09:06
Saviqyes09:06
Saviqtsdgeos, https://code.launchpad.net/~josharenson/unity8/sessions-model/+merge/278081/comments/707133 is where the failure first happened, then I managed to track it down to build type09:07
Saviqit fails in all builds on xenial there with "undefined reference to `QLightDM::SessionsModel::roleNames() const'"09:08
Saviqbut builds fine on vivid, and when CMAKE_BUILD_TYPE=Debug09:08
tsdgeosmaybe lightdm-qt is actually broken in xenial?09:08
tsdgeosis that the lightdm we build or the real thing?09:08
Saviqthe real thing, built from lp:lightdm09:09
Saviqtsdgeos, fwiw readelf shows the QAbstractItemModel::roleNames symbol09:09
Saviqwhich ~makes sense since that's where it needs to come from, as QLightDM::SessionsModel does not implement it at all09:10
Saviqso yeah, well, a separate question altogether is whether it works or not (and that it should be updated to non-deprecated roleNames())09:11
Saviqbut that seems to be a behaviour change at least between gcc 4.9 and 5.0 or something09:12
Saviqand I'm not totally sure which one's wrong :)09:12
tsdgeosthat's weird yeah09:12
SaviqFWIW readelf on vivid shows the same symbols09:13
tsdgeosso this is only the session-chooser branch?09:14
Saviqsessions-model, yes, there's new code where Josh actually makes use of more of the QLightDM implementation09:14
* Saviq makes a minimal example and files a bug against gcc09:15
tsdgeosSaviq: about setRoleNames it works fine from what i can see in the code09:15
tsdgeoshmm, but i had built the session-chooser branch09:17
tsdgeosi guess because i did a dewbug build?09:17
* tsdgeos checks09:18
Saviqtsdgeos, yeah the default build is debug, try with ./build.sh Release09:19
tsdgeosSaviq: yeah can confirm, it's really weird, can't figure it out either what could be wrong09:45
Saviqtsdgeos, ok /me filing a toolchain bug09:46
tsdgeosyeah we'd need someone with more knowledge to have a look really09:46
Saviqgreyback, what do you say we undo that one change in Daniel's branch for now, it wasn't necessary for fillMode to work was it?10:01
Saviqgreyback, or at least modify it to put out the warning but still behave as before10:01
Saviqtsdgeos, the plot thickens, http://pastebin.ubuntu.com/13889040/ builds fine regardless10:03
tsdgeosSaviq: interesting10:04
greybackSaviq: modification would be possible, just lines 278-296 of the diff actually implement the feature10:04
greybackI've still not figured out root cause10:05
Saviqtsdgeos, d'oh!10:29
tsdgeosSaviq: what's wrong?10:30
Saviqtsdgeos, most likely something along the lines of http://paste.ubuntu.com/13889709/10:32
tsdgeosso the mocks are breaking stuff10:32
tsdgeosmight be10:32
Saviqconfirming now10:33
Saviqtsdgeos, yeah, that + a missing CMAKE_CURRENT_BINARY_DIR for the .moc, makes it build10:37
Saviqsessionbackend test fails, but that's an issue I'll leave to Josh10:38
tsdgeosSaviq: it's weird that only happens on release though :S10:38
Saviqtsdgeos, we do enable -Werror on release, but not in debug - while weird, it might make the difference (will confirm)10:40
Saviqgreyback_, so wdyt, unblock silo 22 by going back to original behaviour of ignoring hasBuffer() for now?10:47
greyback_Saviq: it's what I'm testing now10:47
Saviqgreyback_, ah koolz, tx10:47
* Saviq looks sideways at all the branches will have to rebase10:47
Saviqtsdgeos, so yeah, only difference in the g++ command seems to be -O2 -DNDEBUG, I say the mocks get the symbol optimized away11:16
tsdgeosprobably11:17
Saviqso it works in debug, even if linking against the wrong .so, but not in release11:18
Saviqand it "works", by chance, simply11:19
Saviqand in vivid it might not have been optimized away because with gcc 4.9 but is in xenial with 5.011:20
* Saviq happy it's not a toolchain issue, and that he's not completely dumb11:21
* Saviq deserves food11:22
mzanettiwheee! I'm back11:53
=== pat_ is now known as Guest15515
=== they_eye4 is now known as they_sad4
Saviq@unity, dednick: standup15:31
mterryltinkl, btw I rebuilt the oobe silo this morning15:31
ltinklmterry, great thx15:31
mzanettiSaviq, there is an "Echo" option in mumble15:41
mzanettiit was set to "Mixed". I've set it to "Disabled" now. let's see how that goes :D15:41
mzanettiecho -> disabled15:41
mzanettimakes total sense15:41
Saviqmzanetti, and that's not echo cancellation?15:48
mzanettiit probably is15:48
mzanettibut setting it to anything else than "disabled" doesn't seem to help either15:49
mzanettiso...15:49
Saviqmzanetti, I think you were talking with Daniel about app resizing, the only artifact I can see now is that when resizing vertically, stuff jumps up/down, as if it was anchored to bottom left corner instead of top left?15:50
mzanettihmm15:50
Saviqok so maybe I'm wrong and you didn't talk about this, will have a chat when he's back15:51
mzanettinot this...15:51
mzanettiSaviq, but it's been ages since I tested/reviewed this stuff15:52
mzanettiiirc I did test that15:52
mzanettimight be a bad merge after the review15:52
Saviqmzanetti, so you mean you didn't see that behaviour?16:03
Saviqmzanetti, can you still check in silo 22?16:03
SaviqI won't block on that anyway as it's a big improvement, but we'll need to follow up16:04
Saviqso anyway, no need for you to test really16:04
Saviqmzanetti, ↑16:04
tsdgeosMirv: any idea why the ubuntu-ui-toolkit package didn't migrate to main from proposed yet?16:20
mzanettiSaviq, ack (had to reboot)16:21
Saviqtsdgeos, DON'T!...16:21
Mirvtsdgeos: see any other channel like #ubuntu-devel. britney did interesting trade of keeping it in proposed due to s390x build issues. working on it.16:21
Saviqtsdgeos, britney is software, fwiw ;)16:21
tsdgeosok16:22
Saviqtsdgeos, it's Qt 5.5, new poppler *and* new architecture all at the same time :)16:22
mzanettiSaviq, so you mean the content of the surface being jittery?16:45
Saviqmzanetti, yes, but more that its top-left corner isn't stab;le16:45
mzanettiSaviq, still content? or windeco itself?16:46
Saviqmzanetti, still content, say "System settings" in settings app16:47
mzanettiSaviq, ack, confirmed. will follow up on it16:55
MirvSaviq: and new apt...17:29
Mirvwhich uncovered regressions in aptdaemon/python-apt/...17:29
Mirvall in a nice big bundle17:29

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