/srv/irclogs.ubuntu.com/2021/07/07/#ubuntu-devel.txt

cjwatsonI guess it actually wants to be https://paste.ubuntu.com/p/Y7ryfJPtKx/ to handle upgrades from systems that already had the wlroots package installed00:00
soreaucjwatson: wow, that is confusing00:02
cjwatsonI have to take the puppy outside and then go to bed, but I'm sure any other Ubuntu developer should be able to explain points of confusion if needed00:04
cjwatsonGood luck00:04
soreauand where did the number '10' come from in 'libwlroots10'? Seems quite arbitrary00:04
cjwatsonIt's the number from your library's SONAME00:04
soreauhuh, I thought it should be 15 then00:04
cjwatson-rw-r--r-- root/root    751368 2021-07-07 00:50 ./usr/lib/x86_64-linux-gnu/libwlroots.so.1000:04
soreauoh ok00:04
cjwatsonSONAME is *not* the same as the package version number00:04
soreauwell it sure should be00:04
soreaulol00:04
cjwatsonThere is a rant in the libtool documentation about why it shouldn't :)00:05
sarnoldlol00:05
soreauheh00:05
cjwatsonSeems to be set in "soversion = 10" in meson.build (though I don't really speak meson very well)00:05
cjwatsonBut basically, the idea is that a SONAME bump is a compatibility break00:07
soreauthat's the same for the project major version00:08
cjwatsonApparently not here!00:08
soreauthere*00:08
cjwatsonCertainly some upstream library maintainers arrange things so that their major versions match their SONAME00:09
cjwatsonBut it's not universal, and the thing that the system's dynamic linker pays attention to is the SONAME in ELF object metadata, not the major version00:09
cjwatson(objdump -p on any .so file shows it among its output)00:10
=== genii is now known as genii-core
RAOFsoreau: One wrinkle here is that source compatibility and binary compatibility are not the same. Generally for libraries you expect the major version to bump when the API changes - that is, when your existing source won't compile against the new library.02:54
RAOFBut there are tons of things you can do that break binary compatibility without breaking source compatibility (and visa versa).02:54
soreauRAOF: are you talking ABI vs API?02:56
RAOFsoreau: Mainly? There are subtleties, but ABI vs API is a reasonable simplification.03:28
soreauRAOF: well thanks, but ultimately I'm just strugling with the package depends. I can understand build depends but for depends, do you have to list every dependent (non-dev) package?03:36
RAOFSo, there's a bunch of packaging infrastructure that should automatically populate the Depends: field (or, more correctly, populate the ${shlibs:Depends} variable) with all the DSOs anything in the package directly link to.03:38
RAOFSo mostly you should only need to explicitly list things which aren't linked to, but are required - usually that's any external binaries that get called, or data that is required.03:39
RAOF(`dh_shlibdeps` is the relevant bit of packaging infrastructure)03:40
RAOFAlso, that's assuming things using dynamic linker; for things like python programs you need to list (python) library dependencies explicitly, as there's no general way to automatically determine the list of python libraries required.03:43
RAOFThere's no automated tooling for populating the Depends: field of a -dev package, but I guess there could be?03:46
RAOFLike, it'd not terribly hard to write a `dh_pkgconfigdeps` that looked at all the .pc files shipped in the package and added the packages that provided those pc files to a variable like `${pkgconfig:Depends}`.03:47
RAOFBut that infrastructure doesn't currently exist.03:47
soreauRAOF: ok thanks for that04:15
=== cpaelzer_ is now known as cpaelzer
rbasaktjaalton: missing SRU information in bug 1931547? In particular there's not test plan.10:54
ubottuBug 1931547 in xorg-server (Ubuntu Impish) "DisplayLink displays are black after Mesa update" [High, Triaged] https://launchpad.net/bugs/193154710:54
rbasakAre you planning to test the evdi and udl cases separately?10:55
tjaaltonrbasak: ah right10:55
tjaaltonthe reporter has displaylink, not evdi10:57
rbasaktjaalton: I'm just looking at the code changes!11:00
tjaaltonudl is older displaylink, evdi is newer11:01
tjaaltonnow that I checked11:01
tjaaltonI'm not planning to test that11:01
tjaaltonsince I don't have the hw11:01
xnoxsil2100:  i still don't see adt results for https://bileto.ubuntu.com/#/ticket/4594 =(11:02
xnoxit should be xenial. if not, i guess i'll have to run them myself somehow.11:02
tjaaltonrbasak: sru info added11:26
rbasaktjaalton: thanks. How do you normally handle testing SRU changes for hardware you don't have available? Land the change anyway and hope for the best?11:32
tjaaltonrbasak: the reporter has it11:32
rbasakOnly for one of the two variants being changed though?11:33
tjaaltonand how would the other break?11:33
tjaaltonthe evidence is strong enough that doing it is right for both11:33
rbasakI don't know the specifics. Usually when we talk about regression risk, we identify areas that could break, with no requirement at review time to demonstrate definitively that they will.11:34
rbasakInstead we usually demostrate at SRU verification time that they haven't regressed.11:35
rbasaktjaalton: the evidence is strong enough that doing it is right for both> could you at least document that judgement call in the bug then please?11:37
tjaaltonhw issues are special since it requires the hw. and in this case the difference is just the identifier string11:37
tjaaltonokay11:37
rbasakafk for lunch now, but I can come back to this later. With that decision documented it sounds OK to me.11:42
slyonhmm.. which packages provides /etc/nsswitch.conf in Ubuntu? I cannot find it in base-files..11:42
seb128slyon, /var/lib/dpkg/info/libc-bin.postinst:  install_from_default /usr/share/libc-bin/nsswitch.conf /etc/nsswitch.conf11:50
slyonthanks seb128!11:51
seb128np!11:51
nibbon_o/12:46
nibbon_question: for kernel dump coming from 5.4.0-58 can I use >=  linux-image-5.4.0-74-generic-dbgsym or I do need the specific package linux-image-5.4.0-58-generic-dbgsym?12:46
ogra`nibbon_, most likely rather a question for #ubuntu-kernel ... but indeed you need the symbols for exactly the version you are running13:09
nibbon_ogra` thanks for the hint. Actually I've already asked that question in #ubuntu-kernel but nobody answered13:10
sil2100xnox: argh, so the ADT tests are running but bileto fails to publish the results, huh, had this issue once - let me see how to fix this13:29
sil2100xnox: ok, hopefully it should be better in ~30 mins13:33
* laney pats sil2100 13:35
sil2100laney: hey! Quick question - when I'm on the staging rabbitmq-server/6 , is there an easy way I could check the AMQP queues there?14:00
laneysil2100: check how?14:01
laneythe size or the contents?14:01
sil2100Like, the contents (size maybe as well?) since I'm investigating why AMQP requests from my security britney ESM instance aren't actually doing anything - I only checked the rabbitmq logs and saw that authentication passed, but nothing else14:02
sil2100hm, wait14:03
sil2100Actually maybe some worker picked it up14:03
sil2100And I'll check the logs there14:03
sil2100!14:03
laneyheh14:03
laneysil2100: well the answer is no, you can probably take filter-amqp and turn that into print-amqp though14:04
laneythat might be a useful debugging tool to live in tools/ if you did that14:04
laneyor the code from /running14:04
sil2100Ok, thanks! I guess I found the actual error14:04
laney👍14:05
laneyor you could hack /running to display private jobs if it's just for testing14:05
laneyI guess14:05
webchat40-z14:10
iceyhey bdmurray - the upstream python 3.9.6 seems to still have the changes from the commit named on https://bugs.launchpad.net/ubuntu/+source/breezy/+bug/1932313 , when you said that it was reverted, did you mean in Ubuntu?14:18
ubottuLaunchpad bug 1932313 in breezy (Ubuntu) "Breezy 3.2.0+bzr7543-1 FTBFS" [Undecided, New]14:18
bdmurrayicey: I think you are looking for doko14:28
iceybdmurray: ah you're right, so many people joining the conversation :-D14:28
tjaaltonrbasak: ok it took a while, but how does the reasoning look now? I tried to search if someone had actually complained about the older 'udl' devices, but at least the newer type has been tested, and they both are similar hardware when it comes to X14:29
ijohnson[m]hi folks, can someone tell me what the vertical axis here is? https://errors.ubuntu.com/?release=Ubuntu%2021.04&snap=True&period=day I see values like 0.17, but I don't know what that means, like 0.17 * 1000 = 170 errors ?15:08
ijohnson[m]bdmurray: maybe you know the answer to ^ ?15:13
bdmurrayijohnson[m]: I don't recall exactly and wasn't involved in creating the vertical axis15:15
ijohnson[m]ah okay, sorry someone mentioned to me maybe you would recall15:15
bdmurrayijohnson[m]: Well I do maintain it so I might be able to figure it out15:21
ijohnson[m]it's not a high priority thing so feel free to take a look when you get a chance15:21
laneyijohnson[m]: https://wiki.ubuntu.com/ErrorTracker#errors.ubuntu.com15:22
laneyand bdmurray I guess15:22
laneyit's an mpt-ish thing :-)15:22
laneyseems like it's supposed to have a label15:23
ijohnson[m]ah interesting, so it's 0.17 errors per machine per day15:23
laneyif the calculations are right :p15:24
ijohnson[m]:-D15:31
rbasaktjaalton: I was expecting you to be more specific in the Test Plan with your reasoning on why it's OK to skip explicit testing of one of the two variants.16:17
rbasakBut I'm accepting because I think it's clear on IRC at least and there's no point carrying on back and forthing on this.16:17
=== cpaelzer_ is now known as cpaelzer
tjaaltonrbasak: I added more meat to the next section, probably the wrong place.. anyway, thanks!17:02
=== lucas_ is now known as lucascastro
=== sem2peie- is now known as sem2peie
=== jdstrand_ is now known as jdstrand

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