/srv/irclogs.ubuntu.com/2022/06/28/#ubuntu-devel.txt

=== JanC_ is now known as JanC
=== Mirv__ is now known as Mirv
seb128tjaalton, hey, isn't https://salsa.debian.org/xorg-team/lib/libxcvt/-/blob/debian-unstable/debian/tests/control# testing the src rebuilt rather than the actually archive binary?11:25
tjaaltonseb128: how so?11:40
tjaaltonit was copied from some other package as suggested by someone11:42
seb128tjaalton, well, for one thing that package seems to have no tests?11:49
seb128https://autopkgtest.ubuntu.com/results/autopkgtest-kinetic/kinetic/amd64/libx/libxcvt/20220327_202617_8878e@/log.gz11:49
seb128cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 MESON_TESTTHREADS=1 meson test11:49
seb128No tests defined.11:49
tjaaltonupstream has no build tests, true11:50
tjaaltondid you look at tests/build-test?11:50
seb128tjaalton, shrug, copy paste mangled the URL I wanted to share11:50
seb128tjaalton, it was meant to be https://salsa.debian.org/xorg-team/lib/libxcvt/-/blob/debian-unstable/debian/tests/control#L4-611:51
tjaaltonah, well that part could be dropped I guess11:52
seb128tjaalton, also in principle even if you had build tests, those usually test what you just built, not the system version11:53
tjaaltonsure11:53
tjaaltonwhy is that a problem?11:54
seb128because imagine you have an ABI change in one of your depends, like different objects order in a struct11:54
seb128your library would be buggy until rebuilt11:54
seb128your test is against the rebuilt, which wouldn't see the issue11:54
seb128but then migrating the depends would break libxcvt in the archive11:55
seb128until it's rebuilt11:55
tjaaltonwell the other test would catch that11:55
seb128why would it?11:55
seb128it's a built test11:55
tjaaltonit builds a test app against the archive version11:55
tjaaltonaiui11:55
seb128yes11:55
seb128but like in the struct definition case11:56
seb128a rebuild would pick the new definition from the depends11:56
seb128and the build + test would work11:56
seb128which tells you that a rebuild of libxcvt would work fine11:56
seb128but doesn't tell you that $depends shouldn't migrate until libxcvt it rebuilt because the current deb is impacted by the ABI change11:56
tjaaltonis this for an actual case or just for a theoretical issue? libxcvt has no depends other than libc611:57
seb128theoretical, I'm just pointing out that the approach is wrong11:58
seb128the reason I'm mentioning it is because nteodosio copied that for adding a test to webp-pixbuf-loader11:58
tjaaltonthen I bet there are plenty of other packages which are wrong11:58
seb128right, which is why I'm pointing it out11:58
seb128so we stop copying a buggy case to new packages11:59
seb128sorry if I went the wrong way11:59
tjaaltonI haven't found a "best practices with simple linking examples for autopkgtests", other than blindly trying to look for examples from other packages11:59
tjaaltonI don't remember where this was copied from, and who gave the idea12:00
tjaaltonprobably when the MIR was being reviewed12:00
tjaaltonbut still, I don't see how building the test app would "rebuild" anything12:02
slyonenr0n: here are some of my remarks about the systemd 251 merge: https://code.launchpad.net/~enr0n/ubuntu/+source/systemd/+git/systemd/+merge/425171/comments/1125387 – How do you feel about the overall state of the package (especially wrt to autopkgtests)? Do you feel like we can upload this later this week?12:08
enr0nslyon: thanks for reviewing! I do feel lke we can upload later this week. WRT autopkgtests, I would like to continue to improve the upstream-{1,2} test consistency over the course of the cycle (already on the roadmap). Besides that, I hope that we can address a few autopkgtest quirks I had to make (e.g. skipping CoredumpTest on s390x), but I don't think that should hold up the upload.12:55
slyonenr0n: I agree. sounds good to me!12:57
slyonI'll happily sponsor that for you, maybe after we got some of my comments addressed.12:57
seb128tjaalton, sorry had a meeting, you are right that build-app test doesn't have an issue, my point was mostly about the dh_auto_test one13:01
enr0nslyon: perfect, I will work on addressing your comments this morning13:12
=== vogelfrei2 is now known as vogelfrei
tjaaltonseb128: right, and it's dropped in git13:47
seb128tjaalton, thanks!13:47
seb128tjaalton, and sorry if I was unclear in what I was trying to get at before13:48
tjaaltonnw13:48
schopinDoes switching a library from mbedTLS to openssl break its ABI? In this case, libgit2.14:02
edugomezescandelHi all, I sumbitted a Merge Request to the ubuntu-release-upgrader, can anyone give it a look?14:09
edugomezescandelIt's this one: https://code.launchpad.net/~edugomez/ubuntu/+source/ubuntu-release-upgrader/+git/ubuntu-release-upgrader/+merge/42514514:09
edugomezescandelIt's just a bugfix for WSL14:09
bdmurrayedugomezescandel: I've seen it and will try and get to it. Are you also looking to see this fixed for 22.04?15:30
edugomezescandelHi, thanks! Yes, that would be the idea.15:33
=== mfo_ is now known as mfo

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