/srv/irclogs.ubuntu.com/2024/04/15/#ubuntu-devel.txt

=== guiverc2 is now known as guiverc
mwhudsonvorlon: do you happen to remember what happened to your c-ares patch? https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=106203204:25
-ubottu:#ubuntu-devel- Debian bug 1062032 in src:c-ares "c-ares: NMU diff for 64-bit time_t transition" [Serious, Open]04:25
=== pushkarnk1 is now known as pushkarnk
vorlonmwhudson: eh c-ares went weird because the maintainer pointed out that instead of making it t64 we could just fix the existing lintian warning about runtime package name; and I don't remember beyond that05:18
mwhudsonvorlon: the bug says "This patch is being uploaded to unstable." though08:27
mwhudsonmaybe i should just upload it08:27
mwhudsonoh boo rdeps08:27
=== pushkarnk1 is now known as pushkarnk
waveform@pilot in11:03
=== ChanServ changed the topic of #ubuntu-devel to: Archive: Post-Beta Freeze | Devel of Ubuntu (not support) | packages with removed amd64 binaries that need resolving: https://pad.riseup.net/p/migrate-list-amd64 | Build failures: http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of Focal-Mantic | Patch Pilots: waveform
blucacould someone please click on retries/migration refs for the test fails of https://ubuntu-archive-team.ubuntu.com/proposed-migration/update_excuses.html#openssh11:39
bdrungbluca, done11:45
blucata11:57
bdrungLocutusOfBorg, i fixed autopilot in parallel12:22
LocutusOfBorgbdrung, thanks!12:22
LocutusOfBorgplease upload because I can't understand the last failure12:22
LocutusOfBorg:/12:22
bdrungthat took me some time as well. That test has been broken for a long time but only the fix now reveals it.12:23
bdrungLocutusOfBorg, we have https://pad.riseup.net/p/nbs-noble-keep to coordinate the NBS fixes12:25
ahasenacklooking at libnettle813:36
ahasenackhm, it's not in https://ubuntu-archive-team.ubuntu.com/nbs-no-amd64.html, just in the pad13:36
rbasakkanashiro: is it expected that "apt install resource-agents" now fails on Noble?13:38
rbasak(feel free to say yes)13:38
ahasenackyeah, fails with noble-proposed too13:39
ahasenackmaybe athos knows something?13:39
rbasakIt's because there's no transitional package AFAICT.13:39
rbasak(or Provides)13:39
rbasakBut it might be intentional?13:39
ahasenackso, issues I can see atm: a) if docs say to install 'resource-agents'; b) if something else in the archive depends on 'resource-agents'13:45
ahasenack(b) would usually prevent migration, but it might have slipped through13:45
rbasakUnit193: do you know why paste.ubuntu.com got dropped at https://github.com/pastebinit/pastebinit/commit/5c668fb3ed9b4a103eb22b16e603050a539951e0 please? It still works fine? Noble switches to dpaste.com as a result. Is this intentional?14:17
-ubottu:#ubuntu-devel- Commit 5c668fb in pastebinit/pastebinit "Prune dead pastebins, add paste.centos.org, update distro defaults."14:17
tjaaltonhow to launch the installer from a terminal? it's not starting up here on a prerelease hw, and I want to know why :)14:33
tjaaltonthe gui, desktop is up14:33
tjaalton'ubuntu-desktop-bootstrap', seems to be some issue with mounts, as no snap works14:38
Eickmeyerrbasak: Presumably because paste.ubuntu.com requires a login and a lot of people here on IRC weren't willing to get a SSO account.14:47
EickmeyerAt least, IIRC, that's how the IRC Ops Team decided at the time.14:49
rbasakEickmeyer: OK that makes sense as a reason, but what's that got to do with the IRC Op Team?14:53
Eickmeyerrbasak: That's who made the decision.14:53
EickmeyerUnit193 just made the changes.14:54
rbasakIs that documented anywhere, and I'm still confused as to what it's got to do with them?14:54
rbasakEarlier I was wondering whether it was an accident and should add a delta to change it back. I'm still wondering that!14:54
EickmeyerUnit193 is on the IRC Council. I don't think it's documented anywhere.14:54
JanCmy guess: when people give support & users are told to use pastebinit, it's really annoying if it doesn't work (OOTB)...14:54
rbasakOK, so that's a very valid concern as a user, but that's only a subset of the users of this tool.14:55
rbasakIt doesn't make sense for representative of a subset of users to make a decision for the entire set without documenting it and without telling anyone :-/14:57
JanCyou can override the default?14:57
rbasakOn my system. It's a pain to do on every single VM or container I spin up on a regular basis.14:58
JanCmakes sense to have a good default for the users who are least likely to know how to configure it14:58
rbasakI would prefer for defaults from the Ubuntu archive to use Ubuntu infrastructure when that's available. I accept that a login requirement that exists here but not elsewhere might be good reason to switch the default, but in that case can we make a decision as a team please, not as a subset of one that has a particular agenda?14:59
EickmeyerI'd argue that support and customer service trumps that.15:00
rbasakYou're arguing about the decision, not how the decision is made15:00
rbasakI'm arguing about how it was made, not about the decision itself15:01
EickmeyerOk, then it's a matter of governance. IRC Council is directly under CC.15:01
rbasakWhat a tool inside Ubuntu does is clearly not within the remit of the IRC Council - especially when there are non-IRC uses of this tool, too.15:01
EickmeyerThen who controls pastebinit?15:02
rbasakBut it shouldn't be necessary to get into that.15:02
rbasakMOTU.15:02
rbasakBut anyway, we make decisions by consensus. Structure only matters when that's skipped. This doesn't sound like it was consensus.15:03
kanashirorbasak uninstallability of resource-agents in noble is not expected, let me check15:03
rbasakOh, this is in main, so core devs as part of Ubuntu develoeprs at large I guess.15:03
EickmeyerI do see not even a bug was raised regarding this. Concern is definitely valid.15:04
rbasakAlso the reason isn't present in the commit message15:05
rbasakIt seems like it's part of "Prune dead pastebins" and that's wrong here. If I hadn't thought to ask, I might have just added a delta since, as written, it's clearly a mistake.15:05
JanCchange was made upstream though?  maybe *they* changed it after people complained?15:06
rbasakAlso, if we're not going to use it, perhaps it would be nice to tell Canonical so they don't have to bother running the service at all? It's rude not to.15:06
EickmeyerI mean, it kinda became useless for support reasons when it got locked down (the requests in #ubuntu which requires it are massive), but I understand your argument.15:08
JanCit's quite likely *upstream* got direct complaints too15:09
EickmeyerJanC: Not likely. It was smart enough to detect which distro you were running and figure out which Pastebin to use therefore. For instance, if you were using Fedore it would use centos's Pastebin, Debian would use Debian's Pastebin, etc.15:12
kanashirorbasak now I see what you meant about resouce-agents, this is expected behavior, at this point user should install resource-agents-{base,extra}. resource-agents binary was a transitional package in the previous LTS and was removed for noble15:13
JanCbut Ubuntu users might have complained it used an "unusable password-locked pastebin" by default for them...15:13
EickmeyerJanC: That's what's being discussed, but that's not upstream here is it?15:13
JanCas the change happened upstream, some Ubuntu users might have complained directly to them...?15:14
EickmeyerJanC: pastebinit is directly maintained by a team of Ubuntu and Debian contributors in Github. And no, there are no complaints there that I could see.15:15
rbasakI'm not keen on relying on third party services when not necessary, especially ad-supported ones. I have no reason to distrust the current operator, but in general, these things tend to go wrong sooner or later.15:15
rbasakBut I accept the difficulties in #ubuntu with users not having logins.15:15
rbasakSo we need to make a team decision about how that trade-off falls.15:16
Eickmeyerrbasak: I agree. It seems like it was a unilateral decision.15:16
JanCpeople might even have logins, but not have them around, or not able to access them because they need to fix their system first for that...15:16
Eickmeyerrbasak: I just tend to play devil's advocate as I also tend to know both sides of the coin. :)15:17
JanCisn't there a better solution for whatever the SSO is used for?15:22
rbasakI think they did it to tackle a spam problem.15:22
Eickmeyer^ That's why they put in in place.15:22
JanC(that's probably also some topic for another channel)15:22
rbasak(it wasn't always there)15:22
EickmeyerNah, it's relevant here, JanC, as it's a development problem related to a tool developed here.15:23
rbasakWhat sort of numbers of pastes does Ubuntu produce compared to others? Will dpaste.com notice if we change, and will that just move a spam problem to them?15:23
rbasakI think it's relevant here because it's up to Ubuntu developers to make decision now as to what we want the default to be.15:24
rbasak(for the Ubuntu package specifically)15:24
Eickmeyer^ 💯15:24
EickmeyerAlso should probably be brought before the ML, IMO.15:24
rbasakI'm planning to write the ML shortly15:25
EickmeyerProbably should have been brought before the ML before a unilateral decision was made.15:25
JanCI'm pretty sure current usage numbers of the Ubuntu pastebin are pretty low _because_ of the SSO...   ;)15:25
EickmeyerWould be nice to compare pre-SSO to post-SSO, but then we'd be including spam numbers.15:26
liushuyuhttps://code.launchpad.net/~liushuyu-011/ubuntu/+source/rust-glib-sys/+git/rust-glib-sys/+merge/464244 so what's the status of this MP?15:27
JanCwas it spam or malware that was the problem though?15:27
Eickmeyer ¯\_(ツ)_/¯15:27
Eickmeyerliushuyu: Looks like a question for dbungert :)15:28
JanCI know some ransomware used public pastebins to "host" the information of how victim could pay to unlock for example (but not sure if they ever used the Ubuntu pastebin)15:28
=== john-cabaj1 is now known as john-cabaj
liushuyusomeone asked the question on Debian Rust channel https://matrix.to/#/!IChHcfHvgTXPMMthqR:matrix.org/$171307980819297AwSZU:matrix.org?via=matrix.org&via=fosdem.org&via=cripslock.undef.tools15:30
dbungertthat patch is very strange.  if someone understands it enough feel free to upload.15:32
EickmeyerHeh, I got nothin'.15:33
rbasakI'm planning to write the ML shortly> Sent.15:48
athosrbasak: ahasenack: we dropped the transitional package for this cycle. Back during the merge, we did verify that there were no reverse depends on that; Cc kanashiro15:56
ahasenackok, and https://ubuntu.com/server/docs/pacemaker-resource-agents looks correct15:59
ahasenackit just doesn't make it clear that bin:resource-agents no longer exists, and I guess it still does in older releases16:00
ahasenackwhat made it look like a bug is that apt didn't say something like "this package doesn't exist"16:01
kanashirothe resource-agents binary package exists in all previous releases16:01
ahasenackit hinted that other packages still referred to "resource-agents", but I couldn't find them16:01
ahasenackthere were no rdeps indeed16:01
rbasakathos, kanashiro: OK. Thanks! I'll update my instructions.16:10
vorlon@pilot in16:12
=== ChanServ changed the topic of #ubuntu-devel to: Archive: Post-Beta Freeze | Devel of Ubuntu (not support) | packages with removed amd64 binaries that need resolving: https://pad.riseup.net/p/migrate-list-amd64 | Build failures: http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of Focal-Mantic | Patch Pilots: vorlon, waveform
vorlonmwhudson: yeah, I don't know why c-ares went missing after that16:12
waveform@pilot out16:32
=== ChanServ changed the topic of #ubuntu-devel to: Archive: Post-Beta Freeze | Devel of Ubuntu (not support) | packages with removed amd64 binaries that need resolving: https://pad.riseup.net/p/migrate-list-amd64 | Build failures: http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of Focal-Mantic | Patch Pilots: vorlon
=== cpaelzer_ is now known as cpaelzer
=== pushkarnk1 is now known as pushkarnk
liushuyuvorlon: there seems to be still a few packages left on the etherpad, do you want to pull someone in to fix them or just get them out of the archive?17:18
sudipncl-ncarg fails to install as it depends on libsphere0d which is not available..17:30
sudipok, spherepack was removed by vorlon for FTBFS. maybe ncl-ncarg should also be removed then17:32
bdrungcan someone have a look why setting _TIME_BITS is not enough to fix the build failure? https://bugs.launchpad.net/ubuntu/+source/xf86-input-multitouch/+bug/206159117:38
-ubottu:#ubuntu-devel- Launchpad bug 2061591 in xf86-input-multitouch (Debian) "FTBFS: error: ‘const struct input_event’ has no member named ‘time’" [Undecided, New]17:38
liushuyubdrung: this is because struct input_event will hide some fields if you define _TIME_BITS=6417:40
liushuyuthe reason for that is to force the programs to use newer APIs that don't use deprecated fields (that is not time_t 64-bit safe)17:42
bdrungliushuyu, if I read https://bugs.launchpad.net/ubuntu/+source/xf86-input-multitouch/+bug/2061591/comments/1 correct, 'time' is available if _TIME_BITS=64 is defined17:42
-ubottu:#ubuntu-devel- Launchpad bug 2061591 in xf86-input-multitouch (Ubuntu) "FTBFS: error: ‘const struct input_event’ has no member named ‘time’" [High, New]17:42
liushuyubdrung: it can also be something undefined certain macros, I can take a look on my local ARM device17:46
bdrungliushuyu, thanks.17:46
sudipbdrung: its "!defined(__USE_TIME_BITS64)", it will be  false if __USE_TIME_BITS64 is defined17:47
bdrungaah, i missed the inversion.17:48
bdrungso that software needs porting now17:48
liushuyuit could be a very simple fix17:49
bdrungthis line must be ported: s->evtime = syn->time.tv_usec / ms + syn->time.tv_sec * ms;17:49
liushuyujust change it to s->evtime = syn->input_event_usec / ms + syn->input_event_sec * ms;17:50
bdrungthanks17:51
liushuyuTested on my local ARM device that this works17:51
liushuyu... although there are some implicit declarations17:51
liushuyuI guess not an issue though17:51
bdrungwhat is the simplest way to find the header for the implicit declaration?17:51
liushuyubdrung: just build the project?17:52
liushuyuI can give you the list:17:52
liushuyudriver/multitouch.c:42:33: warning: implicit declaration of function ‘XIGetKnownProperty’17:52
liushuyudriver/multitouch.c:160:9: warning: implicit declaration of function ‘XIRegisterPropertyHandler’17:52
liushuyusrc/test.c:63:9: warning: implicit declaration of function ‘close’;17:52
liushuyu-- end of the list17:53
bdrungi mean how to find it? "grep XIGetKnownProperty /usr/include"?17:53
liushuyubdrung: Yes, given you have the B-D installed17:53
liushuyu`close(...)` is defined in `unistd.h`17:54
bdrungthat feels so clumsy to find the correct header17:54
liushuyuFor C++ projects, I recommend you to search on https://en.cppreference.com/w/cpp since grep'ing will produce too many noises17:55
liushuyubdrung: if you are just concern about slow search speed, I recommend installing ripgrep (command: `rg`)17:56
liushuyu... because there is no good way to search function/macro definitions in C/C++17:56
bdrungrust and python are so much nicer than C/C++17:57
vorlonliushuyu: it would be helpful if someone would look at the remaining packages on the etherpad, analyze them, and make recommendations to the archive team about what to remove17:57
liushuyu(there are now tools that is syntactic-aware of the content it is currently search, but for C/C++, usually there will be some limitations on what they will be able to understand)17:58
liushuyuvorlon: ... or if they can be fixed?17:58
vorlonliushuyu: if you're going to fix them that doesn't go through the archive team17:59
liushuyuvorlon: okay17:59
liushuyubdrung: rust and python are so much nicer than C/C++ > if you are not doing something weird (like getattr(...)/eval(...) in Python or proc_macro in Rust)18:01
bdrunggetattr is useful in some cases (but do not overuse it)18:01
liushuyuspeaking of which, there are now a lot of Python tooling started to use Rust, like https://astral.sh/ruff, https://github.com/astral-sh/uv and https://github.com/mtshiba/pylyzer18:05
bdrungit would be nice if ruff would land in noble (currently fails to build)18:06
liushuyubdrung: ... or you can use the Snap version18:06
jbichajuliank: are you planning to handle bug 2054908 before noble's release?18:07
-ubottu:#ubuntu-devel- Bug 2054908 in ubuntu-release-upgrader (Ubuntu) "gpg-wks-server pulls in postfix" [High, Confirmed] https://launchpad.net/bugs/205490818:07
liushuyuuv is a faster alternative to pip/venv combo; pylyzer is a faster alternative to mypy/pyright combo18:08
liushuyucurrently testing fixes for squeak-plugins-scratch st tcpxtract whitedune uhub18:10
juliankjbicha: Got moved to 206057818:19
jbichathanks!18:20
liushuyuI remember someone mentioned there is a script that could be used to open merge proposals in the ubuntu-dev-tools package18:53
liushuyuWhich script was it? I can't find it18:53
liushuyusqueak-plugins-scratch fix: https://code.launchpad.net/~liushuyu-011/ubuntu/+source/squeak-plugins-scratch/+git/squeak-plugins-scratch/+merge/46434518:59
liushuyutcpxtract fix: https://code.launchpad.net/~liushuyu-011/ubuntu/+source/tcpxtract/+git/tcpxtract/+merge/46434618:59
liushuyuwhitedune fix: https://code.launchpad.net/~liushuyu-011/ubuntu/+source/whitedune/+git/whitedune/+merge/46434918:59
liushuyuuhub fix: https://code.launchpad.net/~liushuyu-011/ubuntu/+source/uhub/+git/uhub/+merge/46434818:59
seb128!dmb-ping19:05
ubottubdmurray, kanashiro, rbasak, seb128, sil2100, teward, utkarsh2102: DMB ping19:05
tewardseb128: not available due to illness19:05
liushuyust fix: https://code.launchpad.net/~liushuyu-011/ubuntu/+source/st/+git/st/+merge/46435019:21
=== pushkarnk1 is now known as pushkarnk
vorlon@pilot out19:54
=== ChanServ changed the topic of #ubuntu-devel to: Archive: Post-Beta Freeze | Devel of Ubuntu (not support) | packages with removed amd64 binaries that need resolving: https://pad.riseup.net/p/migrate-list-amd64 | Build failures: http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of Focal-Mantic | Patch Pilots: N/A
vorlonliushuyu: "sponsorship required" please provide the link to what needs sponsoring! https://pad.riseup.net/p/migrate-list-amd6420:05
liushuyuvorlon: added now20:07
vorlonliushuyu: thanks20:07
=== fabiomirmar_ is now known as fabiomirmar
vorlonliushuyu: rust-glib-sys uploaded, which clears a good half of https://ubuntu-archive-team.ubuntu.com/proposed-migration/noble_uninst.txt20:26
liushuyuvorlon: Thanks! Debian Rust team also wanted to take this patch (but it's a  bit hacky). I might talk to the upstream to see if they could do something20:30
Unit193rbasak: It was intentional, paste.ubuntu.com has become less and less accessible so the IRC team had an internal discussion which seemed to indicate that dpaste was the optimal choice.  Since pastebinit hasn't been maintained very well for a while, someone willing to maintain it (and part of the team that "was" maintaining it) took it over and made changes.21:57
Unit193(dpaste.com has been used by gentoo for years, IIRC archlinux and several others too.  It came out on top because of decent expire times, syntax highlighting, reliable, and used already by several big projects.)22:01
vorlonliushuyu: https://pad.riseup.net/p/migrate-list-amd64 has entries that say "need implicit-declaration-function fix uploaded" but have no packages ready for upload; I'm deleting these comments22:10
liushuyuvorlon: those comments were not mine22:11
liushuyuwill these disasters (not fixed, but binaries were removed) come back after 24.04 is released?22:13
vorlonliushuyu: no; these are not considered 'done' until a new version of the package migrates from -proposed22:16
liushuyuvorlon: understood22:25
mitchdzCan someone take a look at moving noble rsync proposed into the updates pocket? https://bugs.launchpad.net/ubuntu/+source/rsync/+bug/206096722:49
-ubottu:#ubuntu-devel- Launchpad bug 2060967 in rsync (Ubuntu) "noble/rsync buffer overflow detected" [Critical, In Progress]22:49
EickmeyerUnit193: The objection was mostly because there was no team discussion other than the IRC Team because more teams other than IRC use it, so now the discussion is at https://lists.ubuntu.com/archives/ubuntu-devel/2024-April/042960.html. I highly recommend participating in that discussion.23:06
Unit193Eickmeyer: Yeah it was pretty well abandoned, I'd already fixed several deprecation and traceback and I had to wrangle the maintainers pretty hard just for those.23:28
Unit193Kinda feels like people are now caring after the fact, but certainly didn't for several years. :/23:29
EickmeyerUnit193: Right, they're considering an Ubuntu delta for it to change it back (which is always an option; not everything has to be done upstream).23:31
Unit193Urgh, that's quite annoying.23:31
Unit193Where else is it even used?  Could easily ship some xdg config in ubuntu-dev-tools if that's where it'd be useful.23:32
EickmeyerI highly suggest getting involved in the discussion in the ML. I don't have much of a horse in the race.23:32
Unit193Meh, if it's reverted I'll just tell the team and recommend we change our documentation just to use termbin instead, nc should be pretty much everywhere.23:34
EickmeyerMy involvement was limited to presenting your side of the argument when you weren't around.23:34
EickmeyerAnd being an overall devil's advocate because I'm good at that. :)23:35
Unit193Well, it wasn't really a "unilaterial" change, and being on the IRCC had ziltch to do with it.  Really was more "This is abandonded, and the defaults really aren't good anymore."23:36
EickmeyerRight, I'll admit in retrospect that part was misrepresented with further knowledge.23:37
EickmeyerI think the perspective wasn't so much it's "abandoned" so much as it's "inherently stable" and doesn't bit-rot, but maybe taken-for-granted is more apt.23:39
Unit193I mean, traceback when run doesn't scream "stable" to me, but I guess YMMV.23:40
Unit193LodgetIt based pastebins were broken for years, private pastes I had a patch to fix for years too. :/23:40
EickmeyerWell, yes, but not everybody sees that. That's what I mean by "taken-for-granted."23:40
Unit193Also, TIL `dpaste` is a package and binary.  Huh.23:41
Eickmeyer`Pastebin using OpenDHT distributed hash table` Nice23:41
Unit193I was looking for libapp-nopaste-perl23:43
Unit193"Prior to Noble" heh, more Lunar than Noble.  Oh well.23:44
Eickmeyer`pnopaste` `Pastebin with syntax highlighting` Amazing stuff you find on archaeological digs through the repo.23:45

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