2020-10-05T00:50:34 #kisslinux im still confused about gobject-introspection 2020-10-05T00:51:13 #kisslinux building fwupd errors out with a python script that checks for two dependencies: "missing pangocairo gobject introspection library" and "missing pango gobject introspection library" 2020-10-05T00:51:25 #kisslinux is there a specific order I need to install pango and gobject-introspection 2020-10-05T00:53:56 #kisslinux did you build pango with -Dintrospection=true ? maybe it autodetects false if you don't have gobject-introspection 2020-10-05T00:59:11 #kisslinux welp that froze sway completely and my laptop hard-locked 2020-10-05T00:59:20 #kisslinux yeah forking pango and setting introspection=true did it 2020-10-05T01:00:31 #kisslinux now to find out gnu-efi headers TT 2020-10-05T04:24:47 #kisslinux dilynm: How big is your kernel package? How many files? 2020-10-05T04:24:54 #kisslinux Are you using gnugrep as /usr/bin/grep? 2020-10-05T05:21:07 #kisslinux dylanaraps: there seems to be a bug for alternatives. The to-be-replaced file isn't moved and the manifest isn't updated 2020-10-05T05:24:54 #kisslinux Thanks 2020-10-05T05:25:01 #kisslinux Will see if I can reproduce. 2020-10-05T05:25:29 #kisslinux If you can't I will be supremely worried (: 2020-10-05T05:25:36 #kisslinux Works here (: 2020-10-05T05:26:14 #kisslinux Any error message? 2020-10-05T05:26:41 #kisslinux Also, are we dealing with symlinks in your case? 2020-10-05T05:27:02 #kisslinux No I'm swapping netbsd-curses tic for ncurses tic 2020-10-05T05:27:27 #kisslinux Let me try the same packages 2020-10-05T05:27:30 #kisslinux No errors but it prints that "(was owned by )" 2020-10-05T05:27:41 #kisslinux When it swaps 2020-10-05T05:28:07 #kisslinux Rather; "/usr/bin/tic is now ncurses (was )" 2020-10-05T05:28:36 #kisslinux Oh. Hm. Okay, a swap doesn't happen and tic is still owned by ncurses 2020-10-05T05:28:45 #kisslinux Netbsd-curses*** 2020-10-05T05:28:54 #kisslinux Will fix 2020-10-05T05:28:58 #kisslinux So it fails at the cp part 2020-10-05T05:29:03 #kisslinux I'll also make it rollback any changes it makes 2020-10-05T05:29:13 #kisslinux (if error) 2020-10-05T05:29:54 #kisslinux Scratch that last part - the manifest isn't updated. The cp succeeds, the manifest update fails 2020-10-05T05:30:10 #kisslinux Thanks 2020-10-05T05:31:23 #kisslinux I can reproduce with these two packages 2020-10-05T05:31:30 #kisslinux Or rather... something broke over here too 2020-10-05T05:34:12 #kisslinux Yeah it's fine with busybox 2020-10-05T05:34:30 #kisslinux Although there is a separate issue if a user has acpid installed and swapped it seems 2020-10-05T05:35:14 #kisslinux Probably doesn't happen if I unlink the service tho huh xD 2020-10-05T05:35:35 #kisslinux Working on it 2020-10-05T05:37:10 #kisslinux (a similar issue to netbsd-curses/ncurses with openntpd/busybox) 2020-10-05T05:40:19 #kisslinux Thanks 2020-10-05T06:12:22 #kisslinux Yeah in fact even just attempting to install sbase or ubase will... Break the system 2020-10-05T06:16:01 #kisslinux dilynm: Should be fixed now. 2020-10-05T06:16:04 #kisslinux Just pushed a commit. 2020-10-05T06:16:20 #kisslinux Oh 2020-10-05T06:16:24 #kisslinux I see what you mean 2020-10-05T06:16:29 #kisslinux Lol 2020-10-05T06:16:30 #kisslinux Just broke mine :P 2020-10-05T06:16:36 #kisslinux > /bin/sh: rm: not found 2020-10-05T06:17:07 #kisslinux Mmhmm 2020-10-05T06:17:09 #kisslinux Lol 2020-10-05T06:17:37 #kisslinux This is why I made a pre-release ;) 2020-10-05T06:17:42 #kisslinux And so I fixed it, but now I'm having efivars issues so I have to find my usb with arch to fix it 2020-10-05T06:17:49 #kisslinux Yes good call haha. Glad I'm testing xD 2020-10-05T06:18:21 #kisslinux My kiss-static idea is looking more intriguing now 2020-10-05T06:18:32 #kisslinux I think these double ipas are causing me to suffer temporary blindness and I can't find it xD bed time 2020-10-05T06:18:40 #kisslinux Static kiss: the next way to bork my system 2020-10-05T06:19:34 #kisslinux basically custom busybox compiled with only what the package manager needs. Package manager is then embedded in the busybox binary and the busybox binary is renamed to 'kiss'. 2020-10-05T06:19:46 #kisslinux In the busybox config, it is set to prefer internal applets to external ones always 2020-10-05T06:19:57 #kisslinux Comes in at 300-400kb 2020-10-05T06:24:04 #kisslinux AFixed. 2020-10-05T06:24:07 #kisslinux Fixed* 2020-10-05T06:25:54 #kisslinux I'm creating a test suite of sorts now. 2020-10-05T06:50:28 #kisslinux Fun fun! I'll test the latest kiss master in the morning; I'm gonna have to figure out this efivars issue -.- 2020-10-05T06:50:35 #kisslinux Gngn o/ 2020-10-05T07:02:27 #kisslinux o/ 2020-10-05T07:03:52 #kisslinux o/ 2020-10-05T07:05:40 #kisslinux How goes it? 2020-10-05T07:06:04 #kisslinux good, you? 2020-10-05T07:06:41 #kisslinux Pretty good, working on a game framework. 2020-10-05T07:06:59 #kisslinux o 2020-10-05T07:07:01 #kisslinux nice 2020-10-05T12:24:04 #kisslinux how do you all update your kernel source. git? patch files? 2020-10-05T12:24:57 #kisslinux I do it manually 2020-10-05T12:25:29 #kisslinux I copy my .config over and run `make; make install 2020-10-05T12:26:09 #kisslinux do you re download the source tarball every time 2020-10-05T12:27:22 #kisslinux i was using the patch files from kernel.org then messed up the versions 2020-10-05T12:27:40 #kisslinux Yes 2020-10-05T12:27:58 #kisslinux I keep full sources for each version I choose to use. 2020-10-05T12:28:14 #kisslinux I store any patches I use in the source directories 2020-10-05T12:28:25 #kisslinux And I then copy my .config around 2020-10-05T12:28:42 #kisslinux ok 2020-10-05T12:29:13 #kisslinux I know other users have packages set up for their kernel 2020-10-05T12:29:20 #kisslinux I've never felt the need to do this though 2020-10-05T12:29:34 #kisslinux I was thinking if I reuse the same directory to build it might be faster to upgrade 2020-10-05T12:29:46 #kisslinux not sure if thatsbgood idea 2020-10-05T12:29:53 #kisslinux ccache is handy 2020-10-05T12:30:06 #kisslinux Having a small .config is also good 2020-10-05T12:30:15 #kisslinux My kernel takes 5 minutes regardless of ccache for instance 2020-10-05T12:32:12 #kisslinux i started with localconfig from another repo, might trim it down later 2020-10-05T12:33:30 #kisslinux havent used ccache before, is it much faster? 2020-10-05T12:33:59 #kisslinux The first build is slower but all rebuilds will be faster (so long as the cache is hit) 2020-10-05T12:34:34 #kisslinux It works even when package versions differ (as source files can be identical between releases) 2020-10-05T12:35:36 #kisslinux Here's my stats from the past 3 or so days: https://termbin.com/hhdcr 2020-10-05T12:36:17 #kisslinux Setting it up is really easy. kiss b ccache && kiss i ccache && export PATH=/usr/lib/ccache/bin:$PATH 2020-10-05T12:36:23 #kisslinux That's it 2020-10-05T12:36:46 #kisslinux I'll try it 2020-10-05T12:36:58 #kisslinux why is the bin not in normal path 2020-10-05T12:37:15 #kisslinux It contains wrappers for gcc, cc, c++, etc. 2020-10-05T12:37:38 #kisslinux ah k 2020-10-05T12:38:02 #kisslinux And it must be at the start of $PATH 2020-10-05T12:38:32 #kisslinux I think I've seen people use CC CXX variables instead 2020-10-05T12:38:45 #kisslinux but path sounds easier 2020-10-05T12:39:10 #kisslinux Yes 2020-10-05T12:39:16 #kisslinux It also works on the command-line 2020-10-05T12:39:58 #kisslinux Also when build systems don't listen to CC/CXX (and they don't use absolute paths to call compilers) 2020-10-05T12:40:10 #kisslinux It's set and forget really 2020-10-05T12:40:57 #kisslinux I'm using the latest master which is backwards incompatible to the current release. It uses zstd over zlib, BLAKE3 over BLAKE2, plus many more changes. 2020-10-05T13:45:44 #kisslinux dylanaraps: didn't see your message; kernel package is 15000 files; I'm using BusyBox grep and will test with gnugrep in a moment 2020-10-05T13:46:02 #kisslinux Latest kiss master seems to be working quite well although it's hard to find all the broken things 2020-10-05T13:47:15 #kisslinux Jkjk. Big issue 2020-10-05T13:48:57 #kisslinux With dash, busybox, and util-linux installed, util-linux and dash are in use (/bin/sh, etc), swapping everything for busybox yields a list of files swapped, but they say things like "/usr/bin/setsid is now provided by busybox (was )", and worse: "/usr/bin/swapon was provided by busybox (was dash)" 2020-10-05T13:53:14 #kisslinux Kiss a correctly reports that, for instance, hummingbird's init is in kiss/choices (and that the one in use is busybox's), but swapping it does not put busybox init in kiss/choices and the manifest reports that in fact both are in /usr/bin. It is, however, now hummingbird's init in bin 2020-10-05T14:05:50 #kisslinux dilynm: Thanks. Will try to reproduce. 2020-10-05T14:09:07 #kisslinux As for install speeds on packages >10k files, here's kernel 5.8.13, 11,597 lines in the manifest: 2020-10-05T14:09:10 #kisslinux linux, kissv5, bb grep: 2020-10-05T14:09:10 #kisslinux 55.93s real, 50.49s user, 9.43s sys 2020-10-05T14:09:10 #kisslinux linux, kissv6, bb grep: 2020-10-05T14:09:10 #kisslinux 33.9s real, 30.08s user, 7.03s sys 2020-10-05T14:09:11 #kisslinux linux, kissv5, gnugrep: 2020-10-05T14:09:11 #kisslinux 24.07s real, 18.92s user, 9.18s sys 2020-10-05T14:09:12 #kisslinux linux, kissv6, gnugrep: 2020-10-05T14:09:12 #kisslinux 15.04s real, 11.w8s user, 6.77s sys 2020-10-05T14:10:04 #kisslinux Nice 2020-10-05T14:10:57 #kisslinux Yeah, talk about 'sizeable speedups' with gnugrep xD 2020-10-05T14:14:17 #kisslinux I should push it more 2020-10-05T14:14:26 #kisslinux busybox grep is sloooow 2020-10-05T14:15:21 #kisslinux It's almost painful seeing those numbers 2020-10-05T14:15:57 #kisslinux dilynm: any chance you could try with toybox grep? curious how it compares here 2020-10-05T14:16:59 #kisslinux Sure! 2020-10-05T14:22:27 #kisslinux dilynm, what's the diff in gnugrep v5 vs v6? different default optimization flags to the compiler? 2020-10-05T14:23:50 #kisslinux kissv5: 41.08s real, 35.81 user, 9.23s sys 2020-10-05T14:23:50 #kisslinux kissv6: 33.46s real, 29.69s user, 6.82s sys 2020-10-05T14:24:38 #kisslinux i mean how the two builds differ 2020-10-05T14:25:00 #kisslinux v5 / v6 are kiss pkg manager versions 2020-10-05T14:25:12 #kisslinux Sh4rm4^bnc: these are all just single runs of kiss i linux (if we want 'real' results we should average multiple runs), identical CFLAGS for gnugrep in both 2020-10-05T14:25:25 #kisslinux Although busybox is built with empty CFLAGS because it doesn't cooperate with clang 2020-10-05T14:25:34 #kisslinux So that could heavily skew bb grep 2020-10-05T14:25:42 #kisslinux dilynm: are those new numbers the toybox ones? 2020-10-05T14:26:06 #kisslinux Actually, toy box and gnugrep were built with empty CFLAGS as well I just checked. So this is no optimizations 2020-10-05T14:26:10 #kisslinux Yes they are e5ten 2020-10-05T14:26:16 #kisslinux thanks 2020-10-05T14:27:24 #kisslinux gnu grep seems to be really optimized for speed: http://lh3lh3.users.sourceforge.net/reb.shtml 2020-10-05T14:28:16 #kisslinux busybox probably just uses the libc regex impl, which in musl libc's case is TRE (quite slow, but no quadratic pathological cases) 2020-10-05T14:28:16 #kisslinux Yeah it's like lightning 2020-10-05T14:32:31 #kisslinux it could then be made a lot faster by linking e.g. to oniguruma's posix api, but that would make the busybox binary a lot bigger 2020-10-05T14:43:30 #kisslinux That would be interesting... 2020-10-05T14:52:02 #kisslinux the only change needed to the code is #include instead of #include and adding -lonig to LDFLAGS 2020-10-05T14:52:11 #kisslinux however you gotta use git master of oniguruma 2020-10-05T14:58:27 #kisslinux I'll try it out later today and see what happens :o 2020-10-05T14:59:19 #kisslinux i tested it for tinyproxy's config parser and parsing 32K allow/deny statements took 0.3 sec vs 2.5 secs with musl's regexec 2020-10-05T15:00:59 #kisslinux neatlibc's regex.c used 0.8 secs, but i doubt it's up for the task of being used in grep 2020-10-05T18:19:37 #kisslinux Using onigurama, kissv5 bb grep: 1m07.43s real, 1m02.39s user, 7.90s sys; kissv6 bb grep: 1m00.31s real, 56.71s user, 5.91s system 2020-10-05T18:19:44 #kisslinux I feel like I've done something wrong tho