2023-03-01 01:10:50 oh actually kmod-openrc provides a kmod-static-nodes service that does it, but doesn't get permissions right... heh 2023-03-01 01:41:27 (oh, and actually it just creates a tmpfiles template but we're not packaging https://github.com/openrc/opentmpfiles so back to square 1... Yeah ok did I said I'll stop looking...) 2023-03-01 09:15:54 seems like the "man" dummy package was holding back mandoc and docs 2023-03-01 09:17:58 so now 'apk version' only return the package I intentionally hold back 2023-03-02 00:44:40 what is the best way to go about having a package get added to the repositories? 2023-03-02 00:45:08 I am not a package maintainer myself, but I would really like it if LinuxPTP were included. I have confirmed that it builds perfectly fine and runs great. 2023-03-02 00:45:10 https://linuxptp.nwtime.org/ 2023-03-02 00:47:14 you can file an issue here: https://gitlab.alpinelinux.org/alpine/aports requesting that it get packaged 2023-03-02 00:47:40 thank you! I will do that :) 2023-03-02 00:47:49 I have never done this before and don't want to step on any toes 2023-03-02 00:48:18 sure i'll do it 2023-03-02 00:53:43 psykose: you're going to maintain the package for it? 2023-03-02 00:54:06 should I still log it as an issue in aports so you can close it out for recordkeeping? 2023-03-02 01:01:15 aeroraptor: I'd locally packaged linuxptp about 1 month ago but never got around to preparing it for a MR 2023-03-02 01:01:29 oh, go figure 2023-03-02 01:01:35 how are/were you using it? 2023-03-02 01:01:42 if you're looking for a daemon then there already is the ptpd package 2023-03-02 01:02:02 I specifically want LinuxPTP for the ts2phc and phc2sys tools 2023-03-02 01:02:35 aeroraptor: I was trying to see if I could use phc2sys as a way to update system clock from /dev/ptp_kvm 2023-03-02 01:02:48 I have been using GNSS receivers to discipline Raspberry Pi clocks for years, but I am just now start to dip my toes into feeding time pulses into i210 NICs 2023-03-02 01:02:48 instead of needing to use chronyd for that 2023-03-02 01:02:51 interesting! 2023-03-02 01:03:22 this is what I am working on right now: https://wiki.millerjs.org/doku.php?id=pps2sdp 2023-03-02 01:03:44 aeroraptor: not needed, no 2023-03-02 01:03:52 should be available in edge in a bit 2023-03-02 01:03:56 I don't really know what I'm doing, but the documentation out there is very sparse, so I'm trying to lay down some groundwork 2023-03-02 01:04:02 psykose: thank you very much, that's wonderful 2023-03-02 01:04:39 I'll be setting up another system, probably Friday night or this weekend, and I'll give it a go 2023-03-02 01:06:32 aeroraptor: I don't really have the need for PTP in my local network, especially as I don't have many network cards with support for it 2023-03-02 01:06:57 I don't either, but it's super fun 2023-03-02 01:07:18 and I'm not really using PTP across the network (yet), rather I'm using it on single systems that have dedicated GNSS receivers 2023-03-02 01:10:45 aeroraptor: so why not use chrony/gpsd for it instead? 2023-03-02 01:11:41 I'm exploring the best ways to get a PPS signal into chrony 2023-03-02 01:12:54 on a machine like a raspberry pi, that's relatively trivial, on a "normal" PC, it's a bit harder. The DCD pin on serial ports (if you have one) can be used as a system interrupt, and that's what gpsd uses as the "standard" PPS pin for serial-attached receivers - but myself and a few folks I'm working with have found that on a lot of newer systems the DCD pin isn't a real interrupt, and isn't particularly reliable 2023-03-02 01:13:50 so what you can do is feed the PPS signal into one of the "software defined pins" on some NICs, the intel i210 in this case, and then use some of the tools in LinuxPTP to use that signal to discipline chrony just like a "normal" PPS 2023-03-02 01:15:08 yeah I've never used GPS on a "normal" PC, these days they'd be USB based which may or may not provide a PPS signal 2023-03-02 01:16:52 and even if they did, USB allows for an astonishing amount of jitter, plus/minus 30 milliseconds if I remember right 2023-03-02 01:17:03 which is useless at this scale 2023-03-02 01:17:33 yupe, its cheaper and easier just to use a RPI hat :-) 2023-03-02 01:17:38 granted chrony will absolutely do it if you configure it to, but your connection to a reputable NTP server over the internet is almost certainly going to be more reliable 2023-03-02 01:18:48 I've also got a DCF77 receiver lying around that I need to dig out some time 2023-03-02 01:18:51 yeah, and a Pi + hat is how I actually first got into this mess - I made a few for myself and friends, then ended up making... like... gosh almost 300 of them? that I sold over the TimeNuts mailing list 2023-03-02 01:18:53 https://millerjs.org/timehat 2023-03-02 01:19:22 I should update that first photo, that's the oldest and crustiest revision, not very impressive 2023-03-02 01:19:35 ah, I noticed you chatting on the ntp (or ntpsec) channel recently about that lol 2023-03-02 01:19:55 oh yeah that's entirely possible - I'm also very active in the GPSD channel hah 2023-03-02 01:20:11 or maybe it was there, don't remember which lol 2023-03-02 01:21:46 I want to play with WWVB broadcast receivers, but I live in Maine which is pretty much outside of the broadcast range. We *barely* get the edge of it. I have a few atomic clocks that maybe update once a week. 2023-03-02 01:22:24 I also have this absolutely wild old Hopf clock that has a DCF77 *transmitter* in it, so I need to get a german atomic clock or wristwatch or something and see if it actually works 2023-03-02 01:22:49 at one stage I was thinking of a 3rd time source in addition to GNSS and DCF77....but didn't think MSF was a great choice and mobile networks' time really isn't great either 2023-03-02 01:24:31 yeah, I mean mobile networks' time is just GNSS time anyway, so it's a step removed. I am interested in using powerline frequency, at least measuring it to start, but I haven't gotten very far in that particular endeavor 2023-03-02 01:25:07 I've got two GNSS reference antennas on my roof though, so I'm fairly committed to that hahaha 2023-03-02 01:25:52 I do have a little rubidium oscillator that someone gave me a while back, and I've thought about making a rubidium-disciplined free-running clock 2023-03-02 01:32:03 going back to linuxptp, if I'd managed to figure out if phc2sys could handle the ptp_kvm stuff I'd have pushed the package MR. However phc2sys always seemed to want ptp4l to be running and I didn't get back to digging through the source code to understand what was going on 2023-03-02 01:59:33 I think it's definitely a worthy quest - if you're not familiar with the TimeNuts mailing list already you may want to ask there. Lots of sharp folks. 2023-03-02 01:59:46 beyond my own scope but a question I am interested in answering. 2023-03-02 12:38:33 https://gitlab.gnome.org/guidog/phosh/-/jobs/2626399 2023-03-02 12:38:37 do you have any idea why this fails? 2023-03-02 12:38:57 here's the list of packages that are being installed: https://gitlab.gnome.org/World/Phosh/phosh/-/blob/a4e993eb09a885d251814e973188bc65641fdc11/.gitlab-ci.yml#L34-38 2023-03-02 12:43:16 it seems like just installing polkit-elogind-dev causes this conflict 2023-03-02 12:44:34 both seem to provide libglib-2.0.so 2023-03-02 12:44:51 sorry, no, the other way around 2023-03-02 12:46:04 I filed !14673 2023-03-02 12:46:13 sorry, #14673 2023-03-02 12:46:17 I guess?.. 2023-03-02 12:46:47 polkit-elogind-dev -> polkit-elogind-libs 2023-03-02 12:47:09 polkit-elogind-dev -> polkit-dev -> polkit-noelogind-libs 2023-03-02 12:47:20 So they are both pulled in 2023-03-02 12:47:21 both -libs provide libglib-2.0.so? 2023-03-02 12:47:38 no, they depend on it 2023-03-02 12:47:38 I see. Thanks. I am not sure how you'd go about resolving this 2023-03-02 12:48:23 Newbyte: I found that via apk dot polkit-elogind-dev 2023-03-02 12:50:11 So dependencies are manually added in polkit-dev 2023-03-02 12:50:25 (specifically the polkit-noeligind-libs) 2023-03-02 12:52:13 These packages are all subpackages of polkitr 2023-03-02 12:52:17 polkit* 2023-03-02 12:52:46 -dev depends on polkit-noelogind-libs 2023-03-02 12:53:36 elogind-dev depends on polkit-dev 2023-03-02 12:54:11 I supsect the latter to be an error 2023-03-02 12:57:43 7368ae495d12305bf791e31675e3e846f05e80b3 2023-03-02 13:03:13 I've added my findings to that issue 2023-03-02 13:04:43 thanks! 2023-03-02 13:10:32 maybe we need an explicit polkit-noelogind-dev 2023-03-02 13:10:50 where polkit-dev contains the common files 2023-03-02 13:13:16 or maybe instead of calling those -dev, call them -gir or something 2023-03-02 14:08:01 something takes forever on armhf with !44673 could we disable for that arch if it doesn't complete on the builders or now? 2023-03-02 14:37:11 omni: afaik rust is broken on armhf 2023-03-02 14:37:29 yeah, psykose is looking at why 2023-03-02 15:27:01 Newbyte: are you able to test this? https://tpaste.us/z5aj 2023-03-02 15:27:57 I tried to keep everything backwards compatible, so things are not ideally named 2023-03-02 15:29:18 sorry, something was still missing: https://tpaste.us/XygZ 2023-03-02 15:31:54 hmm 2023-03-02 15:35:43 ok, n/m psykose already pushed something 2023-03-02 15:39:59 psykose reverted the change again 2023-03-02 15:50:30 ikke: where do you see it being reverted? 2023-03-02 15:50:45 https://git.alpinelinux.org/aports/commit/?id=cd85be3d3e88 2023-03-02 15:51:22 ikke: I don't see the revert? 2023-03-02 15:52:46 compare to https://git.alpinelinux.org/aports/commit/?id=7368ae495d12 2023-03-02 15:53:06 oh, not exact revert 2023-03-02 15:53:07 ikke: oh, I thought you meant the fix was reverted 2023-03-02 15:53:22 no, the commit that introduced the issue 2023-03-02 15:53:29 but I see now without =$pkgver-r$pkgrel 2023-03-02 16:15:37 ikke: i still can't log into the armhf container 2023-03-02 16:22:14 ok, apparently root (/) is not root (/root) :P 2023-03-02 16:35:28 :) 2023-03-02 16:40:38 works now 2023-03-02 16:40:39 thanks 2023-03-03 01:27:58 is the logic behind what goes into modloop documented anywhere? 2023-03-03 01:28:32 i'm trying to read through the update-kernel script and.. it's kind of a mess with only really vague comments 2023-03-03 07:36:48 docuwhat? 2023-03-03 09:23:09 "complete instructions are available as a gnu info page" 2023-03-03 09:32:03 that’s better than ska’s HTML-only 2023-03-03 09:33:41 there’s not that much difference between lynx and info 2023-03-03 09:34:27 ptrc: sorry, what are you trying to do? I'm a bit interested too 2023-03-03 09:40:54 ptrc: which modloop? i think it is different in alpine standard and extended images 2023-03-03 09:41:53 the thinking is that modloop is readonly, which means you can not add stuff once its created. it means that we need to include everything that might be needed 2023-03-03 09:42:04 including firmware 2023-03-03 09:42:22 but we dont want include things that is not needed (eg firmware that no kernel module uses) 2023-03-03 09:42:57 also, i think we added zfs kernel modules to the extended iso, but not to the standard iso. 2023-03-03 09:43:31 and the reasoning is that we want keep the standard iso as small as possible. if you need more you can always use the extended 2023-03-03 09:43:54 that has been the thinking so far 2023-03-03 10:38:53 humm: better? yeah sure, how many info readers are out there vs. how many web browsers are out there? 2023-03-03 10:39:54 istg people, you need to get a grip on reality. Using GNU info puts you square in the "insular GNU zealot" category 2023-03-03 10:40:08 and you don't want to be there. 2023-03-03 10:59:32 using a program does not put you anywhere lol 2023-03-03 11:00:10 There are two info readers and many browsers. Texinfo can be translated to HTML or to PDF or the like or to info. 2023-03-03 11:01:58 I, for my part, would love to see more documentation as troff, both as man pages and as ms manuscripts. 2023-03-03 11:02:00 that's awesome, everyone reads documentation as PDF 2023-03-03 11:02:29 it’s true that hardly anyone does 2023-03-03 11:02:29 and if you like man pages, rejoice, flexibeast is writing man pages for my packages, isn't it wonderful 2023-03-03 11:02:35 it is 2023-03-03 11:03:04 and it is comfortable to read your HTML with lynx 2023-03-03 11:03:49 yeah, so I have no idea where your "gnu info pages are better than HTML-only" comment comes from 2023-03-03 11:04:05 it is provably untrue 2023-03-03 11:05:02 my thinking was that the set of output formats is a superset of that of HTML 2023-03-03 11:05:28 my comment was misplaced 2023-03-03 11:05:41 should have been something like “not that bad” 2023-03-03 11:06:13 “Texinfo is not that bad. You can convert it to HTML if you like.” 2023-03-03 11:07:05 Also, I hadn’t realized we’re in #alpine-devel. I’m sorry. 2023-03-03 11:08:34 even then it's arguable because it depends on a lot of factors: how much you're willing to depend on a texinfo compilation suite, the quality of the output (which is not great for info2html), the ease of writing texinfo (which is no great either), etc. But the discussion about documentation formats should indeed happen somewhere else (and preferrably a place I don't read). 2023-03-03 11:34:11 ddevault: I have a question about cb053f3506f9486d41a9c5744e07116ccc6cbaa1 2023-03-03 11:34:32 that commit introduces 0003-efi-implemented-LoadFile2-initrd-loading-protocol-fo.patch 2023-03-03 11:34:56 0003-efi-implemented-LoadFile2-initrd-loading-protocol-fo.patch changes grub-core/loader/arm64/linux.c 2023-03-03 11:35:21 which is arm64 and not risc-v as the cb053f3506f9486d41a9c5744e07116ccc6cbaa1 commit message suggests 2023-03-03 11:35:54 now I see that there is an upstream change, that looks very similar - but still different: https://git.savannah.gnu.org/cgit/grub.git/commit/grub-core/loader?id=75e8d0d98069294c725f4f1fff41f27cb577a040 2023-03-03 11:37:15 these were a WIP patch series lifted off the mailing list with relatively little scrutiny under the justification that some RISC-V support was better than no RISC-V support, dating to well before I had started the upstreaming process 2023-03-03 11:37:34 I can look for an updated patchset and rebase these if necessary 2023-03-03 11:37:48 testing on real hardware would be a bit of a challenge, my RISC-V setup is currently pretty stale 2023-03-03 11:37:54 will have time for this next week, drop me an email 2023-03-03 11:39:07 ohhh someone mentioned risc-v 2023-03-03 11:39:29 ddevault: I bumped into this while trying to debug: https://gitlab.alpinelinux.org/alpine/aports/-/issues/14407 2023-03-03 11:40:02 JohannesJ[m]: we also have an #alpine-riscv64 channel 2023-03-03 11:40:18 can you still reproduce this bug with the RISC-V series removed from grub? 2023-03-03 11:40:51 ncopa: not according to matrix? it says no such room can be found? 2023-03-03 11:41:25 on IRC, not matrix 2023-03-03 11:41:33 ahh :) 2023-03-03 11:44:12 ddevault: did this "drop you an email"? https://gitlab.alpinelinux.org/alpine/aports/-/issues/14407#note_294044 2023-03-03 11:45:11 yep 2023-03-03 11:45:13 cheers 2023-03-03 11:45:18 will get back to you on it next week 2023-03-03 14:49:44 ddevault: i had a look at it and I think I was able to rebase them properly. Will push update in a bit 2023-03-03 14:50:13 ncopa: cool, keep me updated 2023-03-03 15:08:38 I pushed grub rebase of patches. we need to test if riscv64 still works 2023-03-03 15:20:09 OK, I can test later today 2023-03-03 15:20:28 Just upgrading and rebooting? 2023-03-03 15:28:33 Hi all, could anybody please look at MR !20664? It seems to ready for merge since weeks 2023-03-03 15:33:13 looks like it failed on some arches 2023-03-03 15:40:18 oh ok, I didn't see any pending changes. Let me try to contact the owner 2023-03-03 16:38:38 Hello all, I'm trying to build a package from a Python project and the tests folder is being included in the final apk. Does anyone know how I can avoid this? 2023-03-03 16:41:44 spameier: you can 'rm -rf "$pkgdir"/usr/lib/python3*/site-packages/some-name/tests', basically 2023-03-03 16:43:48 Oh I wanted to avoid that, but if it's the best option 2023-03-03 16:49:30 ncopa: seems your rebased patches for grub don't build on riscv 2023-03-03 16:58:18 psykose: i saw. unfortunately my riscv64 dev env does not have working network for some reason 2023-03-03 17:02:38 ah yeah 2023-03-03 17:02:39 mine either 2023-03-03 17:29:03 ncopa: but your container should have an address, doesn't it? 2023-03-03 17:29:36 I set them statically 2023-03-03 17:50:18 psykose: you should be able to access your container again 2023-03-03 17:52:28 it doesn't resolve 2023-03-03 17:52:31 unless you moved the dns 2023-03-03 17:52:59 hmm, I did add a host record 2023-03-03 17:56:09 psykose: ok, apparently I do need to add the fqdn as host-record as well 2023-03-03 17:56:41 psykose: resolves for me now 2023-03-03 17:57:07 same for me 2023-03-03 17:57:08 thanks 2023-03-03 20:23:07 !23678 is waiting for a review. I would be happy if someone had time for that. 2023-03-03 20:25:25 "1 year ago" oof 2023-03-03 20:26:48 yes, it took me a long time... 2023-03-03 20:27:18 ikke: i configured a static ip, yes 2023-03-03 20:27:24 ncopa: ah 2023-03-03 23:21:38 i will fix grub on riscv64 on monday unless someone beat me over the weekend 2023-03-04 01:09:50 hmmmm this is.... confusing. I get LinuxPTP working right on alpine... and when I try to point chrony at it.... it segfaults immediately 2023-03-04 01:11:18 just chrony things 2023-03-04 01:16:28 yeah, maybe, I can't even tell yet 2023-03-04 01:16:51 I need to replicate this setup on rocky (least favorite distro name ever) 2023-03-04 01:18:32 https://paste.millerjs.org/zeqawinusi.txt 2023-03-04 01:20:51 aeroraptor: nothing useful in the chrony logs? 2023-03-04 01:21:07 if you add gdb + musl-dbg and get it to crash in gdb then you could get something slightly more useful 2023-03-04 01:21:30 I don't know how to do those things yet but that sounds like a good idea! 2023-03-04 01:22:02 minimal: nope, segfaults *instantly*, doesn't run long enough to generate a log 2023-03-04 01:22:19 I'm looking to see if I can run chronyd directly at a debug mode or whatever 2023-03-04 01:23:30 running via strace might give a hint as to what is going on 2023-03-04 01:26:07 okay here we go 2023-03-04 01:26:43 https://paste.millerjs.org/okadawipoy.txt 2023-03-04 01:26:55 nice 2023-03-04 01:27:07 now add those, and add chrony-dbg too, and then gdb --args 2023-03-04 01:27:17 then r, bt full 2023-03-04 01:27:43 okay - and I'm going to try and comment out leapsectz - the clock will be off by 37 seconds, but at least it will give me an idea 2023-03-04 01:28:00 don't have to do anything else 2023-03-04 01:28:14 2023-03-04T01:27:58Z Fatal error : refclock tai option requires leapsectz 2023-03-04 01:28:17 lol well nevermind anyway! 2023-03-04 01:28:23 I know I just wanted to test a few things, hang on here 2023-03-04 01:28:46 aeroraptor: which version of Alpine is this? wasn't there an upstream tzdata fuss of some sort about things like "right" about 6 months ago? 2023-03-04 01:29:21 alpine release tells me 3.18_alpha20230208 2023-03-04 01:29:31 ah, so it's Edge then 2023-03-04 01:29:49 tzdata is 2022-r0 2023-03-04 01:32:51 aeroraptor: relevant? https://chrony-users.chrony.tuxfamily.narkive.com/wDW8DCm4/leapsectz-and-phc-refclock-offset 2023-03-04 01:33:17 specifically the reply by Miroslav Lichvar, the chrony author 2023-03-04 01:34:15 oh this is a SUPER interesting thread 2023-03-04 01:34:33 for what it's worth, I don't NEED TAI time, I could use UTC and be just as happy 2023-03-04 01:35:34 I had thought that phc2sys needed an offset but now I'm not so sure... hmmm 2023-03-04 01:40:07 psykose: I'm a bit of a newbie at this, where do I add chrony-dbg from? 2023-03-04 01:40:46 apk add 2023-03-04 01:40:58 unless you're using a mirror other than dl-cdn and it takes a while to sync 2023-03-04 02:13:22 doh of course it's on the testing repo! hah! 2023-03-04 02:15:23 aeroraptor: chrony? nope, it's in main 2023-03-04 02:15:38 chrony-dbg ? 2023-03-04 02:16:03 it is a sub-package of chrony 2023-03-04 02:16:24 just like chrony-doc and chrony-openrc 2023-03-04 02:16:36 oh, well I got that, but I 2023-03-04 02:16:42 I am not entirely sure if I am doing this right 2023-03-04 02:17:14 apk update; apk add chrony-dbg ? 2023-03-04 02:17:24 https://paste.millerjs.org/xozatunefu.txt 2023-03-04 02:18:32 " then r, bt full" 2023-03-04 02:19:37 AFAIK the "r" runs the program until it crashed, the "bt full" shows a full backtrack of when it died 2023-03-04 02:19:45 s/backtrack/backtrace/ 2023-03-04 02:19:45 minimal meant to say: AFAIK the "r" runs the program until it crashed, the "bt full" shows a full backtrace of when it died 2023-03-04 02:20:05 oh that's a cute bot lol 2023-03-04 02:20:07 okay I'm testing now 2023-03-04 02:20:33 I don't know chrony, but what I do know is that syncing on UTC is a historical mistake that makes it impossible to properly synchronize around a leap second 2023-03-04 02:20:41 in practice it makes no difference 99.5% of the time 2023-03-04 02:20:53 you are 100% correct 2023-03-04 02:21:03 leap seconds were a mistake 2023-03-04 02:21:14 well they are talking about getting rid of them 2023-03-04 02:21:16 that's not what I'm saying 2023-03-04 02:21:36 https://paste.millerjs.org/ziqaromuyo.txt 2023-03-04 02:21:48 that's unfortunately a misconception, leap seconds are not the mistake, the mistake is having made them mandatory at the machine level instead of the user interface level 2023-03-04 02:22:11 okay yeah you're right 2023-03-04 02:22:15 NTP using UTC to synchronize instead of TAI is the mistake 2023-03-04 02:22:19 they are a human thing like time zones 2023-03-04 02:22:22 exactly 2023-03-04 02:22:59 I was talking about this with my dad earlier today hahah when I was explianing this to him (he's a ham and very much a nerd do he's into this shit) 2023-03-04 02:23:21 and he was like "well what about 200 years from now when suddenly it gets dark at 2PM at the equator???" 2023-03-04 02:23:31 and I was like... *emphatic eye rolling* 2023-03-04 02:24:03 I'll honestly be surprised if computers are still a thing in 200 years 2023-03-04 02:24:36 but for the next 20-30 years, yeah, if you want to aim at the mystical 100% correctness, you'll need to sync over TAI, not UTC :) 2023-03-04 02:35:26 yup yup 2023-03-04 02:35:57 psykose: did you see that paste 2023-03-04 02:36:53 you didn't add chrony-dbg 2023-03-04 02:38:59 gdb --args chronyd-dbg -f /etc/chrony/chrony.conf -d -U 2023-03-04 02:39:01 like that? 2023-03-04 02:40:18 is the package chrony-dbg installed? 2023-03-04 02:44:19 yes it is, but I can't find what actually was installed 2023-03-04 02:50:30 https://img.ayaya.dev/4ebOjXfTlTHw 2023-03-04 02:51:02 okay, thank you, I will try it tomorrow 2023-03-05 09:47:14 someone got waydroid to works? It just fails with this message on edge "modprobe: FATAL: Module binder_linux not found in directory" 2023-03-05 09:47:37 looks like we don't have the options enabled: https://github.com/waydroid/waydroid/issues/30 2023-03-05 09:54:32 it's enabled in -lts but not in -edge 2023-03-05 09:59:56 mhh 2023-03-05 10:00:09 can it be enabled in -edge? 2023-03-05 10:00:21 or there is a reason not to? 2023-03-05 10:01:13 a more general question: any reason to not keep modules in sync? iirc hid_playstation is in -edge but not -lts 2023-03-05 10:02:49 to me it looks curious edge got less modules than lts. The contrary looks less problematic 2023-03-05 10:39:47 they're maintained by separate people that do different things :p 2023-03-05 10:40:05 you can always open issues and ask for stuff i guess 2023-03-05 10:40:17 personally i just build my own 2023-03-05 11:07:46 @psykose: A while ago you pointed me to use clang and compiler-rt when compiling pipewire after my previous debugging session. I'm currently trying to find another possible bug in pipewire and are giving compiler-rt and clang shot but fail to build it. If you could just take a quick look at the output and my modifications to the APKBUILD to see what I've missed/messed up, I'd 2023-03-05 11:07:47 appreciate it greatly: https://tpaste.us/NBmy and APKBUILD https://tpaste.us/xykl 2023-03-05 11:10:37 for pipewire specifically you just can't iirc 2023-03-05 11:10:46 they had some weird stuff that made it impossible 2023-03-05 11:15:19 aside from that not really sure 2023-03-05 11:15:25 sam_: do you perhaps remember this 2023-03-05 11:16:10 it fails with https://img.ayaya.dev/HyOigeWpC8kt and the asan is https://img.ayaya.dev/wPySTGvlMYqk , so i'm not actually sure what is wrong 2023-03-05 11:16:14 it does work for everything else 2023-03-05 11:28:10 @psykose: In other words the APKBUILD looks ok to you? 2023-03-05 11:28:41 in terms of what you wanted to do? sure 2023-03-05 11:30:52 Well this is the issue I'm rebuilding pipewire for: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3063 2023-03-05 11:33:16 most of the useful information you would get is just backtracing the core dump with the debug symbols 2023-03-05 18:55:10 nvm, i forgot to read the logs 2023-03-05 18:58:06 EvTheFuture: https://img.ayaya.dev/K5qmCQFP4d1X 2023-03-05 18:58:14 you just need -Db_lundef=false 2023-03-05 21:03:23 WhyNotHugo: yet again someone trying to package hyprland and discovering that the developer doesn't want it to be packaged, huh? 2023-03-05 21:06:27 elibrokeit: I've seen worse 2023-03-05 21:06:37 I bet you haven't 2023-03-05 21:06:56 elibrokeit: must be a tuesday 2023-03-05 21:07:06 the hyprland developer has a very... nasty... way of speaking to users 2023-03-05 21:09:06 significant degree of third-grade potty humor is matched and exceeded by hysterical threats to prosecute packagers for "violating the geneva conventions", as a ground level state of being. But if you dig in deep, the author actually does get seriously nasty. 2023-03-05 21:19:20 I'm not sure I follow 2023-03-05 21:22:07 Listen, do whatever you want. :) However, I continue to not understand, why is this piece of artisanal half-melted pottery so interesting to people. 2023-03-05 21:22:39 If you'd like to tilt at windmills to try packaging it, go right ahead. 2023-03-05 21:22:47 probably because it's shiny :P 2023-03-05 21:23:44 elibrokeit: it's a law of nature, the more unpleasant the developer, the more hoops people will jump through to accommodate them, and the more flexible the developer, the more disinterested people are 2023-03-05 21:24:06 like human/cats relationships, or men/women 2023-03-05 21:25:16 I don't even understand why it's considered shiny. 2023-03-05 21:25:57 Look at all those shiny github stars 2023-03-05 21:25:59 it must be good 2023-03-05 21:26:40 it has animations! and rounded corners!! 2023-03-05 21:34:32 I wrote/maintain shotman, and want to know on which compositors it works. 2023-03-05 21:37:11 maybe just lean on "but any wlroots-based compositor should work" 2023-03-05 21:37:39 or, you know, git clone the repo, run make, and execute the compositor as ./ for a one-off test :P 2023-03-05 21:38:36 you don't need to make an alpine package for it, nor try to figure out how to use system wlroots, if all you want is to verify that your program works okay on it 2023-03-05 21:38:36 elibrokeit: hyprland targets the r/unixporn users 2023-03-05 21:38:37 [reddit] https://reddit.com/r/unixporn | 425,663 subscribers | Created at 2011-09-27 - 22:48:33UTC | Submit screenshots of all your *NIX desktops, themes, and nifty configurations, or submit anything else that will make ricers happy. Maybe a server running on an Amiga, or a Thinkpad signed by Bjarne Stroustrup? Show the world how pretty your computer can be! 2023-03-05 21:39:40 ^ is this really useful 2023-03-05 21:44:15 i also heard some horror story about their discord server 2023-03-05 21:45:24 also https://blog.vaxry.net/articles/Hyprland%20and%20the%20bundled%20wlroots 2023-03-05 21:45:27 vyivel: it's default behavior of the bot and it's rare enough that I don't feel to compelled to do anything about it 2023-03-05 21:54:33 bl4ckb0ne: "Hyprland is aiming to be bleeding edge" yeah ok so packaging it is useless 2023-03-05 21:54:42 yep 2023-03-05 21:55:17 i dont think they understand software release cycle 2023-03-05 21:56:24 I tend to agree on that. A stable release should work with SOME stable release of its dependencies. 2023-03-05 21:56:49 at least it proves one thing 2023-03-05 21:56:54 anybody can use wlroots 2023-03-05 22:05:04 stable release? never heard of her 2023-03-05 22:06:32 > In the beginning, Hyprland did not bundle wlroots. We just would depend on wlroots-git 2023-03-05 22:06:44 which is... also problematic. 2023-03-05 22:06:58 because how can you *possibly* know that wlroots is new enough, let alone too old? 2023-03-05 22:07:07 err, too new 2023-03-05 22:10:20 arch users smh 2023-03-05 22:11:12 imagine waking up at 2am to fix the compilation of your shiny project 2023-03-05 22:12:49 why not just always lock to the most recent stable release 2023-03-05 22:13:18 > Because Hyprland is aiming to be bleeding edge, offering users the newest features from wlroots 2023-03-05 22:13:26 riiiiiiiiiiiiiiiiiight 2023-03-05 22:16:04 https://blog.vaxry.net/articles/Addressing%20some%20common%20Hyprland%20complaints ;) 2023-03-05 22:20:42 also the dev is an edgy teen bigot https://imgur.io/a/6Po3Paq https://fosstodon.org/@TheEvilSkeleton/109587658504727925 2023-03-05 22:23:24 ah thats the toot i was talking about thanks 2023-03-05 22:24:42 "spread hyprland superiority" lovely 2023-03-05 22:51:36 the fact that hyprland uses discord for its support channel is probably a big huge red flag all on its own 2023-03-05 22:54:14 requiring using malware to get support lol 2023-03-05 22:54:24 *sigh* 2023-03-06 00:38:27 psykose: https://paste.millerjs.org/raw/wucesufudo 2023-03-06 00:39:05 I don't know why it's saying no debugging symbols found, I have chronyd-debug installed, and there's a file at /usr/lib/debug/usr/sbin/chronyd.debug 2023-03-06 13:22:13 well, there's a clue anyway 2023-03-06 13:22:29 it's doing setenv("TZ", NULL, 1); 2023-03-06 13:22:35 not exactly valid 2023-03-06 13:23:05 hm or is it 2023-03-06 13:23:33 isn't 2023-03-06 13:27:09 my favorite part of the hyprland drama is everyone gives it shit for the bundled wlroots but we already have bundled wlroots projects in aports 2023-03-06 13:27:12 smh double standards 2023-03-06 13:28:08 except even worse, they're outdated and forked bundled wlroots :p 2023-03-06 13:28:48 but we're not 19 years old edgelords 2023-03-06 13:30:15 hey hey 2023-03-06 13:30:21 as someone presently geographically in poland 2023-03-06 13:30:27 it's geographically appropriate i'll have you know 2023-03-06 13:34:25 pls send me some kielbasa 2023-03-06 13:39:43 if only i know what that is 2023-03-06 13:41:21 I was something like 10 m away from Poland yesterday :) 2023-03-06 13:53:52 come fight me before i leave 2023-03-06 13:58:51 ACTION is going 100km/h away from Polish border right now 2023-03-06 13:59:12 I will be closer to Austria than Poland in a minute 2023-03-06 14:03:10 FWIW, bundling older versions of libraries is the norme in Rust and Golang where binaries statically link all their dependencies. 2023-03-06 14:03:17 Though they usually bundle old *stable* releases. 2023-03-06 14:10:48 Many go projects use dependabot or similar to automatically bump dependencies, though 2023-03-06 14:23:51 rust has tools like that too 2023-03-06 14:24:28 although i personally dont like the mass vendoring... 2023-03-06 14:24:51 you end up patching long fixed bugs over and over and over.... 2023-03-06 14:25:12 It's not vendoring 2023-03-06 14:25:22 At least, in most cases 2023-03-06 14:26:01 its vendoring as in many projects have their own versions of every crate rather than using system versions 2023-03-06 14:29:45 FWIW, bundling older versions of libraries is the norme in Rust and Golang where binaries statically link all their dependencies. 2023-03-06 14:30:01 and then people wonder why I scoff at new languages 2023-03-06 14:30:42 how about, y'know, you actually inject some engineering sanity into your new hype shit? 2023-03-06 14:31:49 i wish ^ 2023-03-06 14:32:15 maybe controversial to say, but rust is extend, embrace, extinguish 2023-03-06 14:39:13 if that's really what they want... *that* is wishful thinking XD 2023-03-06 14:40:06 skarnet: its already in the browsers and now its getting shoved into the graphics drivers and kernel 2023-03-06 14:40:13 SBOMs for rust-based distros (if they exist) must be "interesting", showing a million-and-1 versions of each crate lol 2023-03-06 14:40:27 and if you try to tell any of these devs, almost all of them act like they just saw heresy 2023-03-06 14:41:11 not to say they are in on it 2023-03-06 14:41:16 orbea: oh, it's spreading for sure, but that has nothing to do with EEE 2023-03-06 14:41:20 they're not killing anything 2023-03-06 14:41:30 they're just adding your own problem to the pile of problems 2023-03-06 14:41:36 s/your/their/ 2023-03-06 14:41:36 skarnet meant to say: they're just adding their own problem to the pile of problems 2023-03-06 14:42:06 a problem that was created by deep pockets 2023-03-06 14:42:19 that's what deep pockets do 2023-03-06 14:45:22 its a hypothesis that all the financial interest is to subvert and control free software spaces, but maybe im wrong :shrug: 2023-03-06 14:57:54 suckless people pretending someone even wants to control their fancy space xD 2023-03-06 14:57:55 good one 2023-03-06 14:59:02 yea, i dont mean suckless, that is disengenious 2023-03-06 14:59:25 i mean the kernel, the browsers, graphics drivers, othey key components 2023-03-06 14:59:30 *other 2023-03-06 14:59:37 there is a lot of money in that these days 2023-03-06 15:01:47 it's much much more simple than that i'm afraid 2023-03-06 15:01:59 the reason that is that nobody wants to write C except 4 people on irc 2023-03-06 15:01:59 hmm? 2023-03-06 15:02:38 so they all adopt the corporate hype language that is worse in basically every regard? 2023-03-06 15:02:52 nobody under 35 wants to write C :( 2023-03-06 15:03:17 yeah, people have decided that "new is always better" in many cases 2023-03-06 15:03:42 and then they will end up having to solve all the old problems again in a new way 2023-03-06 15:03:59 if you close your ears and scream into the ground that it's definitely "worse in every regard because i said so" and "shiny new thing bad" then yeah, certainly 2023-03-06 15:04:02 you are always right :) 2023-03-06 15:04:22 lots of people that aren't you, however 2023-03-06 15:04:28 and they all wrote many languages 2023-03-06 15:04:32 and they picked one they enjoy more :p 2023-03-06 15:04:33 it does not have to be one of those polar opposites though 2023-03-06 15:04:38 I'll take new if it is actually better 2023-03-06 15:04:39 there's really nothing more to it than that 2023-03-06 15:05:12 sarcasm is not going to convince anyone 2023-03-06 15:05:18 "look at how smart I am because I made something complicated" is often the reason for "new" though 2023-03-06 15:05:23 i'm not trying to convince you 2023-03-06 15:05:29 i already know you are a doomerist lost cause 2023-03-06 15:05:36 but i can certainly have fun in an irc channel 2023-03-06 15:06:04 ACTION shrugs, "fun" is subjective 2023-03-06 15:06:09 at the end of the day you can write and use whatever you want 2023-03-06 15:06:12 that in itself has never changed 2023-03-06 15:06:15 and this is not going anywhere so I will stop 2023-03-06 15:07:15 and if every "graphics driver" developer decided at once they actually wanted to write it in rust (like they apparently seem to be doing, if that's what you think they are), then maybe there is a reason for that 2023-03-06 15:07:25 and if you are unhappy with it, all you can do is write your graphics drivers yourself 2023-03-06 15:08:16 that's not really an answer, coming from the perspective of someone who has spent thousands of hours writing software because I decided to "do it better myself" :( 2023-03-06 15:08:41 robust discussions on the value of a technology are necessary 2023-03-06 15:08:52 it can't simply be "someone dislikes something, shut them up immediately!" 2023-03-06 15:11:05 if only i had the power to just shut people up immediately lol 2023-03-06 15:11:27 i'm just telling you these people that suddenly went from C to rust after writing drivers for 10 years are doing it for a reason 2023-03-06 15:11:35 and all you can tell them is "rust bad stop using it" 2023-03-06 15:11:38 they're not going to listen to that 2023-03-06 15:11:44 do whatever you want with this advice 2023-03-06 15:12:20 including discuss it! but it just might not actually go anywhere 2023-03-06 15:12:38 and in the end, what can anyone complaining about it do, if nothing changes? 2023-03-06 15:12:50 well, the way I see it, it seems like the discussion is not allowed in those spaces 2023-03-06 15:14:22 as someone that has read that discussion for years i don't think that's a fair assessment 2023-03-06 15:14:40 has it been considered "settled, never revisit"? 2023-03-06 15:22:18 anyway, if one finds themself getting emotional over software for any reason, it is likely unrelated to technology at that point 2023-03-06 15:22:20 until next time! 2023-03-06 15:22:49 certainly a good thing to take a break when you get emotional, yes 2023-03-06 15:29:02 is patching upstream sources to disable auto-update / update notifications and such (by fetching upstream website for example) in scope of aports ? i mean it's defunct for auto-update anyway 2023-03-06 15:39:21 yes 2023-03-06 16:26:49 <@psykose> i'm just telling you these people that suddenly went from C to rust after writing drivers for 10 years are doing it for a reason 2023-03-06 16:27:16 I for one welcome the departure of these people from the C programmer space :P 2023-03-06 16:28:18 if you don't think that C is the correct language to write a friggin *driver* then you're right and you should stop writing drivers in C 2023-03-06 16:29:08 thinking C is the only language to write drivers in is equally completely stupid 2023-03-06 16:29:15 it's so funny it makes me laugh out loud, even 2023-03-06 16:30:27 well I'm still waiting for a language that does low-level things with the same amount of control that C gives you, all I can say is Rust isn't it 2023-03-06 16:31:21 yeah, it sadly has even more control 2023-03-06 16:31:24 gotta wait for a downgrade 2023-03-06 16:32:32 you're busting the bad faith meter today and I don't have many in store, I'll wait until tomorrow :P 2023-03-06 16:49:12 8:22:29 AM <@psykose> it's doing setenv("TZ", NULL, 1); 2023-03-06 16:49:12 8:22:35 AM <@psykose> not exactly valid 2023-03-06 16:49:12 so is this chrony playing badly, or what? 2023-03-06 16:49:21 probably 2023-03-06 16:49:37 it's in reference.c 2023-03-06 16:49:44 the only two setenv's in the program 2023-03-06 16:49:55 i can see how it /can/ happen but ofc i didn't write the program 2023-03-06 16:49:58 I'm all for posting it to the chrony-dev peeps but I'm not really sure how to articulate the problem as of yet - I wish I could get chrony-dbg to work properly 2023-03-06 16:50:00 sure 2023-03-06 16:50:02 the only bug reports they take are the mailing list apparently 2023-03-06 16:50:32 as for chrony-dbg not sure 2023-03-06 16:50:51 should just work, weird 2023-03-06 17:55:45 aeroraptor: seems you didn't set "leapsectz" in chrony.conf 2023-03-06 17:57:27 minimal: I did thought! https://paste.millerjs.org/raw/gafivuheci 2023-03-06 17:57:30 though* 2023-03-06 17:59:49 strange, from config.c and reference.c leap_tzname is set based on leapsectz value in config file 2023-03-06 18:01:27 aeroraptor: ah, did you checks logs for "Timezone ... failed leap second check, ignoring"? 2023-03-06 18:02:00 chrony logs? they don't get any output before it segfaults. 2023-03-06 18:10:09 ok, that's the only place I set leap_tzname being set to NULL 2023-03-06 18:16:56 this should technically work, as is, but I'm thinking that for this machine, in the short term, what I could do is configure SDP0 on /dev/ptp0 to be a generic PPS source, and then use gpsd's SOCK or SHM0 for the wallclock time 2023-03-06 18:22:41 " this should technically work, as is"? chronyd is seg faulting because it tried to set TZ to null, the only place I can see the value to be set for TZ being NULL is where "leapsectz" is specified but that that file doesn't have "good data" for Jun 30 2012 and Dec 31 2012 (from the comment in the code) 2023-03-06 18:23:24 oh I mean the setup I am running should work 2023-03-06 18:23:46 also, this is what chronyd spits out when I run the config file with the refclock commented out: https://paste.millerjs.org/raw/yigaqufayu 2023-03-06 18:25:31 aeroraptor: that's the EXACT message I asked you to look for earlier 2023-03-06 18:26:01 I just didn't get a chance to see it until I ran when the ptp0 refclock disabled 2023-03-06 18:26:14 so the "right/UTC" file does not have "good data" for Jun 30 2012 and Dec 31 2012 2023-03-06 18:27:41 https://github.com/mlichvar/chrony/blob/master/doc/chrony.conf.adoc#leapsectz 2023-03-06 18:27:50 wondering if there's a difference in behaviour between musl and glibc setenv and perhaps the setenv TZ with NULL doesn't segfault on glibc systems 2023-03-06 18:27:58 at the bottom of this section there is a little command string that can be used to test right/UTC 2023-03-06 18:28:10 and it works on my debian and arch boxes, but fails on my alpine boxes 2023-03-06 18:28:13 so I think you're right 2023-03-06 18:28:23 $ TZ=right/UTC date -d 'Dec 31 2008 23:59:60' 2023-03-06 18:29:41 I'm referring to here: https://github.com/mlichvar/chrony/blob/master/reference.c#L265 2023-03-06 18:29:53 where the else clause is then leading to the segfault you see 2023-03-06 18:32:14 can run the same test with a date in that range - TZ=right/UTC date -d 'Jun 30 2012 23:59:60' 2023-03-06 18:38:05 aeroraptor: and Dec 31 2012 ? 2023-03-06 18:38:45 I can try, but according to NIST there wasn't a leap second on that date, I'm not sure why it's picked 2023-03-06 18:38:46 https://www.nist.gov/pml/time-and-frequency-division/time-realization/leap-seconds 2023-03-06 18:39:12 yeah, a leap second on 2012-12-31 fails 2023-03-06 18:39:20 (on my debian box) 2023-03-06 18:39:34 aeroraptor: yes, look at the code link I posted, it is checking that there IS a leap second for Jun 30 2012 and that there is NOT a leap second for Dec 31 2012 2023-03-06 18:39:46 oh doh of course, I misread it 2023-03-06 18:39:55 it is also checking tai_offset in both cases as well 2023-03-06 18:40:28 so at least 1 of those 4 connditions that it checks is not met 2023-03-06 22:58:13 Hello, I'm trying to make my first package and was wondering where I could find more info on the part of the template where it says "replace with proper build commands" 2023-03-06 23:01:30 Arch linux has tcc listed as its sole dependency, which wikipedia says is a tiny c compiler, but some of the examples in the aports directory I'm looking at seem to use meson to build. Is meson usually used in Alpine to build? 2023-03-06 23:05:12 Quillith: it depends on the project you're trying to build 2023-03-06 23:05:40 if they use meson (have meson.build file, etc.) then you can use meson to build it 2023-03-06 23:14:37 Okay, thank you. The makefile on github says build: envload , i'll keep looking 2023-03-06 23:16:02 followed the wiki's recommendation to check out the arch pkgbuild, I'll probably reference that a lot 2023-03-06 23:32:05 I ran abuild -r and it said 'source 1.0.4.tar.gz needs to be renamed to avoid possible collisions'. All I put in source was the URL for the github's tar download, what could abuild be colliding with? 2023-03-06 23:32:49 files downloaded from upstream get stored in the global cache 2023-03-06 23:33:03 both on your computer (/var/cache/distfiles) and on the actual alpine builders 2023-03-06 23:33:33 so if you have a file that just says 1.0.4.tar.gz and someone makes the same mistake, it's gonna assume the source has already been downloaded and use the wrong file 2023-03-06 23:33:55 to avoid that, you can just prefix the url with `$pkgname-$pkgver.tar.gz::` - the `::` part is the delimiter between target filename and URL 2023-03-06 23:38:05 Okay, so instead of "https://github.com/jcnils/protonhax/archive/refs/tags/1.0.4.tar.gz" I would put source as "$pkgname-$pkgver.tar.gz::https://github.com/jcnils/protonhax/archive/refs/tags/1.0.4.tar.gz" , thank you 2023-03-06 23:48:17 well, yeah, but you can't hardcode the version 2023-03-06 23:53:21 Oh, good point, so would " $pkgname-$pkgver.tar.gz::https://github.com/jcnils/protonhax/archive/refs/tags/$pkgver.tar.gz " be better then? 2023-03-07 00:00:20 So it looks like abuild -r worked, but at the end it says UNTRUSTED signature and error failed to create index 2023-03-07 01:52:55 I successfully built the apk, but when I point my repository file at the new directory I get an error- no such file or directory. But when I copypaste the error's path to cd into the directory that works. Does a repository need a special formatting or pathing to work? What generated for me was /home/nick/packages/nick/x86_64/ 2023-03-07 02:19:57 okay, I reduced the repo line to /home/nick/packages/nick/ and that worked, but now it's saying the signature is UNTRUSTED and won't build. How would I fix that 2023-03-07 02:25:19 I found an Alpine blog post from 2022, would this link still work or would I needd to update it to a new version?apk add -X https://dl-cdn.alpinelinux.org/alpine/v3.16/main -u alpine-keys 2023-03-07 02:36:19 no, that's not the case here 2023-03-07 02:36:26 what you're missing is your own keys in the system trust 2023-03-07 02:36:56 if you look at the .abuild directory in your home, you can see the private key (ending with .rsa) and its public counterpart (.rsa.pub) 2023-03-07 02:37:03 you need to copy the latter into /etc/apk/keys/ 2023-03-07 03:24:39 orbea: the browsers were always a lost cause if you don't want rust in your programs, on account of where rust came from... on the other hand my impression of the kernel was that they were only interested in adding support for optional new modules. 2023-03-07 03:26:21 holy cannoli it works! whoa! Thanks for your help 2023-03-07 03:37:10 elibrokeit: yep i agree regarding browsers, it was an example of how crucial parts of the ecosystem are being used to force this onto everyone and for kernels or mesa my assumption is it will be moving goal posts, but we'll see 2023-03-07 03:37:39 i'd be happy to be wrong 2023-03-07 03:38:46 for mesa I don't know anything about limiting scope anyway, but I do know that they very much want to build rust code via meson and NOT via cargo, for a couple reasons including the fact that crates should have consistent versions 2023-03-07 03:38:56 (and meson will enforce no diamond dependencies) 2023-03-07 03:39:40 in slightly better news 2023-03-07 03:41:05 there is a rust-lang developer, who is trying to push for rust defining an actual "rich rust types" FFI, which is NOT just "bind it to C", and this is apparently going to maybe unlock a world where rust crates can be compiled to shared libraries and linked into multiple rust programs 2023-03-07 03:42:07 ooh, got anymore info/links about that? 2023-03-07 03:43:24 https://github.com/rust-lang/rust/pull/105586 2023-03-07 03:44:51 nice thanks 2023-03-07 03:46:41 if rust developers can avoid translating functions into "unsafe C" and immediately back when communicating over a shared library interface, they may become a lot more tempted to compile librust-foobar.so as shared functionality instead of always vendoring it and statically linking it 2023-03-07 03:46:56 it's me, i'm rust developers 2023-03-07 03:47:36 elibrokeit: yea, the biggest issue imo are crates 2023-03-07 03:48:00 gcc-rs also may offset some of the pain 2023-03-07 03:49:19 i see gcc-rs succeeding in the same way that gcc-go has succeeded 2023-03-07 03:49:38 i really hope so 2023-03-07 03:49:44 that was sarcasm 2023-03-07 03:49:49 lol 2023-03-07 03:49:54 the bar is already very low 2023-03-07 03:50:02 now if only compilers would start shipping support for #embed 2023-03-07 03:50:19 (and i am not forced into using go so I dont know how bad that really is or not) 2023-03-07 03:51:11 IIRC gcc-go was perfectly fine a while back, but it basically came as a code dump from google and sort of bitrotted. 2023-03-07 03:52:36 also I feel like people care a lot less about go than they do about rust, so probably very few people cared to contribute to its maintenance 2023-03-07 03:53:16 certainly there were no kernel people saying they'd love gcc-go to be robust and useful "so we can compile some into our kernels" 2023-03-07 10:50:07 elibrokeit, yay, 1500 ms startup times for rust programs.. 2023-03-07 10:50:42 if your libraries are at "crate" resolution, they absolutely should be static linked 2023-03-07 10:51:41 and size, ntm memory at runtime, cost of shared libs is much higher than static until you reach a fairly large size threshold 2023-03-07 11:47:19 How did you guys realise so quickly that I was asking Hyprland-upstream some Alpine-related questions? 2023-03-07 11:47:26 I can't imagine you're monitoring issues for Hyprland. 2023-03-07 12:38:33 dalias: crate developers would have to manually opt into this anyway. So you can expect that it will only happen when specific rust developers have a high level crate they particularly want to share, which in turn statically links a bunch of other crates in at the rust level rather than the C library (either static *or* shared* level) 2023-03-07 12:40:47 which is a bad thing, because we deserve a world where we can generate static libraries for all crates at the crate level, build them once and link them statically many times. Something that Alpine isn't a stranger to... 2023-03-07 12:41:38 whether some people choose to use shared libs even for small libraries isn't really a language decision, it's a distributor decision 2023-03-07 13:14:06 imo it would make sense for "large" things like a video codec library 2023-03-07 13:14:17 but not things like leftpad 2023-03-07 15:34:49 Hi all! Does alpine officially support upgrading multiple releases at a time? So let's say from 3.15 to 3.17 or from 3.16 to edge? I had the feeling that I had read here that it was not supported, but that information seems to be nowhere 2023-03-07 15:35:09 So likely I'm just wrong, but wanted to double-check 2023-03-07 15:38:42 dalias: yes but I also think that things like left-pad shouldn't exist even as a source crate 2023-03-07 15:39:23 rust is better than npm here, but not exactly perfect 2023-03-07 15:41:36 being better than npm is not exactly a compliment :) 2023-03-07 15:41:49 PabloCorreaGomez[m]: you should have no problems directly upgrading to the release you want. 2023-03-07 15:43:32 PabloCorreaGomez: in general it depends, a few releases ago the package signing keys changes and you had to update that package before doing upgrades 2023-03-07 15:44:20 so if you were on a release that didn't contain the new keys then you couldn't directly upgrade to current release 2023-03-07 15:48:23 That makes sense. Thanks both for your comments! 2023-03-08 09:55:07 To fix that, you only had to make sure alpine-keys was up to date though 2023-03-08 09:55:29 But checking release note (especially on the wiki) can help 2023-03-08 16:49:42 ouch, I just noticed that pdfjs was removed acd74dd4d9feeb4be7990e48874da0d5853fcdd5 2023-03-08 16:50:00 is there some problem with it or just removed due lack of attention? 2023-03-08 16:50:27 sounds like the latter 2023-03-08 16:51:10 ok so I will try to get it up to date 2023-03-08 17:08:50 uhM, is distributed as source code (which needs a tool called gulp for bundle it) and a dist zip 2023-03-08 17:09:11 I suppose that is better to use the source but it seems that gulp is not packaged 2023-03-08 19:43:12 Hello, could someone give me a tip. Why do I always get a PXE boot image with the instructions? https://wiki.alpinelinux.org/wiki/How_to_make_a_custom_ISO_image_with_mkimage I'm new to Alpine 2023-03-08 23:36:42 are the arm builders under maintenance? 2023-03-08 23:39:44 getting a timeout exceeded error on arm jobs: `ERROR: Job failed: failed to pull image "alpinelinux/gitlab-runner-helper:latest" with specified policies [always]: Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) (manager.go:237:19s)` 2023-03-09 13:31:18 MR !20664 always fails with a timeout on aarch64 and ppc64le. Should we disable these arches in the package or how to proceed? 2023-03-09 14:21:44 midasi: we can try extending the pipeline duration a bit to see it just needs some more time 2023-03-09 14:22:19 midasi: are you working together with Thermi? 2023-03-09 15:29:46 ikke: yes exactly, we are working together. Please extend the timeout a bit 2023-03-09 15:29:56 I already did 2023-03-09 15:40:06 thank you, we will verify if it works now 2023-03-09 15:40:39 aarch64 seems to be finishing 2023-03-09 15:40:44 it's uploading artifacts 2023-03-09 15:40:52 ppc64le is still building 2023-03-09 17:07:48 ikke: the ppc64le failed again, this time after 2h 2023-03-09 17:53:09 midasi: perhaps disable it on ppc64le then? 2023-03-09 17:53:58 uhM, is not psykose here? this MR !44935 seems start a more deep debate (npm && pip vs apk) ... 2023-03-09 17:54:15 donoban: she is traveling 2023-03-09 17:54:53 ah, nice 2023-03-09 17:56:40 Hello, when an AUR pkgbuild has a section for optdepends and splits it up into #recommended and says #this is for bla, how does alpine handle that? Is it preferred to put all the optdepends as just dependencies? 2023-03-09 17:57:08 specifically I'm looking at https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=nb 2023-03-09 17:57:16 Quillith: there is no support for optional dependencies 2023-03-09 17:58:23 You could have a post-install trigger that echoes these things, but they are a bit frowned upon if not done for a good reason 2023-03-09 17:58:47 hmm could I make a seperate package like nb-extra ? 2023-03-09 17:58:50 (They are used sometimes for significant changes the user should be aware about) 2023-03-09 17:59:09 You could make a subpackage that pulls in these dependencies, yes 2023-03-09 18:01:23 Thank you! Is there a naming convention for subpackages I should be aware of? If not I'd probably just follow how the author separated the dependencies ('nb' 'nb-recommended' 'nb-additional') 2023-03-09 18:02:57 Not sure if there is any convention, but sometimes -full is used 2023-03-09 18:03:13 Okay, thanks! 2023-03-09 18:03:22 but that might imply that it contains more components of the package rather than just pull in extra dependencies 2023-03-09 18:03:45 ruby-full does at least do that 2023-03-09 18:03:49 just pull in more deps 2023-03-09 18:04:19 but they do come from ruby itself 2023-03-09 18:59:32 donoban: seems pretty bizarre to reject a package on the grounds that it can be installed via pip/npm, I could follow down that line of thought and arrive at the notion that openssl can be installed with Conan and shouldn't be packaged either. 2023-03-09 18:59:48 so yeah I don't understand what the objection is to your MR 2023-03-09 19:04:41 well, or even you can run things on flatpak or container images... 2023-03-09 19:07:17 I'm opened to the possiblity that relying on pip would avoid reinvent the wheel, but it should be integrated on abuild don't just remove all packages that are already on pip repositories 2023-03-09 19:16:54 qutebrowser itself recommends pip as one of the official install processes 2023-03-09 19:17:04 who needs an alpine package??? :p 2023-03-09 19:17:07 There is an underlying assumption there that all computers/containers have unrestricted access to anything anywhere internet 2023-03-09 19:17:49 In some environments, that may not be the case. E.g. isolated networks with access to a local repo 2023-03-09 21:25:19 The package works, but I'm going through the Code Review section of the wiki and am wondering, how do I tell whether there is a test suite? What is the sign of a test suite being present 2023-03-09 21:26:52 usually theres a test folder in the project 2023-03-09 21:27:03 or a test target in the build system 2023-03-09 21:27:17 can also be called check 2023-03-09 21:27:19 you can also check if the projecr has a CI 2023-03-09 21:27:35 if there's teat they run there 2023-03-09 21:38:00 Okay, thank you 2023-03-09 21:45:35 Is code review something that happens before or after I go to Alpine's GitLab instance and create a merge request? 2023-03-09 21:48:18 after you make a merge request 2023-03-09 21:48:28 ie, the merge request is what's get reviewed 2023-03-09 21:48:43 ohh ok, thank you 2023-03-09 21:59:22 i used some "mobile internet" going 200km/h across nowhere in sweden in a train in a snowstorm 2023-03-09 21:59:31 and it was probably still better than our ARM server networking 2023-03-09 21:59:34 hot competition ! 2023-03-09 21:59:42 Something something LTE 2023-03-09 21:59:54 (it was like 50kb/s and cut out every 3 minutes) 2023-03-09 22:01:15 also we really have to fix that armhf rust thing 2023-03-09 22:01:25 time to nosedive back into reading some lxc configs i guess 2023-03-09 22:11:48 psykose: good news and bad news 2023-03-09 22:12:15 bad news first 2023-03-09 22:12:23 the arm builders no longer have ipv4 2023-03-09 22:15:55 finally, the migration to ipv6 is complete 2023-03-09 22:26:28 I made a gitlab account and am in the Merge Requests forum, but the only 'create' button I see is a link to email a merge request to the list. But if I email the list how would the APKBUILD file be included, will it handle it correctly if I attach the file to the email? 2023-03-09 22:27:07 Quillith: you need to create a fork first 2023-03-09 22:27:13 not sure if you did that 2023-03-09 22:27:50 Was that the git pull and making a git commit message? I did that and formatted it by the wiki page 2023-03-09 22:28:01 no 2023-03-09 22:28:17 https://gitlab.alpinelinux.org/alpine/aports on the top right, there should be a fork button 2023-03-09 22:28:34 ikke: and the good news? ;) 2023-03-09 22:28:52 The connection to the builder should now be stable 2023-03-09 22:28:58 hm 2023-03-09 22:28:58 neat 2023-03-09 22:29:39 but no ipv4 means no dmvpn 2023-03-09 22:30:45 (somehow linux does not support multi-point gre over ipv6) 2023-03-09 22:38:07 I did it!!!!!Aahhhh!!! 2023-03-09 22:40:17 Thanks for your help explaining things! 2023-03-09 23:34:38 How do I update the merge request with the changes I've made to my file? Do I open a new one? 2023-03-09 23:35:33 just push your new changes to your branch, with --force if needed 2023-03-09 23:35:38 the mr will be automatically updated 2023-03-09 23:40:31 git add .; git commit --amend; git push -f 2023-03-09 23:41:13 git commit --all --amend :0 2023-03-09 23:41:27 s/0/)/ 2023-03-09 23:41:27 abby meant to say: git commit --all --amend :) 2023-03-09 23:58:17 "remote: you are not allowed to push code to this project" 2023-03-09 23:58:44 I ran cd aports ; git add testing/nb ; git commit --amend; git push -f 2023-03-10 00:03:24 The first commit I pushed was via the GUI of gitlab's webpage, but when I try to do that again it just says that the file already exists. bleck 2023-03-10 00:03:56 you are trying to push directly to Alpine which you obviously can't 2023-03-10 00:04:14 you are supposed to push to the branch on your own fork 2023-03-10 00:07:30 oh wow that's not great, I'm glad it blocked me lol. So I need to point the command toward my fork instead of at Alpine, thanks 2023-03-10 00:16:48 git remote remove origin; git remote add origin git@gitlab.alpinelinux.org:T-Quill/aports.git; git remote add upstream git@gitlab.alpinelinux.org:alpine/aports.git; git remote update --prune; git branch -u origin/nb 2023-03-10 00:16:59 (if you're on a local branch named nb anyway) 2023-03-10 00:19:39 Thank you! So I do those once I get onto the local branch named nb 2023-03-10 00:25:12 I think I broke git, anytime I run git (status, checkout, or git remote remove origin) I just get "fatal: not a git repository). Is there a GUI way on gitlab's site to upload the file? I have my apkpackage file, I'm just struggling to get it on this site 2023-03-10 00:25:46 as the error tells you: you are apparently not in a git repository 2023-03-10 00:25:58 so either you are in the wrong folder or you deleted the .git folder from the repository somehow 2023-03-10 00:27:01 You were right, I had accidentally cd'd myself out of my aports directory. I will read about how to git onto my nb branch to run those commands and update the MR. Thanks 2023-03-10 00:49:09 psykose: thanks for your help and patience. I successfully committed. Appreciate your time 2023-03-10 12:17:24 psykose: lol, it seems that pdfjs is currently broken in qutebrwoser/qt5webengine 2023-03-10 12:17:35 https://github.com/qutebrowser/qutebrowser/issues/7335 2023-03-10 12:22:21 "it's rather hacky, and PDF.js provides a legacy build which does work fine with Qt 5 still" 2023-03-10 17:10:06 ah yeah that https://github.com/void-linux/void-packages/pull/40078 2023-03-10 17:19:29 Are the Alpine ARM builders gone? 2023-03-10 17:19:36 Or, ARM CI builders 2023-03-10 18:26:58 Did anyone try to fix the wwn by-id being associated to partition instead of disk with /lib/mdev/persistent-storage 2023-03-10 18:30:28 caskd: are you referring to https://gitlab.alpinelinux.org/alpine/mdev-conf/-/merge_requests/3 ? 2023-03-10 18:31:21 Nope, i'm talking more about having by-id/wwn-XX > ../sda1 which makes absolutely no sense 2023-03-10 18:31:40 since partitions can't have WWN IDs 2023-03-10 18:32:17 you mean by-id/wwn-XX-partX ? 2023-03-10 18:32:30 i don't have any partX 2023-03-10 18:32:50 the main wwn-X is supposed to point to the disk but points to a partition 2023-03-10 18:34:34 and that is what that MR fixes - it adds the missing "{partsuffix}" for wwn-* links 2023-03-10 18:34:50 so that the link name includes a "-partX" suffix 2023-03-10 18:34:52 okay but does that also keep the main disk? 2023-03-10 18:35:00 so the one without part? 2023-03-10 18:35:52 oh wait 2023-03-10 18:35:53 I believe currently without that fix it creates the link for the disk and THEN creates a link for each partition by REPLACING the link for the disk 2023-03-10 18:35:59 yeah 2023-03-10 18:36:04 it just clicked for me too 2023-03-10 18:36:06 i see 2023-03-10 18:36:07 yes 2023-03-10 18:36:42 yeah sorry i thought that MR didn't solve my problem but it would indeed do 2023-03-10 18:37:20 a general point about /dev/disk/ entries in general, the set you get depends on whether you have util-linux's blkid or Busybox's blkid installed and also whether you're using mdev/mdevd or eudev 2023-03-10 18:38:04 thanks, i am aware 2023-03-10 18:40:12 I'm hoping to add some small programs for mdev/mdev to get additional info so that "missing" links (that eudev creates) can be implemented 2023-03-10 18:40:31 Shouldn't be too hard to hack together 2023-03-10 18:41:15 eudev has a couple of small programs it uses but was looking at some other alternatives 2023-03-10 18:57:06 Newbyte: network issues 2023-03-10 18:59:20 Newbyte: same here, no ARM builds for few hours. Was very hectic yesterday too 2023-03-10 19:08:52 We are working on trying to get it working again 2023-03-10 19:09:12 Great to hear 2023-03-11 15:32:21 psykose: I was thinking, would it make sense to test rust on armhf in a chroot to rule out any lxc specific issues? 2023-03-11 15:32:50 i already did that myself in the sense of just an armhf userspace container instead of lxc 2023-03-11 15:33:05 it does work everywhere except that lxc setup, i already know it's "lxc specific" (with no idea where the fault is) 2023-03-11 15:33:13 that's why i want the configs to reproduce myself and go from there :D 2023-03-11 15:33:47 i could also try with just my own lxc configs and see if it's not our-config-specific too, was a bit lazy 2023-03-11 15:33:57 if even that reproduces that is also convenient 2023-03-11 15:34:48 'armhf userspace container' i.e. arm32v6/alpine via containerd or whatever 2023-03-11 15:34:55 it also does not reproduce in qemu-arm either 2023-03-11 15:46:13 Any cli paste that supports ipv6? 2023-03-11 15:48:55 0x0.st maybe? 2023-03-11 15:48:58 seems to have AAAA 2023-03-11 15:48:58 curl -F'file=@yourfile.png' https://0x0.st 2023-03-11 15:49:47 seems to work withg curl -6 for me 2023-03-11 15:50:12 file=@- to use stdin but you knew that :-) 2023-03-11 15:52:23 https://0x0.st/Hip8.conf 2023-03-11 15:52:36 builder.common.conf 2023-03-11 15:52:40 mhm 2023-03-11 15:53:30 https://0x0.st/HipK.conf 2023-03-11 15:53:43 default.conf 2023-03-11 15:54:26 thanks 2023-03-11 15:54:31 will have a go in a bit 2023-03-11 16:38:47 this is more work than i expected to set up :p 2023-03-11 17:03:26 ikke: can't reproduce 2023-03-11 17:03:46 made an armhf container mostly the same, just different networking, with lxc 5.0.2 on edge on an rpi4 2023-03-11 17:03:56 rustc doesn't hang in it 2023-03-11 17:04:06 it is only the builder/ci containers :D 2023-03-11 17:04:24 which lxc were we running anyway 2023-03-11 18:21:33 so uhh yeah, you should try a chroot outside lxc 2023-03-11 18:21:40 just in case it's the host itself or kernel being weird 2023-03-11 19:31:02 psykose: hi, I see you updated the kitty terminal to 0.27.1 in edge, any chance you (or fcolista) would backport to 3.17? 2023-03-11 22:52:46 I'm working on running Alpine on a RK3399 board (R4S) but am struggling to understand how to create the image. I have Linux booting but it fails to find the rootfs (I think), initramfs appears to load. Is there any documentation about how to create an SD card image with the provided rootfs and boot files? 2023-03-11 22:56:06 According the Rockchip the partitions are as follows: https://opensource.rock-chips.com/wiki_Partitions, with that being the case I don't see a way to create an ext4 boot.img that contains Alpine's vmlinuz, initramfs, dtbs, and mods because the boot partition is only 112MB. 2023-03-12 03:41:43 ahills: generally that's not done unless 0.26.5 is completely broken or something 2023-03-12 04:29:32 ah ok 2023-03-12 11:31:38 aarch64, armhf and armv7 pipelines for !45023 timed-out. IIRC there was a button to restart them 2023-03-12 11:32:20 Ermine: arm is defunct atm 2023-03-12 11:33:18 ah 2023-03-12 12:59:59 https://github.com/apache/trafficserver/blob/9.2.x/include/tscore/ink_rwlock.h#L51 -- is this true for musl or can I remove this warning? 2023-03-12 13:07:28 why would you ever remove a random warning 2023-03-12 13:07:32 it doesn't do anything 2023-03-12 13:12:15 Only for more clean build process 2023-03-12 13:33:24 make >/dev/null 2>&1 2023-03-12 13:38:44 hehe 2023-03-12 13:40:48 https://gitlab.alpinelinux.org/Ermine/aports/-/jobs/989917 --- In what side does stack grow on ppc64le ? 2023-03-12 13:41:44 https://gitlab.alpinelinux.org/Ermine/aports/-/jobs/989917#L1054 To be precise 2023-03-12 14:26:23 it's down on everything except for hppa and ia64 in some weird situations 2023-03-12 14:27:34 sam_: thank you 2023-03-12 14:30:02 np 2023-03-12 14:49:01 psykose: dfu_programmer pipelines fail, tried abuild rootbld on my machine, it fails too due to update-bash-completion.sh . But update-bash-completion.sh does exist, so I don't know what's the problem. 2023-03-12 14:53:26 it passes fine 2023-03-12 15:09:46 Okay then... 2023-03-12 18:17:07 Are there any stats on which packages are getting downloaded and how many times 2023-03-12 18:17:09 ? 2023-03-12 18:21:27 nope 2023-03-12 21:34:22 Ermine: note that packages could be downloaded from any mirror 2023-03-13 00:40:52 $ curl 'https://gitlab.alpinelinux.org/api/v4/projects/1/merge_requests?state=opened&search=fq' 2023-03-13 00:41:09 i wonder if i'm doing something wrong, because i'm pretty sure this should return 1 result 2023-03-13 00:48:23 It seems to only match whole words... testing/fq finds it :| 2023-03-13 00:48:47 (I was sure one had to be authentified for that, but I guess not) 2023-03-13 09:14:52 Hi. Is there some indicative ETA for armhf/armv7/aarch build infra fix? 2023-03-13 09:22:40 I hope to resolve it this week 2023-03-13 09:31:40 ikke: thanks. 2023-03-13 09:32:13 ikke: is there a tracking issue or something like that? 2023-03-13 09:34:28 Newbyte: not yet 2023-03-13 09:34:34 also, I would like if you think this sounds good given that I'm writing about something that is about Alpine: https://gitlab.com/postmarketOS/postmarketos.org/-/merge_requests/207 2023-03-13 09:35:31 for clarification: we have this "edge blog" in postmarketOS where we put up new posts whenever there is some problem with edge to notify users about it 2023-03-13 09:35:34 just want to check with you so I'm not writing something dumb or incorrect 2023-03-13 09:35:50 (by "you" I mean anyone here familiar with the infrastructure situation) 2023-03-13 09:36:07 Yeah, not that it matters much but it's a network issue that causes it. 2023-03-13 09:36:16 Just as a fyi 2023-03-13 09:36:52 Sure, thanks. Do you prefer if that's mentioned? 2023-03-13 09:38:28 You mentioned they're unavailable, which should cover it 2023-03-13 09:38:48 👍 2023-03-13 09:42:36 The issues is that the builders are on a ipv6 only network which we were not setup for. When we migrated the builders there was Ipv4 connectivity, but that turned out was provided by an accidental LTE connection 2023-03-13 09:43:25 I'm curious how you accidentally get an LTE connection 2023-03-13 09:44:23 't was supposed to be the OOB connection? 2023-03-13 09:52:46 Newbyte: they have these router appliances that can provide internet via LTE. apparently there was a sim card present 2023-03-13 11:19:57 the pmos edge announcement things are very convenient 2023-03-13 11:20:40 wish we had something like that sometimes :D 2023-03-13 11:22:18 where would we put it? on alpinelinux.org/ ? 2023-03-13 11:24:25 well yeah, we already have the news there 2023-03-13 11:24:40 it's more an organisation problem and structuring it and getting people to start following it, etc 2023-03-13 11:25:07 'pmos edge announcement thing' is a known pmos feature people actually check pretty sure, the issue is making the latter, not so much where one puts it 2023-03-13 11:25:36 might also make sense to separate the development news with the user news 2023-03-13 11:25:44 yeah 2023-03-13 11:25:49 i dont think many end users cares about build infra 2023-03-13 11:26:01 yep 2023-03-13 11:26:10 though the above post (alpine builders down) is not an infra post 2023-03-13 11:26:15 that is exactly the sort of useful thing to put 2023-03-13 11:26:44 looks like this https://postmarketos.org/edge/ 2023-03-13 11:26:48 https://postmarketos.org/edge/2023/03/13/alpine-arm-builders-gone/ 2023-03-13 11:26:54 which is quite useful for "end user using edge" 2023-03-13 11:27:26 e.g. so far i have told maybe 14 people the builders are down.. maybe if we had that it would be three instead 2023-03-13 11:27:37 not an issue or anything, but just a useful way to spread some sorts of news 2023-03-13 16:13:52 I wonder if this would fix JIT on armv6: https://social.treehouse.systems/@marcan/110015868164496947 2023-03-13 16:15:45 you mean for qt? 2023-03-13 16:16:08 it might but it also doesn't really matter as i can think of precisely zero people that use graphical qt on armv6 2023-03-13 16:16:47 you'd have to be insane to be doing that on 10+year old devices or some new rpi0 with 512M of ram :D 2023-03-13 16:17:05 in any case i'd imagine it will be `upstream' at some point into the qt5patchthing via kde 2023-03-13 16:18:54 yeah 2023-03-13 16:19:24 reminds me, i wonder if we can drop armv6 after alpine 3.18 2023-03-13 16:19:39 i remember that proposal before too, you had a mailing list post right? 2023-03-13 16:19:44 there were two issues with it 2023-03-13 16:20:08 1: was pmos phone support, a bunch of phones that were armhf only (even though hardware was armv7) for porting related reasons. not sure how it is today 2023-03-13 16:20:20 2: the rpi0 supported until like 2027 or some shit that is armhf 2023-03-13 16:20:28 the latter i don't /really/ care about 2023-03-13 16:20:37 well 2023-03-13 16:20:41 they do still sell them and stuff 2023-03-13 16:21:16 yeah, i think rpi0 is main reason to keep armv6 2023-03-13 16:21:35 this also reminds me of the x86 thing 2023-03-13 16:21:35 iirc pmos phones were mostly armv7 2023-03-13 16:21:38 they are yeah 2023-03-13 16:21:49 i don't know the stats now of what is still armv6 2023-03-13 16:22:09 rpi0 w 2 is armv7 iirc 2023-03-13 16:22:12 Newbyte: maybe you remember ^ 2023-03-13 16:22:29 ncopa: no, rpi0 2w is armv8 2023-03-13 16:22:40 oh right, so its 64 bit? 2023-03-13 16:22:42 yep 2023-03-13 16:22:48 https://www.raspberrypi.com/products/raspberry-pi-zero-2-w/ 2023-03-13 16:22:51 cortex a53 2023-03-13 16:22:52 psykose: we have this ancient issue about it: https://gitlab.com/postmarketOS/pmaports/-/issues/599 2023-03-13 16:22:57 Newbyte: ty! 2023-03-13 16:23:46 https://www.raspberrypi.com/products/raspberry-pi-zero-w/ https://www.raspberrypi.com/products/raspberry-pi-zero/ these are the issue 2023-03-13 16:23:47 it's a bit outdated though. for example samsung-n7100 has been renamed to samung-t03g and uses an armv7 kernel now 2023-03-13 16:23:49 produced until 2026 2023-03-13 16:24:28 but most of the devices on this list are either actually armv7 or aarch64. they were just ported back when Alpine only had armhf 2023-03-13 16:24:53 the zero/zero-w use a ARM1176JZF-S cpu 2023-03-13 16:25:04 which is our exact armhf target, armv6zk or whatever 2023-03-13 16:25:07 so … I don't think there's anything other than the Pi 0 that is a real issue 2023-03-13 16:25:29 Newbyte: yeah, i jhust mean all the maintainers of them /do/ have to flip some switches at least if they 'still are' armhf only in spec 2023-03-13 16:26:06 actually there's one other use I can think of. someone was running Alpine on an armv6 iPod 2023-03-13 16:26:10 and actively putting in work on that 2023-03-13 16:26:21 the meme q3k post or something else 2023-03-13 16:26:26 yes 2023-03-13 16:26:30 I think 2023-03-13 16:26:36 (that one) 2023-03-13 16:26:48 i guess 2023-03-13 16:27:05 but that's a consideration for even 15 years, even then someone will be 'putting linux on $randomdevicewithsomecpu' 2023-03-13 16:27:29 yup, especially that there's currently one madman porting some alpine bits to mips32 2023-03-13 16:27:35 but all in all I don't think armhf is important for postmarketOS. the devices that haven't been switched over to armv7 or aarch64 are abandoned anyway 2023-03-13 16:27:42 and none of the armhf devices supported in postmarketOS (sans the Pi 0) actually use an up-to-date kernel 2023-03-13 16:27:44 ok, good to know 2023-03-13 16:27:54 ncopa: should we have a tsc resolution? 2023-03-13 16:28:14 yes, i think so 2023-03-13 16:28:35 i'll write up some blurb as a tsc issue just to note the points 2023-03-13 16:28:45 i dont know how much extra work armhf gives us nowadays 2023-03-13 16:29:02 i don't think any of them are particularly much 'work' on average in themselves 2023-03-13 16:29:23 it's more just each arch has a copy of packages, is a release, space on mirrors/wherever, sometimes holds up CI for someone for some reason 2023-03-13 16:29:34 more just those less visible costs than 'fix on armhf' kinda stuff 2023-03-13 16:29:46 most things just get marked broken if they don't build on armhf instead of time spent 2023-03-13 16:29:47 aiui the main problem with armv7 is having a decent architecture to build stuff on, porting isn't especially difficuly 2023-03-13 16:30:11 s/culy/cult/ 2023-03-13 16:30:23 algitbot? 2023-03-13 16:30:29 s/difficuly/difficult/ 2023-03-13 16:30:30 algitbot: ping 2023-03-13 16:30:31 hehe 2023-03-13 16:30:37 I thought Alpine just uses aarch64 builders for armv7 2023-03-13 16:30:42 we do yes 2023-03-13 16:30:45 we do 2023-03-13 16:30:54 32-bit personality kernel in a userspace of the arch 2023-03-13 16:30:55 armhf Pi devices are not EOF for a while 2023-03-13 16:31:06 *EOL 2023-03-13 16:31:08 so the armhf build is the 'armhf minirootfs' as a container with a setarch entry 2023-03-13 16:31:11 that sounds voodoo to me, but if it works, I'm not complaining 2023-03-13 16:31:28 it's like running 32-bit x86 binaries on your pc 2023-03-13 16:31:32 but static ones, no multilib stuff 2023-03-13 16:31:37 ah right you use windows nvm 2023-03-13 16:32:00 the same thing happens with windows, it's full of 32-bit x86 binaries 2023-03-13 16:32:03 "Raspberry Pi Zero W will remain in production until at least January 2026" 2023-03-13 16:32:04 :) 2023-03-13 16:32:14 what psykose really meant is that it's like WoW64 2023-03-13 16:32:31 https://www.raspberrypi.com/products/raspberry-pi-zero-w/ 2023-03-13 16:32:33 question is how much effort we should put in to it for a single board 2023-03-13 16:32:45 has anyone tested if it actually works? 2023-03-13 16:32:46 macmpi: do you care about the Pi 0? 2023-03-13 16:32:52 pretty sure macmpi has a pi 0 2023-03-13 16:32:56 hm I actually think I have a friend's Pi 0 laying around 2023-03-13 16:32:58 yes I do 2023-03-13 16:33:01 lots of people have one 2023-03-13 16:33:20 and there are a lot of odroids and similar stuff around 2023-03-13 16:33:22 in general it does not cost much time, i noted the invisible costs that apply to any arch 2023-03-13 16:33:23 it is a quite big seller (don't have the numbers though) 2023-03-13 16:33:37 but for armv6 specifically, the architecture fucking sucks 2023-03-13 16:33:39 skarnet: aren't ODROID boards armv7? 2023-03-13 16:33:45 there are only more toolchain issues as time goes on in general 2023-03-13 16:33:52 oh right you're talking about armv6, my bad 2023-03-13 16:33:54 or aarch64 2023-03-13 16:33:58 i guess if you have one of those boards, you will want run a lightweight distro 2023-03-13 16:33:58 typically good fit for alpine: low RAM, good for headless low-level application 2023-03-13 16:34:08 random stuff i've disabled on armhf because of some niche bug in llvm output or the like only goes p 2023-03-13 16:34:10 up* 2023-03-13 16:34:16 and debugging any of that is a very big time sink 2023-03-13 16:34:17 just use Gentoo and build everything on the Pi 0 2023-03-13 16:34:28 lol 2023-03-13 16:35:01 and random software fixes seem to be not-really-upstream patches as nobody cares about the arch anymore :/ 2023-03-13 16:35:09 psykose: you don't get it, having mozjs on armhf is so important 2023-03-13 16:35:48 Sept 2016: Raspberry Pi passes 10m sales mark (https://www.bbc.com/news/technology-37305200) 2023-03-13 16:35:55 there's a rpi (not zero, but one of the first ones) in the list of machines I build my stuff on for testing. It is... rare that I wait for the rpi build to finish, if all the other arches build ok. >.> 2023-03-13 16:35:56 armv7 makes sense to keep for a while though 2023-03-13 16:36:44 Newbyte: and Steam and all the Electron apps, too! 2023-03-13 16:37:12 fun fact: it wasn't until a few weeks ago that Google stopped shipping an armv7 userspace on aarch64 Chromebooks 2023-03-13 16:38:57 ncopa: for what it's worth I personally still use armv7 devices on a regular basis 2023-03-13 16:41:26 Looks like we have the arm builders back 2023-03-13 16:41:34 wow, already? 2023-03-13 16:41:42 Yeah 2023-03-13 16:47:28 https://gitlab.alpinelinux.org/alpine/tsc/-/issues/66 2023-03-13 16:47:35 comment what you wish, ask others if you wish too 2023-03-13 16:47:43 i wrote the pro/cons list based on what i know 2023-03-13 16:48:34 ikke: good work! 2023-03-13 16:48:58 psykose: actually I'm pretty sure they had Weston working on that 60 MB RAM iPod 2023-03-13 16:49:04 they did 2023-03-13 16:49:12 they played games on it and implemented some drm stuff 2023-03-13 16:49:25 i picked the first weird link 2023-03-13 18:03:18 ikke: thanks. Seems still stuck on my side, and current gitlab MRs also report stuck state: is that due to backlog processing? 2023-03-13 18:05:36 CI is still down 2023-03-13 18:09:07 yeah, need to fix CI separately 2023-03-13 18:09:21 don't forget the rust arg 2023-03-13 19:51:24 thank you psykose for the package :) 2023-03-13 19:51:29 :) 2023-03-13 19:51:38 very kind 2023-03-14 11:02:16 >>> Size difference for pdfjs: 16 MiB -> 4184 KiB :D 2023-03-14 11:04:59 I wonder if it could be compressed/minified 2023-03-14 11:14:47 psykose: protected paths, interesting. Is there documentation for that somewhere? 2023-03-14 11:15:44 can't find any 2023-03-14 11:19:11 Oh 😢 2023-03-14 11:19:17 weirdly doesn't seem to actually work but does for the other case 2023-03-14 11:22:05 confusion 2023-03-14 11:22:10 it does work for the ca-certs 2023-03-14 15:48:16 when lang manual pages are present (e.g. from fakeroot-doc), mandb tries to convert from its idea of possible single-byte national encoding to UTF-8//IGNORE, which is a glibcsm. that results in annoying `mandb: iconv_open ("UTF-8//IGNORE", "ISO-8859-1"): Invalid argument` lines every time man-db trigger fires 2023-03-14 15:49:15 sounds like an issue for man-db upstream 2023-03-14 15:50:36 although i'm not sure where the ignore comes from 2023-03-14 15:50:37 hm 2023-03-14 15:51:04 seems to just be "UTF-8" 2023-03-14 15:53:19 and afaik musl only doesn't support //TRANSLIT so not sure why that specific call is wrong.. 2023-03-14 15:53:35 ah 2023-03-14 15:53:36 found it 2023-03-14 15:53:54 manconv.c has a last ? "UTF-8//IGNORE" : "UTF-8"; 2023-03-14 15:56:26 i'm fairly sure that none of the reencoding monkey business is ever required in the first place, but so far i can't see a convenient knob where man-db can be convinced to just leave the encoding alone 2023-03-14 15:57:35 perhaps musl should just support //IGNORE? 2023-03-14 16:03:52 doubt it 2023-03-14 16:04:17 https://www.openwall.com/lists/musl/2017/08/26/2 is relevant here 2023-03-14 16:06:46 i have a patch that ignores the errors if you want? 2023-03-14 16:06:47 https://img.ayaya.dev/lXBjUgiCxuBB 2023-03-14 16:06:57 the other alternative is indeed making it use gnu-libiconv but that doesn't really make sense 2023-03-14 16:07:01 using this in the first place is quite useless 2023-03-14 16:07:54 the final message in https://www.openwall.com/lists/musl/2017/08/26/3 is of most relevance, but without even 'misencoded author names' to test with idk if that has any meaning 2023-03-14 16:08:16 do you mind just asking the man-db issue tracker, perhaps seeking a way to solve this that isn't "gnu-libiconv"? 2023-03-14 16:24:05 there is always mandoc :P 2023-03-14 16:26:42 nice find! see also somewhat relevant https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1003089 , especially the `w3m -dump https://lintian.debian.org/tags/national-encoding | grep --count usr/share/man` line (debian packages that have non-utf8 manpages) 2023-03-14 16:27:17 frankly man-db source code is a bit of a horrifying mess of endless repetitions. and all man pages on alpine should probably be utf8. :-) 2023-03-14 16:49:32 i read a lot of manpages and haven't seen anything broken with mandoc, but.. 2023-03-14 16:49:36 i guess i never read translated ones 2023-03-14 16:50:06 i do insist on reporting it though, maybe someone will have a rethink :-) 2023-03-14 16:50:10 plenty of info to pass through 2023-03-14 16:52:17 yea, always good to report bugs :) 2023-03-14 16:52:33 epecially if the upstream might actually fix them 2023-03-14 16:58:34 psykose: ok, i'll report it, but i also just switched to mandoc per orbea's suggestion which feels like a smaller amount of moving parts 2023-03-14 16:58:59 that does work :) 2023-03-14 16:59:06 tbh i thought you just had a reason to not use it :p 2023-03-14 16:59:18 usually people know mandoc exists and intentionally go to man-db 2023-03-14 16:59:31 yea, i use mandoc because its simple, it seems to work well per my experience and you can learn to write man pages using solely using their own documentation 2023-03-14 16:59:46 grammar fail... 2023-03-14 17:00:47 no, i completely forgot it existed and installed man-db out of habit. :-) 2023-03-14 17:39:57 Hi, my merge request !44833 is waiting for a review, if anyone has time. 2023-03-14 19:14:40 "Hi, my merge request !44833 is..." <- You madman, you did it!  2023-03-14 19:21:36 is this what people keep telling me to touch? 2023-03-14 19:23:24 Saijin_Naib I was going to ask you for test support as soon as grass is available in testing. There are so many ways to use this software, I can only do some basic tests 2023-03-14 19:25:14 Newbyte: Underrated comment  2023-03-14 19:25:59 hjaekel: I'll try to give it a go. I mostly use it via QGIS and OpenDroneMap so stand-alone isn't my strongest  2023-03-14 19:29:06 Then you have to bring OpenDroneMap to Alpine to test it :-) 2023-03-14 19:29:34 hjaekel: I'm trying, but I'm not up to the task 😭 2023-03-14 19:29:50 QGIS is already on my harddisk, but many the unit tests fail currently 2023-03-14 19:30:42 We are based upon Ubuntu LTS and UbuntuGIS PPA, so ancient dependencies. Just doing the upgrades is non-trivial  2023-03-14 19:31:14 hjaekel: That's the best news I've seen so far! Flatpak is cramping my style and breaking plug-ins  2023-03-15 18:30:12 I already asked yesterday, but maybe someone has time to do a review of !44833 today. I hope it's not because of my merge request that no one wants to do a review. 2023-03-15 18:32:35 wow, it looks pretty big :D 2023-03-15 18:35:54 yes, it's big, sorry for that. I had to move some things around so that they are at the correct place 2023-03-15 18:36:23 most things in package() are taken from the debian project 2023-03-15 18:38:58 and I had to package a new font package so that images rendered by doxygen are properly rendered. The default font for doxygen is Helvetica 2023-03-15 18:41:44 I feel it looks pretty good but someone with merge rights (psykose?) will need some time for carefully review 2023-03-15 18:44:50 it's not a 5 minute review, psykose usually finds something in my MR that I can improve 😀 2023-03-15 18:45:45 I'm trying to backport an update to nheko, and it depends on an updated version of coeurl. I added that to the branch, but it seems like CI is still installing the old version (despite successfully building the new version of it): https://gitlab.alpinelinux.org/craftyguy/aports/-/jobs/992066#L628 2023-03-15 18:46:05 so I'm not sure what I'm missing here... 2023-03-15 18:46:45 because you missed the third dependency in the middle of mtxclient which also uses it 2023-03-15 18:46:50 so mtxclient-dev is linked to the old one 2023-03-15 18:46:59 all 3 update at once generally 2023-03-15 18:47:39 ahhhh, ok. I don't have a lot of experience updating these 2023-03-15 18:47:50 thanks :) 2023-03-15 18:55:18 psykose would it be possible for you to set aside some time in the next few days to look at the MR for grass? I know it's complex... 2023-03-15 18:55:44 fonts start with font- 2023-03-15 18:55:45 :D 2023-03-15 18:56:34 haha, thank you, I will change that 2023-03-15 18:56:48 but this package contains 35 fonts, not only one 2023-03-15 18:57:21 the optipng could either be skipped, or be pngquant instead (which isn't lossless but generally you don't notice for these kinds of images, and much faster) 2023-03-15 18:57:59 it should probably be enabled on just x86_64/aarch64 as it's kinda useless elsewhere 2023-03-15 18:58:24 +usr/lib/grass82/locale/ can be -lang 2023-03-15 18:59:30 it's a bunch of fonts yeah, but that doesn't matter that much unless you want to make a subpackage for each one 2023-03-15 19:00:38 no, I don't want a subpackage. I just rename the package to font- 2023-03-15 19:01:00 you can also do uh 2023-03-15 19:01:03 instead of find -exec 2023-03-15 19:01:24 find -print0 | xargs -0 -n 1 -P ${JOBS:-2} 2023-03-15 19:02:05 if that's even correct, i just typed it from memory 2023-03-15 19:02:11 parallel exec 2023-03-15 19:03:20 you mean for the optipng/pngquant stuff? I will try it 2023-03-15 19:04:04 yeah 2023-03-15 19:04:18 it doesn't matter for things that take 1 second, but if something takes 5 minutes it's nice 2023-03-15 19:09:40 nitpicks nitpicked successfully 2023-03-15 19:13:28 thank you , now I have work to do 😀 2023-03-16 00:24:51 "thank you , now I have work to..." <- Do you know when you might have an APK built for me to test against? 2023-03-16 00:24:51   2023-03-16 00:24:51 I have no machines on Edge, but I'm hoping I can just sideload it and get lucky 2023-03-16 12:56:03 you won't be able to side install that one 2023-03-16 13:47:39 is there any url I can curl to get latest version ? 2023-03-16 13:48:14 curl https://alpinelinux.org/releases.json 2023-03-16 13:48:29 it's json, so not just curl expecting plain-text 2023-03-16 13:48:36 thanks 2023-03-16 14:30:28 re sudo version 1.9.5p2 vs 1.9.5_p2, I wonder if we should let abuild warn on [0-9]p[0-9] 2023-03-16 14:31:52 as part of sanitycheck? 2023-03-16 14:38:28 yes https://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests/188 2023-03-16 14:39:16 it would be nice if abuild accepted anything that apk did and didn't do any further checking 2023-03-16 14:39:33 except for things that are wrong of course, but this isn't really one 2023-03-16 15:22:23 ncopa: would you be open to adding some more logic into stripbin, to allow something like stripcmd=${STRIP} as a fallback 2023-03-16 15:22:38 i would do it but there are already 10 layers of logic there for various CHOST-strip's 2023-03-16 15:24:23 context is that binutils strip is broken on riscv64 for ld.lld output 2023-03-16 15:24:43 so sometimes it would be useful to just pass llvm-strip to it, but there isn't a way to do it that i can see 2023-03-16 15:30:18 i should probably also report it to binutils but that requires "emailing an administrator" for a "bugzilla account" to then make the thousandth binutils bug that just gets ignored so 2023-03-16 15:43:41 wouldnt it be better to fix binutils' strip? 2023-03-16 15:44:18 <@psykose> it would be nice if abuild accepted anything that apk did and didn't do any further checking 2023-03-16 15:44:42 that is what we currently do, but unfortunately it has led to inconsistency in the sudo case 2023-03-16 15:44:43 it would be better to 'fix binutils strip' but that would take years and i don't know how to do it 2023-03-16 15:45:03 being able to pass an explicit strip is useful regardless because llvm-strip is a cross-strip in general and always works for any target 2023-03-16 15:45:43 the sudo inconsistency is because we toggled back and forth, no? if we never changed it in either case it would've been ok 2023-03-16 15:45:51 i guess then your point is to warn on one to force consistent 2023-03-16 15:45:52 that's ok 2023-03-16 15:46:06 i just think it's fine to accept non-_, you just have to stay on it 2023-03-16 15:46:37 problem is that contributors does not check the history apparently 2023-03-16 15:46:42 or does not agree with the history 2023-03-16 15:47:23 i guess being able to override strip is a generally good thing. 2023-03-16 15:47:31 i would like to have tests for it though 2023-03-16 15:51:24 it is indeed untested what it already uses depending on the archspec and the like 2023-03-16 15:52:51 the strip override would also allow some fun improvements 2023-03-16 15:53:59 e.g. in xen we have !strip and manually strip the bins, to exclude usr/share, and afaict that is only because those are non-native binaries 2023-03-16 15:54:31 if you do strip=llvm-strip though it doesn't crash on them. whether that's wanted or not is separate (maybe they just shouldn't be stripped at all), but not needing to add manual scanelf's is sometimes neat 2023-03-16 16:14:50 sam_: do you mind making a binutils issue actually 2023-03-16 16:14:51 https://img.ayaya.dev/ySYwShluFbmR 2023-03-16 16:15:30 ah and it's llvm 15.0.7 for reference 2023-03-16 16:16:13 would be good to report the issue to upstream binutils, yes 2023-03-16 16:17:05 there is also an llvmgold bug paired with clang -flto -fuse-ld=bfd on 32-bit arm which is easy to reproduce 2023-03-16 16:17:18 that one idk who's fault it is but that whole thing is a mess 2023-03-16 18:44:18 psykose: sure 2023-03-16 18:44:23 lemme read backlog 2023-03-16 18:44:41 it's just that url 2023-03-16 18:44:51 binutils strip be bad at lld output 2023-03-16 18:44:56 and only riscv64 2023-03-16 18:55:46 FYI, arm CI should be back 2023-03-16 18:58:05 java still broken on arm tho for apache-ant 2023-03-16 18:59:01 We do need that environment variable 2023-03-16 18:59:18 does it fix it? it was still broken 2023-03-16 18:59:28 unless the still broken part was uhh the firewall 2023-03-16 18:59:43 There was still one domain that did not work, need to verify it 2023-03-16 18:59:44 guess you have to put it in ~/.abuild 2023-03-16 19:00:04 would also need something for CI 2023-03-16 19:01:36 yep 2023-03-16 19:06:37 With the correct option, the build even mentions it 2023-03-16 19:06:43 Picked up _JAVA_OPTIONS: -Djava.net.preferIPv6Addresses=true 2023-03-16 19:08:04 :) 2023-03-16 19:15:20 it's building waiting to so if it fails to download something 2023-03-16 19:15:26 the repo1.maven.org stuff works fine 2023-03-16 19:18:21 iirc you said 6->4 works right 2023-03-16 19:18:25 so ipv4 only hosts will be ok 2023-03-16 19:18:35 yes 2023-03-16 19:18:42 as long as it tries to connect to ipv6 2023-03-16 19:21:41 filed https://sourceware.org/bugzilla/show_bug.cgi?id=30237 2023-03-16 19:21:44 tell me if i should shove more in it 2023-03-16 19:25:09 psykose: https://netrexx.org/files/NetRexxC-2.05.jar is failing 2023-03-16 19:26:10 ikke: is it because it has AAAA that is down.. 2023-03-16 19:26:16 yes 2023-03-16 19:26:54 curl -s6 -fail https://netrexx.org/files/NetRexxC-2.05.jar -o /dev/null 2023-03-16 19:27:15 well 2023-03-16 19:27:21 i can tell you there's gonna be quite a few hosts like that 2023-03-16 19:28:05 sam_: looks good, i don't know what other info would be wanted 2023-03-16 19:28:26 if they want llvm stuff version it's 15.0.7, if you think there's anything useful (you would know more), let me know 2023-03-16 19:32:44 psykose: this is the situation right now 2023-03-16 19:35:53 yeah 2023-03-16 19:36:39 I mean, I did try to setup a tunnel to provide ipv4 2023-03-16 19:36:53 It's just not working yet 2023-03-16 19:42:52 Oh, maybe it is working 2023-03-16 19:43:05 oh, right, it was not working in the containers yet 2023-03-16 21:10:43 sort of sad that I have to talk people down from using GNU coreutils-isms: https://github.com/mesonbuild/meson/issues/11533 2023-03-16 21:11:46 I didn't even know `env -S 'PATH=foobar:${PATH}' myprog` was a thing, now I'm terrified... and this was being used as an alternative to just sourcing a script, amazing. 2023-03-16 21:12:42 i'm confused why it even differentiates the two 2023-03-16 21:14:01 env -S'foo --bar' is supposed to *split* strings 2023-03-16 21:14:18 for use in shebangs because #!/usr/bin/env python -B 2023-03-16 21:14:25 the env manpage doesn't even mention expansion 2023-03-16 21:14:27 which linux turns into /usr/bin/env "python -B" 2023-03-16 21:14:42 >Because of that, meson devenv is only useful for hacking on projects inside your terminal. 2023-03-16 21:14:45 uhh.. yeah.. 2023-03-16 21:14:47 lol 2023-03-16 21:14:53 -S is non-portable to begin with, simply do not use it... 2023-03-16 21:14:56 kind of.. in the name.. 2023-03-16 21:15:25 psykose: https://tpaste.us/BJko 2023-03-16 21:15:59 but also iterating over a list of lines in a shell script, filtering out the lines that are just assignments, and passing it as arguments to env -S because magic re-evaluation of envvars??? what and why 2023-03-16 21:16:45 anyways, gnome-builder no longer tries to do stuff that flat-out fails on alpine with busybox `env` 2023-03-16 21:16:50 :) 2023-03-16 21:17:38 nice :) 2023-03-16 21:19:20 last time this happened someone had the idea to install coreutils by default 2023-03-16 21:20:43 ikke: that's just a 404 2023-03-16 21:20:44 hm 2023-03-16 21:21:04 yeah, the rest succeeds 2023-03-16 21:26:37 installing coreutils by default would rather seem to miss the point of providing it at all 2023-03-16 21:26:47 err, providing busybox at all 2023-03-16 21:27:15 yea 2023-03-16 21:28:05 (there are many distros that make that decision already, if that's desirable) 2023-03-16 21:30:00 if only everyone thought what you think 2023-03-16 21:30:24 it is by far the most frustrating part of being a distro developer 2023-03-16 21:30:53 x distro does it already, something something, just add everything to base 2023-03-16 21:31:06 why do you even have things separated in packages 2023-03-16 21:31:08 my brother in christ there's a hundred distros just use what you want 2023-03-16 21:31:08 think about it 2023-03-16 21:31:10 :) 2023-03-16 21:31:28 *breathes in* 2023-03-16 21:31:30 my child 2023-03-16 21:31:34 :) 2023-03-16 21:34:42 also I want Alpine to have glibc because all the other distros have it so why is Alpine such a snowflake 2023-03-16 21:34:45 and systemd too 2023-03-16 21:35:31 ACTION chooses to use something other than alpine for *exactly* those reasons 2023-03-16 21:41:03 I just installed alpine linux and "snap install fortnite" says something is not found. how do I get a refund 2023-03-16 21:41:29 ACTION hands handlerug a refund 2023-03-16 21:44:03 I just run alpine linux from usb drive and it shows white letters on a black screen. I expected desktop to pop up. Such a broken distro 2023-03-16 21:44:05 ACTION hands handlerug to a reef, under it 2023-03-16 21:45:21 Ermine: oh no! Which words did it say instead of `desktop`? 2023-03-16 21:48:22 elibrokeit: Welcome to Alpine Linux (edge) 2023-03-16 21:48:51 wow, that sucks 2023-03-16 21:48:56 Yeah 2023-03-16 21:49:01 edge usb? wtf that is illegal 2023-03-16 21:49:05 the police are dispatched 2023-03-16 21:49:06 ACTION sends patch to switch it to "Welcome to desktop (edge)" 2023-03-16 21:50:26 psykose: I have a usb with alpine-conf master (outdated though) 2023-03-16 21:50:36 not very master is it 2023-03-16 21:51:05 Indeed XD 2023-03-16 21:52:05 where's the alpine-all iso with every package installed 2023-03-16 21:52:28 ikke: also that old 404 https://img.ayaya.dev/WddAfPteziHi (curl this don't open it in browser) 2023-03-16 21:52:30 nice padding :D 2023-03-16 21:52:47 i like how people expand their http 404's by 70% in size with nothing these days 2023-03-16 21:53:00 haha 2023-03-16 21:53:09 2023-03-16 21:53:17 :D 2023-03-16 21:53:20 pretty sure it's just the default 2023-03-16 21:53:27 hm, apparently no 2023-03-16 21:53:35 "how dare you be friendly" 2023-03-16 21:53:45 how does that even disable chrome whatever 2023-03-16 21:54:12 breaks their html-parsing regex? 2023-03-16 21:54:15 i assume they had some check that if you get a 404 under a certain size they display their own error 2023-03-16 21:54:22 instead of the backend error 2023-03-16 21:54:22 ... why 2023-03-16 21:54:23 chrome displays its own "network error"-style 404 page when the response is of zero size 2023-03-16 21:54:23 yeah, I recall that 2023-03-16 21:54:32 I think ie started that 2023-03-16 21:54:35 so you get 'failed to connect' instead of the nginx error 2023-03-16 21:54:36 but if it's not zero-size.... 2023-03-16 21:54:43 probably allows it to distinguish between default errors like just '404 Not Found' as text/plain and customized errors full of CSS and JS 2023-03-16 21:54:46 psykose: nah it actually says "not found" I think 2023-03-16 21:54:49 :) 2023-03-16 21:54:56 idk what it says to be clear 2023-03-16 21:54:58 just guessing 2023-03-16 21:55:10 what does it say when you return HTTP 666 2023-03-16 21:55:19 why doesn't chrome grep for javascript tags then 2023-03-16 21:57:55 can we disable chrome's attempted helpfulness with 2023-03-16 21:58:03 :) 2023-03-16 21:58:09 "it's a customized error full of js" 2023-03-16 21:58:21 reimplement the dinosaur game 2023-03-16 22:00:32 how will alpine survive the end of docker 2023-03-16 22:00:43 things are looking bad folks 2023-03-16 22:00:48 i already got fired 2023-03-16 22:01:17 im surprised you got hired tbh 2023-03-16 22:02:22 true 2023-03-16 22:02:46 should've fallen off a bridge instead 2023-03-16 22:03:01 they should've fire you sooner anyway 2023-03-16 22:03:36 like when you broke my ci pipeline with ncurses 2023-03-16 22:05:15 are you saying alpine is cursed? 2023-03-16 22:05:36 Without psykose it would be doomed 2023-03-16 22:06:35 I actually really hope psykose is compensated for alpine work 2023-03-16 22:06:51 like this is probably true but I'm still thinking about this sometimes 2023-03-16 22:07:27 ACTION gives compensation to psykose  2023-03-16 22:54:27 btw the proper gnu way to substitute variable references is envsubst, which is in gettext for the same reason that cal and column are in util-linux and mkpasswd is in whois 2023-03-16 22:59:09 mkpasswd in whois seems like some sort of hilarious joke 2023-03-16 22:59:18 there's also a mkpasswd in.. expect? 2023-03-16 22:59:24 handlerug: i'm not 2023-03-16 22:59:31 that's unexpected 2023-03-16 22:59:33 D: 2023-03-17 03:17:20 > We don't officially support Alpine as it is as we use coroutines with ucontext_t unsupported on MUSL. 2023-03-17 03:17:30 funny... gnome-builder seems to be there okay... 2023-03-17 03:18:15 oh and in relation to #musl, there we have all-caps :D 2023-03-17 03:21:35 there is no ucontext_t in the gnome-builder codebase 2023-03-17 03:21:41 like at all 2023-03-17 03:21:50 libucontext also exists 2023-03-17 14:04:47 lol, mention of coroutines... triggers my PTSD 2023-03-19 02:50:24 Hey fellow humans. Figured out Alpine 3.17+ container freezing; it was ccache 4.7, probably inode caching doesn't work well inside GitLab runner 2023-03-19 02:50:46 currently reproducible on Debian and Fedora with 4.7.x ccache... 2023-03-19 03:01:32 :) 2023-03-19 03:02:20 well it's easy to disable i guess 2023-03-19 03:02:44 does it still freeze on 4.8? 2023-03-19 03:16:27 psykose: no idea, I'm doing currently debian bullseye -> bookworm migration, so after I finish it, I'm going to give a alpine spin 2023-03-19 03:17:18 I was pretty sad to stay with Alpine 3.16 in CI because of it. 2023-03-19 03:17:32 * I was pretty sad to stay on old Alpine 3.16 in CI because of it. 2023-03-19 10:02:35 Why did raspberrypi-userland-udev get pulled in when I installed udev 🤔 2023-03-19 10:02:38 s/udev/tmux/ 2023-03-19 10:11:11 Newbyte: on what architecture? 2023-03-19 10:11:23 ptrc: armv7 and aarch6 2023-03-19 10:11:25 s/aarch6/aarch64/ 2023-03-19 10:12:28 can't reproduce in a container 2023-03-19 10:13:04 ah 2023-03-19 10:13:10 raspberrypi-userland-udev-0.20220616-r0 has auto-install rule: 2023-03-19 10:13:10 eudev 2023-03-19 10:13:50 i don't think it was related to tmux though, its dependencies are quite concise 2023-03-19 10:14:10 yeah, I think it just was because I hadn't updated for a while 2023-03-19 10:14:30 I would think the same would've happened if I did apk upgrade 2023-03-20 01:48:28 the amount of relative symlinks i have fucked up really makes me wish ln -r was a thing in busybox 2023-03-20 01:54:36 I remember there was an small app, symlinks by, that turned absolute symlinks into relative. Ah, here: https://github.com/brandt/symlinks 2023-03-20 01:57:43 i know there's a million solutions and various coreutils that have ln -r 2023-03-20 01:57:50 can't rely on any of those for writing scripts however 2023-03-20 01:58:14 'in busybox' would at least mean i could do ln -r in apkbuild's :p 2023-03-20 01:58:22 ah 2023-03-20 07:55:11 I just dropped a high impact MR: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/45251 2023-03-20 07:57:25 The problem I try to solve is that when python3 is updated to a new major version (e.g. 3.10.x to 3.11.y) all python modules are broken until the builders have completed rebuilding them all, which in the most recent instance meant I was waiting for 2 days to have my setup working again. The idea is to add a dependency to `python3>=3.11.0 python3<3.12.0` this time to avoid updating python3 until all installed modules are rebuild. 2023-03-20 07:58:26 The MR only adds the deps to main/py3-* packages. If that approach is agreed upon, the same could be done for the other repos. 2023-03-20 08:00:35 please no 2023-03-20 08:01:07 Note: I opted to invoke python3 to print the version currently installed, rather than hardcoding it. Ideally, the line added needs to never be touched again. Hardcoding the dependency would certainly also work and a simple sed or awk snipped would be able to update the hardcoded dependency for all pkgs. But I personally favor doing a bit more work upfront that having to remember running an sed script on every python3 update 2023-03-20 08:01:32 psykose: What is that you dislike with the approach? 2023-03-20 08:03:00 o.o that's certainly a way to do it 2023-03-20 08:05:03 for a start you only need python3~{sys.version_info.major}.{sys.version_info.minor} 2023-03-20 08:05:17 for another you put the dependency in the wrong subpackage in places :p 2023-03-20 08:05:25 for the actual reason it should be in abuild and automatic 2023-03-20 08:07:35 That was exactly what I proposed a few months ago. But the feedback was adding python3 specific features is a no-go. 2023-03-20 08:08:33 But yeah, adding this to every APKBUILD will be a game of whack a mole with new py3-* packages popping up all the time, while adding it to abuild would fix the issue once and for all. 2023-03-20 08:09:38 not quite, someone had an issue for it for a while https://gitlab.alpinelinux.org/alpine/abuild/-/issues/10029 2023-03-20 08:10:52 on void we freeze the repos when doing a python3.x bump, so there's never a state like this 2023-03-20 08:10:57 would probably just be an additional scan_python_something function that gets called in one place 2023-03-20 08:11:05 yeah a repo freeze also solves this and is 10x easier 2023-03-20 08:11:09 and i thought of that a million years ago 2023-03-20 08:11:19 it's useful for like 10 other reasons too 2023-03-20 08:11:33 but nobody really cared and i can't do it myself and i'm not one to repeat the same thing in a loop 800 times 2023-03-20 08:11:53 only a few people can 'freeze the repos' 2023-03-20 08:12:12 Write a bot that asks for that feature. Start with a weekly interval to nag, then slowly increase frequency ;) 2023-03-20 08:12:58 that scan_whatever seems quite easy to make in this case, since it just detects /usr/lib/python3.X 2023-03-20 08:13:09 and adds a dep on python3~3.X 2023-03-20 08:14:24 Do want to look into that? Otherwise I will take a look. I keep the other MR open, at least as argument for why adding a python3 specific hook to abuild this would serve well. 2023-03-20 08:15:58 i know where to add it but idk how to write tests for that 2023-03-20 09:21:16 https://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests/189 provides the scan hook for python3 site-packages 2023-03-20 09:46:25 maribu: should include tests as well as psykose mentioned 2023-03-20 10:07:10 Will do. After lunch, though :) 2023-03-20 10:58:02 ikke: Done 2023-03-20 13:14:37 Has anyone had any success booting rk3399 boards? I have a stripped down kernel config and openwrt patches working but I can't for the life of me get lts or edge kernels to work even with tweaks 2023-03-20 13:15:34 The issue is that nlplug-findfs doesn't find the mmc disk so it times out 2023-03-20 13:50:35 pogduhog: We support several rk3399 devices in postmarketOS (Alpine-based distribution). However, we have our own "rockchip" kernel rather than Alpine Edge. 2023-03-20 14:05:15 @Newbyte good to know, I will take a look. I would be interested in getting 'stock' lts or edge working as they are almost there, it is just the mmc issue that needs resolving at this point and I don't believe any patches are actually needed 2023-03-20 14:07:31 I will try with my config and no patches later, if that works it must be a config issue but I can't seem to nail it down 2023-03-20 14:08:12 pogduhog: would be great if you could do that. if so, we could offer it as an option as well on such devices. 2023-03-20 14:08:18 MMC on the rk3399 boards are a mess in all honesty 2023-03-20 14:09:59 Another issue with stock alpine is the nlplug-findfs script times out too quickly. On my build I have recompiled it to allow for a longer wait, the USB_DELAY option did not work in this situation 2023-03-20 14:11:30 So in short with an option to increase the wait in nlplug-findfs and the correct config we should be able to boot all the rk3399 devices out the box. Again I will test with no patches later, I don't think any are strictly necessary to boot 2023-03-20 16:45:11 maribu: that looks perfect, great work 2023-03-20 16:45:39 Thx :) 2023-03-20 16:49:23 :) 2023-03-20 16:49:31 Newbyte: everything is 44.0 now, clear or more testing 2023-03-20 16:51:23 psykose: I asked someone to test it on his aarch64 laptop and it works fine for him. I should probably test it on a phone just to make sure there's no weird interactions with Phosh before we merge though. 2023-03-20 16:51:35 … so I'll do just that 2023-03-20 19:10:07 psykose: so fast! thanks :) 2023-03-20 19:12:28 also for the earlier version bumps, thanks for all that you and the rest of the team do to keep the CI and packages going smoothly 2023-03-20 19:13:37 miyopan is a cute sounding name 2023-03-20 19:15:59 :) 2023-03-20 19:16:16 :3 2023-03-20 19:17:24 thanks <3 2023-03-20 20:23:18 How do I downgrade a specific package to what's available in the repositories? I know about upgrade -a, but I don't know how to convince it to downgrade a specific package 2023-03-20 20:23:47 apk add package= 2023-03-20 20:24:10 Not sure if it works with downgrades, but apk add -u can be used to upgrade a single package 2023-03-20 20:24:11 That worked, thanks 2023-03-20 20:24:18 apk add xdg-desktop-portal-gnome\<44 2023-03-20 20:24:23 note that the pinning is kept 2023-03-20 20:24:31 so it will not automatically upgrade 2023-03-20 20:24:35 psykose: is the backslash meant to be there? 2023-03-20 20:24:39 yes 2023-03-20 20:24:44 yes otherwise it's a shell redirection 2023-03-20 20:24:45 you don't want to pipe in fd 44 2023-03-20 20:24:49 alternatively quote it 2023-03-20 20:24:51 oh, that makes sense 2023-03-20 20:32:00 ikke: that's <&44, <44 is just reading from a file called 44 2023-03-20 20:32:09 oh right 2023-03-20 20:52:13 DavidHeidelberg[m]: ccache 4.7.5 disables inode by default so now you don't even need the workaround for 3.17 2023-03-20 20:53:17 psykose: yup, I proposed this solution to a maintainer when wr been discussing issue 2023-03-20 20:53:23 :) 2023-03-20 20:53:23 ye 2023-03-20 20:53:29 upgraded for you already, enjoy 2023-03-20 20:53:37 But thank you think about me :P 2023-03-20 20:56:40 *thank you for pinging me 2023-03-20 20:57:05 is it mirrored? I would try to uprev container tonight 2023-03-20 21:00:24 already in dl-cdn yeah 2023-03-20 21:04:23 nice 2023-03-20 22:18:18 when is subpackages=...::noarch needed? i see it's not generally used for -doc -lang 2023-03-20 22:25:51 default_doc/lang sets it already 2023-03-20 22:26:02 hm or does it 2023-03-20 22:26:44 guess not 2023-03-20 22:26:48 but it doesn't really do anything 2023-03-20 22:27:10 there's no noarch packaging and it's mostly habit 2023-03-20 22:28:09 why isn't there? :-) 2023-03-20 22:28:44 also, looks like abuild.conf isn't documented anywhere? e.g. REPODEST 2023-03-20 22:49:24 anyway, will http://0x0.st/H-lc.3.patch fly for https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/28871 ? (i don't really care for warzone2100, but i noticed it was ancient) 2023-03-20 22:52:12 sorry, the other thing got in there probably due to my experiments with abump. http://0x0.st/H-lm.3.patch 2023-03-20 23:07:23 probably 2023-03-20 23:07:31 there isn't because no one made it, dunno 2023-03-20 23:07:42 it's somewhat weird to set up a repo to handle noarch correctly 2023-03-20 23:07:50 (apks shared for every arch) 2023-03-20 23:08:08 on top of the issue of 'which builder builds the noarch and uploads it' 2023-03-20 23:13:40 all of them, something something reproducible builds 2023-03-20 23:55:34 psykose: thanks! do you really prefer the gitlab mr workflow to patch-over-{irc,email}? this whole pr/mr business still feels extremely weird to me, 15 years into github's existence -- why do i need to host my private repo somewhere just to submit a patch... 2023-03-21 00:09:15 it's more convenient for me as both the person reviewing it and writing it 2023-03-21 00:09:23 but i'm ok with curl | git am too i guess 2023-03-21 00:09:43 mostly because i'm ok with fixing anything i want to change myself 2023-03-21 00:09:50 actual git email review i just avoid and never use 2023-03-21 00:22:25 i see. sourcehut must have gotten it right then? i think i can git-send a patch into it, and then you can do the clicky-clicky in the ui. conversely it also supports curl | git am 2023-03-21 00:23:17 er, s/git-send/&-email/ 2023-03-21 00:23:31 haven't checked in a while 2023-03-21 05:49:55 Newbyte: fyi in mutter https://gitlab.gnome.org/GNOME/mutter/-/commit/0e8aaebc00f18a642c9058c00f5ea6f52cd2b385 is new in gnome-44 and makes mutter exit when xwayland crashes 2023-03-21 05:49:56 : ) 2023-03-21 05:50:36 META_X11_DISPLAY_POLICY_MANDATORY is only set for non-systemd as well, since this old thing https://gitlab.gnome.org/GNOME/mutter/-/commit/9b25248c96129641ba2b1b0b64c21a1dc41e38ae 2023-03-21 05:50:50 so basically on !systemd xwayland failing causes an exit of mutter 2023-03-21 05:50:50 fun 2023-03-21 06:51:17 "so basically on !systemd..." <- Is there an issue about this? Looking at the code it looks like a deliberate change, but still 2023-03-21 06:51:37 someone will prolly make one 2023-03-21 06:51:52 it's not deliberate in a bad way, just unfortunate 2023-03-21 06:52:04 just in case people report something crashed and the whole thing exited you can probably know it's that 2023-03-21 11:28:52 z3ntu: hi! I shortly wanted to make you aware of an issue with the libcamera package that just got fixed in a bunch of other distros (debian, arch, fedora). Are you around? (and can people read this?) 2023-03-21 11:31:09 In short it's about these commits: https://salsa.debian.org/multimedia-team/libcamera/-/commit/7871e6737d82e76942aaa3b6f56a2f03f28b1d91 / https://github.com/archlinux/svntogit-packages/commit/9b0cb2833e62cb4e8f2bfec703649a9fb10b6cd8 2023-03-21 11:32:30 robertmader[m]: we can certainly read this 2023-03-21 11:32:47 libcamera does a rather odd thing and requires signing of certain .so files. Most distros, however, strip parts of the binary, making the signature invalid and requiring resigning. I don't see something like that in https://git.alpinelinux.org/aports/tree/community/libcamera/APKBUILD yet 2023-03-21 11:33:34 guess i'll fix it 2023-03-21 11:33:37 End of story is that the pipewire libcamera plugin usually won't work then. 2023-03-21 11:34:46 psykose: thanks! 2023-03-21 11:34:51 robert.mader: and thanks for letting us know! 2023-03-21 11:34:52 The combi of libcamera+pipewire in turn makes now makes it possible to use the cameras on e.g. the Pinephone Pro and other devices in a simple manner. 2023-03-21 11:35:55 Thanks for looking into it! 2023-03-21 11:36:40 ah ok it's juse the .sign 2023-03-21 11:37:44 The important part is to check if the alpine build system does binary stripping, which I'd assume it does? 2023-03-21 11:44:48 b1d4082bfd0643dce8e4000a49c86781d2734cf0 2023-03-21 11:45:06 should be fine but someone should probably test it 2023-03-21 11:57:38 psykose: thanks, will try to do that later. If somebody else has a device using an IPA, such as a Pinephone Pro or a raspberry pi, you should be able to check by running `pw-dump | grep libcamera` (listing any output) or `gst-device-monitor-1.0 Video/Source` (showing libcamera devices for pipewiresrc). 2023-03-21 11:58:40 if it works i'll backport it too i guess 2023-03-21 12:01:56 Nice - with a bunch of other stuff having landed upstream recently (especially linux 6.3), this should allow us to finally mark cameras as "Works" on https://wiki.postmarketos.org/wiki/PINE64_PinePhone_Pro_(pine64-pinephonepro) and some devices, because simple apps like Cheese start to just work. 2023-03-21 12:04:19 Some libcamera dev will test it and ping back. 2023-03-21 12:04:46 it'll prolly take like 1.5 hours to build from now 2023-03-21 12:04:50 some stuff in front in the queue 2023-03-21 12:04:57 has to be edge specifically too 2023-03-21 12:42:48 > Open-source modules are identified based on digital signatures, while closed-source modules are isolated inside a Sandbox environment with restricted access to the system, reducing the impact of untrusted binary blobs. 2023-03-21 12:43:09 psykose: ping 2023-03-21 12:43:14 pong 2023-03-21 12:43:23 one would think that the sandboxing decision needs to be made based on access requirements etc., not licence 2023-03-21 12:43:29 psykose: hello 2023-03-21 12:43:33 hello 2023-03-21 12:43:35 I'm testing https://git.alpinelinux.org/aports/commit/?id=b1d4082bfd0643dce8e4000a49c86781d2734cf0 2023-03-21 12:43:53 which architecture are you on 2023-03-21 12:43:58 but even with the patch applied, I still have invalid signatures 2023-03-21 12:44:03 postmarketos aarch64 2023-03-21 12:44:11 is it edge and is the package 0.0.4-r1 2023-03-21 12:44:28 I have manually applied the patch to the APKBUILD 2023-03-21 12:44:34 however 2023-03-21 12:44:36 sure, that works too 2023-03-21 12:44:42 I still have invalid signatures 2023-03-21 12:44:52 yeah 2023-03-21 12:44:54 let me think a bit 2023-03-21 12:45:12 and what puzzles me, is that the md5sum of the .sign file on the build chroot and on the target differ 2023-03-21 12:45:42 target? 2023-03-21 12:46:17 ah no sorry 2023-03-21 12:46:42 yes, the target device where libcamera is deployed 2023-03-21 12:46:50 anyway, no sorry, the signatures match 2023-03-21 12:46:55 again, sorry 2023-03-21 12:46:59 the md5sum matches 2023-03-21 12:47:11 but the signatures are still invalid 2023-03-21 12:47:30 hmm 2023-03-21 12:47:36 it does basically the same thing as the arch patch 2023-03-21 12:47:40 strip first then just sign again 2023-03-21 12:48:04 I know, I was expecting it to work in facts 2023-03-21 12:49:20 ah hm 2023-03-21 12:49:27 if i sha1sum in the loop it does not match the installed one 2023-03-21 12:51:18 mine do... https://paste.debian.net/1274785/ 2023-03-21 12:51:58 but still PAManager ipa_manager.cpp:303 IPA module /usr/lib/libcamera/ipa_rkisp1.so signature is not valid 2023-03-21 12:53:18 oh i know 2023-03-21 12:53:50 it's because the debug package modifies the .so's later to add a .debug_link thing 2023-03-21 12:53:56 hmm 2023-03-21 12:54:13 but does it work if you just copy the things from the root to the host with definitely-matching signature 2023-03-21 12:55:28 no, but I've just re-generated the signauture running the signing script manually and now the sha512sum of the .sign file differ 2023-03-21 12:55:41 let me try to deploy the newly generated .sign file to the target 2023-03-21 12:57:21 yes 2023-03-21 12:57:22 IPA module /usr/lib/libcamera/ipa_rkisp1.so signature is valid 2023-03-21 12:57:49 so if I re-generate the .sign file manually and deploy it to the target the signature validation works 2023-03-21 12:58:16 hm, ok 2023-03-21 12:58:18 so there's likely another step that modifies the .so file after the package() step 2023-03-21 12:58:21 081c80e25a579d6a2dcb0639dace5e1a7c1194d2 2023-03-21 12:58:23 this fixes the other issue 2023-03-21 12:58:28 but nothing else should touch it 2023-03-21 12:58:49 this makes the sha match, i think what you tried was slightly incorrect somehow (they definitely didn't match post-install before since -dbg modifies it) 2023-03-21 12:59:36 if this still doesn't work then i have to look even harder, but these have matching checksums for sure so i would be puzzled 2023-03-21 12:59:45 let me try your patch 2023-03-21 12:59:56 unless the signing itself is wrong somehow 2023-03-21 13:04:38 IPA module /usr/lib/libcamera/ipa_rkisp1.so signature is valid 2023-03-21 13:04:49 so yes, splitting out the -ipa() task helps 2023-03-21 13:06:20 which makes me wonder if !strip + manual stripping is now necessary 2023-03-21 13:07:01 but as I don't know where stripping would happen without !strip I won't bother and be happy with the package now working correctly :p 2023-03-21 13:08:42 the !strip is kinda global, unlike in the arch pkgbuild it wouldn't apply to only the subpackage 2023-03-21 13:08:54 so if you use it you have to manually do it, which is fine, just that scanelf loop 2023-03-21 13:08:58 it's the same one strip does 2023-03-21 13:09:00 if it works it works 2023-03-21 13:09:02 thanks for testing :) 2023-03-21 13:10:10 no worries, thanks for fixing 2023-03-21 13:10:20 when can I expect those patches to land ? 2023-03-21 13:10:22 (the -dbg is also a strip, it objcopy's the debug section, strips original, then adds a .debug_link to file location of .dbg) 2023-03-21 13:10:31 edge is fixed pending rebuild, i'll do 3.17 in a second 2023-03-21 13:10:41 nothing else to fix aside from that 2023-03-21 13:10:42 3 2023-03-21 13:10:43 2 2023-03-21 13:10:45 1 2023-03-21 13:10:47 :) 2023-03-21 13:10:47 go 2023-03-21 13:11:01 thanks, I'll re-pull later today 2023-03-21 13:13:46 pushed 2023-03-21 13:13:56 3.17 is 0.0.1 libcamera, does that even work :D 2023-03-21 13:15:03 Hm, at least not for devices like the pinephone pro which only got full support in 0.0.4 2023-03-21 13:15:32 0.0.1 is ancient 2023-03-21 13:15:58 z3ntu: wanna upgrade that too in 3.17 2023-03-21 13:42:34 psykose: doesn't that break the stability guarantee of Alpine stable? 2023-03-21 13:42:40 no 2023-03-21 13:42:44 why not? 2023-03-21 13:42:56 the libcamera API is not stable 2023-03-21 13:43:32 in what sense 2023-03-21 13:43:37 what uses it 2023-03-21 13:44:33 psykose: I mean, isn't the idea that someone can build their own libcamera application against Alpine 3.17 and not have to worry about having to rebuild it or change their code until Alpine 3.18? 2023-03-21 13:44:53 if you upgrade libcamera existing builds will break 2023-03-21 13:46:17 sure, that is true 2023-03-21 13:46:40 what libcamera applications even exist 2023-03-21 13:46:47 all i know is pipewire links it 2023-03-21 13:48:12 psykose: I used it for a university project 2023-03-21 13:48:23 fancy 2023-03-21 13:49:07 but my point is that people using Alpine stable as a development platform may be using it 2023-03-21 13:49:20 yeah 2023-03-21 13:49:22 good point 2023-03-21 16:19:17 Newbyte: libcamera does not have a stable api yet, so devs arguably should be aware of that and not expect the same stability as they do from other libs. But I see the point. 2023-03-21 16:45:05 i.e. IMHO apps requiring stability should statically compile libcamera for the moment - if all distros freeze it to the release version already it will block hardware enablement quite a bit unfortunately :/ 2023-03-22 05:08:10 a475456ce8a14a248e291b2f2cd74fbec6c0b23e 🤔 2023-03-22 11:28:12 ptrc: you mean 2 packages for the same source? 2023-03-22 11:28:20 two exactly same packages 2023-03-22 11:28:30 right 2023-03-22 11:28:43 author of the mr followed a suggestion to rename, but didn't remove the original package 2023-03-22 11:29:03 so now we have two in aports, hence !45300 2023-03-22 11:29:26 makes sense 2023-03-22 11:33:33 ptrc: maintainer has not been active ever since, so I suppose it's no longer maintained either 2023-03-22 13:42:39 "i.e. IMHO apps requiring..." <- That is a reasonable argument. I wouldn't be against updating libcamera on stable branches in Alpine, but I think the current Alpine policy says no to that 2023-03-22 13:43:14 But changing the policy to make exceptions like this sounds reasonable to me (but I'm not affiliated with Alpine beyond contributing to it) 2023-03-22 15:11:34 hoho.... my experiments in rust reveals bugs in aports tree 2023-03-22 15:12:19 this is great, i think what i've done today is useful for ci already 2023-03-22 15:14:58 home/ncopa/aports/community/iio-sensor-proxy/APKBUILD 2023-03-22 15:15:10 /bin/sh: syntax error: unexpected newline 2023-03-22 15:21:25 nope... I'm stupid. its a bug in my rust code 2023-03-22 15:21:54 what was funny was that I saw an unexpected ` char in the APKBUILD 2023-03-22 15:22:08 but it turned out to be dirt on my screen 2023-03-22 15:22:28 i couldnt understand why I couldn't see the ` from another window 2023-03-22 15:23:32 i once had a comma like that, and didn't understand why the comma seemed to be moving slowly until it flew away 2023-03-22 15:24:20 LOL 2023-03-22 15:24:31 man i feel stupid now 2023-03-22 15:31:37 whadya writing 2023-03-22 15:32:57 Sounds a lot like what I already have in alpine/go 2023-03-22 15:48:38 yup 2023-03-22 15:48:46 im just trying to understand rust 2023-03-22 15:49:07 so i'm writing a APKBUILD parser similar to lua-aports 2023-03-22 15:49:41 mostly to learn how to do pipe things to a shell in rust and read it back 2023-03-22 15:51:03 fun :) 2023-03-22 15:51:22 ncopa: i had a thought the other day after seeing that it wouldn't be a collosal amount of work- to replace eudev with systemd-udev 2023-03-22 15:51:34 the patchset is quite small and in relative terms is actually smaller than eudev 2023-03-22 15:51:42 (given that eudev is years out of date at this point) 2023-03-22 15:53:34 which other distros are using eudev at this point? 2023-03-22 15:54:26 sounds interesting 2023-03-22 15:55:09 where come that thought from? do we have problems with eudev? 2023-03-22 15:55:17 apart from that it is not well maintained anymore 2023-03-22 15:56:19 I think its slow divergence from systemd-udev (both for udev rules and also for functionality) is the main issue 2023-03-22 15:56:42 mostly just that it's not maintained 2023-03-22 15:56:54 this affects things like minor bugfixes that we may or may not even know about 2023-03-22 15:56:55 the effort would be better spent porting stuff to mdevd + libudev-zero. :P 2023-03-22 15:56:57 and stuff like the hwdb 2023-03-22 15:57:10 since nothing really keeps up with the hwdb quirks 2023-03-22 15:57:46 libudev-zero is even more diverged 2023-03-22 15:58:15 i wouldn't even call it diverged 2023-03-22 15:58:37 ncopa: the current patchset (this is for musl and systemd-stuff workarounds) is https://github.com/chimera-linux/cports/tree/f7e789f10b794e43319986652a11b28795492d5d/main/udev/patches 2023-03-22 15:58:52 if we went with it i would probably make a repo with q66 to rebase that in i guess 2023-03-22 15:58:54 up to you though 2023-03-22 16:00:58 well, quite small is relative i guess 2023-03-22 16:01:22 it's smaller than the 'patchset' of eudev being thousands of commits behind for reference, but i guess it would need more study on if it fixes something major 2023-03-22 16:01:43 the hwdb stuff is in itself something i know for sure is a small pain 2023-03-22 16:02:41 they sync it periodically (e.g. https://github.com/eudev-project/eudev/pull/239) but since there's no releases it's not like anyone gets to make use of it for devices to work 2023-03-22 16:04:13 wow, there's cports now too? 2023-03-22 16:05:07 yes, no news on c++ports yet though ;-) 2023-03-22 16:05:20 can't wait for rustports 2023-03-22 16:08:48 .apk as tarballs is good, keep it 2023-03-22 16:09:14 that's a request for apk-tools i think 2023-03-22 16:09:32 more of a general comment 2023-03-22 16:09:37 I didn't think apk was actually considering changing it? 2023-03-22 16:10:46 yeah apkv3 branch still uses tarballs 2023-03-22 16:10:51 sorry, I meant hareports 2023-03-22 16:12:28 transient DNS issue (only one resolver configured, since fixed) caused libcrypto to fail during apk upgrade on a critical system 2023-03-22 16:12:38 no problem, download apk and tar -C/ it, fixed :) 2023-03-22 16:13:00 alternative: download apk.static 2023-03-22 16:13:17 we added "consider apk-static" to our upgrade notes 2023-03-22 16:13:48 but the use of tar and lack of NIH makes creative thinking on your feet pretty easy with alpine 2023-03-22 16:14:29 anyway, 25 hosts upgraded from 3.15 => 3.17 in less than two hours with no other issues 2023-03-22 16:14:36 alpine still solid as a rock :) 2023-03-22 16:15:26 look forward to our next fleet upgrade report in a year, I expect it to be as easy as they always have been 2023-03-22 16:18:29 im actually pretty happy to hear that apk as tarballs was a good idea 2023-03-22 16:19:31 i remember thinking in the lines back then (15 years ago+) that one day someone will have use for it in a way i cannot predict :) 2023-03-22 16:19:36 and apparently i was right :) 2023-03-22 16:19:49 it's a wonderful format especially compared to all the others 2023-03-22 16:20:24 keeping compression separate has always let people do various compression stuff on them too at their choosing (generally speaking) 2023-03-22 16:20:40 in contrast to zip i guess 2023-03-22 16:21:14 there were two things i thought was a good idea back then 2023-03-22 16:21:54 1) gzip and tar are streamable, which means we can process data from a stream, and process it while waiting for the network io 2023-03-22 16:22:25 2) it should be possible to use standard tools (like tar and gzip) to do troubleshooting 2023-03-22 16:23:25 my chatgpt rust code is stupid 2023-03-22 16:23:48 reading file from a reader into a string 2023-03-22 16:23:55 writing the string to a writer 2023-03-22 16:24:09 there is io::copy that does that more efficiently 2023-03-22 16:25:49 aye, I am pretty fond of tar 2023-03-22 16:25:55 and I thought that was hare's io::copy for a second -_- 2023-03-22 16:28:18 i have used chatgpt to generate som rust code because I don't know rust very well 2023-03-22 16:29:41 i did some "split the main function into multiple smaller functions" 2023-03-22 16:29:50 and from there i got a few ideas 2023-03-22 16:30:42 the code runs and apparently work, and i read the rust docs to understand why it works 2023-03-22 17:00:18 Are APKv3 packages still tar? Ariadne wrote something about that last year. 2023-03-22 17:14:20 I recall something about some memory mapped format 2023-03-22 17:15:36 yes I also recall talk that APKv3 files where NOT going to remain as simple tar files 2023-03-22 17:21:56 I seem to remember that too, and thought it very unfortunate. There were some good reasons, but having something where standard tooling and libraries Just Work(tm) is imo a large selling point. 2023-03-22 17:42:57 my thoughts/concerns at the time where how would I continue to do "bootstrapping" in a script using apk.static and extracting repo keys (for use by apk.static) from the alpine-keys package if the alpine-keys package would no longer be a simple tarfile 2023-03-22 18:00:42 apkv3 packages are not tar files 2023-03-22 18:01:10 https://git.alpinelinux.org/apk-tools/tree/doc/apk-v3.5.scd 2023-03-22 18:08:47 elly: right, hence my point about the chicken-and-egg situation of getting Alpine keys from a APK package in order to run apk.static to create a base Alpine system for a chroot environment 2023-03-22 18:10:08 minimal: releases.json points to the keys that you can download directly 2023-03-22 18:14:05 elly: is there a rationale for the direction apkv3 has apparently taken? 2023-03-22 18:14:13 ikke: where is releases.json? 2023-03-22 18:14:56 https://alpinelinux.org/releases.json 2023-03-22 18:15:16 ovf: I don't know, I was not involved in its creation - I just reverse-engineered the format to document it because I was curious how it works 2023-03-22 18:15:44 the new format has some benefits over the old format, but whether those outweigh the drawback of needing custom tools, I am not sure 2023-03-22 18:17:28 ikke: thanks, didn't see a mentioned of that. Now time for "jq" to figure out hoe to parse it... 2023-03-22 18:18:27 minimal: where would you expect that to be documented? 2023-03-22 18:18:57 ikke: perhaps a link/reference to it from the usual Releases page? 2023-03-22 18:24:20 cgit should have a dark theme now 2023-03-22 18:24:49 defaults on the media prefers-color-scheme thing 2023-03-22 18:25:04 let me know of any issues and i might even fix them 2023-03-22 18:33:35 the highlighting is also pygments instead 2023-03-22 18:43:08 ikke: was there a reason the cgit setup is split in two 2023-03-22 18:43:38 the nginx container has a .cgi but then also passes over to the other cgi over uwsgi in another place 2023-03-22 18:43:48 and the former has the css and the latter all the config and highlighting 2023-03-22 18:43:58 it took me like two hours to figure out why the css didn't even work 2023-03-22 18:44:18 > It is currently illegal for a DATAX block to appear. 2023-03-22 18:44:27 ACTION looks at DATAX block 2023-03-22 18:45:19 Wait. That's illegal 2023-03-22 18:50:55 well, it is :) 2023-03-22 19:06:42 As is using a different compiler or -O options apparently, unless I misunderstand the Notes 2023-03-22 19:33:05 hearing ncopa learn rust from chatgpt makes me fear for future of the project 2023-03-22 21:06:32 psykose: you'd have to ask clandmeter, who did most of the work on cgit 2023-03-22 21:09:00 :) 2023-03-22 21:27:48 "hearing ncopa learn rust from..." <- what, you're not looking forward to abuild-rs? 2023-03-22 21:37:31 "what, you're not looking forward..." <- I'm 2023-03-22 21:38:13 It's why I'm developing it 2023-03-22 22:38:05 Hello! I'm creating a distribution of Alpine for a specific purpose (3d printing). I feel like it would be easier on the users for me to distribute an apk cache. I couldn't find any information on Alpine's licensing, so can I redistribute this APK cache? 2023-03-22 22:49:43 why would the apk cache be affected by "alpine licensing" 2023-03-22 22:51:20 i am definitely your lawyed and this is definitely paid legal advice: apk generates the apk cache, and it has https://gitlab.alpinelinux.org/alpine/apk-tools/-/blob/master/LICENSE , so that is not relevant 2023-03-22 22:51:45 and the actual .apks contain things that are bound to the licence of what you put in them i guess 2023-03-22 22:51:52 nothing from alpine plays a part in that 2023-03-22 22:54:08 alright thanks 2023-03-22 22:54:31 so do you think the devs would respect me redistributing the apk cache? 2023-03-22 22:54:50 i'm used to ubuntu/debian's stricter licensing for deriviatives 2023-03-22 22:55:55 idk what licensing you expect 2023-03-22 22:56:12 the apk cache is a bunch of files, it's up to you to read the files and figure out if you are allowed to do it or not 2023-03-23 10:02:42 pj: don't worry. this is mostly for my own amusement at this point. And I was able to detect various things it does stupid 2023-03-23 10:03:31 and I don't learn from the code chatgpt generates. I learn from checking it against the official rust docs. 2023-03-23 10:07:56 chatgpt is a tool that with great confidence will tell you to shoot yourself in the foot 2023-03-23 10:14:52 And convince you that it's normal to shoot yourself in the foot 2023-03-23 10:17:18 ikke: the alpine/go APKBUILD parser will not spawn any shell, will it? 2023-03-23 10:18:06 No, it won't 2023-03-23 10:20:25 It uses mvdan.cc/sh to parse them 2023-03-23 10:21:05 is this still true? https://gitlab.alpinelinux.org/alpine/go/-/blob/master/README.md?plain=1#L21 2023-03-23 10:22:16 oh shfmt sounds nice for formatting shellcode 2023-03-23 10:24:56 No, forgot to update it 2023-03-23 10:25:06 but there is a chance that mvdan.cc/sh and shell will parse it differently? 2023-03-23 10:25:16 and if they do, shell is correct, right? 2023-03-23 10:25:56 I haven't come across an issue yet in aports 2023-03-23 10:26:16 I mean, it is a theoretical problem 2023-03-23 10:26:42 i would feel more confident if it was parsed in shell 2023-03-23 10:27:03 https://gitlab.alpinelinux.org/kdaudt/apkgquery uses it 2023-03-23 10:35:01 it seems like it manages to parse main/bash and print correct number of $source 2023-03-23 10:35:04 hum 2023-03-23 10:51:53 Yeah, the top level is really evaluated 2023-03-23 10:52:01 So not just static analysis 2023-03-23 11:07:06 pretty cool 2023-03-23 11:20:14 I wanted to avoid forking to speed up the process, and so far, haven't noticed any discrapencies 2023-03-23 11:27:15 It also powers apkcircledep from ptrc btw 2023-03-23 11:27:23 which detects circular dependencies across aports 2023-03-23 11:27:57 https://gitlab.alpinelinux.org/ptrcnull/apkcircledep 2023-03-23 11:30:38 nice 2023-03-23 12:14:10 ncopa: the only 'blind' spot is still metadata for subpackages 2023-03-23 12:14:27 as you'd need to evaluation the split functions 2023-03-23 12:15:33 `` 2023-03-23 14:13:22 we can not set metadata in the split functions. it must be in global scope 2023-03-23 14:13:44 which is why i have wanted a better designed APKBUILD format 2023-03-23 14:13:54 yes, you mentioned that before 2023-03-23 14:14:01 which is why I refrened from persuing that 2023-03-23 14:14:05 refrained* 2023-03-23 14:14:23 yes. we should not even try 2023-03-23 14:15:08 maybe mention that here as well https://gitlab.alpinelinux.org/alpine/go/-/issues/3 2023-03-23 14:20:33 btw. I have been working on a script that generates a bootable disk image with multiple partitions (EFI + root partition), without mounting anything 2023-03-23 14:21:16 i was thinking we could create official "cloud" images or similar in that way 2023-03-23 14:21:31 right, that would be nice 2023-03-23 14:21:39 That would make it easier to do in CI I suppose 2023-03-23 14:21:45 yes 2023-03-23 14:21:52 that is what i was thinking 2023-03-23 14:24:04 ncopa: similar to my own script? 2023-03-23 14:24:24 i suppose 2023-03-23 14:24:28 minimal: yours did require some mounts, right? 2023-03-23 14:24:47 and similar to what the current cloud images does 2023-03-23 14:25:17 ikke: well it's doing chroot so needs filesystems mounted for that 2023-03-23 14:25:41 ncopa: not sure what you mean by "without mounting anything" - how do you write to fs if it is not mounted? 2023-03-23 14:25:56 minimal: that is the thing 2023-03-23 14:27:20 mkfs.ext4 -E offset=$offset -d dir file.img $size 2023-03-23 14:27:29 ncopa: for my script I'm creating a disk image files, partitioning & formatting it, then using loop device in order to mount each partition, then chrooting into it 2023-03-23 14:27:52 the problem I had at hand was the loop device 2023-03-23 14:28:06 what was the problem? 2023-03-23 14:28:23 the CI would allocate a loop device in docker --privileged 2023-03-23 14:28:27 oh nice, -d 2023-03-23 14:28:33 "Copy the contents of the given directory into the root directory of the file system." 2023-03-23 14:28:58 for some reason, the CI job failed to release the loop device 2023-03-23 14:29:09 also you wouldn't then intend to support LVM, LUKS, MD etc? and how to install bootloader? 2023-03-23 14:29:29 so at some point it ran out of loopdevices 2023-03-23 14:29:34 default i 8 2023-03-23 14:29:58 no, just plain ext4 in a gpt partition 2023-03-23 14:30:04 + efi partition with vfat 2023-03-23 14:30:14 mkfs.vfat can also take offise and size 2023-03-23 14:30:25 so what about cloud providers that don't (officially or otherwise) support UEFI? 2023-03-23 14:30:29 and mcopy -i file.img@@$offset can be used 2023-03-23 14:30:48 they will have to use something else 2023-03-23 14:31:05 at least for now 2023-03-23 14:31:25 i mean, uefi is a good start 2023-03-23 14:31:45 ppc64le and other etc can be handled later, if ever needed 2023-03-23 14:32:00 I was referring to BIOS on x86/x86_64 2023-03-23 14:32:54 should be possible to do a hybrid partition table? 2023-03-23 14:33:45 hybrid booting can be setup, but how to use the likes of grub-install (writing to MBR) with your method? 2023-03-23 14:34:21 i dont know 2023-03-23 14:35:09 i mean, syslinux has a mbr.bin for MBR 2023-03-23 14:35:13 its only 404 bytes 2023-03-23 14:35:30 so we can use dd? 2023-03-23 14:35:39 yeah but can that be copied to 1st sector from inside the docker env you're talking about? 2023-03-23 14:36:09 I thought you were "presenting" only filesystems to the docker env 2023-03-23 14:36:37 its a disk image file, so you are asking if its possible to write specific 404 bytes in the beginning of a file 2023-03-23 14:36:52 i mean, why wouldnt it be possible 2023-03-23 14:38:09 maybe I'm confused about exactly what you're proposing 2023-03-23 14:38:53 im proposing create disk images without need capabilites to mount anything and without depending on loop back devices from kernel 2023-03-23 14:38:55 but generally speaking bootloaders' install scripts would expect to see things mounted for them to do their work 2023-03-23 14:40:35 which means that you really need to boot up a vm to create images, which is sort of painful 2023-03-23 14:41:03 nope, can be done in chroot 2023-03-23 14:42:21 yes it can, if you can guarantee that it never fails in unexpected ways 2023-03-23 14:42:36 (eg killed by oom killer or with any kill -9) 2023-03-23 14:43:01 my script doesn't need a VM, it does need root privs however as it uses stuff like cryptsetup and LVM utils 2023-03-23 14:43:45 that's why I moved away from doing stuff inside Docker, when I wanted to add encryption and LVM etc support 2023-03-23 14:44:11 docker is technically a more sofisticated chroot 2023-03-23 14:44:19 so whatever you can do in a chroot you can do in docker 2023-03-23 14:44:45 but also, if you script is killed with -9, it does not clean up its resources 2023-03-23 14:45:20 true, it does trap and cleanup for normal errors, but not for -9 2023-03-23 14:45:22 and if you re-run it and kill -9 it multiple times you will run out of loopback devices 2023-03-23 14:46:00 the only way to guarantee clean up is to run it in a vm 2023-03-23 14:46:50 right, and my script *can* be run in a VM, it just doesn't require it 2023-03-23 14:47:14 but you also said you had problems with loop device cleanup too 2023-03-23 14:47:25 so, the problem i solved this and previous week was a github runner that ran out of loopback devices 2023-03-23 14:49:36 i have no idea what or how it got in a state where the trap didn't execute the cleanup 2023-03-23 14:49:48 i was never able to reproduce it 2023-03-23 14:50:31 maybe it was oomkiller, maybe it was a race condition, maybe it was something else 2023-03-23 14:51:05 using loopback dev worked just fine, without any problems, for months (years?) - until it didn't 2023-03-23 14:58:15 yeah, permanent resources are difficult to deal with. Depending on the system, periodic scripts that perform cleanups may be useful 2023-03-23 14:58:33 but I'm not sure how that could apply to loopback devices, that users may want to keep permanently 2023-03-23 14:59:04 you'd need a table of permanent lodevices you want to keep, and clean up the rest... and bam you're in the weeds of distro-specific sysadmining again :/ 2023-03-23 15:03:33 firefox is segfaulting for me on edge, does anyone else have this problem? 2023-03-23 15:07:46 nevermind, reinstall fixed it 2023-03-23 15:13:37 i just realized that not even root permissions would be needed to create rootfs if fakeroot is used 2023-03-23 15:13:40 cool... 2023-03-23 15:15:30 aren't you creating the rootfs in the CI VM (which has root privs) before docker is invoked? 2023-03-23 15:16:32 right now im only playing with the idea of doing this for alpine, so im not currently doing anything 2023-03-23 15:16:51 the thing i worked on earlier created the rootfs in docker 2023-03-23 15:16:59 which is sort of nice tbh 2023-03-23 15:17:42 ok, so which bits would happen outside docker? 2023-03-23 15:17:49 none 2023-03-23 15:18:34 ok, so partitioning happens inside docker? 2023-03-23 15:18:35 well the github runner software that runs the docker image create and runs the create_image.sh script in docker 2023-03-23 15:18:57 the create_image.sh script runs in a docker container with --privileged yes 2023-03-23 15:19:48 anyway, i should probably fix the nocloud support for tiny-cloud first 2023-03-23 15:20:34 I didn't point out in alpine-cloud an general "issue" with passing "ds=" on cmdline that I'd spotted 2023-03-23 15:20:45 oops s/didn't/did/ 2023-03-23 15:21:28 I had to quote the value otherwise it was being truncated at first semicolon when passed to kernel by bootloader 2023-03-23 15:22:16 oh. i think i know why 2023-03-23 15:22:20 eval is evil 2023-03-23 15:22:38 saw this happening with grub and limine and (I think) syslinux 2023-03-23 15:23:06 shells should rename eval to evil 2023-03-23 15:23:14 why eval? this wasn't in initramfs' init, it was when the kernel received it from bootloader 2023-03-23 15:23:57 "dmesg" clearly shows kernel receiving a truncated cmdline 2023-03-23 15:24:05 oh, really 2023-03-23 15:24:17 i thought it was eval here: https://gitlab.alpinelinux.org/alpine/mkinitfs/-/blob/master/initramfs-init.in#L368 2023-03-23 15:24:28 thats a bootloader issue then 2023-03-23 15:24:36 yupe, I even tested this in Grub when using "e" to edit the menu option during boot 2023-03-23 15:24:41 not really a tiny-cloud issue 2023-03-23 15:25:55 right, but it's not going to work for as expect with tiny-cloud (or cloud-init) if it's not quoted - e.g. ds='h=test;s=http://a.b.c/seed' 2023-03-23 15:36:23 ncopa: have you discarded the option of properly release the "unused" loopbacks? maybe there is some way for doing it 2023-03-23 15:37:15 looking at 'docker events' you could check what containers have something mounted, in case of get a destroy event, just unmount everything linked to that container 2023-03-23 15:37:34 yeah i think that might work 2023-03-23 15:37:46 and it was on the table 2023-03-23 15:38:00 i was a bit skeptic 2023-03-23 15:38:12 what happens if there are parallel jobs at the same time? 2023-03-23 15:38:46 as i understand losetup, it would release it once its unmounted 2023-03-23 15:39:00 hmm.. if don't sure what you mean 2023-03-23 15:39:36 would be racy 2023-03-23 15:40:01 I'm thinking on a simple script that runs on the host monitoring events, it tracks mounts/unmounts and stores all mounted devices for each container, on a container destroy event it cehecks if there are some devices for that container 2023-03-23 15:40:15 job1 does losetup loop0 to img1 2023-03-23 15:40:35 job2 releases all unused loop devices 2023-03-23 15:41:06 job1 tries to mount loop0 - which job2 at this point has released 2023-03-23 15:41:43 so i figured its much better to do it without loop devices, since its theoretically possible 2023-03-23 15:42:30 you have write access to the image file and can in theory populate it without help of kernel and loopback devices 2023-03-23 15:42:46 anyway, that is a solved problem now 2023-03-23 15:42:58 and as a bonues, the docker images no longer needs to run privileged 2023-03-23 15:43:24 oh great 2023-03-23 15:44:04 took hours/days to get the offiset and sizes right 2023-03-23 15:44:12 different tools operates with different units 2023-03-23 15:44:33 what about 4K sector sizes? 2023-03-23 15:44:35 sectors (512 bytes), blocks (1024 bytes or maybe 4096) 2023-03-23 15:44:45 minimal: what about them? 2023-03-23 15:45:12 i think mkfs.ext4 has option for sector size? 2023-03-23 15:45:14 I'm not sure if some cloud providers with NVME storage present as 512B or 4K 2023-03-23 15:45:47 i dunno 2023-03-23 15:46:00 in any case, i should work on tiny-cloud tests now 2023-03-23 15:46:15 so if 4K then might not be bootable if created for 512 2023-03-23 15:46:57 i was just happy that i was able to actually create images without loopback devices, because it is a thing i have been thinking about for years 2023-03-23 15:48:45 thats a good feeling :) 2023-03-23 15:48:57 indeed :) 2023-03-23 15:51:20 ncopa: creating images without loopback devices (and without the horror that is virt-make-fs) is something I'd love to do, what's the trick? (or where's the source if that's simpler XD) 2023-03-23 15:54:29 unfortnately it was in a closed repo 2023-03-23 15:54:58 but the key points are: sfdisk --label gpt <<-EOF 2023-03-23 15:55:15 mkfs.ext4 -E offset=... -d sourcedir file.img 2023-03-23 15:55:28 mkfs.ext4 -E offset=... -d sourcedir file.img $size 2023-03-23 15:55:54 mkfs.vfat --offset ... file.img $size 2023-03-23 15:56:16 mcopy -i file.img@@$offset ... 2023-03-23 15:56:18 How to determine the offset? 2023-03-23 15:56:52 that is the tricky part 2023-03-23 15:57:41 and i had to make the ext4 filesystem 1MB smaller than the caclulated partition size 2023-03-23 15:58:12 sfdisk can do: size=1M, 2023-03-23 15:58:39 mkfs.vfat operated with sectors so had to / 512 2023-03-23 15:58:55 and mkfs.vfat also needed -S 512 iirc 2023-03-23 15:59:06 and 12 bit fats or something 2023-03-23 15:59:31 mkfs.ext4 -E offset operates in bytes 2023-03-23 15:59:46 size can be suffixed with k,m,g,t etc 2023-03-23 15:59:57 y 2023-03-23 16:00:08 some place it had to be 'm' other it was MiB 2023-03-23 16:00:25 but that was the hard part to figure out 2023-03-23 16:01:19 offsets and sizes were all different units 2023-03-23 16:04:00 i suppose i should wrap it up in a script 2023-03-23 16:04:03 ncopa: how are you populating the resultant rootfs with Alpine packages? if it isn't mounted then are yuo not using "apk" at all to install stuff? 2023-03-23 16:04:45 minimal: the -d allows you to specify a dir that's used to populate the image from what I can see 2023-03-23 16:04:55 i suppose that's the kind of thing that libguestfs was meant to solve, but ended up being some strange monstrosity of python and ocaml 2023-03-23 16:05:16 ovf: yeah exactly 2023-03-23 16:05:50 ikke: but what dir? which directory represents the rootfs of the image if it's not mounted? 2023-03-23 16:06:12 minimal: the job i did was for debian images, they created a docker image as the rootfs and then exported it toa debian.tar file 2023-03-23 16:06:53 then they ran docker ... create_image.sh which untars the debian.tar to temp dir, and them mkfs.ext4 ... -d /tmp/rootfs ... 2023-03-23 16:07:44 ncopa: right so that is just mcopy'ing "arbitrary" files into the fs 2023-03-23 16:07:53 exactly 2023-03-23 16:08:11 so something first would have to create a valid Alpine install for it to copy 2023-03-23 16:08:44 so you've avoid the chroot-type situation but moving that part out of this solution 2023-03-23 16:08:59 s/but/by/ 2023-03-23 16:09:39 so this is step 2 of a two-step mechanism for creating cloud images 2023-03-23 16:11:05 actually, the interesting bits here is that no kernel capabliliteis for mount is needed. (and with fakeroot, no root permissions either) 2023-03-23 16:12:03 makes me think that it woudl be extremely cool if mkfs.ext4 -d could take a tarball (or more) as input, instead of a dir 2023-03-23 16:12:25 ok, but step 1 (creating the Alpine installed files for cloud use) would also run via CI and then wouldn't it need mount and/or chroot to function? 2023-03-23 16:13:01 theoretically not 2023-03-23 16:13:26 apk files are just tarballs... 2023-03-23 16:14:27 yeah but what manages deps? and triggers (such as mkinitfs creating initramfs file when kernel package installed) etc 2023-03-23 16:14:53 good point 2023-03-23 16:15:02 those wouldnt run 2023-03-23 16:15:31 but that is a different problem 2023-03-23 16:15:55 and already now we build iso images with deps and initramfs - without needing to be root 2023-03-23 16:16:29 yes you've have to manage deps in the script (manage deps changes for new versions of each package?) and would have to create initfs and know of any other triggers that existed that were important to do the same tasks 2023-03-23 16:16:59 yup 2023-03-23 16:21:03 rather than having apk manage all that for you 2023-03-23 16:38:15 our current iso images let apk manage the deps 2023-03-23 18:10:43 ncopa: well, I hope so because from chat history it sounded uncertain and I've had way too many people tell me already they are learning from chatGPT or using it constantly which is worrisome 2023-03-24 05:31:43 whats the difference between pkgname and origin? pkgname is used for install or search, origin is used for webpage index. Is it right? 2023-03-24 05:35:00 in what context 2023-03-24 05:35:55 if you mean something like apk search --origin, the origin package is the parent package, i.e. not a subpackage 2023-03-24 05:36:43 I'm looking into APKindex and Apk spec 2023-03-24 05:36:53 same thing then 2023-03-24 05:39:39 Got it 2023-03-24 06:49:51 origin is the APKBUILD the .apk comes from. Useful in case of subpackages 2023-03-24 06:52:49 ncopa: do you think it would be a good idea to add things like shadow, motd, shells, ... to apk/protected_files.d as an exclusion? otherwise one constantly has to `z` them away in update-conf 2023-03-24 06:53:08 and ever updating them is probably a mistake and would break your system in case of shadow etc 2023-03-24 07:17:00 does apk use protected_files.d? or is it only update-conf? 2023-03-24 07:17:04 i dont remember how that works 2023-03-24 07:19:32 but in general i think its a good idea to solve the problem with update-conf 2023-03-24 07:24:03 apk will not create .apk-new for things excluded in protected_files afaik 2023-03-24 07:24:12 or maybe 2023-03-24 07:24:13 i'm wrong 2023-03-24 07:24:23 protected_paths.d * 2023-03-24 07:24:40 and update-conf can't update what doesn't have a .apk-new 2023-03-24 07:24:51 although i don't really know how it works 2023-03-24 07:26:31 i looked at ca-certificates, then copied the same thing for 2023-03-24 07:26:32 d9bce0e6298290a34e44210e4d3806134ca8886a 2023-03-24 07:26:36 but afaict it doesn't work? 2023-03-24 07:26:43 but it does for ca-certs 2023-03-24 07:27:50 maybe it's broken for subpackages 2023-03-24 07:28:58 nope 2023-03-24 07:30:21 maybe it's forbidden top-level for /etc 2023-03-24 07:32:33 ok so it has to end in .list for sure 2023-03-24 07:33:33 the rest looks like it should work but it does not 2023-03-24 07:34:37 also there is a 1% chance fakeroot failure that happens sometimes 2023-03-24 07:34:38 https://img.ayaya.dev/6MCa9lLXR1c5 2023-03-24 08:29:29 oh interesting 2023-03-24 08:29:36 fakeroot is somewhat hackish 2023-03-24 08:29:55 i thought protected_paths.d would make apk always overwrite the files 2023-03-24 08:30:04 it does for everything except that one thing 2023-03-24 08:30:16 i found from the code that it has to end in .list but it still doesn't work 2023-03-24 08:30:39 so i'm doing something else wrong but i dunno what it is 2023-03-24 08:30:41 anyone from desktop/gnome team could have a look at https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/151? 2023-03-24 08:31:12 psykose: i was thining that we should maybe do the logic in update-conf for the specific files 2023-03-24 08:31:32 we can but i don't think it makes much sense if we can make the former work 2023-03-24 08:31:32 with a flag to optionally keep the odl/current behavior 2023-03-24 08:31:50 if we never want to update the files then there is no point for the .apk-new to be there, and then it avoids it entirely 2023-03-24 08:32:03 when would you ever want to merge shadow.apk-new except to instantly destroy your system? 2023-03-24 08:32:29 we can avoid it with more code but by not making it also works 2023-03-24 08:32:39 i guess i have to debug why apk doesn't like that one particular case and makes it anyway.. 2023-03-24 08:32:57 so, the idea with update-conf was to make upstream changes in default config visible 2023-03-24 08:33:15 yes, and the things we're excluding here are not configs 2023-03-24 08:33:16 and give you a change to manually merge in upstream changes 2023-03-24 08:34:42 let me refocus the point. what update-conf does or doesn't do is not actually important, i was just using it as an example 2023-03-24 08:34:46 ideally we should do a 3-way merge, but that is a bit complicated 2023-03-24 08:34:49 the .apk-new should just not exist for things like shadow et al 2023-03-24 08:35:12 that update-conf lets you merge a nuke after is way after 2023-03-24 08:35:20 well, im not sure i agree here 2023-03-24 08:35:43 so you have a usecase for merging a default shadow? what would it be? 2023-03-24 08:36:02 i agree that you will not want replace your shadow with .apk-new 2023-03-24 08:36:38 then it should also not be there? or do you mean 'me' by 'you'? i mean the universal case 2023-03-24 08:36:54 the exclusion would be tied to alpine-baselayout-data 2023-03-24 08:36:57 but if lets say there is a new default syster user id or a uid was removed, it would be nice to make that visible and give the user a change to manually merge that in 2023-03-24 08:37:29 if we simply never create the .apk-new there is no way to know if there were any changes in the default configs from updated .apk 2023-03-24 08:37:42 ah wait a minute 2023-03-24 08:37:47 i was thinking of it backwards 2023-03-24 08:37:51 apk doesn't support this at all 2023-03-24 08:38:07 adding the exclusion would just make it impossible to make users because baselayout-data shadow would always get replaced 2023-03-24 08:38:09 hrm 2023-03-24 08:38:14 guess it does have to be in update-conf 2023-03-24 08:38:59 but as a response to that- i understand what you mean, but it just really doesn't work that way by default, because there is no database of changes 2023-03-24 08:39:11 so what i previously had in mind was a list of files to auto-nuke .apk-new 2023-03-24 08:39:23 every single 'shadow was modified' is just 50 lines of everything you ever made, haha 2023-03-24 08:39:27 yes, i know it is a bit clumsy, and current behaviour is not good 2023-03-24 08:39:33 yeah, nuking some specific .apk-news without a special flag is ok 2023-03-24 08:39:52 but it make it theoretically possible to pick upstream changes 2023-03-24 08:41:00 it also doesn't work very well without vimdiff that lets you edit it, you either get the whole thing or nothing, you can't pick hunks to apply (there is `e` but you have to memorise what you want to change before you open it) 2023-03-24 08:41:04 but making that work is complicated 2023-03-24 08:41:14 since you would most likely have to add a whole tool just for the functionality 2023-03-24 08:41:37 i guess it's all a wishlist, and default-rm seems like something workable to start 2023-03-24 08:47:48 and add a update-conf to test-suite 2023-03-24 08:48:31 i have to step out for a few hours 2023-03-24 08:51:10 have fun :) 2023-03-24 08:51:40 https://gitlab.alpinelinux.org/alpine/alpine-conf/-/blob/master/tests/update_conf_test 2023-03-24 08:52:52 Add a test for current behavior, modify test to desired behavior (test now fails) change code so test passes 2023-03-25 11:42:02 is there a way to flag spurious "package out of date"-reports on pkgs.alpinelinux.org? 2023-03-25 13:10:49 There is no way to flag flags 2023-03-25 14:59:26 how would i go about packaging https://github.com/chaptergy/certbot-dns-njalla? i don't know much about python. looking at https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/community/certbot-apache/APKBUILD it seems it uses gpep517, but i believe certbot-dns-njalla isn't PEP517 compliant. 2023-03-25 15:02:38 It has a setup.py, so the classical python way 2023-03-25 15:03:44 what's that? this? https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/community/ansible/APKBUILD 2023-03-25 15:04:33 Yes 2023-03-25 15:38:03 how could I solve: apk fix 2023-03-25 15:38:04 ffmpeg5-libavutil-5.1.2-r10 (no such package): 2023-03-25 15:38:04 required by: world[ffmpeg5-libavutil-5.1.2-r10] 2023-03-25 15:38:04 ERROR: unable to select packages: 2023-03-25 15:38:12 (pinephone) 2023-03-25 17:14:54 apk del ffmpeg5-libavutil-5.1.2-r10 2023-03-25 17:15:04 you added a string that doesn't exist into your world file 2023-03-26 11:04:23 When 3.18 freeze is going to happen? 2023-03-26 11:11:32 probably a month 2023-03-26 11:29:44 nlplug-findfs: recvmsg: No buffer space available 2023-03-26 11:29:52 looks like I have a problem booting 2023-03-26 11:30:17 ah 2023-03-26 11:30:26 that looks like the too-small buffer 2023-03-26 11:30:41 https://gitlab.alpinelinux.org/alpine/mkinitfs/-/merge_requests/116 fixes it, but no release 2023-03-26 11:30:52 by fixes i mean you can pass an arg 2023-03-26 11:31:43 udev has used 5MB for probably a decade for that reason 2023-03-26 11:34:54 interesting 2023-03-26 11:35:06 so this only happens on recent kernels 2023-03-26 11:35:14 it was booting fine on 3.16 2023-03-26 11:35:26 and this server I have is nothing special 2023-03-26 11:39:15 if you want my guess, the 3.16 boot was using 98% size by luck or something 2023-03-26 11:39:25 and some minor reordering and or magical sun rays killed it 2023-03-26 11:40:06 this whole process isn't really affected by anything but that buffer size and the kernel and processing the events (in nlplug) 2023-03-26 11:47:04 psykose: thx for the link, i added my comment 2023-03-26 11:48:18 oh nvm 2023-03-26 11:48:22 udev is 128MB actually, no 5 2023-03-26 11:48:26 :D 2023-03-26 11:48:30 they just said fuck it 2023-03-26 11:48:51 i hope we can this in a patch release 2023-03-26 11:49:11 booting without nvme is problematic :) 2023-03-26 11:50:36 we could just hot backport the commit into 3.17 if you really want, but you'll still have to regenerate the initrd once 2023-03-26 11:53:33 the problem is the fix is not in the image 2023-03-26 11:53:46 i will only generate one for them on each alpine release 2023-03-26 11:54:32 ah yeah 2023-03-26 11:55:25 thx for looking into it. ill try to convince ncopa to make a release :) 2023-03-26 11:57:37 yeah, should indeed be part of release 2023-03-26 12:15:34 clandmeter: fyi, the no buffer space message is relatively new, before it would just silentely fail 2023-03-26 12:15:36 silently 2023-03-26 13:23:48 Right 2023-03-26 13:24:06 well the problem is it did not yet load nvme 2023-03-26 13:24:34 else it would probably not fail 2023-03-26 13:40:13 We had that before with a server from eqnx 2023-03-26 14:27:18 I honestly have no idea what's happening there or how the kernel is storing uevents, because the text of the uevents is short and there's no way there's 5 MB of uevents even with the coldplug spam 2023-03-26 14:27:43 why does the socket buffer need to be so huge 2023-03-26 14:27:56 I suspect the kernel is doing very inefficient things 2023-03-26 14:28:14 I have no clue either 2023-03-26 14:28:31 just that we are running into these issues where the rootfs is not found 2023-03-26 14:30:47 perhaps add a debug/logging option so you can see all the actual events being generated? 2023-03-26 14:31:25 I think there is 2023-03-26 14:31:45 I mean, I recall enabling debug output 2023-03-26 14:32:23 ah, yeah, there is a "--debug" option 2023-03-26 14:32:58 But all you see is that the event for the disk you need is missing 2023-03-26 14:33:38 https://gitlab.alpinelinux.org/alpine/aports/-/issues/12325 2023-03-26 14:34:01 ok, I was thinking of a debug option to show every uevent, so then you could boot into recovery/single mode and manually run with that option to see what's going on 2023-03-26 14:34:22 That's exactly what I did in that issue 2023-03-26 14:34:44 https://gitlab.alpinelinux.org/alpine/aports/-/issues/12325#note_139126 2023-03-26 14:35:16 the other magic is how udev does 128MB but it does not actually use 128MB of memory 2023-03-26 14:35:20 so what's up with that 2023-03-26 14:36:13 I suppose it's not immediately committed, if the kernel needs it and can't allocate it it will requisition it by oom-killing userspace stuff 2023-03-26 14:36:33 minimal: what I recall is that it failed on boot, but then running nlplug-findfs in the emergency shell would work 2023-03-26 14:36:48 so some timing / race-condition / settling issue 2023-03-26 14:38:40 ikke: looking at your info in that Issue, obviously more uevents would occur for physical machines than VMs and also more for large servers with lots of storage devices 2023-03-26 14:38:47 could also be that nlplug-findfs doesn't generate events for stuff it has already seen 2023-03-26 14:39:07 minimal: certainly, but things also changed between kernel versions 2023-03-26 14:39:17 older kernels would work fine, but newer kernels started to have issues 2023-03-26 14:39:35 ikke: yeah well different kernel versions can have added drivers which result in extra events 2023-03-26 14:39:47 yes, that makes sense 2023-03-26 14:42:30 and newer systems likely also have more cores so more uevents, etc 2023-03-26 15:16:41 Good day! In APKBUILD, what is the difference between the Maintainer and the Contributor fields? 2023-03-26 15:16:55 the former is the maintainer 2023-03-26 15:16:59 the latter does not mean or do anything 2023-03-26 15:17:34 And the maintainer is the person who creates and updates the build, right? 2023-03-26 15:17:44 most of the time 2023-03-26 15:17:49 Got, it, thanks! 2023-03-26 15:18:11 And one last question about it, the name must be the real name, right? 2023-03-26 15:20:22 no 2023-03-26 15:21:27 Oh, so it is fine to use a pseudonim/nickname? 2023-03-26 15:22:15 ye 2023-03-26 15:22:29 TY! 2023-03-26 16:59:07 ikke: does providing the module on cmdline fix the issue? 2023-03-26 17:00:09 clandmeter: from what I recall, not really 2023-03-26 17:00:23 The fix was increasing the buffer size 2023-03-26 17:01:57 If I load nvme manually it works but init already stopped ofc. 2023-03-26 17:03:22 clandmeter: when it happened, it would work if I ran nlplug-findfs manually in the recovery shell 2023-03-26 17:05:08 What would work? 2023-03-26 17:06:04 It would get the proper events and find the correct rootfs 2023-03-26 17:06:19 In that case, it was not only nvme but also lvm 2023-03-26 17:06:23 that it required 2023-03-26 17:06:28 Ok 2023-03-27 10:50:27 psykose: so you have an url to where udev sets socket buf size to 128MB instead of 5? 2023-03-27 12:03:03 i would like to contribute a minor change to abuild's newapkbuild. is there a contributor guide and are there some general rules i need to follow like needing to sign off changes? 2023-03-27 12:05:12 bjorn3_gh: no sign-off required, but test coverage, if possible, is 2023-03-27 12:06:12 alright 2023-03-27 12:06:51 i can't find any tests for newapkbuild though. all tests i could find seem to be for abuild itself or other tools 2023-03-27 12:35:23 pr up. tested it using a dummy package 2023-03-27 16:27:30 ncopa: there's a link in the merge request in mkinitfs 2023-03-27 16:50:14 psykose, thanks! that solved it! 2023-03-27 16:50:33 what did solved what 2023-03-27 17:21:51 take yes for an answer and don't look a gift compliment in the mouth 2023-03-27 17:21:58 that solved it, okay? 2023-03-28 07:59:47 ncopa: if you want some motivation to ship a release with the mkinitfs changes, there was a nothingburger openssl cve :p 2023-03-28 08:00:06 https://nvd.nist.gov/vuln/detail/CVE-2023-0464 2023-03-28 08:10:55 mmm borgar 2023-03-28 08:11:09 borgir 2023-03-28 09:18:36 psykose: could you please review MR !20664? We fixed and commented all issues in the meantime 2023-03-28 09:20:08 libc6-compat looks like it's there 2023-03-28 09:20:21 yes it is necessary for the build 2023-03-28 09:20:28 no :) 2023-03-28 09:20:48 we requested a new release without this dependency 2023-03-28 09:22:06 but in the meantime we should leave it there 2023-03-28 09:32:19 i don't know how many times you want me to repeat 'no' 2023-03-28 09:32:32 you would probably find it easier to manage your own downstream repository where you can do whatever you want 2023-03-28 11:26:21 https://dev.alpinelinux.org/buildlogs/build-edge-x86/community/inkscape/inkscape-1.2.2-r1.log 2023-03-28 11:26:25 > >>> ERROR: inkscape*: libinkscape_base.so: path not found 2023-03-28 11:26:45 is this intentional? also: shouldn't abuild exit with a non-zero exit status if find_so_files() fails? 2023-03-28 11:30:45 i had an issue open for that ages ago 2023-03-28 11:30:55 in this specific case it is found however 2023-03-28 11:31:03 it is the detection that just doesn't see it 2023-03-28 11:33:43 https://gitlab.alpinelinux.org/alpine/abuild/-/issues/10085 2023-03-28 11:33:56 in this specific case it's weird because there's nothing actually wrong 2023-03-28 11:34:04 inkscape has an rpath of ../lib/inkscape 2023-03-28 11:34:08 libinkscape_base.so is in there 2023-03-28 11:34:11 and it has an soname of libinkscape_base.so 2023-03-28 11:34:17 everything matches and it runs 2023-03-28 11:34:39 there's zero issues here except for spurious warnings 2023-03-28 11:35:45 ah, it is the same as the other case 2023-03-28 11:35:45 https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/41766#note_277212 2023-03-28 11:35:51 i guess it just doesn't read $ORIGIN 2023-03-28 11:36:26 there's also another tracing issue in the same vein when the SONAME does not match the file, https://gitlab.alpinelinux.org/alpine/abuild/-/issues/10092 2023-03-28 11:38:34 hm yea, I am also not sure why inkscape complains about libinkscape_base.so. I guess I need to debug this further. I think it is also a bug that abuild doesn't exit when find_so_files() fails, because imho it should in the general case 2023-03-28 11:39:19 you mean it fails at runtime? 2023-03-28 11:40:06 exiting is correct and fine by me, would just like to fix the ORIGIN thing first because there's no easy workarounds for it 2023-03-28 11:40:41 nobody is doing anything wrong and the only way to workaround it is to actually put things in the wrong path, or to hack different rpaths into things, or disable all tracing, so it's a pretty difficult build failure to fix when it's meaningless 2023-03-28 11:41:29 yep, the ORIGIN thingy should be fixed first probably 2023-03-28 11:41:39 i can't reproduce inkscape failing to start if that's what you meant 2023-03-28 11:41:46 no, it doesn't fail to start 2023-03-28 11:41:50 ah 2023-03-28 11:41:52 okay :) 2023-03-28 11:42:17 I just mean: `abuild -r` should exit with a non-zero exit status if it fails to find an .so in find_so_files() fails because that usually indicates that something is wrong 2023-03-28 11:42:34 yep 2023-03-28 11:42:46 it would especially auto crash every libc.so.6 case which is nice 2023-03-28 11:48:00 psykose: perhaps you should start to explain your 'no'. What issue do you have with the dependency? 2023-03-28 11:57:02 abuild does something silly with git when run in an aports tree with uncommited APKBUILD 2023-03-28 11:59:34 ovf: what's the something silly? all i know is the SOURCE_DATE_EPOCH calculation takes forever from the git calls for it 2023-03-28 12:00:07 that must be it, takes seconds on my box 2023-03-28 12:01:26 i usually put git=true at the top where it checks it in /usr/bin/abuild by hand and forget about it 2023-03-28 12:01:37 was meaning to debug a bit why it takes so long but that takes time 2023-03-28 12:03:14 ok, i might take a look a bit later. incidentally, why is abuild split (and not in an obvious way) between /usr/bin/abuild and /usr/share/abuild/functions.sh? 2023-03-28 12:05:54 hmm 2023-03-28 12:06:03 didn't occur to me to call it split :D 2023-03-28 12:06:05 i guess it is 2023-03-28 12:06:39 i had it mentally labelled as "that file with the defines" 2023-03-28 12:08:18 typically i'd expect the /bin to be the driver and the other one to be logic, but that's not quite the case here 2023-03-28 12:09:12 anyway, here's vmtouch: http://0x0.st/Hoxt.diff 2023-03-28 12:12:05 that's not a custom licence 2023-03-28 12:12:48 ianal, and it doesn't seem to be byte-identical (modulo copyright line) to a 3-clause bsd 2023-03-28 12:20:38 thanks! (but i hope you've received advice from your lawyer confirming this licence is indeed identical to a 3-clause bsd) 2023-03-28 12:24:09 i can confirm it is not identical (the difference is 'and contributors') 2023-03-28 12:24:35 i can also confirm license= is not legally binding to anything and does not matter, and that almost every other distro does not even use spdx and just writes 'bsd' or 'gpl' on everything 2023-03-28 12:24:36 :p 2023-03-28 12:25:21 there are a million bsd variants with a word changed so it's a bit of a soup 2023-03-28 12:26:45 if i had to start from scratch and do it differently, i would probably require always installing the licence and omitting license= entirely 2023-03-28 12:27:36 it is inherently a useless field of metadata, since you need the whole licence with all the copyright etc info for it to do anything, and nobody cares about that except lawyers, people that get paid, and people with too much time 2023-03-28 12:27:43 which in linux distros is usually nobody 2023-03-28 12:27:43 Oh agreed there. Arch installs the license for every package and that seems like a good way to do it 2023-03-28 12:27:50 fair enough, although i guess license= does make auditing easier (i'm guessing it's a field in apk list's output for a reason) 2023-03-28 12:28:16 it doesn't make it easier, is the point 2023-03-28 12:28:31 you cannot rely on it unless someone gave you a guarantee that it's correct 2023-03-28 12:28:56 and if you actually rely on it (read: you are not just 'a user', but you are some company reshipping alpine outputs), then the field is useless to you 2023-03-28 12:29:22 since you need the actual file anyway 2023-03-28 12:29:31 (for things with copyright attribution, etc) 2023-03-28 12:30:29 and since this isn't a company and everything is open source, and none of use get paid.. all of it is a waste of time and nobody cares :p 2023-03-28 12:31:15 indeed, i was making the assumption that there is some (implied) guarantee of the correctness of license=. i'm very happy not to care either. :-) 2023-03-28 12:31:19 admittedly just installing the license always is very low effort, but it's a bit late for that i guess 2023-03-28 12:31:30 well, the 'guarantee' is "i check it" 2023-03-28 12:31:44 is that a warranty? no.. so you can't rely on it 2023-03-28 12:31:49 you can see how it follows on from there 2023-03-28 12:32:08 if you're a user then you don't care because it's inherently a waste of time like all licencing is :p 2023-03-28 12:32:14 or maybe that's the anarchist in me 2023-03-28 12:33:25 i definitely don't care about licenses of end-user stuff i've installed on my personal machine 2023-03-28 12:33:44 i wouldn't mind starting to install licenses i guess, but i would prefer if there was just a quick tool to put it in the correct place (alicense $file, that puts it in /usr/share/licenses/$subpkgname/$file), then i can just sprinkle it in 2023-03-28 12:34:01 Yes please! 2023-03-28 12:34:29 the last time someone gave us shit for this was the libffi author, that libffi doesn't ship the licence 2023-03-28 12:34:32 and you know the funny part 2023-03-28 12:34:53 i'm pretty sure at the time the tarballs of libffi didn't have the licence either :p 2023-03-28 12:35:17 quick test (without looking!): is e.g. 'amove' in /usr/bin/abuild or /usr/share/abuild/functions.sh? :-) 2023-03-28 12:35:30 former 2023-03-28 12:36:25 or maybe that was me dreaming and i looked in the wrong place at the time 2023-03-28 12:36:44 no, that's correct. but i guessed wrong 2023-03-28 12:39:03 +1 for alicense. it can also auto set license= for compatibility, but that will probably do more harm than good 2023-03-28 12:39:57 nah, that can stay manual 2023-03-28 12:40:09 i can already picture the process though 2023-03-28 12:40:16 i would write that in ~15 minutes 2023-03-28 12:40:23 then i would spend 3 hours trying to think of tests 2023-03-28 12:40:32 then i would get to experience some implementation bikeshed 2023-03-28 12:40:37 then it would sit there for 6 months 2023-03-28 12:40:44 so on second thought, someone else can write it :p 2023-03-28 13:05:19 And then someone complains that the license is shipped in a separate doc subpackage, not the actual package 2023-03-28 13:06:36 the kinda-nice design would be $pkgname-licenses with install_if on some random shit 2023-03-28 13:06:56 the rest is an implementation detail that should not be looked at :p you see, the binaries autoinstall the licence so it's okay... 2023-03-28 13:08:36 Is it worth the overhead? 2023-03-28 13:08:48 At that point just ship it with the origin package 2023-03-28 13:11:20 dunno, the overhead is kinda invisible in most ways (if you mean bigger index + install_if rules) 2023-03-28 13:11:39 invisible as in nobody calculates it 2023-03-28 13:13:06 I need to worry about that overhear 2023-03-28 13:13:55 At least, until we changed the builder architecture 2023-03-28 13:26:19 i'm not sure how builder architecture would affect that specifically? 2023-03-28 13:26:56 i do agree just keeping it in -doc is fine, idc much about the semantics 2023-03-28 13:26:59 (or just main package) 2023-03-28 13:27:12 ((or more seriously, nobody will do this anyway, so there aren't any changes anyway)) 2023-03-28 13:27:55 the apkindexes are megabytes in size so i don't see it as a size thing, what else would affect the builders 2023-03-28 13:31:22 ooh, i just learned what abuild deps does. slick! 2023-03-28 14:57:37 do people maintain their own repos? e.g. here's slade (doom wad editor): http://0x0.st/Hog1.diff but i seriously doubt it has to go in aports 2023-03-28 15:09:20 yeah 2023-03-28 16:23:17 @ovf Many do! Here is jirutka's who uses Github infra to build their packages https://github.com/jirutka/user-aports Myself, I use my Gitlab instance to build and host my repo: https://lab.ilot.io/ayakael/user-aports 2023-03-28 16:27:58 hmm, why do you keep around stuff that is also in aports 2023-03-28 16:28:13 git-annex, electron, .. 2023-03-28 16:28:28 does it get handled differently 2023-03-28 16:28:34 neat setup :D 2023-03-28 16:28:52 for electron specifically, you should note i only keep the latest tarball since they're pretty big 2023-03-28 16:34:05 Thanks :) Mostly for backporting. By principle, I don't like having mixed release repositories on the same system so for anything that's stuck in testing I build it for the Alpine releases I target. As for git-annex, and other packages I maintain, I first build the packages on my infra, and then push it out to alpine. My Gitlab is sort-of a staging 2023-03-28 16:34:05 area since I have my own homelab at home. 2023-03-28 16:36:05 ahhhh 2023-03-28 16:36:10 i see, you rebuild into stable 2023-03-28 16:36:18 makes sense :) 2023-03-28 16:37:14 I also plan on getting pipelines up and running that will automatically create a merge-request whenever one of my packages get an update. If the build fails, then I intervene. If it's a success it's automatically pushed to my repo, and I an MR is pushed to Alpine. 2023-03-28 16:37:40 what if it builds, but doesn't run? 2023-03-28 16:37:42 ayakael: thanks! 2023-03-28 16:37:53 check() is your friend :) 2023-03-28 16:38:32 doesn't run might be more subtle than a segfault or exiting with an error code 2023-03-28 16:40:16 TIL binaries don't run sometimes 2023-03-28 16:40:21 i thought everything just worked all the time 2023-03-28 16:40:27 :P 2023-03-28 16:40:33 x) 2023-03-28 16:40:40 Quite right! I imagine the level of automation will depend on the package and the extent of the testing suite. I'm stilling designing this in my mind 2023-03-28 16:40:44 still* 2023-03-28 16:41:05 its a neat idea, I was just wondering how that would work :) 2023-03-28 16:41:10 still less to do if everything autoupdates and then you test it first 2023-03-28 16:51:05 The way I imagine the workflow is I have a Git clone of, for example, git-annex. Every month, they push an update via a tag. My Gitlab would then pull that clone, and the repo would point to a Gitlab CI file that, on new tags, starts a pipeline. This clones my `user-aports` repo, updates the APKBUILD for git-annex to new version, and pushes an MR 2023-03-28 16:51:05 with the new update. On new MRs, `user-aports` starts up a pipeline (very much like Alpine's MR CIs) that builds the packages. On success, I have the option to push build artifacts to `apk-repo` which is backed by git-lfs. 2023-03-28 17:01:20 I've done the user-aports to apk-repo part of the workflow. Now it's about creating the gitlab CI stuff for each package that I maintain. The idea being to automate as much as possible the repetetive tasks so that for each update I just have to check the diff, check the test suite, and push a button. For releases where I want there to be backports 2023-03-28 17:01:20 for previous releases (dotnet, for example), the MR for that is also automatically created and update built. 2023-03-28 17:01:49 Also, gitlab is hella fun. 2023-03-28 17:20:17 ovf: I went ahead and added your aport to my repo for the hell of it, so available at https://lab.ilot.io/ayakael/apk-repo. It's both on 3.17 and edge branches. 2023-03-28 17:20:33 https://lab.ilot.io/ayakael/repo-apk * 2023-03-28 17:23:57 ayakael: thanks! not that i expect this to be useful to anyone 2023-03-28 17:25:14 Didn't take more than a minute haha :) 2023-03-28 18:27:20 psykose: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8198#note_1843659 2023-03-29 01:55:42 Hi, can someone take a look at this https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/38362?commit_id=74d05f7b6e31b9e3abf39c0af4632292f7821ff8 2023-03-29 01:55:49 it's been open for a while now 2023-03-29 01:55:58 and is needed for a Sxmo release 2023-03-29 09:18:29 merged 2023-03-29 09:45:16 i think we should make alpine releases today 2023-03-29 13:46:19 ncopa: will the releases you are planning for today include e2fsprogs 1.47.0? If so then there may be problems... 2023-03-29 13:49:59 runc needs a security update too, i should have one backported to 3.17 this us/pacific morning 2023-03-29 13:51:21 the release today will have e2fsprogs 1.46.6 2023-03-29 13:51:58 i can do runc release now 2023-03-29 13:52:13 its not critical for the release though, sice the release images does not include runc 2023-03-29 13:52:20 ncopa: ok. I'm investigating/testing currently whether e2fsprogs 1.47+ will have implications/problems for the forthcoming 3.18 release 2023-03-29 13:53:48 ncopa, then focus on the release image, i'll take care of runc 2023-03-29 13:54:16 thanks, to both of you 2023-03-29 14:03:39 are people here significantly opposed to CONFIG_IKCONFIG_PROC, at least on the 'big' targets, like x86_64? 2023-03-29 14:05:00 sorry, i'm blind, it's behind a CONFIG_IKCONFIG=m (modprobe configs) 2023-03-29 14:05:31 i'd probably like CONFIG_IKCONFIG=y instead 2023-03-29 14:07:28 ovf: as it is built as a module then what's the issue? People who don't want it (to save memory don't have it, those that want it can add it to their /etc/modules etc file 2023-03-29 14:09:26 it being in a module (on a filesystem) does not bring anything over /boot/config-* -- i.e., there is no guarantee it's there/it pertains to the running kernel/etc. 2023-03-29 14:10:14 ovf: no guaranteed? the module is created when the associated kernel is built 2023-03-29 14:10:48 so the only time there's no "match" is if you have upgraded the kernel package but not yet rebooted (which is an issue not specific to this 1 module) 2023-03-29 14:13:18 yes, that would be the most common reason for a mismatch. 2023-03-29 14:15:42 But that's not a reason to make it a built-in 2023-03-29 14:16:46 CONFIG_IKCONFIG=y is more convenient, but that not a valid reason to enable it as 'y' 2023-03-29 14:27:09 fair enough 2023-03-29 14:51:31 ncopa: how far back will we be releasing? 2023-03-29 14:51:48 3.14.10 2023-03-29 14:52:30 thx. lmk when to start building the cloud images 2023-03-29 14:52:35 See https://alpinelinux.org/releases/ 2023-03-29 14:52:43 for what release branches we support 2023-03-29 14:53:08 wasn't sure how far back the issue necessitating the release was 2023-03-29 14:53:17 seems like releases are uploaded so you can go ahead 2023-03-29 14:54:52 does those look ok? https://wwwtest.alpinelinux.org/posts/Alpine-3.14.10-3.15.8-3.16.5-released.html 2023-03-29 14:55:00 https://wwwtest.alpinelinux.org/posts/Alpine-3.17.3-released.html 2023-03-29 14:55:26 builder has a dependency on https://alpinelinux.org/releases.json - when that's ready i can start 2023-03-29 14:55:32 aha 2023-03-29 14:56:00 as soon the two pages i linked to here up^^^ is reviewed and pushed 2023-03-29 14:57:26 psykose: it just amazes me the good job you do! thank you! (specifically for the openssl fixes this time) 2023-03-29 14:57:53 for example: https://security.alpinelinux.org/vuln/CVE-2023-0465 is all green 2023-03-29 14:58:54 tomalok: if you please could have a quick look at the two wwwtest links above 2023-03-29 14:59:11 ncopa: i've looked them over, they lgtm 2023-03-29 14:59:15 thanks! 2023-03-29 14:59:37 pushed to production branch now 2023-03-29 14:59:46 the releases.json should show in a few seconds 2023-03-29 15:00:30 yep i see it now 2023-03-29 15:03:55 starting the build of non-edge cloud images 2023-03-29 15:20:41 Out of curiosity, how can I add my packages to the secfix tracker? For instance, https://security.alpinelinux.org/vuln/CVE-2023-21808 was fixed with dotnet v7.0.103. 2023-03-29 15:21:47 ayakael: add a secfixes section to your apkbuild 2023-03-29 15:22:04 Apparently there is no CPE in the CVE 2023-03-29 15:22:27 Which is what normally matches the CVE to a package 2023-03-29 15:24:54 I see. I do have a secfix section, but as the package name diverges from other distros it makes sense that it isn't detected automatically 2023-03-29 15:25:48 nvd.nist.gov is slow 2023-03-29 15:27:42 Let me import the 2023 nvd feed manually, see if it gets the CPE then 2023-03-29 15:35:54 ayakael: ok, the CPE's are the now 2023-03-29 16:05:50 ncopa: I've posted the release on fosstodon 2023-03-29 16:06:14 ikke: thank you! 2023-03-29 16:07:22 ikke: do you have access to the twitter account? maybe you could post there too 2023-03-29 16:07:29 I have not 2023-03-29 16:07:39 let me fix that for you 2023-03-29 16:23:55 ncopa: grats on the releases! 2023-03-29 16:37:06 skarnet: thanks! 2023-03-29 17:27:56 Hi ikke: the appstream generator has been crashing for like a month. I am quite sure it's something related to https://github.com/ximion/appstream-generator/issues/100, but I had lots of issues reproducing locally, since I believe the problem has to be with the massive parallelization in the server, and the max I have is 16 cores. Would it be allowed, and is there any way that I can get a connection to the container that runs 2023-03-29 17:27:57 it? Otherwise a likely ugly fix would be to limit the CPU resources of the container to just a couple of cores 2023-03-29 17:28:11 Or maybe you want to look into debugging it in detail. But if I have to do it, I cannot do it without having some sort of access where I can get some nice stack trace, recompile and play around 2023-03-29 17:28:50 It's not urgent, since I'm going on holidays soon, but I just realized I had posted this like a week ago in Libera instead of here xD 2023-03-29 20:31:52 ncopa: thanks :) 2023-03-29 21:41:53 ncopa: also your email announcements don't handle unicode correctly and every unicode letter is just '*' 2023-03-29 23:39:54 psykose: can you check checksum for scdoc? 2023-03-29 23:41:24 looks like sr.ht is having same issue that github had with git changing how it generates checksums 2023-03-29 23:43:59 https://tpaste.us/yYYp 2023-03-29 23:44:34 indeed it did 2023-03-29 23:44:39 idk what you want me to about that though 2023-03-29 23:44:48 fix the checksum? 2023-03-29 23:45:13 or yell at ddevault to fix sr.ht :P 2023-03-29 23:45:16 or both 2023-03-29 23:45:26 the former doesn't matter and you're welcome to do the latter 2023-03-29 23:46:04 why the former doesn't matter? 2023-03-29 23:46:10 it fails builds 2023-03-29 23:46:29 doesn't look like anything is failing in aports to me 2023-03-29 23:46:35 it fails for me 2023-03-29 23:46:49 and will fail for anyone else 2023-03-29 23:54:10 why the rename tho 2023-03-30 00:18:07 i'm not seeing a checksum change with soju archives from srht 2023-03-30 00:20:15 there is 2023-03-30 00:20:25 the new 0.6 one is from way after git-archive changes 2023-03-30 00:20:29 if you check 0.5.2 it is 2023-03-30 00:20:38 -08aff63b198583820685dd46ee4c0f8a02e3afeb32b077a14cff375ff3fba8ebfe6c2934e79dffb294c79212031d63032c16e63c5d14854433889699adb272f8 soju-0.5.2.tar.gz 2023-03-30 00:20:43 new one is cd34e3d72591cb41aa5d45e3275629ddfb8a0d2752f398add58aead90ce82db500dabf6095db13faf75c6b17d31e5fb868ca5a9421b67a955574837c4c85e790 if you fetch 2023-03-30 00:20:58 yeah i checked both versions 2023-03-30 00:21:11 which checksum do you get 2023-03-30 00:21:28 in sha512 i guess since i can't compare historical of anything else 2023-03-30 00:21:52 sha256 15:checksum=243e97e89d1ab9db0757b4d9e2181bf9602bf1ca277aba665417ea788ef82d9b 2023-03-30 00:21:58 pj: because they're cached, only the old archive exists for the edge builders and it doesn't fetch the new ones of the same nbame 2023-03-30 00:22:22 abby: sure i'll pull some files.. 2023-03-30 00:23:19 which version is that 2023-03-30 00:24:14 5 2 2023-03-30 00:24:34 I think sr.ht "fixed" this as in they upgraded their systems to a newer alpine version which included a newer busybox version which had a change for the gzip applet to be compatible with the gnu version 2023-03-30 00:25:01 so the checksums have changed but now they should match the ones you see on github/gitlab/etc 2023-03-30 00:25:20 but obviously the old checksums are no longer valid now 2023-03-30 00:25:37 this happened a while ago 2023-03-30 00:25:39 abby: i can't reproduce that checksum with sha256sum for either the new or old tarball :p 2023-03-30 00:26:56 243e97e89d1ab9db0757b4d9e2181bf9602bf1ca277aba665417ea788ef82d9b - 2023-03-30 00:26:56 same checksum for the archive from when it was built: curl -s https://sources.voidlinux.org/soju-0.5.2/soju-0.5.2.tar.gz | sha256sum - 2023-03-30 00:26:57 curl -s 'https://git.sr.ht/~emersion/soju/refs/download/v0.5.2/soju-0.5.2.tar.gz' | sha256sum - 2023-03-30 00:27:00 243e97e89d1ab9db0757b4d9e2181bf9602bf1ca277aba665417ea788ef82d9b - 2023-03-30 00:31:07 i can reproduce that, but it doesn't match soju/archive/version.tar.gz 2023-03-30 00:31:18 i guess refs/download is something else? 2023-03-30 00:32:24 e.g. https://git.sr.ht/~emersion/soju/archive/v0.5.2.tar.gz 2023-03-30 00:32:31 the download link on the refs page gives you that 2023-03-30 00:32:32 yeah, i think its a manual archive 2023-03-30 00:32:42 it's not linked anywhere 2023-03-30 00:33:02 ah 2023-03-30 00:33:08 it's on here https://git.sr.ht/~emersion/soju/refs/v0.6.0 2023-03-30 00:33:10 and nowhere else 2023-03-30 00:33:41 ok nvm, let me try scdoc 2023-03-30 00:34:00 yeah, it's borken 2023-03-30 17:52:59 is normal that I have an error boooting alpine-standard-3.17.3-x86_64.iso with 'qemu-system-x86_64 -cdrom alpine-standard-3.17.3-x86_64.iso '? 2023-03-30 17:53:46 That's not really a question we can answer without more details 2023-03-30 17:54:27 https://postimg.cc/kVcq0FT8 2023-03-30 17:54:47 same command with alpine-virt-3.17.3-x86_64.iso works 2023-03-30 17:55:05 That's not normal 2023-03-30 17:55:21 did you forget to raise the memory limit 2023-03-30 17:55:29 that looks like oom of like 128mb from the image or whatever 2023-03-30 17:55:36 and virt is smaller so it fits 2023-03-30 17:55:39 ahh, ok 2023-03-30 17:55:54 -m 512 should be fine i think, but idk 2023-03-30 17:56:08 let's try 1024 2023-03-30 17:56:24 yeah it's booting, thanks 2023-03-30 17:57:42 it's probably a consequence of the whole thing in memory thing as opposed to the other style of mounting an image 2023-03-31 07:00:14 heh, I think the limit is around 180MB RAM to be able to boot 2023-03-31 08:31:41 is worth to add some check&warning about it? 2023-03-31 08:35:53 ey ncopa I would like to create some tests for pam configuration so things like #14710 could be easily detected 2023-03-31 08:36:09 do you think that https://github.com/ncopa/alpine-installer-testsuite/tree/main/tests could be a good place/way for doing it? 2023-03-31 08:36:54 I also have a problem with linux-pam, now elogind cannot recognize a session at shell login 2023-03-31 08:37:40 uhM, are you running edge right? linux-pam-1.5.2-r8 ? 2023-03-31 08:37:45 yes 2023-03-31 08:38:18 no session and therefore elogind not setting up XDG_RUNTIME_DIR either 2023-03-31 08:38:33 do you se some login manager? 2023-03-31 08:38:38 no nothing 2023-03-31 08:38:40 /s/se/use 2023-03-31 08:39:10 I'm using seatd here but I'm installing a VM for test gdm 2023-03-31 08:39:20 tried installing "pam-rundir" package but no help 2023-03-31 08:40:46 add util-linux-login, relogin 2023-03-31 08:42:50 nothing 2023-03-31 08:43:52 it is preferred to use util-linux-login rather than shadow-login ? 2023-03-31 08:44:07 if it uses shadow-login it will ignore pam 2023-03-31 08:45:22 wops no, is that the busybox login? 2023-03-31 08:46:11 I have no idea what that means :P I'm very lost here 2023-03-31 08:46:35 but the real thing is that before upgrading linux-pam everything worked perfectly hah 2023-03-31 08:46:47 alpine as default doesn't use pam, but it seems a busybox logi 2023-03-31 08:46:58 i confused it with shadow-login 2023-03-31 08:48:06 so you log on a tty with 'login' and then run a desktop like 'sway' or 'dbus-run-session...' ? 2023-03-31 08:48:26 dbus-run-session -- labwc 2023-03-31 08:49:26 I thnk that the probem is on /etc/pam.d/login 2023-03-31 08:49:32 it has session include base-session-noninteractive 2023-03-31 08:49:40 could you change it to session include base-session-noninteractive 2023-03-31 08:49:42 sorry 2023-03-31 08:49:54 could you change it to base-session? 2023-03-31 08:49:59 yes sure, let me try! 2023-03-31 08:50:28 it seems changed on last commit 2023-03-31 08:52:48 nothing, but I'll keep using shadow-login and read what changed on last commit 2023-03-31 08:54:09 uhm.. it semes that both shadow-login&util-linux-login rely on same /etc/pam.d/login 2023-03-31 08:54:35 could you tpaste your /etc/pam.d/login and /etc/pamd.d/base-session? 2023-03-31 08:56:20 cannot paste but base-session file has: base-session-noninteractive pam_rundir pam_elogind pam_ck_connector and pam_turnstile 2023-03-31 08:57:16 it seems fine 2023-03-31 08:57:37 obviously removing noninteractive from that locked me out hah 2023-03-31 08:57:41 you can remove the first - on the lines 2023-03-31 08:57:48 so it will send something to syslog 2023-03-31 08:57:49 ok 2023-03-31 08:57:53 if fails 2023-03-31 08:59:05 uhM. 2023-03-31 08:59:23 nothing logged here 2023-03-31 08:59:33 maybe it needs enabling debug somewhere 2023-03-31 08:59:41 i'm getting some errors 2023-03-31 08:59:49 ohh nice 2023-03-31 08:59:51 what says? 2023-03-31 09:00:44 let me upload the log 2023-03-31 09:00:48 ok 2023-03-31 09:01:17 maybe psykose doesn't expect that someone wants to run a desktop when logged via tty 2023-03-31 09:01:58 possibly 2023-03-31 09:03:12 I'm logged via 'agetty -l' so I suppose that pam is not running, just setting XDG.. via some profile script 2023-03-31 09:03:12 https://termbin.com/zfns 2023-03-31 09:05:37 PAM adding faulty module: /lib/security/pam_rundir.so -> is because pam_rundir.so doesn't exist? 2023-03-31 09:05:41 donoban: i think that agetty -l runs the login executable, but not sure 2023-03-31 09:06:03 also, pam-rundir is provided by a package with the same name 2023-03-31 09:06:33 I wonder if the problem is that elogin complains about some dirs already existing 2023-03-31 09:06:48 and it enforces some policy about creating/destroying the dirs when the session starts/ends 2023-03-31 09:06:54 could you try with a full reboot? 2023-03-31 09:07:16 or remove /run/user 2023-03-31 09:07:19 user is your username? 2023-03-31 09:07:23 yes sure, I'm trying different setups 2023-03-31 09:07:37 no it's xkrz here 2023-03-31 09:08:00 ptrc: I feel that I had to create that profile script when I set 'aggety -l' on inittab 2023-03-31 09:08:18 uhM 2023-03-31 09:08:25 brb 2023-03-31 09:08:32 I don't remeber how elogin hadles that, it uses /run/user/? 2023-03-31 09:09:46 lol 2023-03-31 09:10:09 I just noticed that I was trying busybox 'login' and expecting some pam messages on syslog :D 2023-03-31 09:10:13 yes I believe it's like that 2023-03-31 09:15:49 so rebooting didn't work? 2023-03-31 09:16:14 nope, I tried removing the user directory just in case to see if elogind creates it back 2023-03-31 09:16:20 I'll keep trying things :P 2023-03-31 09:18:28 I believe the 'faulty module' errors showed when I removed pam-rundir 2023-03-31 09:19:26 you ignore them 2023-03-31 09:22:34 you can* 2023-03-31 09:22:49 yes 2023-03-31 09:24:55 I would worry about Mar 31 05:59:22 navi authpriv.err login[3153]: pam_elogind(login:session): Failed to create session: File exists 2023-03-31 09:25:14 i'll see if I can replicate that 2023-03-31 09:25:26 ok 2023-03-31 09:37:15 it stopped showing after removing /run/user 2023-03-31 09:37:27 stopped showing after removing /run/user 2023-03-31 09:39:20 uhM.. I have a fresh gnome/gdm setup on edge, and I feel that doas and su are broken 2023-03-31 09:39:36 related to pam? 2023-03-31 09:39:42 probably 2023-03-31 09:39:52 'su' doesn't ask for any password 2023-03-31 09:40:10 and fails, su: incorrect password 2023-03-31 09:40:33 what does var log messages tell about it 2023-03-31 09:40:44 permission denied :D 2023-03-31 09:41:00 oh ok 2023-03-31 09:41:07 I understand 2023-03-31 09:41:47 uhM, it should just link to base-auth 2023-03-31 09:42:04 which is the package that comes with pam_turnstile.so ? 2023-03-31 09:42:20 maybe there is no package 2023-03-31 09:42:41 alpine doesn't have all pam modules packaged, but it semes a reasonalbe idea let them configured as optional 2023-03-31 09:42:54 so if in the future they are packaged and installed they will just work 2023-03-31 09:43:41 cool 2023-03-31 09:44:02 I'm gonna try to log in gnome as root 2023-03-31 09:44:30 looool 2023-03-31 09:44:42 it logeed as root without asking password 2023-03-31 09:44:48 nice 2023-03-31 09:45:14 now you can read /var/log/messages :D 2023-03-31 09:45:36 yeah 2023-03-31 09:47:15 at least my elogin log seems fine 2023-03-31 09:47:19 New session c2 for user root 2023-03-31 09:47:22 :D 2023-03-31 09:48:00 pam_unix(gdm-passwordauth): User [root] has a blank passwrod, authteicated without it 2023-03-31 09:49:15 elogind is not creating /run/user back lmao 2023-03-31 09:49:32 uhM, maybe I didn't set a password when running setup-alpine 2023-03-31 09:49:50 yeah shadow seems empty 2023-03-31 09:50:45 yeah now asks for it, sorry for the mess :@ 2023-03-31 09:51:28 maybe su failed because root has no password 2023-03-31 09:51:39 yeah now works 2023-03-31 09:51:53 ok donoban i tried back again your idea 2023-03-31 09:52:03 removing noninteractive from login file 2023-03-31 09:52:11 elogind seems to create a session properly 2023-03-31 09:52:28 and sets XDG...? 2023-03-31 09:52:57 yes it does 2023-03-31 09:53:10 so your desktop works fine? 2023-03-31 09:53:19 yes :) 2023-03-31 09:53:38 i'll see what happens if I remove /run/user again 2023-03-31 09:53:46 ok great, let's wait psykose what thinkgs about this 2023-03-31 09:53:53 you're a genius :P 2023-03-31 09:54:29 I would have never thought about messing with the pam file directly 2023-03-31 09:54:32 I'm not sure if there si some drawback of having base-session for all login cases 2023-03-31 09:54:48 well, I wouldn't say that 2023-03-31 09:54:57 I logged as root without password set and wolala 2023-03-31 09:55:07 hah 2023-03-31 09:55:56 I'm currently trying to help a little with the pam mess, I installed gnome on a VM just for this 2023-03-31 10:02:06 pam_elogind also acts weird if /run/user doesn't exist, because it creates the directory and then refuses to create the session 2023-03-31 10:02:28 I wonder if this was introduced with the latest linux-pam commit too 2023-03-31 10:04:50 https://termbin.com/gzgs donoban 2023-03-31 10:06:51 uhm.. but did you some manual remove of the dir? 2023-03-31 10:07:38 let me disable gdm and try with login 2023-03-31 10:08:12 yes i did 2023-03-31 10:08:39 I think that elogin has some process or lib storing info 2023-03-31 10:08:54 if you log 3 times for example, it will don't remove the dir until last session is logged out 2023-03-31 10:09:09 if you manual remove the dir you will create some incoherence 2023-03-31 10:09:28 so maybe it refuses to recreate because it thinks that it already exists 2023-03-31 10:27:40 Is it ok if .pyc files get into py3 packages? 2023-03-31 10:28:14 E.g. https://pkgs.alpinelinux.org/contents?branch=edge&name=py3-dulwich&arch=x86_64&repo=community 2023-03-31 10:28:35 Ermine: There is no policy against it, there are proposals to remove them 2023-03-31 10:34:17 regarding broken sourcehut checksums 2023-03-31 10:34:20 we're looking into it 2023-03-31 10:34:34 plan is to restore the old checksums, so don't go committing aports rehashes 2023-03-31 10:34:52 scdoc has already been 2023-03-31 10:35:19 well, don't go committing *more* rehashes then :P 2023-03-31 10:35:24 heh 2023-03-31 10:36:35 old hashes should be restored now 2023-03-31 10:36:40 LGTM, old scdoc hash applies 2023-03-31 10:36:59 The builders have the old archives cached, so old builds will still work 2023-03-31 10:38:47 FYI, I just tested armhf on rpi1. It does boot. 2023-03-31 10:39:35 ncopa: is there any reason to think armhf would've been broken? I'm missing the context, sorry. 2023-03-31 10:39:56 I somehow thought it was broken, not sure where i got it from 2023-03-31 10:40:06 also, I had not personally tested it for years 2023-03-31 11:14:33 could someone give me advice for rebasing a pretty old MR before making some disaster on my local workdir? 2023-03-31 11:14:47 doing 'git pull upstream master' is not good idea right? 2023-03-31 11:19:13 hmm, maybe it's just what I need to do 2023-03-31 11:19:26 add --rebase 2023-03-31 11:19:30 agg 2023-03-31 11:20:41 disaster, I did without it and ctr+c when read it 2023-03-31 11:21:23 well, rebase --abort seems that worked 2023-03-31 11:21:40 ok, let's try 2023-03-31 11:40:53 hm.. 2023-03-31 11:41:00 I'm getting: pre-commit: community/gdm: bad checksum for file "0003-pam-rename-common-to-base.patch" (hint: run abuild checksum) 2023-03-31 11:41:20 but I run 'abuild checksum' and manually checked it 2023-03-31 11:43:20 ahh, I needed to git add it 2023-03-31 13:18:32 donoban: Busybox login does NOT use PAM as Busybox is compiled without PAM support 2023-03-31 13:20:35 also re PAM issues in general I think the current situation needs to be analysed before "randomly" changing things. I started (manually) testing some aspects of PAM a little while ago with regard to server use, obviously desktop use adds additional complications 2023-03-31 13:25:07 that's an incredibly diplomatic and benevolent way of talking about PAM 2023-03-31 13:30:44 well I wasn't talking about PAM in general, rather about Alpine's pam config files 2023-03-31 13:32:32 sure but there's a reason why PAM configuration is difficult ;) 2023-03-31 13:37:30 to keep us geeks in a job? ;-) 2023-03-31 13:38:43 I have a stunt double for handling PAM stuff lol 2023-03-31 13:40:04 i'm still stuck fighting with linux-pam :P 2023-03-31 13:49:05 this works at last for a single time: removing "-noninteractive" from /etc/pam.d/login and rm -rf /run/user directory, and then relogging shell in 2023-03-31 14:29:30 minimal: I'm not changuing things randomly 2023-03-31 14:30:30 umk3[m]: but it doesn't work on a fresh boot with "-nointeractive" removed? 2023-03-31 14:30:45 no it does not 2023-03-31 14:31:00 and /run/user directory needs to be created manually everytime hah 2023-03-31 14:31:11 so I dunno what is going on 2023-03-31 14:31:20 skarnet: one interesting cause of problems is that code don't folllows what their documentation says 2023-03-31 14:32:00 donoban: I was just making a general comment that making PAM changes without testing that *everything* that uses PAM still functions as expected is not a good thing 2023-03-31 14:32:30 uhm, let me test it. Do you use shadow-login right? 2023-03-31 14:33:15 minimal: I started this morning saying that could be a good idea having some minimal tests for PAM config 2023-03-31 14:33:28 at least for a minimla term-based roles 2023-03-31 14:33:47 yes I saw that, and please don't think I'm blaming you for anything 2023-03-31 14:34:13 yes shadow-login works as fine as util-linux-login 2023-03-31 14:34:14 ah sorry 2023-03-31 14:34:31 I'm just pointing out that PAM config is a "Jenga" structure 2023-03-31 14:35:13 donaban: I've been intended to "fix" PAM myself, by first starting to try documenting exactly what is broken first 2023-03-31 14:36:01 umk3[m]: from memory the upstream shadow people recommend util-linux-login is used in preference to shadow-login 2023-03-31 14:36:20 well I only know about "try_first_pass" https://unix.stackexchange.com/a/688780 2023-03-31 14:37:16 I want to believe that is not something generall, and wanted to ask upstream if they want to fix the documentation or the code 2023-03-31 14:38:15 donoban: in the case of PAM, this is *especially* true that the documentation is years, if not decades, behind actual code practice 2023-03-31 14:51:26 thank you minimal 2023-03-31 15:00:40 skarnet: well, I'm not surprised that many people here prefer to just 'apk add !linux-pam' :) 2023-03-31 15:02:02 instantly double your machine's security with that simple trick 2023-03-31 15:13:48 it depends, even without pam there can be some security-related issues lol 2023-03-31 15:20:17 umk3[m]: yep, I can reproduce your problem 2023-03-31 15:20:28 nice! 2023-03-31 15:20:36 ahh 2023-03-31 15:21:00 in my case, elogind complained about cannot connect to system bus 2023-03-31 15:21:20 let's relogin.. 2023-03-31 15:21:37 it works.. 2023-03-31 15:21:57 I have both /var/run/user/1000 and XDG_... 2023-03-31 15:22:06 that is a different problem 2023-03-31 15:22:15 but not related to pam i believe 2023-03-31 15:22:37 yes, I suppose that you already have running on startup 2023-03-31 15:23:13 i rebooted after 'rc-update add dbus', all fine 2023-03-31 15:24:15 could you paste the pam related log on a fresh boot? 2023-03-31 15:24:42 sure 2023-03-31 15:25:41 https://termbin.com/bstr 2023-03-31 15:26:31 that is with "-noninteractive" substring removed from /etc/pam.d/login file 2023-03-31 15:26:48 uhm.. could you check if your /run/ dir is fresH? are there some older file on it? 2023-03-31 15:27:41 maybe its a problem with umask of the /run/ dir 2023-03-31 15:27:44 but has mode 0775 that is too permissive (0755 was requested), refusing. 2023-03-31 15:28:20 hmm, I've checked when that error appears, it creates a hidden file ".1001" regarding to my user uid 2023-03-31 15:28:34 rather than creating a proper directory 1001 2023-03-31 15:29:21 let me add an extra user 2023-03-31 15:29:23 you can try removing /run/user and creating /run/user manually to see if the error replicates too 2023-03-31 15:29:29 ok 2023-03-31 15:29:54 i did that and got the same results before 2023-03-31 15:30:22 works fine, XDG_RUNTIME_DIR=/run/user/1001 2023-03-31 15:30:56 I think that for some reason your /run/user is created 775 instead 755 2023-03-31 15:31:02 and elogin refuses to continue working with it 2023-03-31 15:33:27 try to do 2023-03-31 15:33:35 chmod 755 /run/user 2023-03-31 15:33:38 and relogin 2023-03-31 15:33:59 ok 2023-03-31 15:35:00 uhM, check your output of "mount | grep run" 2023-03-31 15:35:16 is your run dir a tmpfs? mode=755? 2023-03-31 15:37:22 yes 2023-03-31 15:37:27 also check if runing umask as root you get 0022 2023-03-31 15:38:26 relogin worked fine (with and without chmod), rebooting completely did not make me shell login successfully 2023-03-31 15:39:56 uhmm... so after a normal boot, the first login fails, and after logout&&reloging it works? 2023-03-31 15:43:59 the more weird is that this worked for you before the linux-pam upgrade 2023-03-31 15:45:45 is there anything in your boot chain that could create the /run/user dir before elogin? 2023-03-31 15:49:52 nop 2023-03-31 15:50:22 restore the -nointeractive part of /etc/pam.d/login 2023-03-31 15:50:33 reboot and check if /run/user exists 2023-03-31 16:03:56 it does not exist 2023-03-31 16:04:43 uhm 2023-03-31 16:04:51 also with "-noninteractive" I can't even make it work by manually creating a /run/user 2023-03-31 16:05:09 yes, with -nointeractive the elogin module is not loaded 2023-03-31 16:05:32 seems fair 2023-03-31 16:05:41 I wonder if something in the new PAM rules is modifying the umask so when elogin creates /run/user is has 775 instead 755 2023-03-31 16:07:27 it's possibly a problem along that way 2023-03-31 16:12:08 do you have pam_rundir installed? 2023-03-31 16:12:30 hMm.. 2023-03-31 16:12:45 didn't have before, but it doesn't make a change by installing it 2023-03-31 16:13:01 maybe it's creating its own /run/user dir 2023-03-31 16:13:18 /* construct file name, e.g: "/run/users/.1000" */ 2023-03-31 16:13:38 and looking at edge base-session 2023-03-31 16:13:45 it's called before elogin 2023-03-31 16:13:59 please try removing it 2023-03-31 16:14:55 remove what? 2023-03-31 16:15:02 apk del pam-rundir 2023-03-31 16:15:10 yes it's uninstalled 2023-03-31 16:15:15 I never used it 2023-03-31 16:15:23 uHm.. 2023-03-31 16:18:18 lol, now my VM lost eth0 2023-03-31 16:18:34 kernel upgrade :) 2023-03-31 16:19:34 could you check that /lib/security/pam_rundir.so doesnt exist? 2023-03-31 16:20:21 or just remove: "session optional pam_rundir.so" in base-session 2023-03-31 16:21:30 that file it does exist 2023-03-31 16:21:30 let me check by removing the line 2023-03-31 16:21:44 so you have pam-rundir installed or miss-uninstalled 2023-03-31 16:22:33 nevermind hah I installed it seconds ago 2023-03-31 16:22:58 :) 2023-03-31 16:23:01 file does not exist but I could try removing the pam_rundir.so line 2023-03-31 16:23:03 brb 2023-03-31 16:23:11 if it doesn't exist the pam line will be just ignored 2023-03-31 16:23:21 try again please, crossfingers 2023-03-31 16:24:15 I wonder if elogin could unset XDG_... after failing, which pam_rundir was set before 2023-03-31 16:24:45 anyway elogind and pam-rundir should be mutual excluyent 2023-03-31 16:32:40 it didnt change anything 2023-03-31 16:42:30 :'( 2023-03-31 16:43:34 do you still having /run/user with 775? 2023-03-31 16:44:33 maybe you can strace login and try to find what creates it 2023-03-31 21:30:28 ey umk3[m] https://tpaste.us/oggk 2023-03-31 21:30:44 hello 2023-03-31 21:30:59 you got the same output as me? 2023-03-31 21:31:15 yeah but installing pam-rundir 2023-03-31 21:31:38 I suppose that it will be fixed if I remove it 2023-03-31 21:32:20 in my setup removing pam-rundir doesn't fix anything 2023-03-31 21:32:28 crossing fingers :P 2023-03-31 21:33:07 rebooting.. 2023-03-31 21:34:04 its fine now 2023-03-31 21:35:46 is shadow-login installed? 2023-03-31 21:36:00 util-linux 2023-03-31 21:36:06 let me try the other 2023-03-31 21:37:04 rebooting.. 2023-03-31 21:37:54 fine too 2023-03-31 21:38:13 interesting 2023-03-31 21:39:13 well, it's late 2023-03-31 21:39:17 see you tomorrow 2023-03-31 21:39:38 take care! you messed a lot with that :P 2023-03-31 21:40:11 hehe yep, good night