/srv/irclogs.ubuntu.com/2023/09/05/#ubuntu-devel.txt

=== guiverc2 is now known as guiverc
slyon@pilot in11:03
=== ChanServ changed the topic of #ubuntu-devel to: Archive: Mantic Open | Devel of Ubuntu (not support) | Build failures: http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of Bionic-Lunar | Patch Pilots: cpaelzer, slyon
ahasenack_tjaalton: hi, could you please kick CI in https://salsa.debian.org/freeipa-team/bind-dyndb-ldap/-/merge_requests/8 ? I don't know why it's not doing it automatically13:48
-ubottu:#ubuntu-devel- Merge 8 in freeipa-team/bind-dyndb-ldap "d/t/dyndb-ldap: allow writing to the dns tree" [Opened]13:48
ahasenack_my branch does have the gitlab-ci.yml file in debian/13:48
ahasenack_and I branched off salsa/master13:48
ahasenack_I vaguely remember this happening in another project, but don't remember what I did to fix it13:49
ahasenack_I think I had to do something in my fork13:50
tjaaltonahasenack_: maybe try the ci settings, and make it use this path13:52
tjaaltonfrom your fork13:53
ahasenack_hm, that might be it13:53
ahasenack_starting to remember something13:54
andersson123if there's anyone online with the means to do so, could you please trigger some github autopkgtests for me please and notify me if/when you do? thanks :)13:54
ahasenack_tjaalton: fixed, it's running now14:00
tjaaltonahasenack_: nice14:05
=== cpaelzer_ is now known as cpaelzer
EickmeyerDang, missed nteodosio.14:45
Eickmeyerahasenack_: I got a drive-by in #ubuntustudio-devel from ntedosio and he has a patch to fix blender in bug 2033618. Thoughts?14:46
-ubottu:#ubuntu-devel- Bug 2033618 in blender (Ubuntu) "Please update Blender to 3.6.2" [Undecided, Confirmed] https://launchpad.net/bugs/203361814:46
ahasenack_Eickmeyer: the patch is to fix the s390x build?14:47
EickmeyerYes.14:47
TachHi guys, can I ask here questions about package building ?14:47
ahasenack_Eickmeyer: would want to see upstream's opinion, afaik there is an upstream bug about this, right?14:48
Eickmeyerahasenack_: I haven't investigated, tbh.14:48
EickmeyerTime hasn't been on my side.14:48
ahasenack_https://bugs.launchpad.net/ubuntu/+source/blender/+bug/2030291 this is the ftbfs bug14:48
-ubottu:#ubuntu-devel- Launchpad bug 2030291 in blender (Ubuntu) "FTBFS on s390x and armhf" [Undecided, New]14:48
ahasenack_the other one should be marked as a duplicate of this one I think14:49
ahasenack_although, hm, this ftbfs bug is on 3.4.114:49
EickmeyerHmm...14:49
ahasenack_well, 3.6.2 is stuck in proposed due to ftbfs on s390x and armhf, same arches14:49
ahasenack_oh, and risc14:49
RikMillsEickmeyer: letes see how the patch does14:50
RikMillshttps://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/3997/+sourcepub/15141651/+listing-archive-extra14:50
RikMills*lets14:50
EickmeyerSo, more than s390x.14:50
ahasenack_there was an upstream bug about this, I don't see it in linked in either bug14:50
EickmeyerRight.14:50
EickmeyerRikMills: So, wait-and-see what it does in bileto.14:51
Tachdoes anyone know why there - and how made - there is a seperate package clamav-freshclam instead of all combined in one ?14:51
ahasenack_Tach: it's one source package (clamav) that produces multiple binary packages14:52
ahasenack_Tach: see the control file here: https://git.launchpad.net/ubuntu/+source/clamav/tree/debian/control14:52
ahasenack_look for the "Package:" sections14:52
RikMillsEickmeyer: yeah, if riscv64 doesn't build there then more fixing would be needed14:53
ahasenack_Tach: then the various *.install files in https://git.launchpad.net/ubuntu/+source/clamav/tree/debian, one for each package14:53
Tachahasenack_ ok so I should be able to produce them as well ?14:53
ahasenack_there are more details, but this is the start14:53
ahasenack_Tach: you build the source package. It will produce the individual *.deb binary packages when built14:53
ahasenack_Tach: if you are new to package building, there is a lot to learn. Maybe start here: https://github.com/canonical/ubuntu-maintainers-handbook14:54
Tachahasenack_ ok, nice thanks! Now I need to find the same thing for alpine :)14:54
Tachahasenack_ yeah learning is not the issue, I build it from source myself but all was in14:54
Tachahasenack_ in my believing freshclam can work on it's own, or not ?14:56
ahasenack_Tach: I don't recall, it does need to update a db, so on its own it doesn't help, but clamav could be installed without it, hence the packaging split14:56
Tachahasenack_ yeah, I want to have seperate workers for updating, that's why14:57
Eickmeyerahasenack_: Checking upstream blender, I cannot find the upstream bug nor could I find an upstream bug in Debian, even though they have several missing builds on several archs.14:58
lvoytek@pilot in15:00
=== ChanServ changed the topic of #ubuntu-devel to: Archive: Mantic Open | Devel of Ubuntu (not support) | Build failures: http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of Bionic-Lunar | Patch Pilots: cpaelzer, lvoytek, slyon
RikMillsEickmeyer: I see relevant PR upstream in blender that appears to be same fix15:03
RikMillshttps://projects.blender.org/blender/blender/pulls/10657515:04
-ubottu:#ubuntu-devel- Pull 106575 in blender/blender "CUdeviceptr and hipDeviceptr_t unsigned int loses precision fix for ppc64le" [Merged]15:04
EickmeyerNo wonder I couldn't find it, it doesn't have a relevant arch.15:04
cpaelzeroh wow, so many pilot out failing - I hop enot all had outage and then forgot15:06
cpaelzer@pilot out15:06
=== ChanServ changed the topic of #ubuntu-devel to: Archive: Mantic Open | Devel of Ubuntu (not support) | Build failures: http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of Bionic-Lunar | Patch Pilots: lvoytek, slyon
Eickmeyercpaelzer: XD15:06
slyon@pilot out15:06
=== ChanServ changed the topic of #ubuntu-devel to: Archive: Mantic Open | Devel of Ubuntu (not support) | Build failures: http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of Bionic-Lunar | Patch Pilots: lvoytek
cpaelzerthanks lvoytek for reminging :-)15:07
RikMillsEickmeyer: yeah, similar fix, not the same :/15:07
Eickmeyerahasenack_: If Nathan's patch works, should we roll with that or should we patch-in the upstream PR? Because, at this point in the cycle, I think the better way to go is what we know is going to work first.15:08
ahasenack_I would insist a bit with upstream and this patch we got, maybe there is a quick response15:09
RikMillsEickmeyer: upstream PR looks already included15:09
ahasenack_personally I'm not good at these types of fixes, so I can't properly evaluate them15:09
EickmeyerOh, so the upstream PR is already in there, but not working.15:09
ahasenack_I'm wary of "lone-ranger" types of patches, I would at least like to see it submitted upstream15:09
EickmeyerAgreed, if Nathan's patch works it should definitely be submitted upstream.15:10
RikMillsand get in debian so we just have to sync15:10
EickmeyerHe saw it as a compiler error, per what he said in #ubuntustudio-devel.15:10
RikMillsI think Nathan's patch may just be extending the PR fix to s390x15:12
EickmeyerWell, it FTBFS on armhf, but that's no surprise as blender doesn't support 32-bit.15:12
EickmeyerI can get it into Debian, I'm on the multimedia-team, so I have access to salsa there.15:15
ahasenack_yeah, don't worry about armhf15:15
EickmeyerUpload rights, no. Salsa, yes.15:15
ahasenack_I think it was even removed15:15
Eickmeyerahasenack_: You're right.15:15
RikMillslooks like riscv64 will take about 6hrs15:16
RikMillsor at least that is how long the build in proposed took before it failed15:16
EickmeyerNo surprise there.15:17
* RikMills wanders off to do other things15:18
ahasenack_if previous risc build failed, it won't be a problem if it fails again. But s390x was ok before, so it needs to build now15:19
RikMillsahasenack_: the riscv64 build of the blender version in release pocket succeeded, so this need to as well15:20
ahasenack_oops15:20
Eickmeyerjuliank: I confirmed GRUB_FLAVOUR_ORDER works in 23.04 as you said. I just uploaded a new version of ubuntustudio-default-settings which sets that as "lowlatency" in a .cfg file in /etc/default/grub.d so it effectively does what we had before.17:17
juliank+117:18
juliankI'll upload the grub tomorrow I think17:18
Eickmeyerjuliank: +117:19
EickmeyerI did make the variable "lowlatency $GRUB_FLAVOUR_ORDER" so that it prepends if someone wanted to do their own order with other kernel flavors for whatever reason.17:20
EickmeyerBecause idk.17:20
lvoytek@pilot out19:00
=== ChanServ changed the topic of #ubuntu-devel to: Archive: Mantic Open | Devel of Ubuntu (not support) | Build failures: http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of Bionic-Lunar | Patch Pilots: N/A
sergiodjI know apt-key was deprecated some time ago, but I don't remember hearing the same about apt-add-repository.  now a user is asking about it, and what they should use instead.19:27
Eickmeyeradd-apt-repository is the correct one. It adds keys the correct way.19:28
bdmurrayadd-apt-repository or apt-add-repository? ;-)19:29
EickmeyerOne links to the other, iirc.19:29
sergiodjyeah, one links to the other19:29
EickmeyerProbably because nobody could ever remember.19:30
sergiodjaptly-add-this-apt-repository19:30
EickmeyerXD19:30
sergiodjthanks, Eickmeyer . I'll reply to the user that, to the extent of my knowledge, add-apt-repository will live on19:31
EickmeyerIf it doesn't there's a lot of PPA owners that are going to get irked real quick. Imagine....?19:31
sergiodjthat was my thought, too.  and why I found it strange to hear about its deprecation19:32
vorlonI managed to mis-edit my commandline the other day and invented 'add-remove-repository'19:33
vorlonit didn't work19:33
vorlon(also it's spelled 'add-apt-repository -r', so)19:33
vorlonthe '-r' stands for 'disable'19:34
cjwatsonSome specific behaviours of add-apt-repository are deprecated19:34
vorlonsergiodj: this is the second time there's been a wrong rumor about add-apt-repository deprecation.  I think last time it was brought up, we managed to trace it to an ambiguously-written article19:34
cjwatsonLike the mode where it accepts an entire sources.list line as an argument19:35
vorlon(second time that it's reached me, that is)19:35
sergiodjvorlon: if it's an article by DigitalOcean, then I found the same one19:35
cjwatson(without an option to tell it the format, anyway)19:35
vorlonyes19:35
vorlonsergiodj: that's the one19:35
Eickmeyervorlon: That's not at all surprising. Found an article stating Ubuntu Studio has 5 year support for LTS releases.19:36
sergiodjthis user mentioned "several blog posts", but I believe he might be referring to the same article19:36
vorlonjuliank: do we need a blog post that anti-deprecates add-apt-repository :/19:41
juliankvorlon: People shouldn't use add-apt-repository for non-LP going forward, because it quite obviously doesn't take long multi-line deb822 sources.19:42
juliankWell non-shortcuts19:42
Eickmeyeradd-apt-repository: "Rumors of my death have been greatly exaggerated."19:42
vorlonwell, ok19:42
juliankapt add-sources will take a .sources https url to add but it's not merged yet19:43
juliank:D19:43
vorlonthere seems to be confusion nevertheless19:43
vorlonabout the current state19:43
juliankEverything is somewhat confusing right now, I admit19:44
vorlonwe clearly should frame this as deprecating non-Launchpad repositories19:44
vorlon"what should I use instead?" -> "Launchpad"19:44
juliankI don't think we have told anyone it's deprecated to be fair19:44
juliankProbably we should make it take .sources urls to add as well, but I haven't finished thinking about the template variables I want to support and don't want two standards19:45
juliankNon-deb822 sources are not deprecated yet, and manage just fine, it's just that it's preferable to use deb822 sources with signed-by fields, preferably embedded signed-by for third-party repositories without a keyring file installed in a deb19:46
sergiodjI recently worked on a documentation page about third party APT repos; you might be interested in reading it: https://discourse.ubuntu.com/t/third-party-repository-usage/3797419:49
sergiodj(this is where the add-apt-repository question came from)19:49
julianksergiodj: Needs a couple adjustments for best practices, e.g. I added /etc/apt/keyrings recently (older systems you have to create it yourselves) to not have admin write files manually in /usr; and probably you want wget -O- ... | sudo tee /etc/apt/keyrings/foo.gpg; also notes about ascii-armored keys needing a .asc extension and unarmored a .gpg19:51
juliankapt-transport-https has been an empty metapackages for ages now, not sure when it switched19:52
sergiodjjuliank: ack. I can make the adjustments later; feel free to mention whatever is needed here19:53
juliankAh yes, and add-apt-repositry doesn't take a name for a sources.list.d file but appends full deb lines (rather than shortcuts) to the main source.list which makes it icky19:53
Eickmeyerjuliank: That hasn't been my experience. I've seen it add whole files to sources.list.d.19:56
juliankEickmeyer: it does for PPAs, but not if you pass it "deb http://foo.example.com/ bar somecompnent" lines20:02
juliankAnd it does for cloud archives and other kinds of shortcuts it understands20:03
Eickmeyerjuliank: Oh, I see. Yeah, that's no good.20:03
juliankI don't have the rewriting from legacy to deb822 at that point yet20:03
juliankThen it could rewrite the given entry in deb822 and write it to a .sources file20:03
juliank:D20:03
juliankScary, huh20:03
EickmeyerVery. When I was working at my previous job, I saw them manipulating sources.list and I said, "You're doing WHAT?!?"20:04
EickmeyerFixed that behavior as soon as I could.20:05
juliankMy goal is to represent .list legacy format as deb822 in the service and python APIs eventually20:05
juliankit will be fun20:05
EickmeyerYeah, I imagine.20:06
juliankIt's the inverse of the current approach I'm stuck with now20:06
juliankBut I'm stuck with the current approach somewhat to actually make software-properties work as is20:06
EickmeyerThat makes sense, unfortunately.20:06
juliankIt produces some pretty garbled up ubuntu.sources if you edit it, as it pulls entries apart, but it can't always merge them back together20:06
julianklike if you change the mirror for -updates via API but not for release pocket, it splits one paragraph into two, but then if you change mirror back in a later run, it won't merge back into one paragraph20:07
juliankMaking the API less sophisticated and the rendering less sophisticated so it represents everything as deb822 sources with just hints in the UI should improve that20:08
juliankBut arguably I should learn some flutter and write a mockup of how I'd expect a deb822-only world to be managed20:08
EickmeyerSo, are we talking machine-readable but not necessarily human-readable?20:09
juliankI mean everything is both20:09
juliankBut for the GUI experience, I want you to actually see the deb822 format20:09
juliankBut then get hints20:09
EickmeyerI see.20:09
julianke.g. the UI shows you "Types: deb", but offers a "x" on deb to remove it and a suggested "deb-src" on the right you can add20:10
julianklikewise for "Components" it shows "x" on existing components, and a + button and maybe some suggested ones if there's space20:10
EickmeyerThat's much better than the current format where it shows the deb-src underneath the deb.20:11
juliankAnd for "URIs" you get a drop-down menu for each URI that's an official mirror20:11
EickmeyerMy eyes glaze-over sometimes while trying to parse that screen in my head.20:11
juliankAnd um an Ubuntu logo attached to it or something?20:11
EickmeyerFor Ubuntu repositories, absolutely.20:11
juliank"This is an offical repository"20:11
juliankA launchpad logo for PPAs maybe20:12
EickmeyerUnless, of course, you're evil like me and dpkg-divert the logo. :D20:12
EickmeyerEither way, it's official with an official logo.20:13
juliankI guess most people know that experience from "tags" or "labels" in various apps20:13
juliankThat pattern makes sense for many deb822 lines20:13
EickmeyerYes. Synaptic is very good at that.20:13
juliankOh god synaptic also needs a daemon I forgot about this somewhat20:17
EickmeyerGlad I could inadvertently remind?20:17
julianksynaptic was the reference client for the last aptd proposal since it's very powerful20:17
juliankbut the new daemon I want to make was supposed to be a root-only varlink daemon20:18
juliankHmm20:18
juliankI guess I could implement a common services class and provide both varlink and dbus20:18
EickmeyerOne thing that would be nice is if Synaptic wouldn't ask for a password until "apply" was clicked.20:19
juliankRight that's what it needs a low-level apt daemon for20:19
EickmeyerI kindof thought that's what you meant, but in layman's terms.20:19
juliankThat was the assert-daemon, essentially it opens the cache as user, presents the cache and requested changes to the daemon, the daemon checks that the state it operated on is still valid20:20
juliankBecause the rootless synaptic can't hold a lock obviously20:20
EickmeyerAnd that makes sense. muon was good in that it could open and get the cache, but then wait until you clicked "apply" to ask for password and make changes, so it was rootless and didn't hold a lock until then. But, buhbye muon, it was removed this cycle as it's abandoned upstream.20:21
juliankthere is another mode where the daemon generates the cache file and sends it to the client20:23
juliankthe problem with both models is that the daemon and the client need to use the same libapt-pkg version for that to work20:23
EickmeyerRikMills: Burning the midnight oil?23:17

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